From 15524db42565dc9e75ddb0cdce5f22cd02792e43 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Fri, 28 Jun 2024 10:31:31 +0200 Subject: [PATCH 1/2] make tfgen --- .upgrade-config.yml | 2 +- examples/go.sum | 23 - .../cmd/pulumi-resource-scaleway/schema.json | 2039 +++++++++-------- provider/go.mod | 22 +- provider/go.sum | 43 +- provider/resources.go | 1316 +++++++++-- provider/shim/go.mod | 20 +- provider/shim/go.sum | 46 +- 8 files changed, 2241 insertions(+), 1270 deletions(-) diff --git a/.upgrade-config.yml b/.upgrade-config.yml index d76135b0..26057a06 100644 --- a/.upgrade-config.yml +++ b/.upgrade-config.yml @@ -1,2 +1,2 @@ upstream-provider-name: terraform-provider-scaleway -allow-missing-docs: true +allow-missing-docs: false diff --git a/examples/go.sum b/examples/go.sum index 6b1ec8a2..c0cd4f60 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -103,8 +103,6 @@ github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4r github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= -github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= -github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= github.com/charmbracelet/bubbletea v0.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt5dywy4TcM= github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg= github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= @@ -343,16 +341,10 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= -github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.118.0 h1:i2OJe0Rl6BDxupJ0ix9HczAGKUsc6H6cU9svwDe1TYk= -github.com/pulumi/pulumi/pkg/v3 v3.118.0/go.mod h1:fbDHFdEJtFRkHu3Q6Sd7X3PalUsIXLbHT/pHfsbldlo= github.com/pulumi/pulumi/pkg/v3 v3.119.0 h1:I7716j1xugGCUgcEIhRn1MzzfSpZnsDZpi+pc5qf4hg= github.com/pulumi/pulumi/pkg/v3 v3.119.0/go.mod h1:sKovnH/g9x8nKUNS38PlGQf2M8IwKu9uxBELuiSx4F4= -github.com/pulumi/pulumi/sdk/v3 v3.118.0 h1:NboaaB4cNuehzsax38PO1jZOS6Mzbx/jNaDNaHPmg4c= -github.com/pulumi/pulumi/sdk/v3 v3.118.0/go.mod h1:kNea72+FQk82OjZ3yEP4dl6nbAl2ngE8PDBc0iFAaHg= github.com/pulumi/pulumi/sdk/v3 v3.119.0 h1:CPP0ZxAM1WT0O5/IJF0x13ZyvFMoWJi21gqNxBrLusk= github.com/pulumi/pulumi/sdk/v3 v3.119.0/go.mod h1:/mQJPO+HehhoSJ9O3C6eUKAGeAr+4KSrbDhLsXHKldc= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -448,13 +440,9 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= -golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -467,7 +455,6 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= @@ -490,8 +477,6 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -505,7 +490,6 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= @@ -535,8 +519,6 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -548,8 +530,6 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -563,8 +543,6 @@ golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= @@ -582,7 +560,6 @@ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= diff --git a/provider/cmd/pulumi-resource-scaleway/schema.json b/provider/cmd/pulumi-resource-scaleway/schema.json index 93ab6a69..d2dca3f2 100644 --- a/provider/cmd/pulumi-resource-scaleway/schema.json +++ b/provider/cmd/pulumi-resource-scaleway/schema.json @@ -479,7 +479,7 @@ }, "ip": { "type": "string", - "description": "The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)\n" + "description": "The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)\n" } }, "type": "object", @@ -642,15 +642,15 @@ "properties": { "endpointId": { "type": "string", - "description": "The ID of the endpoint of the read replica.\n" + "description": "The ID of the endpoint of the Read Replica.\n" }, "hostname": { "type": "string", - "description": "Hostname of the endpoint. Only one of ip and hostname may be set.\n" + "description": "Hostname of the endpoint. Only one of IP and hostname may be set.\n" }, "ip": { "type": "string", - "description": "IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.\n" + "description": "IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set.\n" }, "name": { "type": "string", @@ -682,15 +682,15 @@ }, "endpointId": { "type": "string", - "description": "The ID of the endpoint of the read replica.\n" + "description": "The ID of the endpoint of the Read Replica.\n" }, "hostname": { "type": "string", - "description": "Hostname of the endpoint. Only one of ip and hostname may be set.\n" + "description": "Hostname of the endpoint. Only one of IP and hostname may be set.\n" }, "ip": { "type": "string", - "description": "IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.\n" + "description": "IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set.\n" }, "name": { "type": "string", @@ -702,7 +702,7 @@ }, "privateNetworkId": { "type": "string", - "description": "UUID of the private network to be connected to the read replica.\n" + "description": "UUID of the Private Netork to be connected to the Read Replica.\n" }, "serviceIp": { "type": "string", @@ -733,6 +733,57 @@ } } }, + "scaleway:index/DocumentdbPrivateNetworkEndpointPrivateNetwork:DocumentdbPrivateNetworkEndpointPrivateNetwork": { + "properties": { + "hostname": { + "type": "string", + "description": "The hostname of your endpoint.\n" + }, + "id": { + "type": "string", + "description": "The private network ID.\n" + }, + "ip": { + "type": "string", + "description": "The IP of your private network service.\n" + }, + "ipNet": { + "type": "string", + "description": "The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name of your private service.\n" + }, + "port": { + "type": "integer", + "description": "The port of your private service.\n" + }, + "zone": { + "type": "string", + "description": "The zone of your endpoint.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "id" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "hostname", + "id", + "ip", + "ipNet", + "name", + "port", + "zone" + ] + } + } + }, "scaleway:index/DocumentdbReadReplicaDirectAccess:DocumentdbReadReplicaDirectAccess": { "properties": { "endpointId": { @@ -1017,14 +1068,14 @@ "items": { "type": "string" }, - "description": "Names of permission sets bound to the rule.\n\n**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:\n\n```shell\n$ scw iam permission-set list\n```\n" + "description": "Names of permission sets bind to the rule.\n\n**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:\n\n```shell\n$ scw IAM permission-set list\n```\n" }, "projectIds": { "type": "array", "items": { "type": "string" }, - "description": "List of project IDs scoped to the rule.\n\n\u003e **Important** One of `organization_id` or `project_ids` must be set per rule.\n" + "description": "List of project IDs scoped to the rule.\n\n\u003e **Important** One `organization_id` or `project_ids` must be set per rule.\n" } }, "type": "object", @@ -1541,11 +1592,11 @@ "properties": { "id": { "type": "string", - "description": "The ID of the resource that the IP is bound to.\n" + "description": "The ID of the resource that the IP is attached to.\n" }, "macAddress": { "type": "string", - "description": "The MAC Address of the resource the IP is attached to.\n" + "description": "The MAC address of the resource the IP is attached to.\n" }, "name": { "type": "string", @@ -1593,15 +1644,15 @@ "properties": { "privateNetworkId": { "type": "string", - "description": "The private network the IP lives in if the IP is a private IP.\n" + "description": "The Private Network of the IP (if the IP is a private IP).\n" }, "subnetId": { "type": "string", - "description": "The private network subnet the IP lives in if the IP is a private IP in a private network.\n" + "description": "The Private Network subnet of the IP (if the IP is a private IP).\n" }, "zonal": { "type": "string", - "description": "The zone the IP lives in if the IP is a public zoned one\n" + "description": "The zone of the IP (if the IP is public and zoned, rather than private and/or regional)\n" } }, "type": "object", @@ -1868,7 +1919,7 @@ "items": { "type": "string" }, - "description": "A list of possible values to match for the given HTTP filter.\nKeep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive.\n" + "description": "A list of possible values to match for the given HTTP filter.\nKeep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive.\n" }, "invert": { "type": "boolean", @@ -1879,7 +1930,7 @@ "items": { "type": "string" }, - "description": "A list of IPs or CIDR v4/v6 addresses of the client of the session to match.\n" + "description": "A list of IPs, or CIDR v4/v6 addresses of the session client, to match.\n" } }, "type": "object" @@ -2044,7 +2095,7 @@ }, "target": { "type": "string", - "description": "An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme.\n" + "description": "A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme.\n" }, "type": { "type": "string", @@ -2068,7 +2119,7 @@ "items": { "type": "string" }, - "description": "A list of possible values to match for the given HTTP filter.\nKeep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive.\n" + "description": "A list of possible values to match for the given HTTP filter.\nKeep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive.\n" }, "invert": { "type": "boolean", @@ -2079,7 +2130,7 @@ "items": { "type": "string" }, - "description": "A list of IPs or CIDR v4/v6 addresses of the client of the session to match.\n" + "description": "A list of IPs, or CIDR v4/v6 addresses of the session client, to match.\n" } }, "type": "object" @@ -2088,15 +2139,16 @@ "properties": { "dhcpConfig": { "type": "boolean", - "description": "(Optional) Set to true if you want to let DHCP assign IP addresses. See below.\n" + "description": "(Optional) Set to `true` if you want to let DHCP assign IP addresses. See below.\n" }, "privateNetworkId": { "type": "string", - "description": "(Required) The ID of the Private Network to associate.\n" + "description": "(Required) The ID of the Private Network to attach to.\n" }, "staticConfig": { "type": "string", - "description": "(Optional) Define a local ip address of your choice for the load balancer instance. See below.\n" + "description": "(Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance.\n", + "deprecationMessage": "static_config field is deprecated, please use dhcp_config instead" }, "status": { "type": "string", @@ -2104,7 +2156,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone of the load-balancer.\n" + "description": "`zone`) The zone of the Load Balancer.\n" } }, "type": "object", @@ -2126,15 +2178,15 @@ "properties": { "canManage": { "type": "boolean", - "description": ". Defines if user can manage the associated resource(s).\n" + "description": ". Defines whether the user can manage the associated resource(s).\n" }, "canPublish": { "type": "boolean", - "description": ". Defines if user can publish messages to the service.\n" + "description": ". Defines whether the user can publish messages to the service.\n" }, "canReceive": { "type": "boolean", - "description": ". Defines if user can receive messages from the service.\n" + "description": ". Defines whether the user can receive messages from the service.\n" } }, "type": "object", @@ -2152,15 +2204,15 @@ "properties": { "canManage": { "type": "boolean", - "description": ". Defines if user can manage the associated resource(s).\n" + "description": ". Defines whether the user can manage the associated resource(s).\n" }, "canPublish": { "type": "boolean", - "description": ". Defines if user can publish messages to the service.\n" + "description": ". Defines whether the user can publish messages to the service.\n" }, "canReceive": { "type": "boolean", - "description": ". Defines if user can receive messages from the service.\n" + "description": ". Defines whether the user can receive messages from the service.\n" } }, "type": "object", @@ -2464,7 +2516,7 @@ }, "ip": { "type": "string", - "description": "The ip range to whitelist\nin [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)\n" + "description": "The IP range to whitelist\nin [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)\n" } }, "type": "object", @@ -2496,11 +2548,11 @@ "items": { "type": "string" }, - "description": "Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node.\nKeep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to\nscale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes.\nIf not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service.\n\n\u003e The `private_network` conflicts with `acl`. Only one should be specified.\n\n\u003e **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode.\n\n- Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate\nblock). If you detach your only private network, your cluster won't be reachable until you define a new Private or\nPublic Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side\nby side.\n\n- Cluster mode (`cluster_size` \u003e 2) : you can define a single Private Network as you create your Cluster, you won't be\nable to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static\nconfiguration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would\nrequire updating the private network to add IPs.\nYour `service_ips` must be listed as follows:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n" + "description": "Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node.\nKeep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to\nscale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes.\nIf not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service.\n\n\u003e The `private_network` conflicts with `acl`. Only one should be specified.\n\n\u003e **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode.\n\n- Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate\nblock). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or\nPublic Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side\nby side.\n\n- Cluster mode (`cluster_size` \u003e 2) : you can define a single Private Network as you create your cluster, you won't be\nable to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static\nconfiguration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would\nrequire updating the Private Network to add IPs.\nYour `service_ips` must be listed as follows:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the\nRedis Cluster should be created.\n" + "description": "`zone`) The zone in which the\nRedis™ cluster should be created.\n" } }, "type": "object", @@ -2591,7 +2643,7 @@ }, "pushDefaultRoute": { "type": "boolean", - "description": "Defines whether the default route is enabled on that Gateway Network.\n" + "description": "Defines whether to enable the default route on the GatewayNetwork.\n" } }, "type": "object", @@ -2607,7 +2659,7 @@ "properties": { "address": { "type": "string", - "description": "The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.\n" + "description": "The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet.\n" }, "createdAt": { "type": "string", @@ -2619,7 +2671,7 @@ }, "prefixLength": { "type": "integer", - "description": "The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.\n" + "description": "The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.\n" }, "subnet": { "type": "string", @@ -2654,7 +2706,7 @@ "properties": { "address": { "type": "string", - "description": "The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.\n" + "description": "The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet.\n" }, "createdAt": { "type": "string", @@ -2666,7 +2718,7 @@ }, "prefixLength": { "type": "integer", - "description": "The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.\n" + "description": "The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.\n" }, "subnet": { "type": "string", @@ -2989,31 +3041,31 @@ "properties": { "billedQuantity": { "type": "string", - "description": "Consumed quantity\n" + "description": "The consumed quantity.\n" }, "categoryName": { "type": "string", - "description": "Name of consumption category\n" + "description": "The name of the consumption category.\n" }, "productName": { "type": "string", - "description": "The product name\n" + "description": "The product name.\n" }, "projectId": { "type": "string", - "description": "Project ID of the consumption\n" + "description": "`project_id`) The ID of the project the consumption list is associated with.\n" }, "sku": { "type": "string", - "description": "Unique identifier of the product\n" + "description": "The unique identifier of the product.\n" }, "unit": { "type": "string", - "description": "Unit of consumed quantity\n" + "description": "The unit of consumed quantity.\n" }, "value": { "type": "string", - "description": "Monetary value of the consumption\n" + "description": "The monetary value of the consumption.\n" } }, "type": "object", @@ -3221,7 +3273,7 @@ }, "name": { "type": "string", - "description": "The name of the RDB instance.\nOnly one of `name` and `instance_id` should be specified.\n" + "description": "The name of the RDB instance.\n" }, "port": { "type": "integer", @@ -3288,7 +3340,7 @@ }, "name": { "type": "string", - "description": "The name of the RDB instance.\nOnly one of `name` and `instance_id` should be specified.\n" + "description": "The name of the RDB instance.\n" }, "pnId": { "type": "string", @@ -3329,7 +3381,7 @@ }, "name": { "type": "string", - "description": "The name of the RDB instance.\nOnly one of `name` and `instance_id` should be specified.\n" + "description": "The name of the RDB instance.\n" }, "port": { "type": "integer", @@ -4074,15 +4126,15 @@ "properties": { "id": { "type": "string", - "description": "The ID of the resource that the IP is bound to.\n" + "description": "The ID of the resource that the IP is attached to.\n" }, "name": { "type": "string", - "description": "The name of the resource to get the IP from.\n" + "description": "The name of the resource the IP is attached to.\n" }, "type": { "type": "string", - "description": "The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" + "description": "The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" } }, "type": "object", @@ -4094,7 +4146,7 @@ "properties": { "address": { "type": "string", - "description": "The Scaleway internal IP address of the server.\n" + "description": "The Scaleway internal IP address of the resource.\n" }, "createdAt": { "type": "string", @@ -4106,25 +4158,25 @@ }, "projectId": { "type": "string", - "description": "The ID of the project used as filter.\n" + "description": "The ID of the Project to filter for.\n" }, "region": { "type": "string", - "description": "The region used as filter.\n" + "description": "The region to filter for.\n" }, "resources": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getIpamIpsIpResource:getIpamIpsIpResource" }, - "description": "Filter by resource ID, type or name.\n" + "description": "Filter for a resource attached to the IP, using resource ID, type or name.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags used as filter.\n" + "description": "The IP tags to filter for.\n" }, "updatedAt": { "type": "string", @@ -4132,7 +4184,7 @@ }, "zone": { "type": "string", - "description": "The zone in which the IP is.\n" + "description": "The zone of the IP.\n" } }, "type": "object", @@ -4157,19 +4209,19 @@ "properties": { "id": { "type": "string", - "description": "The ID of the resource that the IP is bound to.\n" + "description": "The ID of the attached resource.\n" }, "macAddress": { "type": "string", - "description": "The Mac Address used as filter.\n" + "description": "The linked MAC address to filter for.\n" }, "name": { "type": "string", - "description": "The name of the resource to get the IP from.\n" + "description": "The name of the attached resource.\n" }, "type": { "type": "string", - "description": "The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" + "description": "The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" } }, "type": "object", @@ -4189,15 +4241,15 @@ "properties": { "id": { "type": "string", - "description": "The ID of the resource that the IP is bound to.\n" + "description": "The ID of the attached resource.\n" }, "name": { "type": "string", - "description": "The name of the resource to get the IP from.\n" + "description": "The name of the attached resource.\n" }, "type": { "type": "string", - "description": "The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" + "description": "The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.\n" } }, "type": "object", @@ -4440,11 +4492,11 @@ "items": { "$ref": "#/types/scaleway:index/getLbAclsAclAction:getLbAclsAclAction" }, - "description": "The action that has been undertaken when an ACL filter had matched.\n" + "description": "The action to be undertaken when an ACL filter matches.\n" }, "createdAt": { "type": "string", - "description": "The date at which the ACL was created (RFC 3339 format).\n" + "description": "The date on which the ACL was created (RFC 3339 format).\n" }, "description": { "type": "string", @@ -4452,7 +4504,7 @@ }, "frontendId": { "type": "string", - "description": "The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed.\n\u003e **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" + "description": "The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed.\n\u003e **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" }, "id": { "type": "string", @@ -4460,7 +4512,7 @@ }, "index": { "type": "integer", - "description": "The order between the ACLs.\n" + "description": "The priority of this ACL in the ordered list.\n" }, "matches": { "type": "array", @@ -4471,11 +4523,11 @@ }, "name": { "type": "string", - "description": "The ACL name used as filter. ACLs with a name like it are listed.\n" + "description": "The ACL name to filter for. ACLs with a matching name are listed.\n" }, "updateAt": { "type": "string", - "description": "The date at which the ACL was last updated (RFC 3339 format).\n" + "description": "The date on which the ACL was last updated (RFC 3339 format).\n" } }, "type": "object", @@ -4525,11 +4577,11 @@ "properties": { "code": { "type": "integer", - "description": "The HTTP redirect code used.\n" + "description": "The HTTP redirect code to use.\n" }, "target": { "type": "string", - "description": "The URL used in case of a location redirect or the scheme name that replaces the request's original scheme.\n" + "description": "The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme.\n" }, "type": { "type": "string", @@ -4552,7 +4604,7 @@ "properties": { "httpFilter": { "type": "string", - "description": "The matched HTTP filter.\n" + "description": "The HTTP filter to match.\n" }, "httpFilterOption": { "type": "string", @@ -4563,7 +4615,7 @@ "items": { "type": "string" }, - "description": "The possible values matched for a given HTTP filter.\n" + "description": "The possible values to match for a given HTTP filter.\n" }, "invert": { "type": "boolean", @@ -4574,7 +4626,7 @@ "items": { "type": "string" }, - "description": "A list of matched IPs or CIDR v4/v6 addresses of the client of the session.\n" + "description": "A list of IPs, or CIDR v4/v6 addresses of the session client, to match.\n" } }, "type": "object", @@ -4635,15 +4687,15 @@ "properties": { "createdAt": { "type": "string", - "description": "The date at which the backend was created (RFC 3339 format).\n" + "description": "The date on which the backend was created (RFC 3339 format).\n" }, "failoverHost": { "type": "string", - "description": "Scaleway S3 bucket website to be served in case all backend servers are down.\n" + "description": "Scaleway S3 bucket website to be served if all backend servers are down.\n" }, "forwardPort": { "type": "integer", - "description": "User sessions will be forwarded to this port of backend servers.\n" + "description": "User sessions will be forwarded to this backend server port.\n" }, "forwardPortAlgorithm": { "type": "string", @@ -4655,40 +4707,40 @@ }, "healthCheckDelay": { "type": "string", - "description": "Interval between two HC requests.\n" + "description": "Interval between two health check requests.\n" }, "healthCheckHttp": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getLbBackendsBackendHealthCheckHttp:getLbBackendsBackendHealthCheckHttp" }, - "description": "This block enable HTTP health check.\n" + "description": "This block enables HTTP health checks.\n" }, "healthCheckHttps": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getLbBackendsBackendHealthCheckHttp:getLbBackendsBackendHealthCheckHttp" }, - "description": "This block enable HTTPS health check.\n" + "description": "This block enables HTTPS health checks.\n" }, "healthCheckMaxRetries": { "type": "integer", - "description": "Number of allowed failed HC requests before the backend server is marked down.\n" + "description": "Number of allowed failed health check requests before the backend server is marked as down.\n" }, "healthCheckPort": { "type": "integer", - "description": "Port the HC requests will be sent to.\n" + "description": "Port the health check requests will be sent to.\n" }, "healthCheckTcps": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getLbBackendsBackendHealthCheckTcp:getLbBackendsBackendHealthCheckTcp" }, - "description": "This block enable TCP health check.\n" + "description": "This block enables TCP health checks.\n" }, "healthCheckTimeout": { "type": "string", - "description": "Timeout before we consider a HC request failed.\n" + "description": "Timeout before a health check request is considered failed.\n" }, "id": { "type": "string", @@ -4700,11 +4752,11 @@ }, "lbId": { "type": "string", - "description": "The load-balancer ID this backend is attached to. backends with a LB ID like it are listed.\n" + "description": "The Load Balancer ID this backend is attached to. Backends with a matching ID are listed.\n" }, "name": { "type": "string", - "description": "The backend name used as filter. Backends with a name like it are listed.\n" + "description": "The backend name to filter for. Backends with a matching name are listed.\n" }, "onMarkedDownAction": { "type": "string", @@ -4723,7 +4775,7 @@ }, "sslBridging": { "type": "boolean", - "description": "Enables SSL between load balancer and backend servers.\n" + "description": "Enables SSL between Load Balancer and backend servers.\n" }, "stickySessions": { "type": "string", @@ -4747,7 +4799,7 @@ }, "updateAt": { "type": "string", - "description": "The date at which the backend was last updated (RFC 3339 format).\n" + "description": "The date on which the backend was last updated (RFC 3339 format).\n" } }, "type": "object", @@ -4793,11 +4845,11 @@ }, "hostHeader": { "type": "string", - "description": "The HTTP host header to use for HC requests.\n" + "description": "The HTTP host header to use for health check requests.\n" }, "method": { "type": "string", - "description": "The HTTP method to use for HC requests.\n" + "description": "The HTTP method to use for health check requests.\n" }, "sni": { "type": "string", @@ -4805,7 +4857,7 @@ }, "uri": { "type": "string", - "description": "The HTTPS endpoint URL to call for HC requests.\n" + "description": "The HTTPS endpoint URL to call for health check requests.\n" } }, "type": "object", @@ -4972,38 +5024,38 @@ "properties": { "backendId": { "type": "string", - "description": "The load-balancer backend ID this frontend is attached to.\n\u003e **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" + "description": "The Load Balancer backend ID this frontend is attached to.\n\u003e **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" }, "certificateIds": { "type": "array", "items": { "type": "string" }, - "description": "List of Certificate IDs that are used by the frontend.\n" + "description": "List of certificate IDs that are used by the frontend.\n" }, "createdAt": { "type": "string", - "description": "The date at which the frontend was created (RFC 3339 format).\n" + "description": "The date on which the frontend was created (RFC 3339 format).\n" }, "enableHttp3": { "type": "boolean", - "description": "If HTTP/3 protocol is activated.\n" + "description": "Whether HTTP/3 protocol is activated.\n" }, "id": { "type": "string", - "description": "The associated frontend ID.\n\u003e **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" + "description": "The ID of the associated frontend.\n\u003e **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" }, "inboundPort": { "type": "integer", - "description": "TCP port the frontend listen to.\n" + "description": "TCP port the frontend listens to.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed.\n" + "description": "The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed.\n" }, "name": { "type": "string", - "description": "The frontend name used as filter. Frontends with a name like it are listed.\n" + "description": "The frontend name to filter for. Frontends with a matching name are listed.\n" }, "timeoutClient": { "type": "string", @@ -5011,7 +5063,7 @@ }, "updateAt": { "type": "string", - "description": "The date at which the frontend was last updated (RFC 3339 format).\n" + "description": "The date aont which the frontend was last updated (RFC 3339 format).\n" } }, "type": "object", @@ -5037,23 +5089,23 @@ "properties": { "id": { "type": "string", - "description": "The associated IP ID.\n" + "description": "The ID of the associated IP.\n" }, "ipAddress": { "type": "string", - "description": "The IP Address\n" + "description": "The IP address\n" }, "lbId": { "type": "string", - "description": "The associated load-balancer ID if any\n" + "description": "The ID of the associated Load BalancerD, if any\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization the Load Balancer is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "reverse": { "type": "string", @@ -5061,7 +5113,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone in which IPs exist.\n" + "description": "`zone`) The zone in which the IPs exist.\n" } }, "type": "object", @@ -5084,15 +5136,15 @@ "properties": { "backendId": { "type": "string", - "description": "The backend ID destination of redirection\n" + "description": "The backend ID to redirect to\n" }, "createdAt": { "type": "string", - "description": "The date at which the route was created (RFC 3339 format).\n" + "description": "The date on which the route was created (RFC 3339 format).\n" }, "frontendId": { "type": "string", - "description": "The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed.\n" + "description": "The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed.\n" }, "id": { "type": "string", @@ -5108,7 +5160,7 @@ }, "updateAt": { "type": "string", - "description": "The date at which the route was last updated (RFC 3339 format).\n" + "description": "The date on which the route was last updated (RFC 3339 format).\n" } }, "type": "object", @@ -5131,53 +5183,53 @@ "properties": { "backendCount": { "type": "integer", - "description": "Number of backends the Load balancer has.\n" + "description": "Number of backends the Load Balancer has.\n" }, "createdAt": { "type": "string", - "description": "Date at which the Load balancer was created.\n" + "description": "Date on which the Load Balancer was created.\n" }, "description": { "type": "string", - "description": "The description of the load-balancer.\n" + "description": "The description of the Load Balancer.\n" }, "frontendCount": { "type": "integer", - "description": "Number of frontends the Load balancer has.\n" + "description": "Number of frontends the Load Balancer has.\n" }, "id": { "type": "string", - "description": "The ID of the load-balancer.\n" + "description": "The ID of the Load Balancer.\n" }, "instances": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getLbsLbInstance:getLbsLbInstance" }, - "description": "List of underlying instances.\n" + "description": "List of underlying Instances.\n" }, "ips": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getLbsLbIp:getLbsLbIp" }, - "description": "List of IPs attached to the Load balancer.\n" + "description": "List of IPs attached to the Load Balancer.\n" }, "name": { "type": "string", - "description": "The load balancer name used as a filter. LBs with a name like it are listed.\n" + "description": "The Load Balancer name to filter for. Load Balancers with a matching name are listed.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization the Load Balancer is associated with.\n" }, "privateNetworkCount": { "type": "integer", - "description": "Number of private networks attached to the Load balancer.\n" + "description": "Number of Private Networks attached to the Load balancer.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "routeCount": { "type": "integer", @@ -5185,11 +5237,11 @@ }, "sslCompatibilityLevel": { "type": "string", - "description": "Determines the minimal SSL version which needs to be supported on client side.\n" + "description": "Determines the minimal SSL version which needs to be supported on the client side.\n" }, "status": { "type": "string", - "description": "The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.\n" + "description": "The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.\n" }, "subscriber": { "type": "string", @@ -5200,19 +5252,19 @@ "items": { "type": "string" }, - "description": "List of tags used as filter. LBs with these exact tags are listed.\n" + "description": "List of tags to filter for. Load Balancers with these exact tags are listed.\n" }, "type": { "type": "string", - "description": "The offer type of the load-balancer.\n" + "description": "The offer type of the Load Balancer.\n" }, "updatedAt": { "type": "string", - "description": "Date at which the Load balancer was updated.\n" + "description": "Date on which the Load Balancer was updated.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which LBs exist.\n" + "description": "`zone`) The zone in which the Load Balancers exist.\n" } }, "type": "object", @@ -5247,26 +5299,26 @@ "properties": { "createdAt": { "type": "string", - "description": "Date at which the Load balancer was created.\n" + "description": "Date on which the Load Balancer was created.\n" }, "id": { "type": "string", - "description": "The ID of the load-balancer.\n" + "description": "The ID of the Load Balancer.\n" }, "ipAddress": { "type": "string" }, "status": { "type": "string", - "description": "The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.\n" + "description": "The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.\n" }, "updatedAt": { "type": "string", - "description": "Date at which the Load balancer was updated.\n" + "description": "Date on which the Load Balancer was updated.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which LBs exist.\n" + "description": "`zone`) The zone in which the Load Balancers exist.\n" } }, "type": "object", @@ -5288,7 +5340,7 @@ "properties": { "id": { "type": "string", - "description": "The ID of the load-balancer.\n" + "description": "The ID of the Load Balancer.\n" }, "ipAddress": { "type": "string" @@ -5298,18 +5350,18 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization the Load Balancer is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "reverse": { "type": "string" }, "zone": { "type": "string", - "description": "`zone`) The zone in which LBs exist.\n" + "description": "`zone`) The zone in which the Load Balancers exist.\n" } }, "type": "object", @@ -5393,7 +5445,7 @@ }, "zone": { "type": "string", - "description": "(Defaults to provider `zone`) The zone in which the LB exists.\n" + "description": "(Defaults to provider `zone`) The zone in which the Load Balancer exists.\n" } }, "type": "object", @@ -5597,7 +5649,7 @@ "properties": { "endpointId": { "type": "string", - "description": "UUID of the endpoint to be connected to the cluster\n" + "description": "The ID of the endpoint.\n" }, "id": { "type": "string", @@ -5728,7 +5780,7 @@ }, "id": { "type": "string", - "description": "The ID of the private network.\n" + "description": "The ID of the Private Network.\n" }, "prefixLength": { "type": "integer", @@ -5775,7 +5827,7 @@ }, "id": { "type": "string", - "description": "The ID of the private network.\n" + "description": "The ID of the Private Network.\n" }, "prefixLength": { "type": "integer", @@ -5818,7 +5870,7 @@ }, "id": { "type": "string", - "description": "The associated VPC ID.\n\u003e **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111\n" + "description": "The associated VPC ID.\n\u003e **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111\n" }, "isDefault": { "type": "boolean", @@ -5826,26 +5878,26 @@ }, "name": { "type": "string", - "description": "The VPC name used as filter. VPCs with a name like it are listed.\n" + "description": "The VPC name to filter for. VPCs with a similar name are listed.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the VPC is associated with.\n" + "description": "The Organization ID the VPC is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the VPC is associated with.\n" + "description": "The ID of the Project the VPC is associated with.\n" }, "region": { "type": "string", - "description": "`region`). The region in which vpcs exist.\n" + "description": "`region`). The region in which the VPCs exist.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "List of tags used as filter. VPCs with these exact tags are listed.\n" + "description": "List of tags to filter for. VPCs with these exact tags are listed.\n" }, "updateAt": { "type": "string" @@ -6250,8 +6302,8 @@ "type": "object" } }, - "scaleway:index/appleSliconValleyServer:AppleSliconValleyServer": { - "description": "Creates and manages Scaleway Apple silicon. For more information,\nsee [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst server = new scaleway.AppleSliconValleyServer(\"server\", {type: \"M1-M\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nserver = scaleway.AppleSliconValleyServer(\"server\", type=\"M1-M\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Scaleway.AppleSliconValleyServer(\"server\", new()\n {\n Type = \"M1-M\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewAppleSliconValleyServer(ctx, \"server\", \u0026scaleway.AppleSliconValleyServerArgs{\n\t\t\tType: pulumi.String(\"M1-M\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.AppleSliconValleyServer;\nimport com.pulumi.scaleway.AppleSliconValleyServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new AppleSliconValleyServer(\"server\", AppleSliconValleyServerArgs.builder()\n .type(\"M1-M\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: scaleway:AppleSliconValleyServer\n properties:\n type: M1-M\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nInstance servers can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "scaleway:index/appleSiliconServer:AppleSiliconServer": { + "description": "Creates and manages Scaleway Apple silicon. For more information,\nsee [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst server = new scaleway.AppleSiliconServer(\"server\", {type: \"M1-M\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nserver = scaleway.AppleSiliconServer(\"server\", type=\"M1-M\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Scaleway.AppleSiliconServer(\"server\", new()\n {\n Type = \"M1-M\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewAppleSiliconServer(ctx, \"server\", \u0026scaleway.AppleSiliconServerArgs{\n\t\t\tType: pulumi.String(\"M1-M\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.AppleSiliconServer;\nimport com.pulumi.scaleway.AppleSiliconServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new AppleSiliconServer(\"server\", AppleSiliconServerArgs.builder()\n .type(\"M1-M\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: scaleway:AppleSiliconServer\n properties:\n type: M1-M\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nInstance servers can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -6336,7 +6388,7 @@ "type" ], "stateInputs": { - "description": "Input properties used for looking up and filtering AppleSliconValleyServer resources.\n", + "description": "Input properties used for looking up and filtering AppleSiliconServer resources.\n", "properties": { "createdAt": { "type": "string", @@ -6757,7 +6809,7 @@ } }, "scaleway:index/blockSnapshot:BlockSnapshot": { - "description": "Creates and manages Scaleway Block Snapshots.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst blockSnapshot = new scaleway.BlockSnapshot(\"blockSnapshot\", {volumeId: \"11111111-1111-1111-1111-111111111111\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nblock_snapshot = scaleway.BlockSnapshot(\"blockSnapshot\", volume_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var blockSnapshot = new Scaleway.BlockSnapshot(\"blockSnapshot\", new()\n {\n VolumeId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewBlockSnapshot(ctx, \"blockSnapshot\", \u0026scaleway.BlockSnapshotArgs{\n\t\t\tVolumeId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.BlockSnapshot;\nimport com.pulumi.scaleway.BlockSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var blockSnapshot = new BlockSnapshot(\"blockSnapshot\", BlockSnapshotArgs.builder()\n .volumeId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n blockSnapshot:\n type: scaleway:BlockSnapshot\n properties:\n volumeId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBlock Snapshots can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/blockSnapshot:BlockSnapshot main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Block Snapshots.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst blockVolume = new scaleway.BlockVolume(\"blockVolume\", {\n iops: 5000,\n sizeInGb: 20,\n});\nconst blockSnapshot = new scaleway.BlockSnapshot(\"blockSnapshot\", {volumeId: blockVolume.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nblock_volume = scaleway.BlockVolume(\"blockVolume\",\n iops=5000,\n size_in_gb=20)\nblock_snapshot = scaleway.BlockSnapshot(\"blockSnapshot\", volume_id=block_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var blockVolume = new Scaleway.BlockVolume(\"blockVolume\", new()\n {\n Iops = 5000,\n SizeInGb = 20,\n });\n\n var blockSnapshot = new Scaleway.BlockSnapshot(\"blockSnapshot\", new()\n {\n VolumeId = blockVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tblockVolume, err := scaleway.NewBlockVolume(ctx, \"blockVolume\", \u0026scaleway.BlockVolumeArgs{\n\t\t\tIops: pulumi.Int(5000),\n\t\t\tSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewBlockSnapshot(ctx, \"blockSnapshot\", \u0026scaleway.BlockSnapshotArgs{\n\t\t\tVolumeId: blockVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.BlockVolume;\nimport com.pulumi.scaleway.BlockVolumeArgs;\nimport com.pulumi.scaleway.BlockSnapshot;\nimport com.pulumi.scaleway.BlockSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var blockVolume = new BlockVolume(\"blockVolume\", BlockVolumeArgs.builder()\n .iops(5000)\n .sizeInGb(20)\n .build());\n\n var blockSnapshot = new BlockSnapshot(\"blockSnapshot\", BlockSnapshotArgs.builder()\n .volumeId(blockVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n blockVolume:\n type: scaleway:BlockVolume\n properties:\n iops: 5000\n sizeInGb: 20\n blockSnapshot:\n type: scaleway:BlockSnapshot\n properties:\n volumeId: ${blockVolume.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBlock Snapshots can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/blockSnapshot:BlockSnapshot main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "name": { "type": "string", @@ -6852,7 +6904,7 @@ } }, "scaleway:index/blockVolume:BlockVolume": { - "description": "Creates and manages Scaleway Block Volumes.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst blockVolume = new scaleway.BlockVolume(\"blockVolume\", {\n iops: 5000,\n sizeInGb: 20,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nblock_volume = scaleway.BlockVolume(\"blockVolume\",\n iops=5000,\n size_in_gb=20)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var blockVolume = new Scaleway.BlockVolume(\"blockVolume\", new()\n {\n Iops = 5000,\n SizeInGb = 20,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewBlockVolume(ctx, \"blockVolume\", \u0026scaleway.BlockVolumeArgs{\n\t\t\tIops: pulumi.Int(5000),\n\t\t\tSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.BlockVolume;\nimport com.pulumi.scaleway.BlockVolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var blockVolume = new BlockVolume(\"blockVolume\", BlockVolumeArgs.builder()\n .iops(5000)\n .sizeInGb(20)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n blockVolume:\n type: scaleway:BlockVolume\n properties:\n iops: 5000\n sizeInGb: 20\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBlock Volumes can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/blockVolume:BlockVolume block_volume fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Block Volumes.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst blockVolume = new scaleway.BlockVolume(\"blockVolume\", {\n iops: 5000,\n sizeInGb: 20,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nblock_volume = scaleway.BlockVolume(\"blockVolume\",\n iops=5000,\n size_in_gb=20)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var blockVolume = new Scaleway.BlockVolume(\"blockVolume\", new()\n {\n Iops = 5000,\n SizeInGb = 20,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewBlockVolume(ctx, \"blockVolume\", \u0026scaleway.BlockVolumeArgs{\n\t\t\tIops: pulumi.Int(5000),\n\t\t\tSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.BlockVolume;\nimport com.pulumi.scaleway.BlockVolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var blockVolume = new BlockVolume(\"blockVolume\", BlockVolumeArgs.builder()\n .iops(5000)\n .sizeInGb(20)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n blockVolume:\n type: scaleway:BlockVolume\n properties:\n iops: 5000\n sizeInGb: 20\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With snapshot\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst base = new scaleway.BlockVolume(\"base\", {\n iops: 5000,\n sizeInGb: 20,\n});\nconst mainBlockSnapshot = new scaleway.BlockSnapshot(\"mainBlockSnapshot\", {volumeId: base.id});\nconst mainBlockVolume = new scaleway.BlockVolume(\"mainBlockVolume\", {\n iops: 5000,\n snapshotId: mainBlockSnapshot.id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbase = scaleway.BlockVolume(\"base\",\n iops=5000,\n size_in_gb=20)\nmain_block_snapshot = scaleway.BlockSnapshot(\"mainBlockSnapshot\", volume_id=base.id)\nmain_block_volume = scaleway.BlockVolume(\"mainBlockVolume\",\n iops=5000,\n snapshot_id=main_block_snapshot.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @base = new Scaleway.BlockVolume(\"base\", new()\n {\n Iops = 5000,\n SizeInGb = 20,\n });\n\n var mainBlockSnapshot = new Scaleway.BlockSnapshot(\"mainBlockSnapshot\", new()\n {\n VolumeId = @base.Id,\n });\n\n var mainBlockVolume = new Scaleway.BlockVolume(\"mainBlockVolume\", new()\n {\n Iops = 5000,\n SnapshotId = mainBlockSnapshot.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tbase, err := scaleway.NewBlockVolume(ctx, \"base\", \u0026scaleway.BlockVolumeArgs{\n\t\t\tIops: pulumi.Int(5000),\n\t\t\tSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainBlockSnapshot, err := scaleway.NewBlockSnapshot(ctx, \"mainBlockSnapshot\", \u0026scaleway.BlockSnapshotArgs{\n\t\t\tVolumeId: base.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewBlockVolume(ctx, \"mainBlockVolume\", \u0026scaleway.BlockVolumeArgs{\n\t\t\tIops: pulumi.Int(5000),\n\t\t\tSnapshotId: mainBlockSnapshot.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.BlockVolume;\nimport com.pulumi.scaleway.BlockVolumeArgs;\nimport com.pulumi.scaleway.BlockSnapshot;\nimport com.pulumi.scaleway.BlockSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var base = new BlockVolume(\"base\", BlockVolumeArgs.builder()\n .iops(5000)\n .sizeInGb(20)\n .build());\n\n var mainBlockSnapshot = new BlockSnapshot(\"mainBlockSnapshot\", BlockSnapshotArgs.builder()\n .volumeId(base.id())\n .build());\n\n var mainBlockVolume = new BlockVolume(\"mainBlockVolume\", BlockVolumeArgs.builder()\n .iops(5000)\n .snapshotId(mainBlockSnapshot.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n base:\n type: scaleway:BlockVolume\n properties:\n iops: 5000\n sizeInGb: 20\n mainBlockSnapshot:\n type: scaleway:BlockSnapshot\n properties:\n volumeId: ${base.id}\n mainBlockVolume:\n type: scaleway:BlockVolume\n properties:\n iops: 5000\n snapshotId: ${mainBlockSnapshot.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBlock Volumes can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/blockVolume:BlockVolume block_volume fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "iops": { "type": "integer", @@ -8289,11 +8341,11 @@ } }, "scaleway:index/database:Database": { - "description": "Creates and manages Scaleway RDB database.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.Database(\"main\", {instanceId: scaleway_rdb_instance.main.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.Database(\"main\", instance_id=scaleway_rdb_instance[\"main\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.Database(\"main\", new()\n {\n InstanceId = scaleway_rdb_instance.Main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabase(ctx, \"main\", \u0026scaleway.DatabaseArgs{\n\t\t\tInstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Database;\nimport com.pulumi.scaleway.DatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new Database(\"main\", DatabaseArgs.builder()\n .instanceId(scaleway_rdb_instance.main().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:Database\n properties:\n instanceId: ${scaleway_rdb_instance.main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRDB Database can be imported using the `{region}/{id}/{DBNAME}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/database:Database rdb01_mydb fr-par/11111111-1111-1111-1111-111111111111/mydb\n```\n\n", + "description": "Creates and manages databases.\nFor more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainDatabaseInstance = new scaleway.DatabaseInstance(\"mainDatabaseInstance\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst mainDatabase = new scaleway.Database(\"mainDatabase\", {instanceId: mainDatabaseInstance.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_database_instance = scaleway.DatabaseInstance(\"mainDatabaseInstance\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\nmain_database = scaleway.Database(\"mainDatabase\", instance_id=main_database_instance.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainDatabaseInstance = new Scaleway.DatabaseInstance(\"mainDatabaseInstance\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var mainDatabase = new Scaleway.Database(\"mainDatabase\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, \"mainDatabaseInstance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabase(ctx, \"mainDatabase\", \u0026scaleway.DatabaseArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.Database;\nimport com.pulumi.scaleway.DatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainDatabaseInstance = new DatabaseInstance(\"mainDatabaseInstance\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var mainDatabase = new Database(\"mainDatabase\", DatabaseArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainDatabaseInstance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n mainDatabase:\n type: scaleway:Database\n properties:\n instanceId: ${mainDatabaseInstance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRDB Database can be imported using the `{region}/{id}/{DBNAME}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/database:Database rdb01_mydb fr-par/11111111-1111-1111-1111-111111111111/mydb\n```\n\n", "properties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database.\n" + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database.\n" }, "managed": { "type": "boolean", @@ -8327,7 +8379,7 @@ "inputProperties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database.\n", "willReplaceOnChanges": true }, "name": { @@ -8349,7 +8401,7 @@ "properties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database.\n", "willReplaceOnChanges": true }, "managed": { @@ -8379,7 +8431,7 @@ } }, "scaleway:index/databaseAcl:DatabaseAcl": { - "description": "Creates and manages Scaleway Database instance authorized IPs.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseAcl(\"main\", {\n instanceId: scaleway_rdb_instance.main.id,\n aclRules: [{\n ip: \"1.2.3.4/32\",\n description: \"foo\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseAcl(\"main\",\n instance_id=scaleway_rdb_instance[\"main\"][\"id\"],\n acl_rules=[scaleway.DatabaseAclAclRuleArgs(\n ip=\"1.2.3.4/32\",\n description=\"foo\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseAcl(\"main\", new()\n {\n InstanceId = scaleway_rdb_instance.Main.Id,\n AclRules = new[]\n {\n new Scaleway.Inputs.DatabaseAclAclRuleArgs\n {\n Ip = \"1.2.3.4/32\",\n Description = \"foo\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseAcl(ctx, \"main\", \u0026scaleway.DatabaseAclArgs{\n\t\t\tInstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id),\n\t\t\tAclRules: scaleway.DatabaseAclAclRuleArray{\n\t\t\t\t\u0026scaleway.DatabaseAclAclRuleArgs{\n\t\t\t\t\tIp: pulumi.String(\"1.2.3.4/32\"),\n\t\t\t\t\tDescription: pulumi.String(\"foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseAcl;\nimport com.pulumi.scaleway.DatabaseAclArgs;\nimport com.pulumi.scaleway.inputs.DatabaseAclAclRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseAcl(\"main\", DatabaseAclArgs.builder()\n .instanceId(scaleway_rdb_instance.main().id())\n .aclRules(DatabaseAclAclRuleArgs.builder()\n .ip(\"1.2.3.4/32\")\n .description(\"foo\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseAcl\n properties:\n instanceId: ${scaleway_rdb_instance.main.id}\n aclRules:\n - ip: 1.2.3.4/32\n description: foo\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Instance can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseAcl:DatabaseAcl acl01 fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Database instance authorized IPs.\nFor more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainDatabaseInstance = new scaleway.DatabaseInstance(\"mainDatabaseInstance\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst mainDatabaseAcl = new scaleway.DatabaseAcl(\"mainDatabaseAcl\", {\n instanceId: mainDatabaseInstance.id,\n aclRules: [{\n ip: \"1.2.3.4/32\",\n description: \"foo\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_database_instance = scaleway.DatabaseInstance(\"mainDatabaseInstance\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\nmain_database_acl = scaleway.DatabaseAcl(\"mainDatabaseAcl\",\n instance_id=main_database_instance.id,\n acl_rules=[scaleway.DatabaseAclAclRuleArgs(\n ip=\"1.2.3.4/32\",\n description=\"foo\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainDatabaseInstance = new Scaleway.DatabaseInstance(\"mainDatabaseInstance\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var mainDatabaseAcl = new Scaleway.DatabaseAcl(\"mainDatabaseAcl\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n AclRules = new[]\n {\n new Scaleway.Inputs.DatabaseAclAclRuleArgs\n {\n Ip = \"1.2.3.4/32\",\n Description = \"foo\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, \"mainDatabaseInstance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseAcl(ctx, \"mainDatabaseAcl\", \u0026scaleway.DatabaseAclArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tAclRules: scaleway.DatabaseAclAclRuleArray{\n\t\t\t\t\u0026scaleway.DatabaseAclAclRuleArgs{\n\t\t\t\t\tIp: pulumi.String(\"1.2.3.4/32\"),\n\t\t\t\t\tDescription: pulumi.String(\"foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.DatabaseAcl;\nimport com.pulumi.scaleway.DatabaseAclArgs;\nimport com.pulumi.scaleway.inputs.DatabaseAclAclRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainDatabaseInstance = new DatabaseInstance(\"mainDatabaseInstance\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var mainDatabaseAcl = new DatabaseAcl(\"mainDatabaseAcl\", DatabaseAclArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .aclRules(DatabaseAclAclRuleArgs.builder()\n .ip(\"1.2.3.4/32\")\n .description(\"foo\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainDatabaseInstance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n mainDatabaseAcl:\n type: scaleway:DatabaseAcl\n properties:\n instanceId: ${mainDatabaseInstance.id}\n aclRules:\n - ip: 1.2.3.4/32\n description: foo\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Instance can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseAcl:DatabaseAcl acl01 fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "aclRules": { "type": "array", @@ -8390,7 +8442,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n" + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n" }, "region": { "type": "string", @@ -8412,7 +8464,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n", "willReplaceOnChanges": true }, "region": { @@ -8437,7 +8489,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database ACL.\n", "willReplaceOnChanges": true }, "region": { @@ -8450,7 +8502,7 @@ } }, "scaleway:index/databaseBackup:DatabaseBackup": { - "description": "Creates and manages Scaleway RDB database backup.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseBackup(\"main\", {\n instanceId: data.scaleway_rdb_instance.main.id,\n databaseName: data.scaleway_rdb_database.main.name,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseBackup(\"main\",\n instance_id=data[\"scaleway_rdb_instance\"][\"main\"][\"id\"],\n database_name=data[\"scaleway_rdb_database\"][\"main\"][\"name\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseBackup(\"main\", new()\n {\n InstanceId = data.Scaleway_rdb_instance.Main.Id,\n DatabaseName = data.Scaleway_rdb_database.Main.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseBackup(ctx, \"main\", \u0026scaleway.DatabaseBackupArgs{\n\t\t\tInstanceId: pulumi.Any(data.Scaleway_rdb_instance.Main.Id),\n\t\t\tDatabaseName: pulumi.Any(data.Scaleway_rdb_database.Main.Name),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseBackup;\nimport com.pulumi.scaleway.DatabaseBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseBackup(\"main\", DatabaseBackupArgs.builder()\n .instanceId(data.scaleway_rdb_instance().main().id())\n .databaseName(data.scaleway_rdb_database().main().name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseBackup\n properties:\n instanceId: ${data.scaleway_rdb_instance.main.id}\n databaseName: ${data.scaleway_rdb_database.main.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With expiration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseBackup(\"main\", {\n instanceId: data.scaleway_rdb_instance.main.id,\n databaseName: data.scaleway_rdb_database.main.name,\n expiresAt: \"2022-06-16T07:48:44Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseBackup(\"main\",\n instance_id=data[\"scaleway_rdb_instance\"][\"main\"][\"id\"],\n database_name=data[\"scaleway_rdb_database\"][\"main\"][\"name\"],\n expires_at=\"2022-06-16T07:48:44Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseBackup(\"main\", new()\n {\n InstanceId = data.Scaleway_rdb_instance.Main.Id,\n DatabaseName = data.Scaleway_rdb_database.Main.Name,\n ExpiresAt = \"2022-06-16T07:48:44Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseBackup(ctx, \"main\", \u0026scaleway.DatabaseBackupArgs{\n\t\t\tInstanceId: pulumi.Any(data.Scaleway_rdb_instance.Main.Id),\n\t\t\tDatabaseName: pulumi.Any(data.Scaleway_rdb_database.Main.Name),\n\t\t\tExpiresAt: pulumi.String(\"2022-06-16T07:48:44Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseBackup;\nimport com.pulumi.scaleway.DatabaseBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseBackup(\"main\", DatabaseBackupArgs.builder()\n .instanceId(data.scaleway_rdb_instance().main().id())\n .databaseName(data.scaleway_rdb_database().main().name())\n .expiresAt(\"2022-06-16T07:48:44Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseBackup\n properties:\n instanceId: ${data.scaleway_rdb_instance.main.id}\n databaseName: ${data.scaleway_rdb_database.main.name}\n expiresAt: 2022-06-16T07:48:44Z\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRDB Database can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseBackup:DatabaseBackup mybackup fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages database backups.\nFor more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainDatabaseInstance = new scaleway.DatabaseInstance(\"mainDatabaseInstance\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst mainDatabase = new scaleway.Database(\"mainDatabase\", {instanceId: mainDatabaseInstance.id});\nconst mainDatabaseBackup = new scaleway.DatabaseBackup(\"mainDatabaseBackup\", {\n instanceId: mainDatabaseInstance.id,\n databaseName: mainDatabase.name,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_database_instance = scaleway.DatabaseInstance(\"mainDatabaseInstance\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\nmain_database = scaleway.Database(\"mainDatabase\", instance_id=main_database_instance.id)\nmain_database_backup = scaleway.DatabaseBackup(\"mainDatabaseBackup\",\n instance_id=main_database_instance.id,\n database_name=main_database.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainDatabaseInstance = new Scaleway.DatabaseInstance(\"mainDatabaseInstance\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var mainDatabase = new Scaleway.Database(\"mainDatabase\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n });\n\n var mainDatabaseBackup = new Scaleway.DatabaseBackup(\"mainDatabaseBackup\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n DatabaseName = mainDatabase.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, \"mainDatabaseInstance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainDatabase, err := scaleway.NewDatabase(ctx, \"mainDatabase\", \u0026scaleway.DatabaseArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseBackup(ctx, \"mainDatabaseBackup\", \u0026scaleway.DatabaseBackupArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tDatabaseName: mainDatabase.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.Database;\nimport com.pulumi.scaleway.DatabaseArgs;\nimport com.pulumi.scaleway.DatabaseBackup;\nimport com.pulumi.scaleway.DatabaseBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainDatabaseInstance = new DatabaseInstance(\"mainDatabaseInstance\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var mainDatabase = new Database(\"mainDatabase\", DatabaseArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .build());\n\n var mainDatabaseBackup = new DatabaseBackup(\"mainDatabaseBackup\", DatabaseBackupArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .databaseName(mainDatabase.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainDatabaseInstance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n mainDatabase:\n type: scaleway:Database\n properties:\n instanceId: ${mainDatabaseInstance.id}\n mainDatabaseBackup:\n type: scaleway:DatabaseBackup\n properties:\n instanceId: ${mainDatabaseInstance.id}\n databaseName: ${mainDatabase.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With expiration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseBackup(\"main\", {\n instanceId: data.scaleway_rdb_instance.main.id,\n databaseName: data.scaleway_rdb_database.main.name,\n expiresAt: \"2022-06-16T07:48:44Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseBackup(\"main\",\n instance_id=data[\"scaleway_rdb_instance\"][\"main\"][\"id\"],\n database_name=data[\"scaleway_rdb_database\"][\"main\"][\"name\"],\n expires_at=\"2022-06-16T07:48:44Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseBackup(\"main\", new()\n {\n InstanceId = data.Scaleway_rdb_instance.Main.Id,\n DatabaseName = data.Scaleway_rdb_database.Main.Name,\n ExpiresAt = \"2022-06-16T07:48:44Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseBackup(ctx, \"main\", \u0026scaleway.DatabaseBackupArgs{\n\t\t\tInstanceId: pulumi.Any(data.Scaleway_rdb_instance.Main.Id),\n\t\t\tDatabaseName: pulumi.Any(data.Scaleway_rdb_database.Main.Name),\n\t\t\tExpiresAt: pulumi.String(\"2022-06-16T07:48:44Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseBackup;\nimport com.pulumi.scaleway.DatabaseBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseBackup(\"main\", DatabaseBackupArgs.builder()\n .instanceId(data.scaleway_rdb_instance().main().id())\n .databaseName(data.scaleway_rdb_database().main().name())\n .expiresAt(\"2022-06-16T07:48:44Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseBackup\n properties:\n instanceId: ${data.scaleway_rdb_instance.main.id}\n databaseName: ${data.scaleway_rdb_database.main.name}\n expiresAt: 2022-06-16T07:48:44Z\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabases can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseBackup:DatabaseBackup mybackup fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -8466,7 +8518,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Backup.\n" + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the backup.\n" }, "instanceName": { "type": "string", @@ -8511,7 +8563,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Backup.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the backup.\n", "willReplaceOnChanges": true }, "name": { @@ -8546,7 +8598,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Backup.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the backup.\n", "willReplaceOnChanges": true }, "instanceName": { @@ -8575,7 +8627,7 @@ } }, "scaleway:index/databaseInstance:DatabaseInstance": { - "description": "Creates and manages Scaleway Database Instances.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Example Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"DB-DEV-S\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"DB-DEV-S\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"DB-DEV-S\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"DB-DEV-S\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: DB-DEV-S\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example Block Storage Low Latency\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"db-play2-pico\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n volumeSizeInGb: 10,\n volumeType: \"sbs_15k\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"db-play2-pico\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\",\n volume_size_in_gb=10,\n volume_type=\"sbs_15k\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"db-play2-pico\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n VolumeSizeInGb = 10,\n VolumeType = \"sbs_15k\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"db-play2-pico\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(10),\n\t\t\tVolumeType: pulumi.String(\"sbs_15k\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"db-play2-pico\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .volumeSizeInGb(10)\n .volumeType(\"sbs_15k\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: db-play2-pico\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n volumeSizeInGb: 10\n volumeType: sbs_15k\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example with Settings\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"MySQL-8\",\n initSettings: {\n lower_case_table_names: \"1\",\n },\n nodeType: \"db-dev-s\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n settings: {\n max_connections: \"350\",\n },\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"MySQL-8\",\n init_settings={\n \"lower_case_table_names\": \"1\",\n },\n node_type=\"db-dev-s\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n settings={\n \"max_connections\": \"350\",\n },\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"MySQL-8\",\n InitSettings = \n {\n { \"lower_case_table_names\", \"1\" },\n },\n NodeType = \"db-dev-s\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Settings = \n {\n { \"max_connections\", \"350\" },\n },\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"MySQL-8\"),\n\t\t\tInitSettings: pulumi.StringMap{\n\t\t\t\t\"lower_case_table_names\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tSettings: pulumi.StringMap{\n\t\t\t\t\"max_connections\": pulumi.String(\"350\"),\n\t\t\t},\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"MySQL-8\")\n .initSettings(Map.of(\"lower_case_table_names\", 1))\n .nodeType(\"db-dev-s\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .settings(Map.of(\"max_connections\", \"350\"))\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: MySQL-8\n initSettings:\n lower_case_table_names: 1\n nodeType: db-dev-s\n password: thiZ_is_v\u0026ry_s3cret\n settings:\n max_connections: '350'\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example with backup schedule\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n backupScheduleFrequency: 24,\n backupScheduleRetention: 7,\n disableBackup: false,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"DB-DEV-S\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n backup_schedule_frequency=24,\n backup_schedule_retention=7,\n disable_backup=False,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"DB-DEV-S\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n BackupScheduleFrequency = 24,\n BackupScheduleRetention = 7,\n DisableBackup = false,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"DB-DEV-S\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tBackupScheduleFrequency: pulumi.Int(24),\n\t\t\tBackupScheduleRetention: pulumi.Int(7),\n\t\t\tDisableBackup: pulumi.Bool(false),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .backupScheduleFrequency(24)\n .backupScheduleRetention(7)\n .disableBackup(false)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"DB-DEV-S\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n backupScheduleFrequency: 24\n # every day\n backupScheduleRetention: 7\n # keep it one week\n disableBackup: false\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: DB-DEV-S\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Examples of endpoints configuration\n\nRDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none.\n\n### 1 static private network endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {ipv4Subnet: {\n subnet: \"172.16.20.0/22\",\n}});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-15\",\n privateNetwork: {\n pnId: pn.id,\n ipNet: \"172.16.20.4/22\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\", ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.20.0/22\",\n))\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-15\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n ip_net=\"172.16.20.4/22\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.20.0/22\",\n },\n });\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-15\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n IpNet = \"172.16.20.4/22\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.20.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t\tIpNet: pulumi.String(\"172.16.20.4/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.20.0/22\")\n .build())\n .build());\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-15\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .ipNet(\"172.16.20.4/22\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.20.0/22\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-15\n privateNetwork:\n pnId: ${pn.id}\n ipNet: 172.16.20.4/22\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### 1 IPAM private network endpoint + 1 public endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n privateNetwork: {\n pnId: pn.id,\n enableIpam: true,\n },\n loadBalancers: [{}],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n enable_ipam=True,\n ),\n load_balancers=[scaleway.DatabaseInstanceLoadBalancerArgs()])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n EnableIpam = true,\n },\n LoadBalancers = new[]\n {\n null,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t\tEnableIpam: pulumi.Bool(true),\n\t\t\t},\n\t\t\tLoadBalancers: scaleway.DatabaseInstanceLoadBalancerArray{\n\t\t\t\tnil,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstanceLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .enableIpam(true)\n .build())\n .loadBalancers()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n privateNetwork:\n pnId: ${pn.id}\n enableIpam: true\n loadBalancers:\n - {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Default: 1 public endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n engine: \"PostgreSQL-15\",\n nodeType: \"db-dev-s\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n engine=\"PostgreSQL-15\",\n node_type=\"db-dev-s\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n Engine = \"PostgreSQL-15\",\n NodeType = \"db-dev-s\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .engine(\"PostgreSQL-15\")\n .nodeType(\"db-dev-s\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n engine: PostgreSQL-15\n nodeType: db-dev-s\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e If nothing is defined, your instance will have a default public load-balancer endpoint\n\n## Limitations\n\nThe Managed Database product is only compliant with the private network in the default availability zone (AZ).\ni.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our\nsection [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/)\n\n## Import\n\nDatabase Instance can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseInstance:DatabaseInstance rdb01 fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Database Instances.\nFor more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Example Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"DB-DEV-S\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"DB-DEV-S\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"DB-DEV-S\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"DB-DEV-S\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: DB-DEV-S\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example Block Storage Low Latency\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"db-play2-pico\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n volumeSizeInGb: 10,\n volumeType: \"sbs_15k\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"db-play2-pico\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\",\n volume_size_in_gb=10,\n volume_type=\"sbs_15k\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"db-play2-pico\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n VolumeSizeInGb = 10,\n VolumeType = \"sbs_15k\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"db-play2-pico\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(10),\n\t\t\tVolumeType: pulumi.String(\"sbs_15k\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"db-play2-pico\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .volumeSizeInGb(10)\n .volumeType(\"sbs_15k\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: db-play2-pico\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n volumeSizeInGb: 10\n volumeType: sbs_15k\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example with Settings\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n disableBackup: true,\n engine: \"MySQL-8\",\n initSettings: {\n lower_case_table_names: \"1\",\n },\n nodeType: \"db-dev-s\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n settings: {\n max_connections: \"350\",\n },\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n disable_backup=True,\n engine=\"MySQL-8\",\n init_settings={\n \"lower_case_table_names\": \"1\",\n },\n node_type=\"db-dev-s\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n settings={\n \"max_connections\": \"350\",\n },\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n DisableBackup = true,\n Engine = \"MySQL-8\",\n InitSettings = \n {\n { \"lower_case_table_names\", \"1\" },\n },\n NodeType = \"db-dev-s\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Settings = \n {\n { \"max_connections\", \"350\" },\n },\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tEngine: pulumi.String(\"MySQL-8\"),\n\t\t\tInitSettings: pulumi.StringMap{\n\t\t\t\t\"lower_case_table_names\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tSettings: pulumi.StringMap{\n\t\t\t\t\"max_connections\": pulumi.String(\"350\"),\n\t\t\t},\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .disableBackup(true)\n .engine(\"MySQL-8\")\n .initSettings(Map.of(\"lower_case_table_names\", 1))\n .nodeType(\"db-dev-s\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .settings(Map.of(\"max_connections\", \"350\"))\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n disableBackup: true\n engine: MySQL-8\n initSettings:\n lower_case_table_names: 1\n nodeType: db-dev-s\n password: thiZ_is_v\u0026ry_s3cret\n settings:\n max_connections: '350'\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example with backup schedule\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n backupScheduleFrequency: 24,\n backupScheduleRetention: 7,\n disableBackup: false,\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n nodeType: \"DB-DEV-S\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n userName: \"my_initial_user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n backup_schedule_frequency=24,\n backup_schedule_retention=7,\n disable_backup=False,\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n node_type=\"DB-DEV-S\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n user_name=\"my_initial_user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n BackupScheduleFrequency = 24,\n BackupScheduleRetention = 7,\n DisableBackup = false,\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n NodeType = \"DB-DEV-S\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n UserName = \"my_initial_user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tBackupScheduleFrequency: pulumi.Int(24),\n\t\t\tBackupScheduleRetention: pulumi.Int(7),\n\t\t\tDisableBackup: pulumi.Bool(false),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .backupScheduleFrequency(24)\n .backupScheduleRetention(7)\n .disableBackup(false)\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .nodeType(\"DB-DEV-S\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .userName(\"my_initial_user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n backupScheduleFrequency: 24\n # every day\n backupScheduleRetention: 7\n # keep it one week\n disableBackup: false\n engine: PostgreSQL-15\n isHaCluster: true\n nodeType: DB-DEV-S\n password: thiZ_is_v\u0026ry_s3cret\n userName: my_initial_user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Examples of endpoint configuration\n\nDatabase Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none.\n\n### 1 static Private Network endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {ipv4Subnet: {\n subnet: \"172.16.20.0/22\",\n}});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-15\",\n privateNetwork: {\n pnId: pn.id,\n ipNet: \"172.16.20.4/22\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\", ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.20.0/22\",\n))\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-15\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n ip_net=\"172.16.20.4/22\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.20.0/22\",\n },\n });\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-15\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n IpNet = \"172.16.20.4/22\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.20.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t\tIpNet: pulumi.String(\"172.16.20.4/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.20.0/22\")\n .build())\n .build());\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-15\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .ipNet(\"172.16.20.4/22\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.20.0/22\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-15\n privateNetwork:\n pnId: ${pn.id}\n ipNet: 172.16.20.4/22\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### 1 IPAM Private Network endpoint + 1 public endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n privateNetwork: {\n pnId: pn.id,\n enableIpam: true,\n },\n loadBalancers: [{}],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n enable_ipam=True,\n ),\n load_balancers=[scaleway.DatabaseInstanceLoadBalancerArgs()])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n EnableIpam = true,\n },\n LoadBalancers = new[]\n {\n null,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t\tEnableIpam: pulumi.Bool(true),\n\t\t\t},\n\t\t\tLoadBalancers: scaleway.DatabaseInstanceLoadBalancerArray{\n\t\t\t\tnil,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstanceLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .enableIpam(true)\n .build())\n .loadBalancers()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n privateNetwork:\n pnId: ${pn.id}\n enableIpam: true\n loadBalancers:\n - {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Default: 1 public endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n engine: \"PostgreSQL-15\",\n nodeType: \"db-dev-s\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n engine=\"PostgreSQL-15\",\n node_type=\"db-dev-s\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n Engine = \"PostgreSQL-15\",\n NodeType = \"db-dev-s\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .engine(\"PostgreSQL-15\")\n .nodeType(\"db-dev-s\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n engine: PostgreSQL-15\n nodeType: db-dev-s\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint.\n\n## Limitations\n\nThe Managed Database product is only compliant with the Private Network in the default availability zone (AZ).\ni.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our\nsection [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/)\n\n## Import\n\nDatabase Instance can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseInstance:DatabaseInstance rdb01 fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "backupSameRegion": { "type": "boolean", @@ -8591,7 +8643,7 @@ }, "certificate": { "type": "string", - "description": "Certificate of the database instance.\n" + "description": "Certificate of the Database Instance.\n" }, "disableBackup": { "type": "boolean", @@ -8608,7 +8660,7 @@ }, "engine": { "type": "string", - "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important:** Updates to `engine` will recreate the Database Instance.\n" + "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important** Updates to `engine` will recreate the Database Instance.\n" }, "initSettings": { "type": "object", @@ -8619,14 +8671,14 @@ }, "isHaCluster": { "type": "boolean", - "description": "Enable or disable high availability for the database instance.\n\n\u003e **Important:** Updates to `is_ha_cluster` will recreate the Database Instance.\n" + "description": "Enable or disable high availability for the Database Instance.\n\n\u003e **Important** Updates to `is_ha_cluster` will recreate the Database Instance.\n" }, "loadBalancers": { "type": "array", "items": { "$ref": "#/types/scaleway:index/DatabaseInstanceLoadBalancer:DatabaseInstanceLoadBalancer" }, - "description": "List of load balancer endpoints of the database instance.\n" + "description": "List of Load Balancer endpoints of the Database Instance.\n" }, "logsPolicy": { "$ref": "#/types/scaleway:index/DatabaseInstanceLogsPolicy:DatabaseInstanceLogsPolicy", @@ -8638,7 +8690,7 @@ }, "nodeType": { "type": "string", - "description": "The type of database instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type,\nand if you are using `bssd` storage, you should increase the volume size before making any other change to your instance.\n" + "description": "The type of Database Instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.\n" }, "organizationId": { "type": "string", @@ -8646,12 +8698,12 @@ }, "password": { "type": "string", - "description": "Password for the first user of the database instance.\n", + "description": "Password for the first user of the Database Instance.\n", "secret": true }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseInstancePrivateNetwork:DatabaseInstancePrivateNetwork", - "description": "List of private networks endpoints of the database instance.\n" + "description": "List of Private Networks endpoints of the Database Instance.\n" }, "projectId": { "type": "string", @@ -8662,7 +8714,7 @@ "items": { "$ref": "#/types/scaleway:index/DatabaseInstanceReadReplica:DatabaseInstanceReadReplica" }, - "description": "List of read replicas of the database instance.\n" + "description": "List of read replicas of the Database Instance.\n" }, "region": { "type": "string", @@ -8684,11 +8736,11 @@ }, "userName": { "type": "string", - "description": "Identifier for the first user of the database instance.\n\n\u003e **Important:** Updates to `user_name` will recreate the Database Instance.\n" + "description": "Identifier for the first user of the Database Instance.\n\n\u003e **Important** Updates to `user_name` will recreate the Database Instance.\n" }, "volumeSizeInGb": { "type": "integer", - "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance.\n" + "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.\n" }, "volumeType": { "type": "string", @@ -8734,7 +8786,7 @@ }, "engine": { "type": "string", - "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important:** Updates to `engine` will recreate the Database Instance.\n", + "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important** Updates to `engine` will recreate the Database Instance.\n", "willReplaceOnChanges": true }, "initSettings": { @@ -8747,14 +8799,14 @@ }, "isHaCluster": { "type": "boolean", - "description": "Enable or disable high availability for the database instance.\n\n\u003e **Important:** Updates to `is_ha_cluster` will recreate the Database Instance.\n" + "description": "Enable or disable high availability for the Database Instance.\n\n\u003e **Important** Updates to `is_ha_cluster` will recreate the Database Instance.\n" }, "loadBalancers": { "type": "array", "items": { "$ref": "#/types/scaleway:index/DatabaseInstanceLoadBalancer:DatabaseInstanceLoadBalancer" }, - "description": "List of load balancer endpoints of the database instance.\n" + "description": "List of Load Balancer endpoints of the Database Instance.\n" }, "logsPolicy": { "$ref": "#/types/scaleway:index/DatabaseInstanceLogsPolicy:DatabaseInstanceLogsPolicy", @@ -8766,16 +8818,16 @@ }, "nodeType": { "type": "string", - "description": "The type of database instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type,\nand if you are using `bssd` storage, you should increase the volume size before making any other change to your instance.\n" + "description": "The type of Database Instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.\n" }, "password": { "type": "string", - "description": "Password for the first user of the database instance.\n", + "description": "Password for the first user of the Database Instance.\n", "secret": true }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseInstancePrivateNetwork:DatabaseInstancePrivateNetwork", - "description": "List of private networks endpoints of the database instance.\n" + "description": "List of Private Networks endpoints of the Database Instance.\n" }, "projectId": { "type": "string", @@ -8803,12 +8855,12 @@ }, "userName": { "type": "string", - "description": "Identifier for the first user of the database instance.\n\n\u003e **Important:** Updates to `user_name` will recreate the Database Instance.\n", + "description": "Identifier for the first user of the Database Instance.\n\n\u003e **Important** Updates to `user_name` will recreate the Database Instance.\n", "willReplaceOnChanges": true }, "volumeSizeInGb": { "type": "integer", - "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance.\n" + "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.\n" }, "volumeType": { "type": "string", @@ -8836,7 +8888,7 @@ }, "certificate": { "type": "string", - "description": "Certificate of the database instance.\n" + "description": "Certificate of the Database Instance.\n" }, "disableBackup": { "type": "boolean", @@ -8853,7 +8905,7 @@ }, "engine": { "type": "string", - "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important:** Updates to `engine` will recreate the Database Instance.\n", + "description": "Database Instance's engine version (e.g. `PostgreSQL-11`).\n\n\u003e **Important** Updates to `engine` will recreate the Database Instance.\n", "willReplaceOnChanges": true }, "initSettings": { @@ -8866,14 +8918,14 @@ }, "isHaCluster": { "type": "boolean", - "description": "Enable or disable high availability for the database instance.\n\n\u003e **Important:** Updates to `is_ha_cluster` will recreate the Database Instance.\n" + "description": "Enable or disable high availability for the Database Instance.\n\n\u003e **Important** Updates to `is_ha_cluster` will recreate the Database Instance.\n" }, "loadBalancers": { "type": "array", "items": { "$ref": "#/types/scaleway:index/DatabaseInstanceLoadBalancer:DatabaseInstanceLoadBalancer" }, - "description": "List of load balancer endpoints of the database instance.\n" + "description": "List of Load Balancer endpoints of the Database Instance.\n" }, "logsPolicy": { "$ref": "#/types/scaleway:index/DatabaseInstanceLogsPolicy:DatabaseInstanceLogsPolicy", @@ -8885,7 +8937,7 @@ }, "nodeType": { "type": "string", - "description": "The type of database instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type,\nand if you are using `bssd` storage, you should increase the volume size before making any other change to your instance.\n" + "description": "The type of Database Instance you want to create (e.g. `db-dev-s`).\n\n\u003e **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any\ninterruption.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.\n" }, "organizationId": { "type": "string", @@ -8893,12 +8945,12 @@ }, "password": { "type": "string", - "description": "Password for the first user of the database instance.\n", + "description": "Password for the first user of the Database Instance.\n", "secret": true }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseInstancePrivateNetwork:DatabaseInstancePrivateNetwork", - "description": "List of private networks endpoints of the database instance.\n" + "description": "List of Private Networks endpoints of the Database Instance.\n" }, "projectId": { "type": "string", @@ -8910,7 +8962,7 @@ "items": { "$ref": "#/types/scaleway:index/DatabaseInstanceReadReplica:DatabaseInstanceReadReplica" }, - "description": "List of read replicas of the database instance.\n" + "description": "List of read replicas of the Database Instance.\n" }, "region": { "type": "string", @@ -8933,12 +8985,12 @@ }, "userName": { "type": "string", - "description": "Identifier for the first user of the database instance.\n\n\u003e **Important:** Updates to `user_name` will recreate the Database Instance.\n", + "description": "Identifier for the first user of the Database Instance.\n\n\u003e **Important** Updates to `user_name` will recreate the Database Instance.\n", "willReplaceOnChanges": true }, "volumeSizeInGb": { "type": "integer", - "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance.\n" + "description": "Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.\n\n\u003e **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.\n" }, "volumeType": { "type": "string", @@ -8949,7 +9001,7 @@ } }, "scaleway:index/databasePrivilege:DatabasePrivilege": { - "description": "Create and manage Scaleway RDB database privilege.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainDatabaseInstance = new scaleway.DatabaseInstance(\"mainDatabaseInstance\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-11\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst mainDatabase = new scaleway.Database(\"mainDatabase\", {instanceId: mainDatabaseInstance.id});\nconst mainDatabaseUser = new scaleway.DatabaseUser(\"mainDatabaseUser\", {\n instanceId: mainDatabaseInstance.id,\n password: \"thiZ_is_v\u0026ry_s3cret\",\n isAdmin: false,\n});\nconst mainDatabasePrivilege = new scaleway.DatabasePrivilege(\"mainDatabasePrivilege\", {\n instanceId: mainDatabaseInstance.id,\n userName: mainDatabaseUser.name,\n databaseName: mainDatabase.name,\n permission: \"all\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_database_instance = scaleway.DatabaseInstance(\"mainDatabaseInstance\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-11\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\nmain_database = scaleway.Database(\"mainDatabase\", instance_id=main_database_instance.id)\nmain_database_user = scaleway.DatabaseUser(\"mainDatabaseUser\",\n instance_id=main_database_instance.id,\n password=\"thiZ_is_v\u0026ry_s3cret\",\n is_admin=False)\nmain_database_privilege = scaleway.DatabasePrivilege(\"mainDatabasePrivilege\",\n instance_id=main_database_instance.id,\n user_name=main_database_user.name,\n database_name=main_database.name,\n permission=\"all\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainDatabaseInstance = new Scaleway.DatabaseInstance(\"mainDatabaseInstance\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-11\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var mainDatabase = new Scaleway.Database(\"mainDatabase\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n });\n\n var mainDatabaseUser = new Scaleway.DatabaseUser(\"mainDatabaseUser\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n IsAdmin = false,\n });\n\n var mainDatabasePrivilege = new Scaleway.DatabasePrivilege(\"mainDatabasePrivilege\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n UserName = mainDatabaseUser.Name,\n DatabaseName = mainDatabase.Name,\n Permission = \"all\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, \"mainDatabaseInstance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-11\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainDatabase, err := scaleway.NewDatabase(ctx, \"mainDatabase\", \u0026scaleway.DatabaseArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainDatabaseUser, err := scaleway.NewDatabaseUser(ctx, \"mainDatabaseUser\", \u0026scaleway.DatabaseUserArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tIsAdmin: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabasePrivilege(ctx, \"mainDatabasePrivilege\", \u0026scaleway.DatabasePrivilegeArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tUserName: mainDatabaseUser.Name,\n\t\t\tDatabaseName: mainDatabase.Name,\n\t\t\tPermission: pulumi.String(\"all\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.Database;\nimport com.pulumi.scaleway.DatabaseArgs;\nimport com.pulumi.scaleway.DatabaseUser;\nimport com.pulumi.scaleway.DatabaseUserArgs;\nimport com.pulumi.scaleway.DatabasePrivilege;\nimport com.pulumi.scaleway.DatabasePrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainDatabaseInstance = new DatabaseInstance(\"mainDatabaseInstance\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-11\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var mainDatabase = new Database(\"mainDatabase\", DatabaseArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .build());\n\n var mainDatabaseUser = new DatabaseUser(\"mainDatabaseUser\", DatabaseUserArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .isAdmin(false)\n .build());\n\n var mainDatabasePrivilege = new DatabasePrivilege(\"mainDatabasePrivilege\", DatabasePrivilegeArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .userName(mainDatabaseUser.name())\n .databaseName(mainDatabase.name())\n .permission(\"all\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainDatabaseInstance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-11\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n mainDatabase:\n type: scaleway:Database\n properties:\n instanceId: ${mainDatabaseInstance.id}\n mainDatabaseUser:\n type: scaleway:DatabaseUser\n properties:\n instanceId: ${mainDatabaseInstance.id}\n password: thiZ_is_v\u0026ry_s3cret\n isAdmin: false\n mainDatabasePrivilege:\n type: scaleway:DatabasePrivilege\n properties:\n instanceId: ${mainDatabaseInstance.id}\n userName: ${mainDatabaseUser.name}\n databaseName: ${mainDatabase.name}\n permission: all\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe user privileges can be imported using the `{region}/{instance_id}/{database_name}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databasePrivilege:DatabasePrivilege o fr-par/11111111-1111-1111-1111-111111111111/database_name/foo\n```\n\n", + "description": "Create and manage Scaleway database privileges.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainDatabaseInstance = new scaleway.DatabaseInstance(\"mainDatabaseInstance\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-11\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst mainDatabase = new scaleway.Database(\"mainDatabase\", {instanceId: mainDatabaseInstance.id});\nconst mainDatabaseUser = new scaleway.DatabaseUser(\"mainDatabaseUser\", {\n instanceId: mainDatabaseInstance.id,\n password: \"thiZ_is_v\u0026ry_s3cret\",\n isAdmin: false,\n});\nconst mainDatabasePrivilege = new scaleway.DatabasePrivilege(\"mainDatabasePrivilege\", {\n instanceId: mainDatabaseInstance.id,\n userName: mainDatabaseUser.name,\n databaseName: mainDatabase.name,\n permission: \"all\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_database_instance = scaleway.DatabaseInstance(\"mainDatabaseInstance\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-11\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\nmain_database = scaleway.Database(\"mainDatabase\", instance_id=main_database_instance.id)\nmain_database_user = scaleway.DatabaseUser(\"mainDatabaseUser\",\n instance_id=main_database_instance.id,\n password=\"thiZ_is_v\u0026ry_s3cret\",\n is_admin=False)\nmain_database_privilege = scaleway.DatabasePrivilege(\"mainDatabasePrivilege\",\n instance_id=main_database_instance.id,\n user_name=main_database_user.name,\n database_name=main_database.name,\n permission=\"all\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainDatabaseInstance = new Scaleway.DatabaseInstance(\"mainDatabaseInstance\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-11\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var mainDatabase = new Scaleway.Database(\"mainDatabase\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n });\n\n var mainDatabaseUser = new Scaleway.DatabaseUser(\"mainDatabaseUser\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n IsAdmin = false,\n });\n\n var mainDatabasePrivilege = new Scaleway.DatabasePrivilege(\"mainDatabasePrivilege\", new()\n {\n InstanceId = mainDatabaseInstance.Id,\n UserName = mainDatabaseUser.Name,\n DatabaseName = mainDatabase.Name,\n Permission = \"all\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, \"mainDatabaseInstance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-11\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainDatabase, err := scaleway.NewDatabase(ctx, \"mainDatabase\", \u0026scaleway.DatabaseArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainDatabaseUser, err := scaleway.NewDatabaseUser(ctx, \"mainDatabaseUser\", \u0026scaleway.DatabaseUserArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tIsAdmin: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabasePrivilege(ctx, \"mainDatabasePrivilege\", \u0026scaleway.DatabasePrivilegeArgs{\n\t\t\tInstanceId: mainDatabaseInstance.ID(),\n\t\t\tUserName: mainDatabaseUser.Name,\n\t\t\tDatabaseName: mainDatabase.Name,\n\t\t\tPermission: pulumi.String(\"all\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.Database;\nimport com.pulumi.scaleway.DatabaseArgs;\nimport com.pulumi.scaleway.DatabaseUser;\nimport com.pulumi.scaleway.DatabaseUserArgs;\nimport com.pulumi.scaleway.DatabasePrivilege;\nimport com.pulumi.scaleway.DatabasePrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainDatabaseInstance = new DatabaseInstance(\"mainDatabaseInstance\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-11\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var mainDatabase = new Database(\"mainDatabase\", DatabaseArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .build());\n\n var mainDatabaseUser = new DatabaseUser(\"mainDatabaseUser\", DatabaseUserArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .isAdmin(false)\n .build());\n\n var mainDatabasePrivilege = new DatabasePrivilege(\"mainDatabasePrivilege\", DatabasePrivilegeArgs.builder()\n .instanceId(mainDatabaseInstance.id())\n .userName(mainDatabaseUser.name())\n .databaseName(mainDatabase.name())\n .permission(\"all\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainDatabaseInstance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-11\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n mainDatabase:\n type: scaleway:Database\n properties:\n instanceId: ${mainDatabaseInstance.id}\n mainDatabaseUser:\n type: scaleway:DatabaseUser\n properties:\n instanceId: ${mainDatabaseInstance.id}\n password: thiZ_is_v\u0026ry_s3cret\n isAdmin: false\n mainDatabasePrivilege:\n type: scaleway:DatabasePrivilege\n properties:\n instanceId: ${mainDatabaseInstance.id}\n userName: ${mainDatabaseUser.name}\n databaseName: ${mainDatabase.name}\n permission: all\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe user privileges can be imported using the `{region}/{instance_id}/{database_name}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databasePrivilege:DatabasePrivilege o fr-par/11111111-1111-1111-1111-111111111111/database_name/foo\n```\n\n", "properties": { "databaseName": { "type": "string", @@ -8957,7 +9009,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n" + "description": "UUID of the Database Instance.\n" }, "permission": { "type": "string", @@ -8986,7 +9038,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n", + "description": "UUID of the Database Instance.\n", "willReplaceOnChanges": true }, "permission": { @@ -9018,7 +9070,7 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n", + "description": "UUID of the Database Instance.\n", "willReplaceOnChanges": true }, "permission": { @@ -9039,7 +9091,7 @@ } }, "scaleway:index/databaseReadReplica:DatabaseReadReplica": { - "description": "Creates and manages Scaleway Database read replicas.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n tags: [\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n ],\n});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n directAccess: {},\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n tags=[\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n ])\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n direct_access=scaleway.DatabaseReadReplicaDirectAccessArgs())\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Tags = new[]\n {\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n },\n });\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n DirectAccess = null,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"terraform-test\"),\n\t\t\t\tpulumi.String(\"scaleway_rdb_read_replica\"),\n\t\t\t\tpulumi.String(\"minimal\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tDirectAccess: nil,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaDirectAccessArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .tags( \n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\")\n .build());\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .directAccess()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n tags:\n - terraform-test\n - scaleway_rdb_read_replica\n - minimal\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n directAccess: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network with static endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n serviceIp: \"192.168.1.254/24\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\npn = scaleway.VpcPrivateNetwork(\"pn\")\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n private_network=scaleway.DatabaseReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n service_ip=\"192.168.1.254/24\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DatabaseReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n ServiceIp = \"192.168.1.254/24\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tServiceIp: pulumi.String(\"192.168.1.254/24\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DatabaseReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .serviceIp(\"192.168.1.254/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n pn:\n type: scaleway:VpcPrivateNetwork\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n serviceIp: 192.168.1.254/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network with IPAM\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n enableIpam: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\npn = scaleway.VpcPrivateNetwork(\"pn\")\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n private_network=scaleway.DatabaseReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n enable_ipam=True,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DatabaseReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n EnableIpam = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tEnableIpam: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DatabaseReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .enableIpam(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n pn:\n type: scaleway:VpcPrivateNetwork\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n enableIpam: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Read replica can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseReadReplica:DatabaseReadReplica rr fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Read Replicas.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n tags: [\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n ],\n});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n directAccess: {},\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n tags=[\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n ])\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n direct_access=scaleway.DatabaseReadReplicaDirectAccessArgs())\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Tags = new[]\n {\n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\",\n },\n });\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n DirectAccess = null,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"terraform-test\"),\n\t\t\t\tpulumi.String(\"scaleway_rdb_read_replica\"),\n\t\t\t\tpulumi.String(\"minimal\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tDirectAccess: nil,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaDirectAccessArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .tags( \n \"terraform-test\",\n \"scaleway_rdb_read_replica\",\n \"minimal\")\n .build());\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .directAccess()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n tags:\n - terraform-test\n - scaleway_rdb_read_replica\n - minimal\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n directAccess: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network with static endpoint\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n serviceIp: \"192.168.1.254/24\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\npn = scaleway.VpcPrivateNetwork(\"pn\")\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n private_network=scaleway.DatabaseReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n service_ip=\"192.168.1.254/24\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DatabaseReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n ServiceIp = \"192.168.1.254/24\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tServiceIp: pulumi.String(\"192.168.1.254/24\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DatabaseReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .serviceIp(\"192.168.1.254/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n pn:\n type: scaleway:VpcPrivateNetwork\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n serviceIp: 192.168.1.254/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network with IPAM\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DatabaseInstance(\"instance\", {\n nodeType: \"db-dev-s\",\n engine: \"PostgreSQL-14\",\n isHaCluster: false,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst replica = new scaleway.DatabaseReadReplica(\"replica\", {\n instanceId: instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n enableIpam: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DatabaseInstance(\"instance\",\n node_type=\"db-dev-s\",\n engine=\"PostgreSQL-14\",\n is_ha_cluster=False,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\npn = scaleway.VpcPrivateNetwork(\"pn\")\nreplica = scaleway.DatabaseReadReplica(\"replica\",\n instance_id=instance.id,\n private_network=scaleway.DatabaseReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n enable_ipam=True,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DatabaseInstance(\"instance\", new()\n {\n NodeType = \"db-dev-s\",\n Engine = \"PostgreSQL-14\",\n IsHaCluster = false,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var replica = new Scaleway.DatabaseReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DatabaseReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n EnableIpam = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDatabaseInstance(ctx, \"instance\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"db-dev-s\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-14\"),\n\t\t\tIsHaCluster: pulumi.Bool(false),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseReadReplica(ctx, \"replica\", \u0026scaleway.DatabaseReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tEnableIpam: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseReadReplica;\nimport com.pulumi.scaleway.DatabaseReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DatabaseReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DatabaseInstance(\"instance\", DatabaseInstanceArgs.builder()\n .nodeType(\"db-dev-s\")\n .engine(\"PostgreSQL-14\")\n .isHaCluster(false)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var replica = new DatabaseReadReplica(\"replica\", DatabaseReadReplicaArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DatabaseReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .enableIpam(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: db-dev-s\n engine: PostgreSQL-14\n isHaCluster: false\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n pn:\n type: scaleway:VpcPrivateNetwork\n replica:\n type: scaleway:DatabaseReadReplica\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n enableIpam: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRead Replicas can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseReadReplica:DatabaseReadReplica rr fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "directAccess": { "$ref": "#/types/scaleway:index/DatabaseReadReplicaDirectAccess:DatabaseReadReplicaDirectAccess", @@ -9047,15 +9099,15 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both.\n" + "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both.\n" }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseReadReplicaPrivateNetwork:DatabaseReadReplicaPrivateNetwork", - "description": "Create an endpoint in a private network.\n" + "description": "Create an endpoint in a Private Netork.\n" }, "region": { "type": "string", - "description": "`region`) The region\nin which the Database read replica should be created.\n" + "description": "`region`) The region\nin which the Read Replica should be created.\n" }, "sameZone": { "type": "boolean", @@ -9073,15 +9125,15 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both.\n" + "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both.\n" }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseReadReplicaPrivateNetwork:DatabaseReadReplicaPrivateNetwork", - "description": "Create an endpoint in a private network.\n" + "description": "Create an endpoint in a Private Netork.\n" }, "region": { "type": "string", - "description": "`region`) The region\nin which the Database read replica should be created.\n", + "description": "`region`) The region\nin which the Read Replica should be created.\n", "willReplaceOnChanges": true }, "sameZone": { @@ -9102,15 +9154,15 @@ }, "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both.\n" + "description": "UUID of the rdb instance.\n\n\u003e **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both.\n" }, "privateNetwork": { "$ref": "#/types/scaleway:index/DatabaseReadReplicaPrivateNetwork:DatabaseReadReplicaPrivateNetwork", - "description": "Create an endpoint in a private network.\n" + "description": "Create an endpoint in a Private Netork.\n" }, "region": { "type": "string", - "description": "`region`) The region\nin which the Database read replica should be created.\n", + "description": "`region`) The region\nin which the Read Replica should be created.\n", "willReplaceOnChanges": true }, "sameZone": { @@ -9123,23 +9175,23 @@ } }, "scaleway:index/databaseUser:DatabaseUser": { - "description": "Creates and manages Scaleway Database Users.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as random from \"@pulumi/random\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst dbPassword = new random.RandomPassword(\"dbPassword\", {\n length: 16,\n special: true,\n});\nconst dbAdmin = new scaleway.DatabaseUser(\"dbAdmin\", {\n instanceId: scaleway_rdb_instance.main.id,\n password: dbPassword.result,\n isAdmin: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_random as random\nimport pulumiverse_scaleway as scaleway\n\ndb_password = random.RandomPassword(\"dbPassword\",\n length=16,\n special=True)\ndb_admin = scaleway.DatabaseUser(\"dbAdmin\",\n instance_id=scaleway_rdb_instance[\"main\"][\"id\"],\n password=db_password.result,\n is_admin=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Random = Pulumi.Random;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var dbPassword = new Random.RandomPassword(\"dbPassword\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var dbAdmin = new Scaleway.DatabaseUser(\"dbAdmin\", new()\n {\n InstanceId = scaleway_rdb_instance.Main.Id,\n Password = dbPassword.Result,\n IsAdmin = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdbPassword, err := random.NewRandomPassword(ctx, \"dbPassword\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseUser(ctx, \"dbAdmin\", \u0026scaleway.DatabaseUserArgs{\n\t\t\tInstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id),\n\t\t\tPassword: dbPassword.Result,\n\t\t\tIsAdmin: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.scaleway.DatabaseUser;\nimport com.pulumi.scaleway.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var dbPassword = new RandomPassword(\"dbPassword\", RandomPasswordArgs.builder()\n .length(16)\n .special(true)\n .build());\n\n var dbAdmin = new DatabaseUser(\"dbAdmin\", DatabaseUserArgs.builder()\n .instanceId(scaleway_rdb_instance.main().id())\n .password(dbPassword.result())\n .isAdmin(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n dbPassword:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n dbAdmin:\n type: scaleway:DatabaseUser\n properties:\n instanceId: ${scaleway_rdb_instance.main.id}\n password: ${dbPassword.result}\n isAdmin: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase User can be imported using `{region}/{instance_id}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseUser:DatabaseUser admin fr-par/11111111-1111-1111-1111-111111111111/admin\n```\n\n", + "description": "Creates and manages database users.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as random from \"@pulumi/random\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n});\nconst dbPassword = new random.RandomPassword(\"dbPassword\", {\n length: 16,\n special: true,\n});\nconst dbAdmin = new scaleway.DatabaseUser(\"dbAdmin\", {\n instanceId: main.id,\n password: dbPassword.result,\n isAdmin: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_random as random\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\")\ndb_password = random.RandomPassword(\"dbPassword\",\n length=16,\n special=True)\ndb_admin = scaleway.DatabaseUser(\"dbAdmin\",\n instance_id=main.id,\n password=db_password.result,\n is_admin=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Random = Pulumi.Random;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n });\n\n var dbPassword = new Random.RandomPassword(\"dbPassword\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var dbAdmin = new Scaleway.DatabaseUser(\"dbAdmin\", new()\n {\n InstanceId = main.Id,\n Password = dbPassword.Result,\n IsAdmin = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdbPassword, err := random.NewRandomPassword(ctx, \"dbPassword\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDatabaseUser(ctx, \"dbAdmin\", \u0026scaleway.DatabaseUserArgs{\n\t\t\tInstanceId: main.ID(),\n\t\t\tPassword: dbPassword.Result,\n\t\t\tIsAdmin: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.scaleway.DatabaseUser;\nimport com.pulumi.scaleway.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .build());\n\n var dbPassword = new RandomPassword(\"dbPassword\", RandomPasswordArgs.builder()\n .length(16)\n .special(true)\n .build());\n\n var dbAdmin = new DatabaseUser(\"dbAdmin\", DatabaseUserArgs.builder()\n .instanceId(main.id())\n .password(dbPassword.result())\n .isAdmin(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n dbPassword:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n dbAdmin:\n type: scaleway:DatabaseUser\n properties:\n instanceId: ${main.id}\n password: ${dbPassword.result}\n isAdmin: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase users can be imported using `{region}/{instance_id}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/databaseUser:DatabaseUser admin fr-par/11111111-1111-1111-1111-111111111111/admin\n```\n\n", "properties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database User.\n" + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database user.\n" }, "isAdmin": { "type": "boolean", - "description": "Grant admin permissions to the Database User.\n" + "description": "Grant admin permissions to the database user.\n" }, "name": { "type": "string", - "description": "Database User name.\n\n\u003e **Important:** Updates to `name` will recreate the Database User.\n" + "description": "database user name.\n\n\u003e **Important:** Updates to `name` will recreate the database user.\n" }, "password": { "type": "string", - "description": "Database User password.\n", + "description": "database user password.\n", "secret": true }, "region": { @@ -9156,21 +9208,21 @@ "inputProperties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database User.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database user.\n", "willReplaceOnChanges": true }, "isAdmin": { "type": "boolean", - "description": "Grant admin permissions to the Database User.\n" + "description": "Grant admin permissions to the database user.\n" }, "name": { "type": "string", - "description": "Database User name.\n\n\u003e **Important:** Updates to `name` will recreate the Database User.\n", + "description": "database user name.\n\n\u003e **Important:** Updates to `name` will recreate the database user.\n", "willReplaceOnChanges": true }, "password": { "type": "string", - "description": "Database User password.\n", + "description": "database user password.\n", "secret": true }, "region": { @@ -9188,21 +9240,21 @@ "properties": { "instanceId": { "type": "string", - "description": "UUID of the rdb instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the Database User.\n", + "description": "UUID of the Database Instance.\n\n\u003e **Important:** Updates to `instance_id` will recreate the database user.\n", "willReplaceOnChanges": true }, "isAdmin": { "type": "boolean", - "description": "Grant admin permissions to the Database User.\n" + "description": "Grant admin permissions to the database user.\n" }, "name": { "type": "string", - "description": "Database User name.\n\n\u003e **Important:** Updates to `name` will recreate the Database User.\n", + "description": "database user name.\n\n\u003e **Important:** Updates to `name` will recreate the database user.\n", "willReplaceOnChanges": true }, "password": { "type": "string", - "description": "Database User password.\n", + "description": "database user password.\n", "secret": true }, "region": { @@ -9215,7 +9267,7 @@ } }, "scaleway:index/documentdbDatabase:DocumentdbDatabase": { - "description": "Creates and manages Scaleway DocumentDB database.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DocumentdbDatabase(\"main\", {instanceId: \"11111111-1111-1111-1111-111111111111\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DocumentdbDatabase(\"main\", instance_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DocumentdbDatabase(\"main\", new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDocumentdbDatabase(ctx, \"main\", \u0026scaleway.DocumentdbDatabaseArgs{\n\t\t\tInstanceId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbDatabase;\nimport com.pulumi.scaleway.DocumentdbDatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DocumentdbDatabase(\"main\", DocumentdbDatabaseArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DocumentdbDatabase\n properties:\n instanceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDocumentDB Database can be imported using the `{region}/{id}/{DBNAME}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbDatabase:DocumentdbDatabase mydb fr-par/11111111-1111-1111-1111-111111111111/mydb\n```\n\n", + "description": "Creates and manages Scaleway DocumentDB database.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DocumentdbInstance(\"instance\", {\n nodeType: \"docdb-play2-pico\",\n engine: \"FerretDB-1\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n volumeSizeInGb: 20,\n});\nconst main = new scaleway.DocumentdbDatabase(\"main\", {instanceId: instance.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DocumentdbInstance(\"instance\",\n node_type=\"docdb-play2-pico\",\n engine=\"FerretDB-1\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n volume_size_in_gb=20)\nmain = scaleway.DocumentdbDatabase(\"main\", instance_id=instance.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DocumentdbInstance(\"instance\", new()\n {\n NodeType = \"docdb-play2-pico\",\n Engine = \"FerretDB-1\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n VolumeSizeInGb = 20,\n });\n\n var main = new Scaleway.DocumentdbDatabase(\"main\", new()\n {\n InstanceId = instance.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDocumentdbInstance(ctx, \"instance\", \u0026scaleway.DocumentdbInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"docdb-play2-pico\"),\n\t\t\tEngine: pulumi.String(\"FerretDB-1\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbDatabase(ctx, \"main\", \u0026scaleway.DocumentdbDatabaseArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbInstance;\nimport com.pulumi.scaleway.DocumentdbInstanceArgs;\nimport com.pulumi.scaleway.DocumentdbDatabase;\nimport com.pulumi.scaleway.DocumentdbDatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DocumentdbInstance(\"instance\", DocumentdbInstanceArgs.builder()\n .nodeType(\"docdb-play2-pico\")\n .engine(\"FerretDB-1\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .volumeSizeInGb(20)\n .build());\n\n var main = new DocumentdbDatabase(\"main\", DocumentdbDatabaseArgs.builder()\n .instanceId(instance.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DocumentdbInstance\n properties:\n nodeType: docdb-play2-pico\n engine: FerretDB-1\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n volumeSizeInGb: 20\n main:\n type: scaleway:DocumentdbDatabase\n properties:\n instanceId: ${instance.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDocumentDB Database can be imported using the `{region}/{id}/{DBNAME}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbDatabase:DocumentdbDatabase mydb fr-par/11111111-1111-1111-1111-111111111111/mydb\n```\n\n", "properties": { "instanceId": { "type": "string", @@ -9511,131 +9563,57 @@ } }, "scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint": { - "description": "Creates and manages Scaleway Database Private Network Endpoint.\n\n## Example Usage\n\n### Example Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:DocumentdbPrivateNetworkEndpoint\n properties:\n instanceId: 11111111-1111-1111-1111-111111111111\n privateNetwork:\n - ipNet: 172.16.32.3/22\n id: ${pn.id}\n options:\n dependson:\n - ${pn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Private Network\n\n\u003e **Important:** Updates to `private_network_id` will recreate the attachment Instance.\n\n\u003e **NOTE:** Please calculate your host IP.\nusing cirhost. Otherwise, lets IPAM service\nhandle the host IP on the network.\n\n## Import\n\nDatabase Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint end fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Database Private Network Endpoint.\n\n## Example Usage\n\n### Example Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst instance = new scaleway.DocumentdbInstance(\"instance\", {\n nodeType: \"docdb-play2-pico\",\n engine: \"FerretDB-1\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n volumeSizeInGb: 20,\n});\nconst main = new scaleway.DocumentdbPrivateNetworkEndpoint(\"main\", {\n instanceId: instance.id,\n privateNetwork: {\n ipNet: \"172.16.32.3/22\",\n id: pn.id,\n },\n}, {\n dependsOn: [pn],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\ninstance = scaleway.DocumentdbInstance(\"instance\",\n node_type=\"docdb-play2-pico\",\n engine=\"FerretDB-1\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n volume_size_in_gb=20)\nmain = scaleway.DocumentdbPrivateNetworkEndpoint(\"main\",\n instance_id=instance.id,\n private_network=scaleway.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs(\n ip_net=\"172.16.32.3/22\",\n id=pn.id,\n ),\n opts=pulumi.ResourceOptions(depends_on=[pn]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var instance = new Scaleway.DocumentdbInstance(\"instance\", new()\n {\n NodeType = \"docdb-play2-pico\",\n Engine = \"FerretDB-1\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n VolumeSizeInGb = 20,\n });\n\n var main = new Scaleway.DocumentdbPrivateNetworkEndpoint(\"main\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs\n {\n IpNet = \"172.16.32.3/22\",\n Id = pn.Id,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinstance, err := scaleway.NewDocumentdbInstance(ctx, \"instance\", \u0026scaleway.DocumentdbInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"docdb-play2-pico\"),\n\t\t\tEngine: pulumi.String(\"FerretDB-1\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbPrivateNetworkEndpoint(ctx, \"main\", \u0026scaleway.DocumentdbPrivateNetworkEndpointArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{\n\t\t\t\tIpNet: pulumi.String(\"172.16.32.3/22\"),\n\t\t\t\tId: pn.ID(),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpn,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DocumentdbInstance;\nimport com.pulumi.scaleway.DocumentdbInstanceArgs;\nimport com.pulumi.scaleway.DocumentdbPrivateNetworkEndpoint;\nimport com.pulumi.scaleway.DocumentdbPrivateNetworkEndpointArgs;\nimport com.pulumi.scaleway.inputs.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var instance = new DocumentdbInstance(\"instance\", DocumentdbInstanceArgs.builder()\n .nodeType(\"docdb-play2-pico\")\n .engine(\"FerretDB-1\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .volumeSizeInGb(20)\n .build());\n\n var main = new DocumentdbPrivateNetworkEndpoint(\"main\", DocumentdbPrivateNetworkEndpointArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DocumentdbPrivateNetworkEndpointPrivateNetworkArgs.builder()\n .ipNet(\"172.16.32.3/22\")\n .id(pn.id())\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(pn)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n instance:\n type: scaleway:DocumentdbInstance\n properties:\n nodeType: docdb-play2-pico\n engine: FerretDB-1\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n volumeSizeInGb: 20\n main:\n type: scaleway:DocumentdbPrivateNetworkEndpoint\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n ipNet: 172.16.32.3/22\n id: ${pn.id}\n options:\n dependson:\n - ${pn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint end fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { - "hostname": { - "type": "string", - "description": "Hostname of the endpoint.\n" - }, "instanceId": { "type": "string", "description": "UUID of the documentdb instance.\n" }, - "ip": { - "type": "string", - "description": "IPv4 address on the network.\n" - }, - "ipNet": { - "type": "string", - "description": "The IP network address within the private subnet. This must be an IPv4 address with a\nCIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM)\nservice if not set.\n" - }, - "name": { - "type": "string", - "description": "Name of the endpoint.\n" - }, - "port": { - "type": "integer", - "description": "Port in the Private Network.\n" - }, - "privateNetworkId": { - "type": "string", - "description": "The ID of the private network.\n" + "privateNetwork": { + "$ref": "#/types/scaleway:index/DocumentdbPrivateNetworkEndpointPrivateNetwork:DocumentdbPrivateNetworkEndpointPrivateNetwork", + "description": "The private network specs details. This is a list with maximum one element and supports the following attributes:\n" }, "region": { "type": "string", - "description": "The region you want to attach the resource to\n" - }, - "zone": { - "type": "string", - "description": "The zone you want to attach the resource to\n" + "description": "The region of the endpoint.\n\n\n\u003e **NOTE:** Please calculate your host IP.\nusing cirhost. Otherwise, lets IPAM service\nhandle the host IP on the network.\n" } }, "required": [ - "hostname", "instanceId", - "ip", - "ipNet", - "name", - "port", - "privateNetworkId", - "region", - "zone" + "region" ], "inputProperties": { "instanceId": { "type": "string", "description": "UUID of the documentdb instance.\n" }, - "ipNet": { - "type": "string", - "description": "The IP network address within the private subnet. This must be an IPv4 address with a\nCIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM)\nservice if not set.\n", - "willReplaceOnChanges": true - }, - "port": { - "type": "integer", - "description": "Port in the Private Network.\n" - }, - "privateNetworkId": { - "type": "string", - "description": "The ID of the private network.\n", - "willReplaceOnChanges": true + "privateNetwork": { + "$ref": "#/types/scaleway:index/DocumentdbPrivateNetworkEndpointPrivateNetwork:DocumentdbPrivateNetworkEndpointPrivateNetwork", + "description": "The private network specs details. This is a list with maximum one element and supports the following attributes:\n" }, "region": { "type": "string", - "description": "The region you want to attach the resource to\n", - "willReplaceOnChanges": true - }, - "zone": { - "type": "string", - "description": "The zone you want to attach the resource to\n", + "description": "The region of the endpoint.\n\n\n\u003e **NOTE:** Please calculate your host IP.\nusing cirhost. Otherwise, lets IPAM service\nhandle the host IP on the network.\n", "willReplaceOnChanges": true } }, "requiredInputs": [ - "instanceId", - "privateNetworkId" + "instanceId" ], "stateInputs": { "description": "Input properties used for looking up and filtering DocumentdbPrivateNetworkEndpoint resources.\n", "properties": { - "hostname": { - "type": "string", - "description": "Hostname of the endpoint.\n" - }, "instanceId": { "type": "string", "description": "UUID of the documentdb instance.\n" }, - "ip": { - "type": "string", - "description": "IPv4 address on the network.\n" - }, - "ipNet": { - "type": "string", - "description": "The IP network address within the private subnet. This must be an IPv4 address with a\nCIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM)\nservice if not set.\n", - "willReplaceOnChanges": true - }, - "name": { - "type": "string", - "description": "Name of the endpoint.\n" - }, - "port": { - "type": "integer", - "description": "Port in the Private Network.\n" - }, - "privateNetworkId": { - "type": "string", - "description": "The ID of the private network.\n", - "willReplaceOnChanges": true + "privateNetwork": { + "$ref": "#/types/scaleway:index/DocumentdbPrivateNetworkEndpointPrivateNetwork:DocumentdbPrivateNetworkEndpointPrivateNetwork", + "description": "The private network specs details. This is a list with maximum one element and supports the following attributes:\n" }, "region": { "type": "string", - "description": "The region you want to attach the resource to\n", - "willReplaceOnChanges": true - }, - "zone": { - "type": "string", - "description": "The zone you want to attach the resource to\n", + "description": "The region of the endpoint.\n\n\n\u003e **NOTE:** Please calculate your host IP.\nusing cirhost. Otherwise, lets IPAM service\nhandle the host IP on the network.\n", "willReplaceOnChanges": true } }, @@ -9643,7 +9621,7 @@ } }, "scaleway:index/documentdbPrivilege:DocumentdbPrivilege": { - "description": "Create and manage Scaleway DocumentDB database privilege.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.DocumentdbPrivilege(\"main\", {\n databaseName: \"my-db-name\",\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n permission: \"all\",\n userName: \"my-db-user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.DocumentdbPrivilege(\"main\",\n database_name=\"my-db-name\",\n instance_id=\"11111111-1111-1111-1111-111111111111\",\n permission=\"all\",\n user_name=\"my-db-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.DocumentdbPrivilege(\"main\", new()\n {\n DatabaseName = \"my-db-name\",\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n Permission = \"all\",\n UserName = \"my-db-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDocumentdbPrivilege(ctx, \"main\", \u0026scaleway.DocumentdbPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"my-db-name\"),\n\t\t\tInstanceId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tPermission: pulumi.String(\"all\"),\n\t\t\tUserName: pulumi.String(\"my-db-user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbPrivilege;\nimport com.pulumi.scaleway.DocumentdbPrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new DocumentdbPrivilege(\"main\", DocumentdbPrivilegeArgs.builder()\n .databaseName(\"my-db-name\")\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .permission(\"all\")\n .userName(\"my-db-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:DocumentdbPrivilege\n properties:\n databaseName: my-db-name\n instanceId: 11111111-1111-1111-1111-111111111111\n permission: all\n userName: my-db-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe user privileges can be imported using the `{region}/{instance_id}/{database_name}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbPrivilege:DocumentdbPrivilege o fr-par/11111111-1111-1111-1111-111111111111/database_name/foo\n```\n\n", + "description": "Create and manage Scaleway DocumentDB database privilege.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DocumentdbInstance(\"instance\", {\n nodeType: \"docdb-play2-pico\",\n engine: \"FerretDB-1\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n volumeSizeInGb: 20,\n});\nconst main = new scaleway.DocumentdbPrivilege(\"main\", {\n instanceId: instance.id,\n userName: \"my-db-user\",\n databaseName: \"my-db-name\",\n permission: \"all\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DocumentdbInstance(\"instance\",\n node_type=\"docdb-play2-pico\",\n engine=\"FerretDB-1\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n volume_size_in_gb=20)\nmain = scaleway.DocumentdbPrivilege(\"main\",\n instance_id=instance.id,\n user_name=\"my-db-user\",\n database_name=\"my-db-name\",\n permission=\"all\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DocumentdbInstance(\"instance\", new()\n {\n NodeType = \"docdb-play2-pico\",\n Engine = \"FerretDB-1\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n VolumeSizeInGb = 20,\n });\n\n var main = new Scaleway.DocumentdbPrivilege(\"main\", new()\n {\n InstanceId = instance.Id,\n UserName = \"my-db-user\",\n DatabaseName = \"my-db-name\",\n Permission = \"all\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDocumentdbInstance(ctx, \"instance\", \u0026scaleway.DocumentdbInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"docdb-play2-pico\"),\n\t\t\tEngine: pulumi.String(\"FerretDB-1\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbPrivilege(ctx, \"main\", \u0026scaleway.DocumentdbPrivilegeArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tUserName: pulumi.String(\"my-db-user\"),\n\t\t\tDatabaseName: pulumi.String(\"my-db-name\"),\n\t\t\tPermission: pulumi.String(\"all\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbInstance;\nimport com.pulumi.scaleway.DocumentdbInstanceArgs;\nimport com.pulumi.scaleway.DocumentdbPrivilege;\nimport com.pulumi.scaleway.DocumentdbPrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DocumentdbInstance(\"instance\", DocumentdbInstanceArgs.builder()\n .nodeType(\"docdb-play2-pico\")\n .engine(\"FerretDB-1\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .volumeSizeInGb(20)\n .build());\n\n var main = new DocumentdbPrivilege(\"main\", DocumentdbPrivilegeArgs.builder()\n .instanceId(instance.id())\n .userName(\"my-db-user\")\n .databaseName(\"my-db-name\")\n .permission(\"all\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DocumentdbInstance\n properties:\n nodeType: docdb-play2-pico\n engine: FerretDB-1\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n volumeSizeInGb: 20\n main:\n type: scaleway:DocumentdbPrivilege\n properties:\n instanceId: ${instance.id}\n userName: my-db-user\n databaseName: my-db-name\n permission: all\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe user privileges can be imported using the `{region}/{instance_id}/{database_name}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbPrivilege:DocumentdbPrivilege o fr-par/11111111-1111-1111-1111-111111111111/database_name/foo\n```\n\n", "properties": { "databaseName": { "type": "string", @@ -9733,7 +9711,7 @@ } }, "scaleway:index/documentdbReadReplica:DocumentdbReadReplica": { - "description": "Creates and manages Scaleway DocumentDB Database read replicas.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst replica = new scaleway.DocumentdbReadReplica(\"replica\", {\n directAccess: {},\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nreplica = scaleway.DocumentdbReadReplica(\"replica\",\n direct_access=scaleway.DocumentdbReadReplicaDirectAccessArgs(),\n instance_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var replica = new Scaleway.DocumentdbReadReplica(\"replica\", new()\n {\n DirectAccess = null,\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDocumentdbReadReplica(ctx, \"replica\", \u0026scaleway.DocumentdbReadReplicaArgs{\n\t\t\tDirectAccess: nil,\n\t\t\tInstanceId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbReadReplica;\nimport com.pulumi.scaleway.DocumentdbReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DocumentdbReadReplicaDirectAccessArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var replica = new DocumentdbReadReplica(\"replica\", DocumentdbReadReplicaArgs.builder()\n .directAccess()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n replica:\n type: scaleway:DocumentdbReadReplica\n properties:\n directAccess: {}\n instanceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst replica = new scaleway.DocumentdbReadReplica(\"replica\", {\n instanceId: scaleway_rdb_instance.instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n serviceIp: \"192.168.1.254/24\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\nreplica = scaleway.DocumentdbReadReplica(\"replica\",\n instance_id=scaleway_rdb_instance[\"instance\"][\"id\"],\n private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n service_ip=\"192.168.1.254/24\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var replica = new Scaleway.DocumentdbReadReplica(\"replica\", new()\n {\n InstanceId = scaleway_rdb_instance.Instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DocumentdbReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n ServiceIp = \"192.168.1.254/24\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbReadReplica(ctx, \"replica\", \u0026scaleway.DocumentdbReadReplicaArgs{\n\t\t\tInstanceId: pulumi.Any(scaleway_rdb_instance.Instance.Id),\n\t\t\tPrivateNetwork: \u0026scaleway.DocumentdbReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tServiceIp: pulumi.String(\"192.168.1.254/24\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DocumentdbReadReplica;\nimport com.pulumi.scaleway.DocumentdbReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DocumentdbReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var replica = new DocumentdbReadReplica(\"replica\", DocumentdbReadReplicaArgs.builder()\n .instanceId(scaleway_rdb_instance.instance().id())\n .privateNetwork(DocumentdbReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .serviceIp(\"192.168.1.254/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n replica:\n type: scaleway:DocumentdbReadReplica\n properties:\n instanceId: ${scaleway_rdb_instance.instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n serviceIp: 192.168.1.254/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Read replica can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbReadReplica:DocumentdbReadReplica rr fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway DocumentDB Database read replicas.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst replica = new scaleway.DocumentdbReadReplica(\"replica\", {\n directAccess: {},\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nreplica = scaleway.DocumentdbReadReplica(\"replica\",\n direct_access=scaleway.DocumentdbReadReplicaDirectAccessArgs(),\n instance_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var replica = new Scaleway.DocumentdbReadReplica(\"replica\", new()\n {\n DirectAccess = null,\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewDocumentdbReadReplica(ctx, \"replica\", \u0026scaleway.DocumentdbReadReplicaArgs{\n\t\t\tDirectAccess: nil,\n\t\t\tInstanceId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbReadReplica;\nimport com.pulumi.scaleway.DocumentdbReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DocumentdbReadReplicaDirectAccessArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var replica = new DocumentdbReadReplica(\"replica\", DocumentdbReadReplicaArgs.builder()\n .directAccess()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n replica:\n type: scaleway:DocumentdbReadReplica\n properties:\n directAccess: {}\n instanceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private network\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst instance = new scaleway.DocumentdbInstance(\"instance\", {\n nodeType: \"docdb-play2-pico\",\n engine: \"FerretDB-1\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n volumeSizeInGb: 20,\n});\nconst replica = new scaleway.DocumentdbReadReplica(\"replica\", {\n instanceId: instance.id,\n privateNetwork: {\n privateNetworkId: pn.id,\n serviceIp: \"192.168.1.254/24\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\ninstance = scaleway.DocumentdbInstance(\"instance\",\n node_type=\"docdb-play2-pico\",\n engine=\"FerretDB-1\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n volume_size_in_gb=20)\nreplica = scaleway.DocumentdbReadReplica(\"replica\",\n instance_id=instance.id,\n private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs(\n private_network_id=pn.id,\n service_ip=\"192.168.1.254/24\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var instance = new Scaleway.DocumentdbInstance(\"instance\", new()\n {\n NodeType = \"docdb-play2-pico\",\n Engine = \"FerretDB-1\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n VolumeSizeInGb = 20,\n });\n\n var replica = new Scaleway.DocumentdbReadReplica(\"replica\", new()\n {\n InstanceId = instance.Id,\n PrivateNetwork = new Scaleway.Inputs.DocumentdbReadReplicaPrivateNetworkArgs\n {\n PrivateNetworkId = pn.Id,\n ServiceIp = \"192.168.1.254/24\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinstance, err := scaleway.NewDocumentdbInstance(ctx, \"instance\", \u0026scaleway.DocumentdbInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"docdb-play2-pico\"),\n\t\t\tEngine: pulumi.String(\"FerretDB-1\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbReadReplica(ctx, \"replica\", \u0026scaleway.DocumentdbReadReplicaArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPrivateNetwork: \u0026scaleway.DocumentdbReadReplicaPrivateNetworkArgs{\n\t\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\t\tServiceIp: pulumi.String(\"192.168.1.254/24\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DocumentdbInstance;\nimport com.pulumi.scaleway.DocumentdbInstanceArgs;\nimport com.pulumi.scaleway.DocumentdbReadReplica;\nimport com.pulumi.scaleway.DocumentdbReadReplicaArgs;\nimport com.pulumi.scaleway.inputs.DocumentdbReadReplicaPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var instance = new DocumentdbInstance(\"instance\", DocumentdbInstanceArgs.builder()\n .nodeType(\"docdb-play2-pico\")\n .engine(\"FerretDB-1\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .volumeSizeInGb(20)\n .build());\n\n var replica = new DocumentdbReadReplica(\"replica\", DocumentdbReadReplicaArgs.builder()\n .instanceId(instance.id())\n .privateNetwork(DocumentdbReadReplicaPrivateNetworkArgs.builder()\n .privateNetworkId(pn.id())\n .serviceIp(\"192.168.1.254/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n instance:\n type: scaleway:DocumentdbInstance\n properties:\n nodeType: docdb-play2-pico\n engine: FerretDB-1\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n volumeSizeInGb: 20\n replica:\n type: scaleway:DocumentdbReadReplica\n properties:\n instanceId: ${instance.id}\n privateNetwork:\n privateNetworkId: ${pn.id}\n serviceIp: 192.168.1.254/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase Read replica can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbReadReplica:DocumentdbReadReplica rr fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "directAccess": { "$ref": "#/types/scaleway:index/DocumentdbReadReplicaDirectAccess:DocumentdbReadReplicaDirectAccess", @@ -9803,7 +9781,7 @@ } }, "scaleway:index/documentdbUser:DocumentdbUser": { - "description": "Creates and manages Scaleway Database DocumentDB Users.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as random from \"@pulumi/random\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst dbPassword = new random.RandomPassword(\"dbPassword\", {\n length: 16,\n special: true,\n});\nconst dbAdmin = new scaleway.DocumentdbUser(\"dbAdmin\", {\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n password: dbPassword.result,\n isAdmin: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_random as random\nimport pulumiverse_scaleway as scaleway\n\ndb_password = random.RandomPassword(\"dbPassword\",\n length=16,\n special=True)\ndb_admin = scaleway.DocumentdbUser(\"dbAdmin\",\n instance_id=\"11111111-1111-1111-1111-111111111111\",\n password=db_password.result,\n is_admin=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Random = Pulumi.Random;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var dbPassword = new Random.RandomPassword(\"dbPassword\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var dbAdmin = new Scaleway.DocumentdbUser(\"dbAdmin\", new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n Password = dbPassword.Result,\n IsAdmin = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdbPassword, err := random.NewRandomPassword(ctx, \"dbPassword\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbUser(ctx, \"dbAdmin\", \u0026scaleway.DocumentdbUserArgs{\n\t\t\tInstanceId: pulumi.String(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tPassword: dbPassword.Result,\n\t\t\tIsAdmin: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.scaleway.DocumentdbUser;\nimport com.pulumi.scaleway.DocumentdbUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var dbPassword = new RandomPassword(\"dbPassword\", RandomPasswordArgs.builder()\n .length(16)\n .special(true)\n .build());\n\n var dbAdmin = new DocumentdbUser(\"dbAdmin\", DocumentdbUserArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .password(dbPassword.result())\n .isAdmin(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n dbPassword:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n dbAdmin:\n type: scaleway:DocumentdbUser\n properties:\n instanceId: 11111111-1111-1111-1111-111111111111\n password: ${dbPassword.result}\n isAdmin: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase User can be imported using `{region}/{instance_id}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbUser:DocumentdbUser admin fr-par/11111111-1111-1111-1111-111111111111/admin\n```\n\n", + "description": "Creates and manages Scaleway Database DocumentDB Users.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as random from \"@pulumi/random\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst instance = new scaleway.DocumentdbInstance(\"instance\", {\n nodeType: \"docdb-play2-pico\",\n engine: \"FerretDB-1\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n volumeSizeInGb: 20,\n});\nconst dbPassword = new random.RandomPassword(\"dbPassword\", {\n length: 16,\n special: true,\n});\nconst dbAdmin = new scaleway.DocumentdbUser(\"dbAdmin\", {\n instanceId: instance.id,\n password: dbPassword.result,\n isAdmin: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_random as random\nimport pulumiverse_scaleway as scaleway\n\ninstance = scaleway.DocumentdbInstance(\"instance\",\n node_type=\"docdb-play2-pico\",\n engine=\"FerretDB-1\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n volume_size_in_gb=20)\ndb_password = random.RandomPassword(\"dbPassword\",\n length=16,\n special=True)\ndb_admin = scaleway.DocumentdbUser(\"dbAdmin\",\n instance_id=instance.id,\n password=db_password.result,\n is_admin=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Random = Pulumi.Random;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var instance = new Scaleway.DocumentdbInstance(\"instance\", new()\n {\n NodeType = \"docdb-play2-pico\",\n Engine = \"FerretDB-1\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n VolumeSizeInGb = 20,\n });\n\n var dbPassword = new Random.RandomPassword(\"dbPassword\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var dbAdmin = new Scaleway.DocumentdbUser(\"dbAdmin\", new()\n {\n InstanceId = instance.Id,\n Password = dbPassword.Result,\n IsAdmin = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tinstance, err := scaleway.NewDocumentdbInstance(ctx, \"instance\", \u0026scaleway.DocumentdbInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"docdb-play2-pico\"),\n\t\t\tEngine: pulumi.String(\"FerretDB-1\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tVolumeSizeInGb: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdbPassword, err := random.NewRandomPassword(ctx, \"dbPassword\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDocumentdbUser(ctx, \"dbAdmin\", \u0026scaleway.DocumentdbUserArgs{\n\t\t\tInstanceId: instance.ID(),\n\t\t\tPassword: dbPassword.Result,\n\t\t\tIsAdmin: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.DocumentdbInstance;\nimport com.pulumi.scaleway.DocumentdbInstanceArgs;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.scaleway.DocumentdbUser;\nimport com.pulumi.scaleway.DocumentdbUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var instance = new DocumentdbInstance(\"instance\", DocumentdbInstanceArgs.builder()\n .nodeType(\"docdb-play2-pico\")\n .engine(\"FerretDB-1\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .volumeSizeInGb(20)\n .build());\n\n var dbPassword = new RandomPassword(\"dbPassword\", RandomPasswordArgs.builder()\n .length(16)\n .special(true)\n .build());\n\n var dbAdmin = new DocumentdbUser(\"dbAdmin\", DocumentdbUserArgs.builder()\n .instanceId(instance.id())\n .password(dbPassword.result())\n .isAdmin(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n instance:\n type: scaleway:DocumentdbInstance\n properties:\n nodeType: docdb-play2-pico\n engine: FerretDB-1\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n volumeSizeInGb: 20\n dbPassword:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n dbAdmin:\n type: scaleway:DocumentdbUser\n properties:\n instanceId: ${instance.id}\n password: ${dbPassword.result}\n isAdmin: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase User can be imported using `{region}/{instance_id}/{user_name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/documentdbUser:DocumentdbUser admin fr-par/11111111-1111-1111-1111-111111111111/admin\n```\n\n", "properties": { "instanceId": { "type": "string", @@ -10572,7 +10550,7 @@ }, "namespaceId": { "type": "string", - "description": "The namespace ID the function is associated with.\n" + "description": "The function namespace ID of the function.\n" }, "organizationId": { "type": "string", @@ -10670,7 +10648,7 @@ }, "namespaceId": { "type": "string", - "description": "The namespace ID the function is associated with.\n", + "description": "The function namespace ID of the function.\n", "willReplaceOnChanges": true }, "privacy": { @@ -10770,7 +10748,7 @@ }, "namespaceId": { "type": "string", - "description": "The namespace ID the function is associated with.\n", + "description": "The function namespace ID of the function.\n", "willReplaceOnChanges": true }, "organizationId": { @@ -11230,7 +11208,7 @@ } }, "scaleway:index/functionTrigger:FunctionTrigger": { - "description": "Creates and manages Scaleway Function Triggers.\nFor more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-triggers).\n\n## Example Usage\n\n### SQS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.FunctionTrigger(\"main\", {\n functionId: scaleway_function.main.id,\n sqs: {\n projectId: scaleway_mnq_sqs.main.project_id,\n queue: \"MyQueue\",\n region: scaleway_mnq_sqs.main.region,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.FunctionTrigger(\"main\",\n function_id=scaleway_function[\"main\"][\"id\"],\n sqs=scaleway.FunctionTriggerSqsArgs(\n project_id=scaleway_mnq_sqs[\"main\"][\"project_id\"],\n queue=\"MyQueue\",\n region=scaleway_mnq_sqs[\"main\"][\"region\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.FunctionTrigger(\"main\", new()\n {\n FunctionId = scaleway_function.Main.Id,\n Sqs = new Scaleway.Inputs.FunctionTriggerSqsArgs\n {\n ProjectId = scaleway_mnq_sqs.Main.Project_id,\n Queue = \"MyQueue\",\n Region = scaleway_mnq_sqs.Main.Region,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewFunctionTrigger(ctx, \"main\", \u0026scaleway.FunctionTriggerArgs{\n\t\t\tFunctionId: pulumi.Any(scaleway_function.Main.Id),\n\t\t\tSqs: \u0026scaleway.FunctionTriggerSqsArgs{\n\t\t\t\tProjectId: pulumi.Any(scaleway_mnq_sqs.Main.Project_id),\n\t\t\t\tQueue: pulumi.String(\"MyQueue\"),\n\t\t\t\tRegion: pulumi.Any(scaleway_mnq_sqs.Main.Region),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.FunctionTrigger;\nimport com.pulumi.scaleway.FunctionTriggerArgs;\nimport com.pulumi.scaleway.inputs.FunctionTriggerSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new FunctionTrigger(\"main\", FunctionTriggerArgs.builder()\n .functionId(scaleway_function.main().id())\n .sqs(FunctionTriggerSqsArgs.builder()\n .projectId(scaleway_mnq_sqs.main().project_id())\n .queue(\"MyQueue\")\n .region(scaleway_mnq_sqs.main().region())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:FunctionTrigger\n properties:\n functionId: ${scaleway_function.main.id}\n sqs:\n projectId: ${scaleway_mnq_sqs.main.project_id}\n queue: MyQueue\n region: ${scaleway_mnq_sqs.main.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Nats\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n main:\n type: scaleway:FunctionTrigger\n properties:\n containerId: ${scaleway_container.main.id}\n nats:\n accountId: ${scaleway_mnq_nats_account.main.id}\n subject: MySubject\n region: ${scaleway_mnq_nats_account.main.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFunction Triggers can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/functionTrigger:FunctionTrigger main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Function Triggers.\nFor more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-triggers).\n\n## Example Usage\n\n### SQS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.FunctionTrigger(\"main\", {\n functionId: scaleway_function.main.id,\n sqs: {\n projectId: scaleway_mnq_sqs.main.project_id,\n queue: \"MyQueue\",\n region: scaleway_mnq_sqs.main.region,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.FunctionTrigger(\"main\",\n function_id=scaleway_function[\"main\"][\"id\"],\n sqs=scaleway.FunctionTriggerSqsArgs(\n project_id=scaleway_mnq_sqs[\"main\"][\"project_id\"],\n queue=\"MyQueue\",\n region=scaleway_mnq_sqs[\"main\"][\"region\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.FunctionTrigger(\"main\", new()\n {\n FunctionId = scaleway_function.Main.Id,\n Sqs = new Scaleway.Inputs.FunctionTriggerSqsArgs\n {\n ProjectId = scaleway_mnq_sqs.Main.Project_id,\n Queue = \"MyQueue\",\n Region = scaleway_mnq_sqs.Main.Region,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewFunctionTrigger(ctx, \"main\", \u0026scaleway.FunctionTriggerArgs{\n\t\t\tFunctionId: pulumi.Any(scaleway_function.Main.Id),\n\t\t\tSqs: \u0026scaleway.FunctionTriggerSqsArgs{\n\t\t\t\tProjectId: pulumi.Any(scaleway_mnq_sqs.Main.Project_id),\n\t\t\t\tQueue: pulumi.String(\"MyQueue\"),\n\t\t\t\tRegion: pulumi.Any(scaleway_mnq_sqs.Main.Region),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.FunctionTrigger;\nimport com.pulumi.scaleway.FunctionTriggerArgs;\nimport com.pulumi.scaleway.inputs.FunctionTriggerSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new FunctionTrigger(\"main\", FunctionTriggerArgs.builder()\n .functionId(scaleway_function.main().id())\n .sqs(FunctionTriggerSqsArgs.builder()\n .projectId(scaleway_mnq_sqs.main().project_id())\n .queue(\"MyQueue\")\n .region(scaleway_mnq_sqs.main().region())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:FunctionTrigger\n properties:\n functionId: ${scaleway_function.main.id}\n sqs:\n projectId: ${scaleway_mnq_sqs.main.project_id}\n queue: MyQueue\n region: ${scaleway_mnq_sqs.main.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Nats\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.FunctionTrigger(\"main\", {\n functionId: scaleway_function.main.id,\n nats: {\n accountId: scaleway_mnq_nats_account.main.id,\n subject: \"MySubject\",\n region: scaleway_mnq_nats_account.main.region,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.FunctionTrigger(\"main\",\n function_id=scaleway_function[\"main\"][\"id\"],\n nats=scaleway.FunctionTriggerNatsArgs(\n account_id=scaleway_mnq_nats_account[\"main\"][\"id\"],\n subject=\"MySubject\",\n region=scaleway_mnq_nats_account[\"main\"][\"region\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.FunctionTrigger(\"main\", new()\n {\n FunctionId = scaleway_function.Main.Id,\n Nats = new Scaleway.Inputs.FunctionTriggerNatsArgs\n {\n AccountId = scaleway_mnq_nats_account.Main.Id,\n Subject = \"MySubject\",\n Region = scaleway_mnq_nats_account.Main.Region,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewFunctionTrigger(ctx, \"main\", \u0026scaleway.FunctionTriggerArgs{\n\t\t\tFunctionId: pulumi.Any(scaleway_function.Main.Id),\n\t\t\tNats: \u0026scaleway.FunctionTriggerNatsArgs{\n\t\t\t\tAccountId: pulumi.Any(scaleway_mnq_nats_account.Main.Id),\n\t\t\t\tSubject: pulumi.String(\"MySubject\"),\n\t\t\t\tRegion: pulumi.Any(scaleway_mnq_nats_account.Main.Region),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.FunctionTrigger;\nimport com.pulumi.scaleway.FunctionTriggerArgs;\nimport com.pulumi.scaleway.inputs.FunctionTriggerNatsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new FunctionTrigger(\"main\", FunctionTriggerArgs.builder()\n .functionId(scaleway_function.main().id())\n .nats(FunctionTriggerNatsArgs.builder()\n .accountId(scaleway_mnq_nats_account.main().id())\n .subject(\"MySubject\")\n .region(scaleway_mnq_nats_account.main().region())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:FunctionTrigger\n properties:\n functionId: ${scaleway_function.main.id}\n nats:\n accountId: ${scaleway_mnq_nats_account.main.id}\n subject: MySubject\n region: ${scaleway_mnq_nats_account.main.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFunction Triggers can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/functionTrigger:FunctionTrigger main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "description": { "type": "string", @@ -11329,19 +11307,19 @@ } }, "scaleway:index/iamApiKey:IamApiKey": { - "description": "Creates and manages Scaleway IAM API Keys. For more information, please\ncheck [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ciCd = new scaleway.IamApplication(\"ciCd\", {});\nconst main = new scaleway.IamApiKey(\"main\", {\n applicationId: scaleway_iam_application.main.id,\n description: \"a description\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nci_cd = scaleway.IamApplication(\"ciCd\")\nmain = scaleway.IamApiKey(\"main\",\n application_id=scaleway_iam_application[\"main\"][\"id\"],\n description=\"a description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ciCd = new Scaleway.IamApplication(\"ciCd\");\n\n var main = new Scaleway.IamApiKey(\"main\", new()\n {\n ApplicationId = scaleway_iam_application.Main.Id,\n Description = \"a description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamApplication(ctx, \"ciCd\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamApiKey(ctx, \"main\", \u0026scaleway.IamApiKeyArgs{\n\t\t\tApplicationId: pulumi.Any(scaleway_iam_application.Main.Id),\n\t\t\tDescription: pulumi.String(\"a description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamApiKey;\nimport com.pulumi.scaleway.IamApiKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ciCd = new IamApplication(\"ciCd\");\n\n var main = new IamApiKey(\"main\", IamApiKeyArgs.builder()\n .applicationId(scaleway_iam_application.main().id())\n .description(\"a description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ciCd:\n type: scaleway:IamApplication\n main:\n type: scaleway:IamApiKey\n properties:\n applicationId: ${scaleway_iam_application.main.id}\n description: a description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApi keys can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamApiKey:IamApiKey main 11111111111111111111\n```\n\n", + "description": "Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae).\n\n## Example Usage\n\n### With application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ciCd = new scaleway.IamApplication(\"ciCd\", {});\nconst main = new scaleway.IamApiKey(\"main\", {\n applicationId: scaleway_iam_application.main.id,\n description: \"a description\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nci_cd = scaleway.IamApplication(\"ciCd\")\nmain = scaleway.IamApiKey(\"main\",\n application_id=scaleway_iam_application[\"main\"][\"id\"],\n description=\"a description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ciCd = new Scaleway.IamApplication(\"ciCd\");\n\n var main = new Scaleway.IamApiKey(\"main\", new()\n {\n ApplicationId = scaleway_iam_application.Main.Id,\n Description = \"a description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamApplication(ctx, \"ciCd\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamApiKey(ctx, \"main\", \u0026scaleway.IamApiKeyArgs{\n\t\t\tApplicationId: pulumi.Any(scaleway_iam_application.Main.Id),\n\t\t\tDescription: pulumi.String(\"a description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamApiKey;\nimport com.pulumi.scaleway.IamApiKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ciCd = new IamApplication(\"ciCd\");\n\n var main = new IamApiKey(\"main\", IamApiKeyArgs.builder()\n .applicationId(scaleway_iam_application.main().id())\n .description(\"a description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ciCd:\n type: scaleway:IamApplication\n main:\n type: scaleway:IamApiKey\n properties:\n applicationId: ${scaleway_iam_application.main.id}\n description: a description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With user\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainIamUser = new scaleway.IamUser(\"mainIamUser\", {email: \"test@test.com\"});\nconst mainIamApiKey = new scaleway.IamApiKey(\"mainIamApiKey\", {\n userId: mainIamUser.id,\n description: \"a description\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_iam_user = scaleway.IamUser(\"mainIamUser\", email=\"test@test.com\")\nmain_iam_api_key = scaleway.IamApiKey(\"mainIamApiKey\",\n user_id=main_iam_user.id,\n description=\"a description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainIamUser = new Scaleway.IamUser(\"mainIamUser\", new()\n {\n Email = \"test@test.com\",\n });\n\n var mainIamApiKey = new Scaleway.IamApiKey(\"mainIamApiKey\", new()\n {\n UserId = mainIamUser.Id,\n Description = \"a description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainIamUser, err := scaleway.NewIamUser(ctx, \"mainIamUser\", \u0026scaleway.IamUserArgs{\n\t\t\tEmail: pulumi.String(\"test@test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamApiKey(ctx, \"mainIamApiKey\", \u0026scaleway.IamApiKeyArgs{\n\t\t\tUserId: mainIamUser.ID(),\n\t\t\tDescription: pulumi.String(\"a description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamUser;\nimport com.pulumi.scaleway.IamUserArgs;\nimport com.pulumi.scaleway.IamApiKey;\nimport com.pulumi.scaleway.IamApiKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainIamUser = new IamUser(\"mainIamUser\", IamUserArgs.builder()\n .email(\"test@test.com\")\n .build());\n\n var mainIamApiKey = new IamApiKey(\"mainIamApiKey\", IamApiKeyArgs.builder()\n .userId(mainIamUser.id())\n .description(\"a description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainIamUser:\n type: scaleway:IamUser\n properties:\n email: test@test.com\n mainIamApiKey:\n type: scaleway:IamApiKey\n properties:\n userId: ${mainIamUser.id}\n description: a description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApi keys can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamApiKey:IamApiKey main 11111111111111111111\n```\n\n", "properties": { "accessKey": { "type": "string", - "description": "The access key of the iam api key.\n" + "description": "The access key of the IAM API key.\n" }, "applicationId": { "type": "string", - "description": "ID of the application attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n" + "description": "ID of the application attached to the API key.\n" }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the iam api key.\n" + "description": "The date and time of the creation of the IAM API key.\n" }, "creationIp": { "type": "string", @@ -11349,32 +11327,32 @@ }, "defaultProjectId": { "type": "string", - "description": "The default project ID to use with object storage.\n" + "description": "The default Project ID to use with Object Storage.\n" }, "description": { "type": "string", - "description": "The description of the iam api key.\n" + "description": "The description of the API key.\n" }, "editable": { "type": "boolean", - "description": "Whether the iam api key is editable.\n" + "description": "Whether the IAM API key is editable.\n" }, "expiresAt": { "type": "string", - "description": "The date and time of the expiration of the iam api key. Please note that in case of change,\nthe resource will be recreated.\n" + "description": "The date and time of the expiration of the IAM API key. Please note that in case of any changes,\nthe resource will be recreated.\n" }, "secretKey": { "type": "string", - "description": "The secret Key of the iam api key.\n", + "description": "The secret Key of the IAM API key.\n", "secret": true }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the iam api key.\n" + "description": "The date and time of the last update of the IAM API key.\n" }, "userId": { "type": "string", - "description": "ID of the user attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n" + "description": "ID of the user attached to the API key.\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n" } }, "required": [ @@ -11389,26 +11367,26 @@ "inputProperties": { "applicationId": { "type": "string", - "description": "ID of the application attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n", + "description": "ID of the application attached to the API key.\n", "willReplaceOnChanges": true }, "defaultProjectId": { "type": "string", - "description": "The default project ID to use with object storage.\n", + "description": "The default Project ID to use with Object Storage.\n", "willReplaceOnChanges": true }, "description": { "type": "string", - "description": "The description of the iam api key.\n" + "description": "The description of the API key.\n" }, "expiresAt": { "type": "string", - "description": "The date and time of the expiration of the iam api key. Please note that in case of change,\nthe resource will be recreated.\n", + "description": "The date and time of the expiration of the IAM API key. Please note that in case of any changes,\nthe resource will be recreated.\n", "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "ID of the user attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n" + "description": "ID of the user attached to the API key.\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n" } }, "stateInputs": { @@ -11416,16 +11394,16 @@ "properties": { "accessKey": { "type": "string", - "description": "The access key of the iam api key.\n" + "description": "The access key of the IAM API key.\n" }, "applicationId": { "type": "string", - "description": "ID of the application attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n", + "description": "ID of the application attached to the API key.\n", "willReplaceOnChanges": true }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the iam api key.\n" + "description": "The date and time of the creation of the IAM API key.\n" }, "creationIp": { "type": "string", @@ -11433,41 +11411,41 @@ }, "defaultProjectId": { "type": "string", - "description": "The default project ID to use with object storage.\n", + "description": "The default Project ID to use with Object Storage.\n", "willReplaceOnChanges": true }, "description": { "type": "string", - "description": "The description of the iam api key.\n" + "description": "The description of the API key.\n" }, "editable": { "type": "boolean", - "description": "Whether the iam api key is editable.\n" + "description": "Whether the IAM API key is editable.\n" }, "expiresAt": { "type": "string", - "description": "The date and time of the expiration of the iam api key. Please note that in case of change,\nthe resource will be recreated.\n", + "description": "The date and time of the expiration of the IAM API key. Please note that in case of any changes,\nthe resource will be recreated.\n", "willReplaceOnChanges": true }, "secretKey": { "type": "string", - "description": "The secret Key of the iam api key.\n", + "description": "The secret Key of the IAM API key.\n", "secret": true }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the iam api key.\n" + "description": "The date and time of the last update of the IAM API key.\n" }, "userId": { "type": "string", - "description": "ID of the user attached to the api key.\nOnly one of the `application_id` and `user_id` should be specified.\n" + "description": "ID of the user attached to the API key.\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n" } }, "type": "object" } }, "scaleway:index/iamApplication:IamApplication": { - "description": "Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.IamApplication(\"main\", {description: \"a description\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.IamApplication(\"main\", description=\"a description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.IamApplication(\"main\", new()\n {\n Description = \"a description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamApplication(ctx, \"main\", \u0026scaleway.IamApplicationArgs{\n\t\t\tDescription: pulumi.String(\"a description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamApplicationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new IamApplication(\"main\", IamApplicationArgs.builder()\n .description(\"a description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:IamApplication\n properties:\n description: a description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApplications can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamApplication:IamApplication main 11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.IamApplication(\"main\", {description: \"a description\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.IamApplication(\"main\", description=\"a description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.IamApplication(\"main\", new()\n {\n Description = \"a description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamApplication(ctx, \"main\", \u0026scaleway.IamApplicationArgs{\n\t\t\tDescription: pulumi.String(\"a description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamApplicationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new IamApplication(\"main\", IamApplicationArgs.builder()\n .description(\"a description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:IamApplication\n properties:\n description: a description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApplications can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamApplication:IamApplication main 11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -11568,7 +11546,7 @@ } }, "scaleway:index/iamGroup:IamGroup": { - "description": "Creates and manages Scaleway IAM Groups.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst basic = new scaleway.IamGroup(\"basic\", {\n applicationIds: [],\n description: \"basic description\",\n userIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbasic = scaleway.IamGroup(\"basic\",\n application_ids=[],\n description=\"basic description\",\n user_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var basic = new Scaleway.IamGroup(\"basic\", new()\n {\n ApplicationIds = new[] {},\n Description = \"basic description\",\n UserIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamGroup(ctx, \"basic\", \u0026scaleway.IamGroupArgs{\n\t\t\tApplicationIds: pulumi.StringArray{},\n\t\t\tDescription: pulumi.String(\"basic description\"),\n\t\t\tUserIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var basic = new IamGroup(\"basic\", IamGroupArgs.builder()\n .applicationIds()\n .description(\"basic description\")\n .userIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n basic:\n type: scaleway:IamGroup\n properties:\n applicationIds: []\n description: basic description\n userIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With applications\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst app = new scaleway.IamApplication(\"app\", {});\nconst withApp = new scaleway.IamGroup(\"withApp\", {\n applicationIds: [app.id],\n userIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\napp = scaleway.IamApplication(\"app\")\nwith_app = scaleway.IamGroup(\"withApp\",\n application_ids=[app.id],\n user_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var app = new Scaleway.IamApplication(\"app\");\n\n var withApp = new Scaleway.IamGroup(\"withApp\", new()\n {\n ApplicationIds = new[]\n {\n app.Id,\n },\n UserIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamGroup(ctx, \"withApp\", \u0026scaleway.IamGroupArgs{\n\t\t\tApplicationIds: pulumi.StringArray{\n\t\t\t\tapp.ID(),\n\t\t\t},\n\t\t\tUserIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var app = new IamApplication(\"app\");\n\n var withApp = new IamGroup(\"withApp\", IamGroupArgs.builder()\n .applicationIds(app.id())\n .userIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n withApp:\n type: scaleway:IamGroup\n properties:\n applicationIds:\n - ${app.id}\n userIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIAM groups can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamGroup:IamGroup basic 11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway IAM Groups.\nFor more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst basic = new scaleway.IamGroup(\"basic\", {\n applicationIds: [],\n description: \"basic description\",\n userIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbasic = scaleway.IamGroup(\"basic\",\n application_ids=[],\n description=\"basic description\",\n user_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var basic = new Scaleway.IamGroup(\"basic\", new()\n {\n ApplicationIds = new[] {},\n Description = \"basic description\",\n UserIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamGroup(ctx, \"basic\", \u0026scaleway.IamGroupArgs{\n\t\t\tApplicationIds: pulumi.StringArray{},\n\t\t\tDescription: pulumi.String(\"basic description\"),\n\t\t\tUserIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var basic = new IamGroup(\"basic\", IamGroupArgs.builder()\n .applicationIds()\n .description(\"basic description\")\n .userIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n basic:\n type: scaleway:IamGroup\n properties:\n applicationIds: []\n description: basic description\n userIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With applications\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst app = new scaleway.IamApplication(\"app\", {});\nconst withApp = new scaleway.IamGroup(\"withApp\", {\n applicationIds: [app.id],\n userIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\napp = scaleway.IamApplication(\"app\")\nwith_app = scaleway.IamGroup(\"withApp\",\n application_ids=[app.id],\n user_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var app = new Scaleway.IamApplication(\"app\");\n\n var withApp = new Scaleway.IamGroup(\"withApp\", new()\n {\n ApplicationIds = new[]\n {\n app.Id,\n },\n UserIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamGroup(ctx, \"withApp\", \u0026scaleway.IamGroupArgs{\n\t\t\tApplicationIds: pulumi.StringArray{\n\t\t\t\tapp.ID(),\n\t\t\t},\n\t\t\tUserIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var app = new IamApplication(\"app\");\n\n var withApp = new IamGroup(\"withApp\", IamGroupArgs.builder()\n .applicationIds(app.id())\n .userIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n withApp:\n type: scaleway:IamGroup\n properties:\n applicationIds:\n - ${app.id}\n userIds: []\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIAM groups can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamGroup:IamGroup basic 11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "applicationIds": { "type": "array", @@ -11714,7 +11692,7 @@ } }, "scaleway:index/iamGroupMembership:IamGroupMembership": { - "description": "Add members to an IAM group.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).\n\n## Example Usage\n\n### Application Membership\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst group = new scaleway.IamGroup(\"group\", {externalMembership: true});\nconst app = new scaleway.IamApplication(\"app\", {});\nconst member = new scaleway.IamGroupMembership(\"member\", {\n groupId: group.id,\n applicationId: app.id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ngroup = scaleway.IamGroup(\"group\", external_membership=True)\napp = scaleway.IamApplication(\"app\")\nmember = scaleway.IamGroupMembership(\"member\",\n group_id=group.id,\n application_id=app.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @group = new Scaleway.IamGroup(\"group\", new()\n {\n ExternalMembership = true,\n });\n\n var app = new Scaleway.IamApplication(\"app\");\n\n var member = new Scaleway.IamGroupMembership(\"member\", new()\n {\n GroupId = @group.Id,\n ApplicationId = app.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tgroup, err := scaleway.NewIamGroup(ctx, \"group\", \u0026scaleway.IamGroupArgs{\n\t\t\tExternalMembership: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamGroupMembership(ctx, \"member\", \u0026scaleway.IamGroupMembershipArgs{\n\t\t\tGroupId: group.ID(),\n\t\t\tApplicationId: app.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamGroupMembership;\nimport com.pulumi.scaleway.IamGroupMembershipArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var group = new IamGroup(\"group\", IamGroupArgs.builder()\n .externalMembership(true)\n .build());\n\n var app = new IamApplication(\"app\");\n\n var member = new IamGroupMembership(\"member\", IamGroupMembershipArgs.builder()\n .groupId(group.id())\n .applicationId(app.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n group:\n type: scaleway:IamGroup\n properties:\n externalMembership: true\n app:\n type: scaleway:IamApplication\n member:\n type: scaleway:IamGroupMembership\n properties:\n groupId: ${group.id}\n applicationId: ${app.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIAM group memberships can be imported using two format:\n\n- For user: `{group_id}/user/{user_id}`\n\n- For application: `{group_id}/app/{application_id}`\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamGroupMembership:IamGroupMembership app 11111111-1111-1111-1111-111111111111/app/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Add members to an IAM group.\nFor more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).\n\n## Example Usage\n\n### Application Membership\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst group = new scaleway.IamGroup(\"group\", {externalMembership: true});\nconst app = new scaleway.IamApplication(\"app\", {});\nconst member = new scaleway.IamGroupMembership(\"member\", {\n groupId: group.id,\n applicationId: app.id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ngroup = scaleway.IamGroup(\"group\", external_membership=True)\napp = scaleway.IamApplication(\"app\")\nmember = scaleway.IamGroupMembership(\"member\",\n group_id=group.id,\n application_id=app.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @group = new Scaleway.IamGroup(\"group\", new()\n {\n ExternalMembership = true,\n });\n\n var app = new Scaleway.IamApplication(\"app\");\n\n var member = new Scaleway.IamGroupMembership(\"member\", new()\n {\n GroupId = @group.Id,\n ApplicationId = app.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tgroup, err := scaleway.NewIamGroup(ctx, \"group\", \u0026scaleway.IamGroupArgs{\n\t\t\tExternalMembership: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamGroupMembership(ctx, \"member\", \u0026scaleway.IamGroupMembershipArgs{\n\t\t\tGroupId: group.ID(),\n\t\t\tApplicationId: app.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamGroup;\nimport com.pulumi.scaleway.IamGroupArgs;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamGroupMembership;\nimport com.pulumi.scaleway.IamGroupMembershipArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var group = new IamGroup(\"group\", IamGroupArgs.builder()\n .externalMembership(true)\n .build());\n\n var app = new IamApplication(\"app\");\n\n var member = new IamGroupMembership(\"member\", IamGroupMembershipArgs.builder()\n .groupId(group.id())\n .applicationId(app.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n group:\n type: scaleway:IamGroup\n properties:\n externalMembership: true\n app:\n type: scaleway:IamApplication\n member:\n type: scaleway:IamGroupMembership\n properties:\n groupId: ${group.id}\n applicationId: ${app.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIAM group memberships can be imported using two format:\n\n- For user: `{group_id}/user/{user_id}`\n\n- For application: `{group_id}/app/{application_id}`\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamGroupMembership:IamGroupMembership app 11111111-1111-1111-1111-111111111111/app/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "applicationId": { "type": "string", @@ -11726,7 +11704,7 @@ }, "userId": { "type": "string", - "description": "The ID of the user that will be added to the group\n\n- \u003e Only one of `application_id` or `user_id` must be specified\n" + "description": "The ID of the user that will be added to the group\n\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n" } }, "required": [ @@ -11745,7 +11723,7 @@ }, "userId": { "type": "string", - "description": "The ID of the user that will be added to the group\n\n- \u003e Only one of `application_id` or `user_id` must be specified\n", + "description": "The ID of the user that will be added to the group\n\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n", "willReplaceOnChanges": true } }, @@ -11767,7 +11745,7 @@ }, "userId": { "type": "string", - "description": "The ID of the user that will be added to the group\n\n- \u003e Only one of `application_id` or `user_id` must be specified\n", + "description": "The ID of the user that will be added to the group\n\n\u003e **Note** You must specify at least one: `application_id` and/or `user_id`.\n", "willReplaceOnChanges": true } }, @@ -11775,11 +11753,11 @@ } }, "scaleway:index/iamPolicy:IamPolicy": { - "description": "Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7).\n\n\u003e You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/).\n\n## Example Usage\n\n### Create a policy for an organization's project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst default = scaleway.getAccountProject({\n name: \"default\",\n});\nconst app = new scaleway.IamApplication(\"app\", {});\nconst objectReadOnly = new scaleway.IamPolicy(\"objectReadOnly\", {\n description: \"gives app readonly access to object storage in project\",\n applicationId: app.id,\n rules: [{\n projectIds: [_default.then(_default =\u003e _default.id)],\n permissionSetNames: [\"ObjectStorageReadOnly\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\ndefault = scaleway.get_account_project(name=\"default\")\napp = scaleway.IamApplication(\"app\")\nobject_read_only = scaleway.IamPolicy(\"objectReadOnly\",\n description=\"gives app readonly access to object storage in project\",\n application_id=app.id,\n rules=[scaleway.IamPolicyRuleArgs(\n project_ids=[default.id],\n permission_set_names=[\"ObjectStorageReadOnly\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n var app = new Scaleway.IamApplication(\"app\");\n\n var objectReadOnly = new Scaleway.IamPolicy(\"objectReadOnly\", new()\n {\n Description = \"gives app readonly access to object storage in project\",\n ApplicationId = app.Id,\n Rules = new[]\n {\n new Scaleway.Inputs.IamPolicyRuleArgs\n {\n ProjectIds = new[]\n {\n @default.Apply(@default =\u003e @default.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id)),\n },\n PermissionSetNames = new[]\n {\n \"ObjectStorageReadOnly\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamPolicy(ctx, \"objectReadOnly\", \u0026scaleway.IamPolicyArgs{\n\t\t\tDescription: pulumi.String(\"gives app readonly access to object storage in project\"),\n\t\t\tApplicationId: app.ID(),\n\t\t\tRules: scaleway.IamPolicyRuleArray{\n\t\t\t\t\u0026scaleway.IamPolicyRuleArgs{\n\t\t\t\t\tProjectIds: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(_default.Id),\n\t\t\t\t\t},\n\t\t\t\t\tPermissionSetNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ObjectStorageReadOnly\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamPolicy;\nimport com.pulumi.scaleway.IamPolicyArgs;\nimport com.pulumi.scaleway.inputs.IamPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n var app = new IamApplication(\"app\");\n\n var objectReadOnly = new IamPolicy(\"objectReadOnly\", IamPolicyArgs.builder()\n .description(\"gives app readonly access to object storage in project\")\n .applicationId(app.id())\n .rules(IamPolicyRuleArgs.builder()\n .projectIds(default_.id())\n .permissionSetNames(\"ObjectStorageReadOnly\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n objectReadOnly:\n type: scaleway:IamPolicy\n properties:\n description: gives app readonly access to object storage in project\n applicationId: ${app.id}\n rules:\n - projectIds:\n - ${default.id}\n permissionSetNames:\n - ObjectStorageReadOnly\nvariables:\n default:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a policy for all current and future projects in an organization\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst app = new scaleway.IamApplication(\"app\", {});\nconst objectReadOnly = new scaleway.IamPolicy(\"objectReadOnly\", {\n description: \"gives app readonly access to object storage in project\",\n applicationId: app.id,\n rules: [{\n organizationId: app.organizationId,\n permissionSetNames: [\"ObjectStorageReadOnly\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\napp = scaleway.IamApplication(\"app\")\nobject_read_only = scaleway.IamPolicy(\"objectReadOnly\",\n description=\"gives app readonly access to object storage in project\",\n application_id=app.id,\n rules=[scaleway.IamPolicyRuleArgs(\n organization_id=app.organization_id,\n permission_set_names=[\"ObjectStorageReadOnly\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var app = new Scaleway.IamApplication(\"app\");\n\n var objectReadOnly = new Scaleway.IamPolicy(\"objectReadOnly\", new()\n {\n Description = \"gives app readonly access to object storage in project\",\n ApplicationId = app.Id,\n Rules = new[]\n {\n new Scaleway.Inputs.IamPolicyRuleArgs\n {\n OrganizationId = app.OrganizationId,\n PermissionSetNames = new[]\n {\n \"ObjectStorageReadOnly\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamPolicy(ctx, \"objectReadOnly\", \u0026scaleway.IamPolicyArgs{\n\t\t\tDescription: pulumi.String(\"gives app readonly access to object storage in project\"),\n\t\t\tApplicationId: app.ID(),\n\t\t\tRules: scaleway.IamPolicyRuleArray{\n\t\t\t\t\u0026scaleway.IamPolicyRuleArgs{\n\t\t\t\t\tOrganizationId: app.OrganizationId,\n\t\t\t\t\tPermissionSetNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ObjectStorageReadOnly\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamPolicy;\nimport com.pulumi.scaleway.IamPolicyArgs;\nimport com.pulumi.scaleway.inputs.IamPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var app = new IamApplication(\"app\");\n\n var objectReadOnly = new IamPolicy(\"objectReadOnly\", IamPolicyArgs.builder()\n .description(\"gives app readonly access to object storage in project\")\n .applicationId(app.id())\n .rules(IamPolicyRuleArgs.builder()\n .organizationId(app.organizationId())\n .permissionSetNames(\"ObjectStorageReadOnly\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n objectReadOnly:\n type: scaleway:IamPolicy\n properties:\n description: gives app readonly access to object storage in project\n applicationId: ${app.id}\n rules:\n - organizationId: ${app.organizationId}\n permissionSetNames:\n - ObjectStorageReadOnly\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPolicies can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamPolicy:IamPolicy main 11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy).\n\n\u003e You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/).\n\n## Example Usage\n\n### Create a policy for an organization's project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst default = scaleway.getAccountProject({\n name: \"default\",\n});\nconst app = new scaleway.IamApplication(\"app\", {});\nconst objectReadOnly = new scaleway.IamPolicy(\"objectReadOnly\", {\n description: \"gives app readonly access to object storage in project\",\n applicationId: app.id,\n rules: [{\n projectIds: [_default.then(_default =\u003e _default.id)],\n permissionSetNames: [\"ObjectStorageReadOnly\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\ndefault = scaleway.get_account_project(name=\"default\")\napp = scaleway.IamApplication(\"app\")\nobject_read_only = scaleway.IamPolicy(\"objectReadOnly\",\n description=\"gives app readonly access to object storage in project\",\n application_id=app.id,\n rules=[scaleway.IamPolicyRuleArgs(\n project_ids=[default.id],\n permission_set_names=[\"ObjectStorageReadOnly\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n var app = new Scaleway.IamApplication(\"app\");\n\n var objectReadOnly = new Scaleway.IamPolicy(\"objectReadOnly\", new()\n {\n Description = \"gives app readonly access to object storage in project\",\n ApplicationId = app.Id,\n Rules = new[]\n {\n new Scaleway.Inputs.IamPolicyRuleArgs\n {\n ProjectIds = new[]\n {\n @default.Apply(@default =\u003e @default.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id)),\n },\n PermissionSetNames = new[]\n {\n \"ObjectStorageReadOnly\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamPolicy(ctx, \"objectReadOnly\", \u0026scaleway.IamPolicyArgs{\n\t\t\tDescription: pulumi.String(\"gives app readonly access to object storage in project\"),\n\t\t\tApplicationId: app.ID(),\n\t\t\tRules: scaleway.IamPolicyRuleArray{\n\t\t\t\t\u0026scaleway.IamPolicyRuleArgs{\n\t\t\t\t\tProjectIds: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(_default.Id),\n\t\t\t\t\t},\n\t\t\t\t\tPermissionSetNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ObjectStorageReadOnly\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamPolicy;\nimport com.pulumi.scaleway.IamPolicyArgs;\nimport com.pulumi.scaleway.inputs.IamPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n var app = new IamApplication(\"app\");\n\n var objectReadOnly = new IamPolicy(\"objectReadOnly\", IamPolicyArgs.builder()\n .description(\"gives app readonly access to object storage in project\")\n .applicationId(app.id())\n .rules(IamPolicyRuleArgs.builder()\n .projectIds(default_.id())\n .permissionSetNames(\"ObjectStorageReadOnly\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n objectReadOnly:\n type: scaleway:IamPolicy\n properties:\n description: gives app readonly access to object storage in project\n applicationId: ${app.id}\n rules:\n - projectIds:\n - ${default.id}\n permissionSetNames:\n - ObjectStorageReadOnly\nvariables:\n default:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a policy for all current and future projects in an organization\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst app = new scaleway.IamApplication(\"app\", {});\nconst objectReadOnly = new scaleway.IamPolicy(\"objectReadOnly\", {\n description: \"gives app readonly access to object storage in project\",\n applicationId: app.id,\n rules: [{\n organizationId: app.organizationId,\n permissionSetNames: [\"ObjectStorageReadOnly\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\napp = scaleway.IamApplication(\"app\")\nobject_read_only = scaleway.IamPolicy(\"objectReadOnly\",\n description=\"gives app readonly access to object storage in project\",\n application_id=app.id,\n rules=[scaleway.IamPolicyRuleArgs(\n organization_id=app.organization_id,\n permission_set_names=[\"ObjectStorageReadOnly\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var app = new Scaleway.IamApplication(\"app\");\n\n var objectReadOnly = new Scaleway.IamPolicy(\"objectReadOnly\", new()\n {\n Description = \"gives app readonly access to object storage in project\",\n ApplicationId = app.Id,\n Rules = new[]\n {\n new Scaleway.Inputs.IamPolicyRuleArgs\n {\n OrganizationId = app.OrganizationId,\n PermissionSetNames = new[]\n {\n \"ObjectStorageReadOnly\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tapp, err := scaleway.NewIamApplication(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIamPolicy(ctx, \"objectReadOnly\", \u0026scaleway.IamPolicyArgs{\n\t\t\tDescription: pulumi.String(\"gives app readonly access to object storage in project\"),\n\t\t\tApplicationId: app.ID(),\n\t\t\tRules: scaleway.IamPolicyRuleArray{\n\t\t\t\t\u0026scaleway.IamPolicyRuleArgs{\n\t\t\t\t\tOrganizationId: app.OrganizationId,\n\t\t\t\t\tPermissionSetNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ObjectStorageReadOnly\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamApplication;\nimport com.pulumi.scaleway.IamPolicy;\nimport com.pulumi.scaleway.IamPolicyArgs;\nimport com.pulumi.scaleway.inputs.IamPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var app = new IamApplication(\"app\");\n\n var objectReadOnly = new IamPolicy(\"objectReadOnly\", IamPolicyArgs.builder()\n .description(\"gives app readonly access to object storage in project\")\n .applicationId(app.id())\n .rules(IamPolicyRuleArgs.builder()\n .organizationId(app.organizationId())\n .permissionSetNames(\"ObjectStorageReadOnly\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n app:\n type: scaleway:IamApplication\n objectReadOnly:\n type: scaleway:IamPolicy\n properties:\n description: gives app readonly access to object storage in project\n applicationId: ${app.id}\n rules:\n - organizationId: ${app.organizationId}\n permissionSetNames:\n - ObjectStorageReadOnly\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPolicies can be imported using the `{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamPolicy:IamPolicy main 11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "applicationId": { "type": "string", - "description": "ID of the Application the policy will be linked to\n" + "description": "ID of the application the policy will be linked to\n" }, "createdAt": { "type": "string", @@ -11787,7 +11765,7 @@ }, "description": { "type": "string", - "description": "The description of the iam policy.\n" + "description": "The description of the IAM policy.\n" }, "editable": { "type": "boolean", @@ -11795,15 +11773,15 @@ }, "groupId": { "type": "string", - "description": "ID of the Group the policy will be linked to\n" + "description": "ID of the group the policy will be linked to\n" }, "name": { "type": "string", - "description": "The name of the iam policy.\n" + "description": "The name of the IAM policy.\n" }, "noPrincipal": { "type": "boolean", - "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" + "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" }, "organizationId": { "type": "string", @@ -11821,7 +11799,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the iam policy.\n" + "description": "The tags associated with the IAM policy.\n" }, "updatedAt": { "type": "string", @@ -11829,7 +11807,7 @@ }, "userId": { "type": "string", - "description": "ID of the User the policy will be linked to\n" + "description": "ID of the user the policy will be linked to\n" } }, "required": [ @@ -11843,23 +11821,23 @@ "inputProperties": { "applicationId": { "type": "string", - "description": "ID of the Application the policy will be linked to\n" + "description": "ID of the application the policy will be linked to\n" }, "description": { "type": "string", - "description": "The description of the iam policy.\n" + "description": "The description of the IAM policy.\n" }, "groupId": { "type": "string", - "description": "ID of the Group the policy will be linked to\n" + "description": "ID of the group the policy will be linked to\n" }, "name": { "type": "string", - "description": "The name of the iam policy.\n" + "description": "The name of the IAM policy.\n" }, "noPrincipal": { "type": "boolean", - "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" + "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" }, "organizationId": { "type": "string", @@ -11877,11 +11855,11 @@ "items": { "type": "string" }, - "description": "The tags associated with the iam policy.\n" + "description": "The tags associated with the IAM policy.\n" }, "userId": { "type": "string", - "description": "ID of the User the policy will be linked to\n" + "description": "ID of the user the policy will be linked to\n" } }, "requiredInputs": [ @@ -11892,7 +11870,7 @@ "properties": { "applicationId": { "type": "string", - "description": "ID of the Application the policy will be linked to\n" + "description": "ID of the application the policy will be linked to\n" }, "createdAt": { "type": "string", @@ -11900,7 +11878,7 @@ }, "description": { "type": "string", - "description": "The description of the iam policy.\n" + "description": "The description of the IAM policy.\n" }, "editable": { "type": "boolean", @@ -11908,15 +11886,15 @@ }, "groupId": { "type": "string", - "description": "ID of the Group the policy will be linked to\n" + "description": "ID of the group the policy will be linked to\n" }, "name": { "type": "string", - "description": "The name of the iam policy.\n" + "description": "The name of the IAM policy.\n" }, "noPrincipal": { "type": "boolean", - "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" + "description": "If the policy doesn't apply to a principal.\n\n\u003e **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.\n" }, "organizationId": { "type": "string", @@ -11934,7 +11912,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the iam policy.\n" + "description": "The tags associated with the IAM policy.\n" }, "updatedAt": { "type": "string", @@ -11942,14 +11920,14 @@ }, "userId": { "type": "string", - "description": "ID of the User the policy will be linked to\n" + "description": "ID of the user the policy will be linked to\n" } }, "type": "object" } }, "scaleway:index/iamSshKey:IamSshKey": { - "description": "Creates and manages Scaleway IAM SSH Keys.\nFor more information,\nsee [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.IamSshKey(\"main\", {publicKey: \"\u003cYOUR-PUBLIC-SSH-KEY\u003e\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.IamSshKey(\"main\", public_key=\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.IamSshKey(\"main\", new()\n {\n PublicKey = \"\u003cYOUR-PUBLIC-SSH-KEY\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamSshKey(ctx, \"main\", \u0026scaleway.IamSshKeyArgs{\n\t\t\tPublicKey: pulumi.String(\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamSshKey;\nimport com.pulumi.scaleway.IamSshKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new IamSshKey(\"main\", IamSshKeyArgs.builder()\n .publicKey(\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:IamSshKey\n properties:\n publicKey: \u003cYOUR-PUBLIC-SSH-KEY\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSSH keys can be imported using the `id`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamSshKey:IamSshKey main 11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway IAM SSH Keys.\nFor more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.IamSshKey(\"main\", {publicKey: \"\u003cYOUR-PUBLIC-SSH-KEY\u003e\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.IamSshKey(\"main\", public_key=\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.IamSshKey(\"main\", new()\n {\n PublicKey = \"\u003cYOUR-PUBLIC-SSH-KEY\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewIamSshKey(ctx, \"main\", \u0026scaleway.IamSshKeyArgs{\n\t\t\tPublicKey: pulumi.String(\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.IamSshKey;\nimport com.pulumi.scaleway.IamSshKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new IamSshKey(\"main\", IamSshKeyArgs.builder()\n .publicKey(\"\u003cYOUR-PUBLIC-SSH-KEY\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:IamSshKey\n properties:\n publicKey: \u003cYOUR-PUBLIC-SSH-KEY\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSSH keys can be imported using the `id`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/iamSshKey:IamSshKey main 11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -12066,11 +12044,11 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the iam user.\n" + "description": "The date and time of the creation of the IAM user.\n" }, "deletable": { "type": "boolean", - "description": "Whether the iam user is deletable.\n" + "description": "Whether the IAM user is deletable.\n" }, "email": { "type": "string", @@ -12090,15 +12068,15 @@ }, "status": { "type": "string", - "description": "The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" + "description": "The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" }, "type": { "type": "string", - "description": "The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" + "description": "The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the iam user.\n" + "description": "The date and time of the last update of the IAM user.\n" } }, "required": [ @@ -12136,11 +12114,11 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the iam user.\n" + "description": "The date and time of the creation of the IAM user.\n" }, "deletable": { "type": "boolean", - "description": "Whether the iam user is deletable.\n" + "description": "Whether the IAM user is deletable.\n" }, "email": { "type": "string", @@ -12161,15 +12139,15 @@ }, "status": { "type": "string", - "description": "The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" + "description": "The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" }, "type": { "type": "string", - "description": "The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" + "description": "The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the iam user.\n" + "description": "The date and time of the last update of the IAM user.\n" } }, "type": "object" @@ -14489,7 +14467,7 @@ } }, "scaleway:index/ipamIp:IpamIp": { - "description": "Books and manages Scaleway IPAM IPs.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {sources: [{\n privateNetworkId: pn01.id,\n}]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nip01 = scaleway.IpamIp(\"ip01\", sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n ip01:\n type: scaleway:IpamIp\n properties:\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Request a specific IPv4\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n address: \"172.16.32.7\",\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nip01 = scaleway.IpamIp(\"ip01\",\n address=\"172.16.32.7\",\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Address = \"172.16.32.7\",\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tAddress: pulumi.String(\"172.16.32.7\"),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .address(\"172.16.32.7\")\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n ip01:\n type: scaleway:IpamIp\n properties:\n address: 172.16.32.7\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Request an IPv6\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv6Subnets: [{\n subnet: \"fd46:78ab:30b8:177c::/64\",\n }],\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n isIpv6: true,\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv6_subnets=[scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:177c::/64\",\n )])\nip01 = scaleway.IpamIp(\"ip01\",\n is_ipv6=True,\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv6Subnets = new[]\n {\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:177c::/64\",\n },\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n IsIpv6 = true,\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:177c::/64\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv6SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv6Subnets(VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:177c::/64\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .isIpv6(true)\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv6Subnets:\n - subnet: fd46:78ab:30b8:177c::/64\n ip01:\n type: scaleway:IpamIp\n properties:\n isIpv6: true\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIPAM IPs can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/ipamIp:IpamIp ip_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Books and manages IPAM IPs.\n\nFor more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {sources: [{\n privateNetworkId: pn01.id,\n}]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nip01 = scaleway.IpamIp(\"ip01\", sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n ip01:\n type: scaleway:IpamIp\n properties:\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Request a specific IPv4 address\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n address: \"172.16.32.7\",\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nip01 = scaleway.IpamIp(\"ip01\",\n address=\"172.16.32.7\",\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Address = \"172.16.32.7\",\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tAddress: pulumi.String(\"172.16.32.7\"),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .address(\"172.16.32.7\")\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n ip01:\n type: scaleway:IpamIp\n properties:\n address: 172.16.32.7\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Request an IPv6 address\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv6Subnets: [{\n subnet: \"fd46:78ab:30b8:177c::/64\",\n }],\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n isIpv6: true,\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv6_subnets=[scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:177c::/64\",\n )])\nip01 = scaleway.IpamIp(\"ip01\",\n is_ipv6=True,\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv6Subnets = new[]\n {\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:177c::/64\",\n },\n },\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n IsIpv6 = true,\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:177c::/64\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv6SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv6Subnets(VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:177c::/64\")\n .build())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .isIpv6(true)\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv6Subnets:\n - subnet: fd46:78ab:30b8:177c::/64\n ip01:\n type: scaleway:IpamIp\n properties:\n isIpv6: true\n sources:\n - privateNetworkId: ${pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIPAM IPs can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/ipamIp:IpamIp ip_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "address": { "type": "string", @@ -14501,11 +14479,11 @@ }, "isIpv6": { "type": "boolean", - "description": "Defines whether to request an IPv6 instead of an IPv4.\n" + "description": "Defines whether to request an IPv6 address instead of IPv4.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n" + "description": "`project_id`) The ID of the Project the IP is associated with.\n" }, "region": { "type": "string", @@ -14523,7 +14501,7 @@ "items": { "$ref": "#/types/scaleway:index/IpamIpReverse:IpamIpReverse" }, - "description": "The reverses DNS for this IP.\n" + "description": "The reverse DNS for this IP.\n" }, "sources": { "type": "array", @@ -14567,12 +14545,12 @@ }, "isIpv6": { "type": "boolean", - "description": "Defines whether to request an IPv6 instead of an IPv4.\n", + "description": "Defines whether to request an IPv6 address instead of IPv4.\n", "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n", + "description": "`project_id`) The ID of the Project the IP is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -14612,12 +14590,12 @@ }, "isIpv6": { "type": "boolean", - "description": "Defines whether to request an IPv6 instead of an IPv4.\n", + "description": "Defines whether to request an IPv6 address instead of IPv4.\n", "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n", + "description": "`project_id`) The ID of the Project the IP is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -14637,7 +14615,7 @@ "items": { "$ref": "#/types/scaleway:index/IpamIpReverse:IpamIpReverse" }, - "description": "The reverses DNS for this IP.\n" + "description": "The reverse DNS for this IP.\n" }, "sources": { "type": "array", @@ -14666,7 +14644,7 @@ } }, "scaleway:index/ipamIpReverseDns:IpamIpReverseDns": { - "description": "Manages Scaleway IPAM IP Reverse DNS.\n\n## Import\n\nIPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/ipamIpReverseDns:IpamIpReverseDns main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service.\n\nFor more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).\n\n## Import\n\nIPAM IP reverse DNS can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/ipamIpReverseDns:IpamIpReverseDns main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "address": { "type": "string", @@ -14910,7 +14888,7 @@ } }, "scaleway:index/kubernetesCluster:KubernetesCluster": { - "description": "Creates and manages Scaleway Kubernetes clusters. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/kubernetes/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst hedy = new scaleway.VpcPrivateNetwork(\"hedy\", {});\nconst jack = new scaleway.KubernetesCluster(\"jack\", {\n version: \"1.24.3\",\n cni: \"cilium\",\n privateNetworkId: hedy.id,\n deleteAdditionalResources: false,\n});\nconst john = new scaleway.KubernetesNodePool(\"john\", {\n clusterId: jack.id,\n nodeType: \"DEV1-M\",\n size: 1,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nhedy = scaleway.VpcPrivateNetwork(\"hedy\")\njack = scaleway.KubernetesCluster(\"jack\",\n version=\"1.24.3\",\n cni=\"cilium\",\n private_network_id=hedy.id,\n delete_additional_resources=False)\njohn = scaleway.KubernetesNodePool(\"john\",\n cluster_id=jack.id,\n node_type=\"DEV1-M\",\n size=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var hedy = new Scaleway.VpcPrivateNetwork(\"hedy\");\n\n var jack = new Scaleway.KubernetesCluster(\"jack\", new()\n {\n Version = \"1.24.3\",\n Cni = \"cilium\",\n PrivateNetworkId = hedy.Id,\n DeleteAdditionalResources = false,\n });\n\n var john = new Scaleway.KubernetesNodePool(\"john\", new()\n {\n ClusterId = jack.Id,\n NodeType = \"DEV1-M\",\n Size = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thedy, err := scaleway.NewVpcPrivateNetwork(ctx, \"hedy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjack, err := scaleway.NewKubernetesCluster(ctx, \"jack\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tVersion: pulumi.String(\"1.24.3\"),\n\t\t\tCni: pulumi.String(\"cilium\"),\n\t\t\tPrivateNetworkId: hedy.ID(),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"john\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: jack.ID(),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var hedy = new VpcPrivateNetwork(\"hedy\");\n\n var jack = new KubernetesCluster(\"jack\", KubernetesClusterArgs.builder()\n .version(\"1.24.3\")\n .cni(\"cilium\")\n .privateNetworkId(hedy.id())\n .deleteAdditionalResources(false)\n .build());\n\n var john = new KubernetesNodePool(\"john\", KubernetesNodePoolArgs.builder()\n .clusterId(jack.id())\n .nodeType(\"DEV1-M\")\n .size(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n hedy:\n type: scaleway:VpcPrivateNetwork\n jack:\n type: scaleway:KubernetesCluster\n properties:\n version: 1.24.3\n cni: cilium\n privateNetworkId: ${hedy.id}\n deleteAdditionalResources: false\n john:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${jack.id}\n nodeType: DEV1-M\n size: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Multicloud\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst henry = new scaleway.KubernetesCluster(\"henry\", {\n type: \"multicloud\",\n version: \"1.24.3\",\n cni: \"kilo\",\n deleteAdditionalResources: false,\n});\nconst friendFromOuterSpace = new scaleway.KubernetesNodePool(\"friendFromOuterSpace\", {\n clusterId: henry.id,\n nodeType: \"external\",\n size: 0,\n minSize: 0,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nhenry = scaleway.KubernetesCluster(\"henry\",\n type=\"multicloud\",\n version=\"1.24.3\",\n cni=\"kilo\",\n delete_additional_resources=False)\nfriend_from_outer_space = scaleway.KubernetesNodePool(\"friendFromOuterSpace\",\n cluster_id=henry.id,\n node_type=\"external\",\n size=0,\n min_size=0)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var henry = new Scaleway.KubernetesCluster(\"henry\", new()\n {\n Type = \"multicloud\",\n Version = \"1.24.3\",\n Cni = \"kilo\",\n DeleteAdditionalResources = false,\n });\n\n var friendFromOuterSpace = new Scaleway.KubernetesNodePool(\"friendFromOuterSpace\", new()\n {\n ClusterId = henry.Id,\n NodeType = \"external\",\n Size = 0,\n MinSize = 0,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thenry, err := scaleway.NewKubernetesCluster(ctx, \"henry\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tType: pulumi.String(\"multicloud\"),\n\t\t\tVersion: pulumi.String(\"1.24.3\"),\n\t\t\tCni: pulumi.String(\"kilo\"),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"friendFromOuterSpace\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: henry.ID(),\n\t\t\tNodeType: pulumi.String(\"external\"),\n\t\t\tSize: pulumi.Int(0),\n\t\t\tMinSize: pulumi.Int(0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var henry = new KubernetesCluster(\"henry\", KubernetesClusterArgs.builder()\n .type(\"multicloud\")\n .version(\"1.24.3\")\n .cni(\"kilo\")\n .deleteAdditionalResources(false)\n .build());\n\n var friendFromOuterSpace = new KubernetesNodePool(\"friendFromOuterSpace\", KubernetesNodePoolArgs.builder()\n .clusterId(henry.id())\n .nodeType(\"external\")\n .size(0)\n .minSize(0)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n henry:\n type: scaleway:KubernetesCluster\n properties:\n type: multicloud\n version: 1.24.3\n cni: kilo\n deleteAdditionalResources: false\n friendFromOuterSpace:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${henry.id}\n nodeType: external\n size: 0\n minSize: 0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to this guide.\n\n### With additional configuration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst hedy = new scaleway.VpcPrivateNetwork(\"hedy\", {});\nconst johnKubernetesCluster = new scaleway.KubernetesCluster(\"johnKubernetesCluster\", {\n description: \"my awesome cluster\",\n version: \"1.24.3\",\n cni: \"calico\",\n tags: [\n \"i'm an awesome tag\",\n \"yay\",\n ],\n privateNetworkId: hedy.id,\n deleteAdditionalResources: false,\n autoscalerConfig: {\n disableScaleDown: false,\n scaleDownDelayAfterAdd: \"5m\",\n estimator: \"binpacking\",\n expander: \"random\",\n ignoreDaemonsetsUtilization: true,\n balanceSimilarNodeGroups: true,\n expendablePodsPriorityCutoff: -5,\n },\n});\nconst johnKubernetesNodePool = new scaleway.KubernetesNodePool(\"johnKubernetesNodePool\", {\n clusterId: johnKubernetesCluster.id,\n nodeType: \"DEV1-M\",\n size: 3,\n autoscaling: true,\n autohealing: true,\n minSize: 1,\n maxSize: 5,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nhedy = scaleway.VpcPrivateNetwork(\"hedy\")\njohn_kubernetes_cluster = scaleway.KubernetesCluster(\"johnKubernetesCluster\",\n description=\"my awesome cluster\",\n version=\"1.24.3\",\n cni=\"calico\",\n tags=[\n \"i'm an awesome tag\",\n \"yay\",\n ],\n private_network_id=hedy.id,\n delete_additional_resources=False,\n autoscaler_config=scaleway.KubernetesClusterAutoscalerConfigArgs(\n disable_scale_down=False,\n scale_down_delay_after_add=\"5m\",\n estimator=\"binpacking\",\n expander=\"random\",\n ignore_daemonsets_utilization=True,\n balance_similar_node_groups=True,\n expendable_pods_priority_cutoff=-5,\n ))\njohn_kubernetes_node_pool = scaleway.KubernetesNodePool(\"johnKubernetesNodePool\",\n cluster_id=john_kubernetes_cluster.id,\n node_type=\"DEV1-M\",\n size=3,\n autoscaling=True,\n autohealing=True,\n min_size=1,\n max_size=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var hedy = new Scaleway.VpcPrivateNetwork(\"hedy\");\n\n var johnKubernetesCluster = new Scaleway.KubernetesCluster(\"johnKubernetesCluster\", new()\n {\n Description = \"my awesome cluster\",\n Version = \"1.24.3\",\n Cni = \"calico\",\n Tags = new[]\n {\n \"i'm an awesome tag\",\n \"yay\",\n },\n PrivateNetworkId = hedy.Id,\n DeleteAdditionalResources = false,\n AutoscalerConfig = new Scaleway.Inputs.KubernetesClusterAutoscalerConfigArgs\n {\n DisableScaleDown = false,\n ScaleDownDelayAfterAdd = \"5m\",\n Estimator = \"binpacking\",\n Expander = \"random\",\n IgnoreDaemonsetsUtilization = true,\n BalanceSimilarNodeGroups = true,\n ExpendablePodsPriorityCutoff = -5,\n },\n });\n\n var johnKubernetesNodePool = new Scaleway.KubernetesNodePool(\"johnKubernetesNodePool\", new()\n {\n ClusterId = johnKubernetesCluster.Id,\n NodeType = \"DEV1-M\",\n Size = 3,\n Autoscaling = true,\n Autohealing = true,\n MinSize = 1,\n MaxSize = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thedy, err := scaleway.NewVpcPrivateNetwork(ctx, \"hedy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjohnKubernetesCluster, err := scaleway.NewKubernetesCluster(ctx, \"johnKubernetesCluster\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tDescription: pulumi.String(\"my awesome cluster\"),\n\t\t\tVersion: pulumi.String(\"1.24.3\"),\n\t\t\tCni: pulumi.String(\"calico\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"i'm an awesome tag\"),\n\t\t\t\tpulumi.String(\"yay\"),\n\t\t\t},\n\t\t\tPrivateNetworkId: hedy.ID(),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t\tAutoscalerConfig: \u0026scaleway.KubernetesClusterAutoscalerConfigArgs{\n\t\t\t\tDisableScaleDown: pulumi.Bool(false),\n\t\t\t\tScaleDownDelayAfterAdd: pulumi.String(\"5m\"),\n\t\t\t\tEstimator: pulumi.String(\"binpacking\"),\n\t\t\t\tExpander: pulumi.String(\"random\"),\n\t\t\t\tIgnoreDaemonsetsUtilization: pulumi.Bool(true),\n\t\t\t\tBalanceSimilarNodeGroups: pulumi.Bool(true),\n\t\t\t\tExpendablePodsPriorityCutoff: -5,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"johnKubernetesNodePool\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: johnKubernetesCluster.ID(),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(3),\n\t\t\tAutoscaling: pulumi.Bool(true),\n\t\t\tAutohealing: pulumi.Bool(true),\n\t\t\tMinSize: pulumi.Int(1),\n\t\t\tMaxSize: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.inputs.KubernetesClusterAutoscalerConfigArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var hedy = new VpcPrivateNetwork(\"hedy\");\n\n var johnKubernetesCluster = new KubernetesCluster(\"johnKubernetesCluster\", KubernetesClusterArgs.builder()\n .description(\"my awesome cluster\")\n .version(\"1.24.3\")\n .cni(\"calico\")\n .tags( \n \"i'm an awesome tag\",\n \"yay\")\n .privateNetworkId(hedy.id())\n .deleteAdditionalResources(false)\n .autoscalerConfig(KubernetesClusterAutoscalerConfigArgs.builder()\n .disableScaleDown(false)\n .scaleDownDelayAfterAdd(\"5m\")\n .estimator(\"binpacking\")\n .expander(\"random\")\n .ignoreDaemonsetsUtilization(true)\n .balanceSimilarNodeGroups(true)\n .expendablePodsPriorityCutoff(\"TODO: GenUnaryOpExpression\")\n .build())\n .build());\n\n var johnKubernetesNodePool = new KubernetesNodePool(\"johnKubernetesNodePool\", KubernetesNodePoolArgs.builder()\n .clusterId(johnKubernetesCluster.id())\n .nodeType(\"DEV1-M\")\n .size(3)\n .autoscaling(true)\n .autohealing(true)\n .minSize(1)\n .maxSize(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n hedy:\n type: scaleway:VpcPrivateNetwork\n johnKubernetesCluster:\n type: scaleway:KubernetesCluster\n properties:\n description: my awesome cluster\n version: 1.24.3\n cni: calico\n tags:\n - i'm an awesome tag\n - yay\n privateNetworkId: ${hedy.id}\n deleteAdditionalResources: false\n autoscalerConfig:\n disableScaleDown: false\n scaleDownDelayAfterAdd: 5m\n estimator: binpacking\n expander: random\n ignoreDaemonsetsUtilization: true\n balanceSimilarNodeGroups: true\n expendablePodsPriorityCutoff: -5\n johnKubernetesNodePool:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${johnKubernetesCluster.id}\n nodeType: DEV1-M\n size: 3\n autoscaling: true\n autohealing: true\n minSize: 1\n maxSize: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Deprecation of default_pool\n\n`default_pool` is deprecated in favour the `scaleway.KubernetesNodePool` resource. Here is a migration example.\n\nBefore:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n jack:\n type: scaleway:KubernetesCluster\n properties:\n cni: cilium\n defaultPool:\n - nodeType: DEV1-M\n size: 1\n version: 1.18.0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nAfter:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst jack = new scaleway.KubernetesCluster(\"jack\", {\n version: \"1.18.0\",\n cni: \"cilium\",\n});\nconst _default = new scaleway.KubernetesNodePool(\"default\", {\n clusterId: jack.id,\n nodeType: \"DEV1-M\",\n size: 1,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\njack = scaleway.KubernetesCluster(\"jack\",\n version=\"1.18.0\",\n cni=\"cilium\")\ndefault = scaleway.KubernetesNodePool(\"default\",\n cluster_id=jack.id,\n node_type=\"DEV1-M\",\n size=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var jack = new Scaleway.KubernetesCluster(\"jack\", new()\n {\n Version = \"1.18.0\",\n Cni = \"cilium\",\n });\n\n var @default = new Scaleway.KubernetesNodePool(\"default\", new()\n {\n ClusterId = jack.Id,\n NodeType = \"DEV1-M\",\n Size = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tjack, err := scaleway.NewKubernetesCluster(ctx, \"jack\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tVersion: pulumi.String(\"1.18.0\"),\n\t\t\tCni: pulumi.String(\"cilium\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"default\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: jack.ID(),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var jack = new KubernetesCluster(\"jack\", KubernetesClusterArgs.builder()\n .version(\"1.18.0\")\n .cni(\"cilium\")\n .build());\n\n var default_ = new KubernetesNodePool(\"default\", KubernetesNodePoolArgs.builder()\n .clusterId(jack.id())\n .nodeType(\"DEV1-M\")\n .size(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n jack:\n type: scaleway:KubernetesCluster\n properties:\n version: 1.18.0\n cni: cilium\n default:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${jack.id}\n nodeType: DEV1-M\n size: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nOnce you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:\n\n```bash\n$ terraform import scaleway_k8s_pool.default fr-par/11111111-1111-1111-1111-111111111111\n```\n\nThen you will only need to type `pulumi up` to have a smooth migration.\n\n## Import\n\nKubernetes clusters can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/kubernetesCluster:KubernetesCluster mycluster fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Kubernetes clusters. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/kubernetes/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst cluster = new scaleway.KubernetesCluster(\"cluster\", {\n version: \"1.29.1\",\n cni: \"cilium\",\n privateNetworkId: pn.id,\n deleteAdditionalResources: false,\n});\nconst pool = new scaleway.KubernetesNodePool(\"pool\", {\n clusterId: cluster.id,\n nodeType: \"DEV1-M\",\n size: 1,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\ncluster = scaleway.KubernetesCluster(\"cluster\",\n version=\"1.29.1\",\n cni=\"cilium\",\n private_network_id=pn.id,\n delete_additional_resources=False)\npool = scaleway.KubernetesNodePool(\"pool\",\n cluster_id=cluster.id,\n node_type=\"DEV1-M\",\n size=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var cluster = new Scaleway.KubernetesCluster(\"cluster\", new()\n {\n Version = \"1.29.1\",\n Cni = \"cilium\",\n PrivateNetworkId = pn.Id,\n DeleteAdditionalResources = false,\n });\n\n var pool = new Scaleway.KubernetesNodePool(\"pool\", new()\n {\n ClusterId = cluster.Id,\n NodeType = \"DEV1-M\",\n Size = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcluster, err := scaleway.NewKubernetesCluster(ctx, \"cluster\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tVersion: pulumi.String(\"1.29.1\"),\n\t\t\tCni: pulumi.String(\"cilium\"),\n\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"pool\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: cluster.ID(),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var cluster = new KubernetesCluster(\"cluster\", KubernetesClusterArgs.builder()\n .version(\"1.29.1\")\n .cni(\"cilium\")\n .privateNetworkId(pn.id())\n .deleteAdditionalResources(false)\n .build());\n\n var pool = new KubernetesNodePool(\"pool\", KubernetesNodePoolArgs.builder()\n .clusterId(cluster.id())\n .nodeType(\"DEV1-M\")\n .size(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n cluster:\n type: scaleway:KubernetesCluster\n properties:\n version: 1.29.1\n cni: cilium\n privateNetworkId: ${pn.id}\n deleteAdditionalResources: false\n pool:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${cluster.id}\n nodeType: DEV1-M\n size: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Multicloud\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst cluster = new scaleway.KubernetesCluster(\"cluster\", {\n type: \"multicloud\",\n version: \"1.29.1\",\n cni: \"kilo\",\n deleteAdditionalResources: false,\n});\nconst pool = new scaleway.KubernetesNodePool(\"pool\", {\n clusterId: cluster.id,\n nodeType: \"external\",\n size: 0,\n minSize: 0,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ncluster = scaleway.KubernetesCluster(\"cluster\",\n type=\"multicloud\",\n version=\"1.29.1\",\n cni=\"kilo\",\n delete_additional_resources=False)\npool = scaleway.KubernetesNodePool(\"pool\",\n cluster_id=cluster.id,\n node_type=\"external\",\n size=0,\n min_size=0)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cluster = new Scaleway.KubernetesCluster(\"cluster\", new()\n {\n Type = \"multicloud\",\n Version = \"1.29.1\",\n Cni = \"kilo\",\n DeleteAdditionalResources = false,\n });\n\n var pool = new Scaleway.KubernetesNodePool(\"pool\", new()\n {\n ClusterId = cluster.Id,\n NodeType = \"external\",\n Size = 0,\n MinSize = 0,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcluster, err := scaleway.NewKubernetesCluster(ctx, \"cluster\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tType: pulumi.String(\"multicloud\"),\n\t\t\tVersion: pulumi.String(\"1.29.1\"),\n\t\t\tCni: pulumi.String(\"kilo\"),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"pool\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: cluster.ID(),\n\t\t\tNodeType: pulumi.String(\"external\"),\n\t\t\tSize: pulumi.Int(0),\n\t\t\tMinSize: pulumi.Int(0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cluster = new KubernetesCluster(\"cluster\", KubernetesClusterArgs.builder()\n .type(\"multicloud\")\n .version(\"1.29.1\")\n .cni(\"kilo\")\n .deleteAdditionalResources(false)\n .build());\n\n var pool = new KubernetesNodePool(\"pool\", KubernetesNodePoolArgs.builder()\n .clusterId(cluster.id())\n .nodeType(\"external\")\n .size(0)\n .minSize(0)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cluster:\n type: scaleway:KubernetesCluster\n properties:\n type: multicloud\n version: 1.29.1\n cni: kilo\n deleteAdditionalResources: false\n pool:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${cluster.id}\n nodeType: external\n size: 0\n minSize: 0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to this guide.\n\n### With additional configuration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst cluster = new scaleway.KubernetesCluster(\"cluster\", {\n description: \"cluster made in terraform\",\n version: \"1.29.1\",\n cni: \"calico\",\n tags: [\"terraform\"],\n privateNetworkId: pn.id,\n deleteAdditionalResources: false,\n autoscalerConfig: {\n disableScaleDown: false,\n scaleDownDelayAfterAdd: \"5m\",\n estimator: \"binpacking\",\n expander: \"random\",\n ignoreDaemonsetsUtilization: true,\n balanceSimilarNodeGroups: true,\n expendablePodsPriorityCutoff: -5,\n },\n});\nconst pool = new scaleway.KubernetesNodePool(\"pool\", {\n clusterId: cluster.id,\n nodeType: \"DEV1-M\",\n size: 3,\n autoscaling: true,\n autohealing: true,\n minSize: 1,\n maxSize: 5,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\ncluster = scaleway.KubernetesCluster(\"cluster\",\n description=\"cluster made in terraform\",\n version=\"1.29.1\",\n cni=\"calico\",\n tags=[\"terraform\"],\n private_network_id=pn.id,\n delete_additional_resources=False,\n autoscaler_config=scaleway.KubernetesClusterAutoscalerConfigArgs(\n disable_scale_down=False,\n scale_down_delay_after_add=\"5m\",\n estimator=\"binpacking\",\n expander=\"random\",\n ignore_daemonsets_utilization=True,\n balance_similar_node_groups=True,\n expendable_pods_priority_cutoff=-5,\n ))\npool = scaleway.KubernetesNodePool(\"pool\",\n cluster_id=cluster.id,\n node_type=\"DEV1-M\",\n size=3,\n autoscaling=True,\n autohealing=True,\n min_size=1,\n max_size=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var cluster = new Scaleway.KubernetesCluster(\"cluster\", new()\n {\n Description = \"cluster made in terraform\",\n Version = \"1.29.1\",\n Cni = \"calico\",\n Tags = new[]\n {\n \"terraform\",\n },\n PrivateNetworkId = pn.Id,\n DeleteAdditionalResources = false,\n AutoscalerConfig = new Scaleway.Inputs.KubernetesClusterAutoscalerConfigArgs\n {\n DisableScaleDown = false,\n ScaleDownDelayAfterAdd = \"5m\",\n Estimator = \"binpacking\",\n Expander = \"random\",\n IgnoreDaemonsetsUtilization = true,\n BalanceSimilarNodeGroups = true,\n ExpendablePodsPriorityCutoff = -5,\n },\n });\n\n var pool = new Scaleway.KubernetesNodePool(\"pool\", new()\n {\n ClusterId = cluster.Id,\n NodeType = \"DEV1-M\",\n Size = 3,\n Autoscaling = true,\n Autohealing = true,\n MinSize = 1,\n MaxSize = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcluster, err := scaleway.NewKubernetesCluster(ctx, \"cluster\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tDescription: pulumi.String(\"cluster made in terraform\"),\n\t\t\tVersion: pulumi.String(\"1.29.1\"),\n\t\t\tCni: pulumi.String(\"calico\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t\tPrivateNetworkId: pn.ID(),\n\t\t\tDeleteAdditionalResources: pulumi.Bool(false),\n\t\t\tAutoscalerConfig: \u0026scaleway.KubernetesClusterAutoscalerConfigArgs{\n\t\t\t\tDisableScaleDown: pulumi.Bool(false),\n\t\t\t\tScaleDownDelayAfterAdd: pulumi.String(\"5m\"),\n\t\t\t\tEstimator: pulumi.String(\"binpacking\"),\n\t\t\t\tExpander: pulumi.String(\"random\"),\n\t\t\t\tIgnoreDaemonsetsUtilization: pulumi.Bool(true),\n\t\t\t\tBalanceSimilarNodeGroups: pulumi.Bool(true),\n\t\t\t\tExpendablePodsPriorityCutoff: -5,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"pool\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: cluster.ID(),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(3),\n\t\t\tAutoscaling: pulumi.Bool(true),\n\t\t\tAutohealing: pulumi.Bool(true),\n\t\t\tMinSize: pulumi.Int(1),\n\t\t\tMaxSize: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.inputs.KubernetesClusterAutoscalerConfigArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var cluster = new KubernetesCluster(\"cluster\", KubernetesClusterArgs.builder()\n .description(\"cluster made in terraform\")\n .version(\"1.29.1\")\n .cni(\"calico\")\n .tags(\"terraform\")\n .privateNetworkId(pn.id())\n .deleteAdditionalResources(false)\n .autoscalerConfig(KubernetesClusterAutoscalerConfigArgs.builder()\n .disableScaleDown(false)\n .scaleDownDelayAfterAdd(\"5m\")\n .estimator(\"binpacking\")\n .expander(\"random\")\n .ignoreDaemonsetsUtilization(true)\n .balanceSimilarNodeGroups(true)\n .expendablePodsPriorityCutoff(\"TODO: GenUnaryOpExpression\")\n .build())\n .build());\n\n var pool = new KubernetesNodePool(\"pool\", KubernetesNodePoolArgs.builder()\n .clusterId(cluster.id())\n .nodeType(\"DEV1-M\")\n .size(3)\n .autoscaling(true)\n .autohealing(true)\n .minSize(1)\n .maxSize(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n cluster:\n type: scaleway:KubernetesCluster\n properties:\n description: cluster made in terraform\n version: 1.29.1\n cni: calico\n tags:\n - terraform\n privateNetworkId: ${pn.id}\n deleteAdditionalResources: false\n autoscalerConfig:\n disableScaleDown: false\n scaleDownDelayAfterAdd: 5m\n estimator: binpacking\n expander: random\n ignoreDaemonsetsUtilization: true\n balanceSimilarNodeGroups: true\n expendablePodsPriorityCutoff: -5\n pool:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${cluster.id}\n nodeType: DEV1-M\n size: 3\n autoscaling: true\n autohealing: true\n minSize: 1\n maxSize: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Deprecation of default_pool\n\n`default_pool` is deprecated in favour the `scaleway.KubernetesNodePool` resource. Here is a migration example.\n\nBefore:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n cluster:\n type: scaleway:KubernetesCluster\n properties:\n cni: cilium\n defaultPool:\n - nodeType: DEV1-M\n size: 1\n version: 1.18.0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nAfter:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst cluster = new scaleway.KubernetesCluster(\"cluster\", {\n version: \"1.18.0\",\n cni: \"cilium\",\n});\nconst _default = new scaleway.KubernetesNodePool(\"default\", {\n clusterId: scaleway_k8s_cluster.jack.id,\n nodeType: \"DEV1-M\",\n size: 1,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\ncluster = scaleway.KubernetesCluster(\"cluster\",\n version=\"1.18.0\",\n cni=\"cilium\")\ndefault = scaleway.KubernetesNodePool(\"default\",\n cluster_id=scaleway_k8s_cluster[\"jack\"][\"id\"],\n node_type=\"DEV1-M\",\n size=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cluster = new Scaleway.KubernetesCluster(\"cluster\", new()\n {\n Version = \"1.18.0\",\n Cni = \"cilium\",\n });\n\n var @default = new Scaleway.KubernetesNodePool(\"default\", new()\n {\n ClusterId = scaleway_k8s_cluster.Jack.Id,\n NodeType = \"DEV1-M\",\n Size = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewKubernetesCluster(ctx, \"cluster\", \u0026scaleway.KubernetesClusterArgs{\n\t\t\tVersion: pulumi.String(\"1.18.0\"),\n\t\t\tCni: pulumi.String(\"cilium\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewKubernetesNodePool(ctx, \"default\", \u0026scaleway.KubernetesNodePoolArgs{\n\t\t\tClusterId: pulumi.Any(scaleway_k8s_cluster.Jack.Id),\n\t\t\tNodeType: pulumi.String(\"DEV1-M\"),\n\t\t\tSize: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.KubernetesCluster;\nimport com.pulumi.scaleway.KubernetesClusterArgs;\nimport com.pulumi.scaleway.KubernetesNodePool;\nimport com.pulumi.scaleway.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cluster = new KubernetesCluster(\"cluster\", KubernetesClusterArgs.builder()\n .version(\"1.18.0\")\n .cni(\"cilium\")\n .build());\n\n var default_ = new KubernetesNodePool(\"default\", KubernetesNodePoolArgs.builder()\n .clusterId(scaleway_k8s_cluster.jack().id())\n .nodeType(\"DEV1-M\")\n .size(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cluster:\n type: scaleway:KubernetesCluster\n properties:\n version: 1.18.0\n cni: cilium\n default:\n type: scaleway:KubernetesNodePool\n properties:\n clusterId: ${scaleway_k8s_cluster.jack.id}\n nodeType: DEV1-M\n size: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nOnce you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:\n\n```bash\n$ terraform import scaleway_k8s_pool.default fr-par/11111111-1111-1111-1111-111111111111\n```\n\nThen you will only need to type `pulumi up` to have a smooth migration.\n\n## Import\n\nKubernetes clusters can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/kubernetesCluster:KubernetesCluster mycluster fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "admissionPlugins": { "type": "array", @@ -15610,27 +15588,27 @@ } }, "scaleway:index/loadbalancer:Loadbalancer": { - "description": "Creates and manages Scaleway Load-Balancers.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.LoadbalancerIp(\"main\", {zone: \"fr-par-1\"});\nconst base = new scaleway.Loadbalancer(\"base\", {\n ipIds: [main.id],\n zone: main.zone,\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.LoadbalancerIp(\"main\", zone=\"fr-par-1\")\nbase = scaleway.Loadbalancer(\"base\",\n ip_ids=[main.id],\n zone=main.zone,\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.LoadbalancerIp(\"main\", new()\n {\n Zone = \"fr-par-1\",\n });\n\n var @base = new Scaleway.Loadbalancer(\"base\", new()\n {\n IpIds = new[]\n {\n main.Id,\n },\n Zone = main.Zone,\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewLoadbalancerIp(ctx, \"main\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"base\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpIds: pulumi.StringArray{\n\t\t\t\tmain.ID(),\n\t\t\t},\n\t\t\tZone: main.Zone,\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new LoadbalancerIp(\"main\", LoadbalancerIpArgs.builder()\n .zone(\"fr-par-1\")\n .build());\n\n var base = new Loadbalancer(\"base\", LoadbalancerArgs.builder()\n .ipIds(main.id())\n .zone(main.zone())\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:LoadbalancerIp\n properties:\n zone: fr-par-1\n base:\n type: scaleway:Loadbalancer\n properties:\n ipIds:\n - ${main.id}\n zone: ${main.zone}\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private LB\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst base = new scaleway.Loadbalancer(\"base\", {\n assignFlexibleIp: false,\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbase = scaleway.Loadbalancer(\"base\",\n assign_flexible_ip=False,\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @base = new Scaleway.Loadbalancer(\"base\", new()\n {\n AssignFlexibleIp = false,\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancer(ctx, \"base\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tAssignFlexibleIp: pulumi.Bool(false),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var base = new Loadbalancer(\"base\", LoadbalancerArgs.builder()\n .assignFlexibleIp(false)\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n base:\n type: scaleway:Loadbalancer\n properties:\n assignFlexibleIp: false\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With IPv6\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst v4 = new scaleway.LoadbalancerIp(\"v4\", {});\nconst v6 = new scaleway.LoadbalancerIp(\"v6\", {isIpv6: true});\nconst main = new scaleway.Loadbalancer(\"main\", {\n ipIds: [\n v4.id,\n v6.id,\n ],\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nv4 = scaleway.LoadbalancerIp(\"v4\")\nv6 = scaleway.LoadbalancerIp(\"v6\", is_ipv6=True)\nmain = scaleway.Loadbalancer(\"main\",\n ip_ids=[\n v4.id,\n v6.id,\n ],\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var v4 = new Scaleway.LoadbalancerIp(\"v4\");\n\n var v6 = new Scaleway.LoadbalancerIp(\"v6\", new()\n {\n IsIpv6 = true,\n });\n\n var main = new Scaleway.Loadbalancer(\"main\", new()\n {\n IpIds = new[]\n {\n v4.Id,\n v6.Id,\n },\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tv4, err := scaleway.NewLoadbalancerIp(ctx, \"v4\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tv6, err := scaleway.NewLoadbalancerIp(ctx, \"v6\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"main\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpIds: pulumi.StringArray{\n\t\t\t\tv4.ID(),\n\t\t\t\tv6.ID(),\n\t\t\t},\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var v4 = new LoadbalancerIp(\"v4\");\n\n var v6 = new LoadbalancerIp(\"v6\", LoadbalancerIpArgs.builder()\n .isIpv6(true)\n .build());\n\n var main = new Loadbalancer(\"main\", LoadbalancerArgs.builder()\n .ipIds( \n v4.id(),\n v6.id())\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n v4:\n type: scaleway:LoadbalancerIp\n v6:\n type: scaleway:LoadbalancerIp\n properties:\n isIpv6: true\n main:\n type: scaleway:Loadbalancer\n properties:\n ipIds:\n - ${v4.id}\n - ${v6.id}\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Multiple configurations\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.inputs.InstanceServerPrivateNetworkArgs;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerPrivateNetworkArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## IP for Public Gateway\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n //## Scaleway Private Network\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n //## VPC Public Gateway Network\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n //## VPC Public Gateway Network DHCP config\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"10.0.0.0/24\")\n .build());\n\n //## VPC Gateway Network\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n //## Scaleway Instance\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .type(\"DEV1-S\")\n .image(\"debian_bullseye\")\n .enableIpv6(false)\n .privateNetworks(InstanceServerPrivateNetworkArgs.builder()\n .pnId(mainVpcPrivateNetwork.id())\n .build())\n .build());\n\n //## IP for LB IP\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n //## Scaleway Private Network\n var mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new VpcPrivateNetwork(\"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\");\n\n //## Scaleway Load Balancer\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .type(\"LB-S\")\n .privateNetworks( \n LoadbalancerPrivateNetworkArgs.builder()\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .staticConfig(\"172.16.0.100\")\n .build(),\n LoadbalancerPrivateNetworkArgs.builder()\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpConfig(true)\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(mainVpcPublicGateway)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ### IP for Public Gateway\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n ### Scaleway Private Network\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n ### VPC Public Gateway Network\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n ### VPC Public Gateway Network DHCP config\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 10.0.0.0/24\n ### VPC Gateway Network\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n ### Scaleway Instance\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n type: DEV1-S\n image: debian_bullseye\n enableIpv6: false\n privateNetworks:\n - pnId: ${mainVpcPrivateNetwork.id}\n ### IP for LB IP\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n ### Scaleway Private Network\n mainIndex/vpcPrivateNetworkVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n ### Scaleway Load Balancer\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n type: LB-S\n privateNetworks:\n - privateNetworkId: ${mainVpcPrivateNetwork.id}\n staticConfig:\n - 172.16.0.100\n - privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpConfig: true\n options:\n dependson:\n - ${mainVpcPublicGateway}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Migration\n\nIn order to migrate to other types you can check the migration up or down via our CLI `scw lb lb-types list`.\nthis change will not recreate your Load Balancer.\n\nPlease check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details\n\n## IP ID\n\nSince v1.15.0, `ip_id` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required.\nWhen importing, the IP needs to be imported as well as the LB.\nWhen upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it.\n\nFor instance, if you had the following:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.Loadbalancer(\"main\", {\n type: \"LB-S\",\n zone: \"fr-par-1\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.Loadbalancer(\"main\",\n type=\"LB-S\",\n zone=\"fr-par-1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.Loadbalancer(\"main\", new()\n {\n Type = \"LB-S\",\n Zone = \"fr-par-1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancer(ctx, \"main\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new Loadbalancer(\"main\", LoadbalancerArgs.builder()\n .type(\"LB-S\")\n .zone(\"fr-par-1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:Loadbalancer\n properties:\n type: LB-S\n zone: fr-par-1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou will need to update it to:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainLoadbalancerIp = new scaleway.LoadbalancerIp(\"mainLoadbalancerIp\", {});\nconst mainLoadbalancer = new scaleway.Loadbalancer(\"mainLoadbalancer\", {\n ipId: mainLoadbalancerIp.id,\n zone: \"fr-par-1\",\n type: \"LB-S\",\n releaseIp: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_loadbalancer_ip = scaleway.LoadbalancerIp(\"mainLoadbalancerIp\")\nmain_loadbalancer = scaleway.Loadbalancer(\"mainLoadbalancer\",\n ip_id=main_loadbalancer_ip.id,\n zone=\"fr-par-1\",\n type=\"LB-S\",\n release_ip=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainLoadbalancerIp = new Scaleway.LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Scaleway.Loadbalancer(\"mainLoadbalancer\", new()\n {\n IpId = mainLoadbalancerIp.Id,\n Zone = \"fr-par-1\",\n Type = \"LB-S\",\n ReleaseIp = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, \"mainLoadbalancerIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"mainLoadbalancer\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: mainLoadbalancerIp.ID(),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t\tReleaseIp: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .zone(\"fr-par-1\")\n .type(\"LB-S\")\n .releaseIp(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n zone: fr-par-1\n type: LB-S\n releaseIp: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Private Network with static config\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .type(\"LB-S\")\n .releaseIp(false)\n .privateNetworks(LoadbalancerPrivateNetworkArgs.builder()\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .staticConfig(\"172.16.0.100\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n type: LB-S\n releaseIp: false\n privateNetworks:\n - privateNetworkId: ${mainVpcPrivateNetwork.id}\n staticConfig:\n - 172.16.0.100\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad-Balancer can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancer:Loadbalancer main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\nBe aware that you will also need to import the `scaleway_lb_ip` resource.\n\n", + "description": "Creates and manages Scaleway Load Balancers.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.LoadbalancerIp(\"main\", {zone: \"fr-par-1\"});\nconst base = new scaleway.Loadbalancer(\"base\", {\n ipIds: [main.id],\n zone: main.zone,\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.LoadbalancerIp(\"main\", zone=\"fr-par-1\")\nbase = scaleway.Loadbalancer(\"base\",\n ip_ids=[main.id],\n zone=main.zone,\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.LoadbalancerIp(\"main\", new()\n {\n Zone = \"fr-par-1\",\n });\n\n var @base = new Scaleway.Loadbalancer(\"base\", new()\n {\n IpIds = new[]\n {\n main.Id,\n },\n Zone = main.Zone,\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewLoadbalancerIp(ctx, \"main\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"base\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpIds: pulumi.StringArray{\n\t\t\t\tmain.ID(),\n\t\t\t},\n\t\t\tZone: main.Zone,\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new LoadbalancerIp(\"main\", LoadbalancerIpArgs.builder()\n .zone(\"fr-par-1\")\n .build());\n\n var base = new Loadbalancer(\"base\", LoadbalancerArgs.builder()\n .ipIds(main.id())\n .zone(main.zone())\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:LoadbalancerIp\n properties:\n zone: fr-par-1\n base:\n type: scaleway:Loadbalancer\n properties:\n ipIds:\n - ${main.id}\n zone: ${main.zone}\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Private LB\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst base = new scaleway.Loadbalancer(\"base\", {\n assignFlexibleIp: false,\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbase = scaleway.Loadbalancer(\"base\",\n assign_flexible_ip=False,\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @base = new Scaleway.Loadbalancer(\"base\", new()\n {\n AssignFlexibleIp = false,\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancer(ctx, \"base\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tAssignFlexibleIp: pulumi.Bool(false),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var base = new Loadbalancer(\"base\", LoadbalancerArgs.builder()\n .assignFlexibleIp(false)\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n base:\n type: scaleway:Loadbalancer\n properties:\n assignFlexibleIp: false\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With IPv6\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst v4 = new scaleway.LoadbalancerIp(\"v4\", {});\nconst v6 = new scaleway.LoadbalancerIp(\"v6\", {isIpv6: true});\nconst main = new scaleway.Loadbalancer(\"main\", {\n ipIds: [\n v4.id,\n v6.id,\n ],\n type: \"LB-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nv4 = scaleway.LoadbalancerIp(\"v4\")\nv6 = scaleway.LoadbalancerIp(\"v6\", is_ipv6=True)\nmain = scaleway.Loadbalancer(\"main\",\n ip_ids=[\n v4.id,\n v6.id,\n ],\n type=\"LB-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var v4 = new Scaleway.LoadbalancerIp(\"v4\");\n\n var v6 = new Scaleway.LoadbalancerIp(\"v6\", new()\n {\n IsIpv6 = true,\n });\n\n var main = new Scaleway.Loadbalancer(\"main\", new()\n {\n IpIds = new[]\n {\n v4.Id,\n v6.Id,\n },\n Type = \"LB-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tv4, err := scaleway.NewLoadbalancerIp(ctx, \"v4\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tv6, err := scaleway.NewLoadbalancerIp(ctx, \"v6\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"main\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpIds: pulumi.StringArray{\n\t\t\t\tv4.ID(),\n\t\t\t\tv6.ID(),\n\t\t\t},\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var v4 = new LoadbalancerIp(\"v4\");\n\n var v6 = new LoadbalancerIp(\"v6\", LoadbalancerIpArgs.builder()\n .isIpv6(true)\n .build());\n\n var main = new Loadbalancer(\"main\", LoadbalancerArgs.builder()\n .ipIds( \n v4.id(),\n v6.id())\n .type(\"LB-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n v4:\n type: scaleway:LoadbalancerIp\n v6:\n type: scaleway:LoadbalancerIp\n properties:\n isIpv6: true\n main:\n type: scaleway:Loadbalancer\n properties:\n ipIds:\n - ${v4.id}\n - ${v6.id}\n type: LB-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Multiple configurations\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n//## IP for Public Gateway\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\n//## Scaleway Private Network\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\n//## VPC Public Gateway Network\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\n//## VPC Public Gateway Network DHCP config\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"10.0.0.0/24\"});\n//## VPC Gateway Network\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\n//## Scaleway Instance\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n type: \"DEV1-S\",\n image: \"debian_bullseye\",\n enableIpv6: false,\n privateNetworks: [{\n pnId: mainVpcPrivateNetwork.id,\n }],\n});\n//## IP for LB IP\nconst mainLoadbalancerIp = new scaleway.LoadbalancerIp(\"mainLoadbalancerIp\", {});\n//## Scaleway Private Network\nconst mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\", {});\n//## Scaleway Load Balancer\nconst mainLoadbalancer = new scaleway.Loadbalancer(\"mainLoadbalancer\", {\n ipId: mainLoadbalancerIp.id,\n type: \"LB-S\",\n privateNetworks: [{\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpConfig: true,\n }],\n}, {\n dependsOn: [mainVpcPublicGateway],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\n### IP for Public Gateway\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\n### Scaleway Private Network\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\n### VPC Public Gateway Network\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\n### VPC Public Gateway Network DHCP config\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"10.0.0.0/24\")\n### VPC Gateway Network\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\n### Scaleway Instance\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n type=\"DEV1-S\",\n image=\"debian_bullseye\",\n enable_ipv6=False,\n private_networks=[scaleway.InstanceServerPrivateNetworkArgs(\n pn_id=main_vpc_private_network.id,\n )])\n### IP for LB IP\nmain_loadbalancer_ip = scaleway.LoadbalancerIp(\"mainLoadbalancerIp\")\n### Scaleway Private Network\nmain_index_vpc_private_network_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\")\n### Scaleway Load Balancer\nmain_loadbalancer = scaleway.Loadbalancer(\"mainLoadbalancer\",\n ip_id=main_loadbalancer_ip.id,\n type=\"LB-S\",\n private_networks=[scaleway.LoadbalancerPrivateNetworkArgs(\n private_network_id=main_vpc_private_network.id,\n dhcp_config=True,\n )],\n opts=pulumi.ResourceOptions(depends_on=[main_vpc_public_gateway]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## IP for Public Gateway\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n //## Scaleway Private Network\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n //## VPC Public Gateway Network\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n //## VPC Public Gateway Network DHCP config\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"10.0.0.0/24\",\n });\n\n //## VPC Gateway Network\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n //## Scaleway Instance\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Type = \"DEV1-S\",\n Image = \"debian_bullseye\",\n EnableIpv6 = false,\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.InstanceServerPrivateNetworkArgs\n {\n PnId = mainVpcPrivateNetwork.Id,\n },\n },\n });\n\n //## IP for LB IP\n var mainLoadbalancerIp = new Scaleway.LoadbalancerIp(\"mainLoadbalancerIp\");\n\n //## Scaleway Private Network\n var mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\");\n\n //## Scaleway Load Balancer\n var mainLoadbalancer = new Scaleway.Loadbalancer(\"mainLoadbalancer\", new()\n {\n IpId = mainLoadbalancerIp.Id,\n Type = \"LB-S\",\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.LoadbalancerPrivateNetworkArgs\n {\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpConfig = true,\n },\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n mainVpcPublicGateway,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// ## IP for Public Gateway\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## Scaleway Private Network\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## VPC Public Gateway Network\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## VPC Public Gateway Network DHCP config\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"10.0.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## VPC Gateway Network\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## Scaleway Instance\n\t\t_, err = scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tImage: pulumi.String(\"debian_bullseye\"),\n\t\t\tEnableIpv6: pulumi.Bool(false),\n\t\t\tPrivateNetworks: scaleway.InstanceServerPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.InstanceServerPrivateNetworkArgs{\n\t\t\t\t\tPnId: mainVpcPrivateNetwork.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## IP for LB IP\n\t\tmainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, \"mainLoadbalancerIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## Scaleway Private Network\n\t\t_, err = scaleway.NewVpcPrivateNetwork(ctx, \"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## Scaleway Load Balancer\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"mainLoadbalancer\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: mainLoadbalancerIp.ID(),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t\tPrivateNetworks: scaleway.LoadbalancerPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.LoadbalancerPrivateNetworkArgs{\n\t\t\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\t\t\tDhcpConfig: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmainVpcPublicGateway,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.inputs.InstanceServerPrivateNetworkArgs;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerPrivateNetworkArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## IP for Public Gateway\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n //## Scaleway Private Network\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n //## VPC Public Gateway Network\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n //## VPC Public Gateway Network DHCP config\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"10.0.0.0/24\")\n .build());\n\n //## VPC Gateway Network\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n //## Scaleway Instance\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .type(\"DEV1-S\")\n .image(\"debian_bullseye\")\n .enableIpv6(false)\n .privateNetworks(InstanceServerPrivateNetworkArgs.builder()\n .pnId(mainVpcPrivateNetwork.id())\n .build())\n .build());\n\n //## IP for LB IP\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n //## Scaleway Private Network\n var mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new VpcPrivateNetwork(\"mainIndex/vpcPrivateNetworkVpcPrivateNetwork\");\n\n //## Scaleway Load Balancer\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .type(\"LB-S\")\n .privateNetworks(LoadbalancerPrivateNetworkArgs.builder()\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpConfig(true)\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(mainVpcPublicGateway)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ### IP for Public Gateway\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n ### Scaleway Private Network\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n ### VPC Public Gateway Network\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n ### VPC Public Gateway Network DHCP config\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 10.0.0.0/24\n ### VPC Gateway Network\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n ### Scaleway Instance\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n type: DEV1-S\n image: debian_bullseye\n enableIpv6: false\n privateNetworks:\n - pnId: ${mainVpcPrivateNetwork.id}\n ### IP for LB IP\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n ### Scaleway Private Network\n mainIndex/vpcPrivateNetworkVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n ### Scaleway Load Balancer\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n type: LB-S\n privateNetworks:\n - privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpConfig: true\n options:\n dependson:\n - ${mainVpcPublicGateway}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Migration\n\nIn order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`.\nThis change will not recreate your Load Balancer.\n\nPlease check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details\n\n## IP ID\n\nSince v1.15.0, `ip_id` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required.\nWhen importing, the IP needs to be imported as well as the Load Balancer.\nWhen upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it.\n\nFor instance, if you had the following:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.Loadbalancer(\"main\", {\n type: \"LB-S\",\n zone: \"fr-par-1\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.Loadbalancer(\"main\",\n type=\"LB-S\",\n zone=\"fr-par-1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.Loadbalancer(\"main\", new()\n {\n Type = \"LB-S\",\n Zone = \"fr-par-1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancer(ctx, \"main\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new Loadbalancer(\"main\", LoadbalancerArgs.builder()\n .type(\"LB-S\")\n .zone(\"fr-par-1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:Loadbalancer\n properties:\n type: LB-S\n zone: fr-par-1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou will need to update it to:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainLoadbalancerIp = new scaleway.LoadbalancerIp(\"mainLoadbalancerIp\", {});\nconst mainLoadbalancer = new scaleway.Loadbalancer(\"mainLoadbalancer\", {\n ipId: mainLoadbalancerIp.id,\n zone: \"fr-par-1\",\n type: \"LB-S\",\n releaseIp: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_loadbalancer_ip = scaleway.LoadbalancerIp(\"mainLoadbalancerIp\")\nmain_loadbalancer = scaleway.Loadbalancer(\"mainLoadbalancer\",\n ip_id=main_loadbalancer_ip.id,\n zone=\"fr-par-1\",\n type=\"LB-S\",\n release_ip=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainLoadbalancerIp = new Scaleway.LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Scaleway.Loadbalancer(\"mainLoadbalancer\", new()\n {\n IpId = mainLoadbalancerIp.Id,\n Zone = \"fr-par-1\",\n Type = \"LB-S\",\n ReleaseIp = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, \"mainLoadbalancerIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancer(ctx, \"mainLoadbalancer\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: mainLoadbalancerIp.ID(),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t\tReleaseIp: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .zone(\"fr-par-1\")\n .type(\"LB-S\")\n .releaseIp(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n zone: fr-par-1\n type: LB-S\n releaseIp: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancers can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancer:Loadbalancer main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\nBe aware that you will also need to import the `scaleway_lb_ip` resource.\n\n", "properties": { "assignFlexibleIp": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IP to the load-balancer.\n" + "description": "Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.\n" }, "assignFlexibleIpv6": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IPv6 to the load-balancer.\n" + "description": "Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.\n" }, "description": { "type": "string", - "description": "The description of the load-balancer.\n" + "description": "The description of the Load Balancer.\n" }, "ipAddress": { "type": "string", - "description": "The load-balancer public IPv4 Address.\n" + "description": "The Load Balancer public IPv4 address.\n" }, "ipId": { "type": "string", - "description": "The ID of the associated LB IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the load-balancer.\n", + "description": "The ID of the associated Load Balancer IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the Load Balancer.\n", "deprecationMessage": "Please use ip_ids" }, "ipIds": { @@ -15642,15 +15620,15 @@ }, "ipv6Address": { "type": "string", - "description": "The load-balancer public IPv6 Address.\n" + "description": "The Load Balancer public IPv6 address.\n" }, "name": { "type": "string", - "description": "The name of the load-balancer.\n" + "description": "The name of the Load Balancer.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization ID the Load Balancer is associated with.\n" }, "privateNetworks": { "type": "array", @@ -15661,7 +15639,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the load-balancer is associated with.\n" + "description": "`project_id`) The ID of the Project the Load Balancer is associated with.\n" }, "region": { "type": "string", @@ -15669,7 +15647,7 @@ }, "releaseIp": { "type": "boolean", - "description": "The release_ip allow release the ip address associated with the load-balancers.\n", + "description": "The `release_ip` allow the release of the IP address associated with the Load Balancer.\n", "deprecationMessage": "The resource ip will be destroyed by it's own resource. Please set this to `false`" }, "sslCompatibilityLevel": { @@ -15681,15 +15659,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the load-balancers.\n" + "description": "The tags associated with the Load Balancer.\n" }, "type": { "type": "string", - "description": "The type of the load-balancer. Please check the migration section to upgrade the type.\n" + "description": "The type of the Load Balancer. Please check the migration section to upgrade the type.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone of the load-balancer.\n" + "description": "`zone`) The zone of the Load Balancer.\n" } }, "required": [ @@ -15707,20 +15685,20 @@ "inputProperties": { "assignFlexibleIp": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IP to the load-balancer.\n", + "description": "Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.\n", "willReplaceOnChanges": true }, "assignFlexibleIpv6": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IPv6 to the load-balancer.\n" + "description": "Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.\n" }, "description": { "type": "string", - "description": "The description of the load-balancer.\n" + "description": "The description of the Load Balancer.\n" }, "ipId": { "type": "string", - "description": "The ID of the associated LB IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the load-balancer.\n", + "description": "The ID of the associated Load Balancer IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the Load Balancer.\n", "deprecationMessage": "Please use ip_ids" }, "ipIds": { @@ -15732,7 +15710,7 @@ }, "name": { "type": "string", - "description": "The name of the load-balancer.\n" + "description": "The name of the Load Balancer.\n" }, "privateNetworks": { "type": "array", @@ -15743,12 +15721,12 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the load-balancer is associated with.\n", + "description": "`project_id`) The ID of the Project the Load Balancer is associated with.\n", "willReplaceOnChanges": true }, "releaseIp": { "type": "boolean", - "description": "The release_ip allow release the ip address associated with the load-balancers.\n", + "description": "The `release_ip` allow the release of the IP address associated with the Load Balancer.\n", "deprecationMessage": "The resource ip will be destroyed by it's own resource. Please set this to `false`" }, "sslCompatibilityLevel": { @@ -15760,15 +15738,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the load-balancers.\n" + "description": "The tags associated with the Load Balancer.\n" }, "type": { "type": "string", - "description": "The type of the load-balancer. Please check the migration section to upgrade the type.\n" + "description": "The type of the Load Balancer. Please check the migration section to upgrade the type.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone of the load-balancer.\n", + "description": "`zone`) The zone of the Load Balancer.\n", "willReplaceOnChanges": true } }, @@ -15780,24 +15758,24 @@ "properties": { "assignFlexibleIp": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IP to the load-balancer.\n", + "description": "Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.\n", "willReplaceOnChanges": true }, "assignFlexibleIpv6": { "type": "boolean", - "description": "Defines whether to automatically assign a flexible public IPv6 to the load-balancer.\n" + "description": "Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.\n" }, "description": { "type": "string", - "description": "The description of the load-balancer.\n" + "description": "The description of the Load Balancer.\n" }, "ipAddress": { "type": "string", - "description": "The load-balancer public IPv4 Address.\n" + "description": "The Load Balancer public IPv4 address.\n" }, "ipId": { "type": "string", - "description": "The ID of the associated LB IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the load-balancer.\n", + "description": "The ID of the associated Load Balancer IP. See below.\n\n\u003e **Important:** Updates to `ip_id` will recreate the Load Balancer.\n", "deprecationMessage": "Please use ip_ids" }, "ipIds": { @@ -15809,15 +15787,15 @@ }, "ipv6Address": { "type": "string", - "description": "The load-balancer public IPv6 Address.\n" + "description": "The Load Balancer public IPv6 address.\n" }, "name": { "type": "string", - "description": "The name of the load-balancer.\n" + "description": "The name of the Load Balancer.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization ID the Load Balancer is associated with.\n" }, "privateNetworks": { "type": "array", @@ -15828,7 +15806,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the load-balancer is associated with.\n", + "description": "`project_id`) The ID of the Project the Load Balancer is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -15837,7 +15815,7 @@ }, "releaseIp": { "type": "boolean", - "description": "The release_ip allow release the ip address associated with the load-balancers.\n", + "description": "The `release_ip` allow the release of the IP address associated with the Load Balancer.\n", "deprecationMessage": "The resource ip will be destroyed by it's own resource. Please set this to `false`" }, "sslCompatibilityLevel": { @@ -15849,15 +15827,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the load-balancers.\n" + "description": "The tags associated with the Load Balancer.\n" }, "type": { "type": "string", - "description": "The type of the load-balancer. Please check the migration section to upgrade the type.\n" + "description": "The type of the Load Balancer. Please check the migration section to upgrade the type.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone of the load-balancer.\n", + "description": "`zone`) The zone of the Load Balancer.\n", "willReplaceOnChanges": true } }, @@ -15865,7 +15843,7 @@ } }, "scaleway:index/loadbalancerAcl:LoadbalancerAcl": { - "description": "Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst acl01 = new scaleway.LoadbalancerAcl(\"acl01\", {\n frontendId: scaleway_lb_frontend.frt01.id,\n description: \"Exclude well-known IPs\",\n index: 0,\n action: {\n type: \"allow\",\n },\n match: {\n ipSubnets: [\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nacl01 = scaleway.LoadbalancerAcl(\"acl01\",\n frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"],\n description=\"Exclude well-known IPs\",\n index=0,\n action=scaleway.LoadbalancerAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerAclMatchArgs(\n ip_subnets=[\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var acl01 = new Scaleway.LoadbalancerAcl(\"acl01\", new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n Description = \"Exclude well-known IPs\",\n Index = 0,\n Action = new Scaleway.Inputs.LoadbalancerAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerAcl(ctx, \"acl01\", \u0026scaleway.LoadbalancerAclArgs{\n\t\t\tFrontendId: pulumi.Any(scaleway_lb_frontend.Frt01.Id),\n\t\t\tDescription: pulumi.String(\"Exclude well-known IPs\"),\n\t\t\tIndex: pulumi.Int(0),\n\t\t\tAction: \u0026scaleway.LoadbalancerAclActionArgs{\n\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t},\n\t\t\tMatch: \u0026scaleway.LoadbalancerAclMatchArgs{\n\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"192.168.0.1\"),\n\t\t\t\t\tpulumi.String(\"192.168.0.2\"),\n\t\t\t\t\tpulumi.String(\"192.168.10.0/24\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerAcl;\nimport com.pulumi.scaleway.LoadbalancerAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var acl01 = new LoadbalancerAcl(\"acl01\", LoadbalancerAclArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .description(\"Exclude well-known IPs\")\n .index(0)\n .action(LoadbalancerAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n acl01:\n type: scaleway:LoadbalancerAcl\n properties:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n description: Exclude well-known IPs\n index: 0\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad-Balancer ACL can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerAcl:LoadbalancerAcl acl01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Load Balancer ACLs.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst acl01 = new scaleway.LoadbalancerAcl(\"acl01\", {\n frontendId: scaleway_lb_frontend.frt01.id,\n description: \"Exclude well-known IPs\",\n index: 0,\n action: {\n type: \"allow\",\n },\n match: {\n ipSubnets: [\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nacl01 = scaleway.LoadbalancerAcl(\"acl01\",\n frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"],\n description=\"Exclude well-known IPs\",\n index=0,\n action=scaleway.LoadbalancerAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerAclMatchArgs(\n ip_subnets=[\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var acl01 = new Scaleway.LoadbalancerAcl(\"acl01\", new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n Description = \"Exclude well-known IPs\",\n Index = 0,\n Action = new Scaleway.Inputs.LoadbalancerAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerAcl(ctx, \"acl01\", \u0026scaleway.LoadbalancerAclArgs{\n\t\t\tFrontendId: pulumi.Any(scaleway_lb_frontend.Frt01.Id),\n\t\t\tDescription: pulumi.String(\"Exclude well-known IPs\"),\n\t\t\tIndex: pulumi.Int(0),\n\t\t\tAction: \u0026scaleway.LoadbalancerAclActionArgs{\n\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t},\n\t\t\tMatch: \u0026scaleway.LoadbalancerAclMatchArgs{\n\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"192.168.0.1\"),\n\t\t\t\t\tpulumi.String(\"192.168.0.2\"),\n\t\t\t\t\tpulumi.String(\"192.168.10.0/24\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerAcl;\nimport com.pulumi.scaleway.LoadbalancerAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var acl01 = new LoadbalancerAcl(\"acl01\", LoadbalancerAclArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .description(\"Exclude well-known IPs\")\n .index(0)\n .action(LoadbalancerAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n acl01:\n type: scaleway:LoadbalancerAcl\n properties:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n description: Exclude well-known IPs\n index: 0\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancer ACLs can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerAcl:LoadbalancerAcl acl01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "action": { "$ref": "#/types/scaleway:index/LoadbalancerAclAction:LoadbalancerAclAction", @@ -15881,11 +15859,11 @@ }, "frontendId": { "type": "string", - "description": "The load-balancer Frontend ID to attach the ACL to.\n" + "description": "The ID of the Load Balancer frontend to attach the ACL to.\n" }, "index": { "type": "integer", - "description": "The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" + "description": "The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" }, "match": { "$ref": "#/types/scaleway:index/LoadbalancerAclMatch:LoadbalancerAclMatch", @@ -15919,12 +15897,12 @@ }, "frontendId": { "type": "string", - "description": "The load-balancer Frontend ID to attach the ACL to.\n", + "description": "The ID of the Load Balancer frontend to attach the ACL to.\n", "willReplaceOnChanges": true }, "index": { "type": "integer", - "description": "The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" + "description": "The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" }, "match": { "$ref": "#/types/scaleway:index/LoadbalancerAclMatch:LoadbalancerAclMatch", @@ -15957,12 +15935,12 @@ }, "frontendId": { "type": "string", - "description": "The load-balancer Frontend ID to attach the ACL to.\n", + "description": "The ID of the Load Balancer frontend to attach the ACL to.\n", "willReplaceOnChanges": true }, "index": { "type": "integer", - "description": "The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" + "description": "The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).\n" }, "match": { "$ref": "#/types/scaleway:index/LoadbalancerAclMatch:LoadbalancerAclMatch", @@ -15981,7 +15959,7 @@ } }, "scaleway:index/loadbalancerBackend:LoadbalancerBackend": { - "description": "Creates and manages Scaleway Load-Balancer Backends.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst backend01 = new scaleway.LoadbalancerBackend(\"backend01\", {\n lbId: scaleway_lb.lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbackend01 = scaleway.LoadbalancerBackend(\"backend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n forward_protocol=\"http\",\n forward_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var backend01 = new Scaleway.LoadbalancerBackend(\"backend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerBackend(ctx, \"backend01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var backend01 = new LoadbalancerBackend(\"backend01\", LoadbalancerBackendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n backend01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n forwardProtocol: http\n forwardPort: '80'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With HTTP Health Check\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst backend01 = new scaleway.LoadbalancerBackend(\"backend01\", {\n lbId: scaleway_lb.lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n healthCheckHttp: {\n uri: \"www.test.com/health\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbackend01 = scaleway.LoadbalancerBackend(\"backend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n forward_protocol=\"http\",\n forward_port=80,\n health_check_http=scaleway.LoadbalancerBackendHealthCheckHttpArgs(\n uri=\"www.test.com/health\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var backend01 = new Scaleway.LoadbalancerBackend(\"backend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n HealthCheckHttp = new Scaleway.Inputs.LoadbalancerBackendHealthCheckHttpArgs\n {\n Uri = \"www.test.com/health\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerBackend(ctx, \"backend01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tHealthCheckHttp: \u0026scaleway.LoadbalancerBackendHealthCheckHttpArgs{\n\t\t\t\tUri: pulumi.String(\"www.test.com/health\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerBackendHealthCheckHttpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var backend01 = new LoadbalancerBackend(\"backend01\", LoadbalancerBackendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .healthCheckHttp(LoadbalancerBackendHealthCheckHttpArgs.builder()\n .uri(\"www.test.com/health\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n backend01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n forwardProtocol: http\n forwardPort: '80'\n healthCheckHttp:\n uri: www.test.com/health\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad-Balancer backend can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerBackend:LoadbalancerBackend backend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Load Balancer backends.\n\nor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst backend01 = new scaleway.LoadbalancerBackend(\"backend01\", {\n lbId: scaleway_lb.lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbackend01 = scaleway.LoadbalancerBackend(\"backend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n forward_protocol=\"http\",\n forward_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var backend01 = new Scaleway.LoadbalancerBackend(\"backend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerBackend(ctx, \"backend01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var backend01 = new LoadbalancerBackend(\"backend01\", LoadbalancerBackendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n backend01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n forwardProtocol: http\n forwardPort: '80'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With HTTP Health Check\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst backend01 = new scaleway.LoadbalancerBackend(\"backend01\", {\n lbId: scaleway_lb.lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n healthCheckHttp: {\n uri: \"www.test.com/health\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nbackend01 = scaleway.LoadbalancerBackend(\"backend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n forward_protocol=\"http\",\n forward_port=80,\n health_check_http=scaleway.LoadbalancerBackendHealthCheckHttpArgs(\n uri=\"www.test.com/health\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var backend01 = new Scaleway.LoadbalancerBackend(\"backend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n HealthCheckHttp = new Scaleway.Inputs.LoadbalancerBackendHealthCheckHttpArgs\n {\n Uri = \"www.test.com/health\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerBackend(ctx, \"backend01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tHealthCheckHttp: \u0026scaleway.LoadbalancerBackendHealthCheckHttpArgs{\n\t\t\t\tUri: pulumi.String(\"www.test.com/health\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerBackendHealthCheckHttpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var backend01 = new LoadbalancerBackend(\"backend01\", LoadbalancerBackendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .healthCheckHttp(LoadbalancerBackendHealthCheckHttpArgs.builder()\n .uri(\"www.test.com/health\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n backend01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n forwardProtocol: http\n forwardPort: '80'\n healthCheckHttp:\n uri: www.test.com/health\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancer backends can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerBackend:LoadbalancerBackend backend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "failoverHost": { "type": "string", @@ -16506,22 +16484,22 @@ } }, "scaleway:index/loadbalancerFrontend:LoadbalancerFrontend": { - "description": "Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## With ACLs\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n acls: [\n {\n name: \"blacklist wellknwon IPs\",\n action: {\n type: \"allow\",\n },\n match: {\n ipSubnets: [\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n },\n },\n {\n action: {\n type: \"deny\",\n },\n match: {\n ipSubnets: [\"51.51.51.51\"],\n httpFilter: \"regex\",\n httpFilterValues: [\"^foo*bar$\"],\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"path_begin\",\n httpFilterValues: [\n \"foo\",\n \"bar\",\n ],\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"path_begin\",\n httpFilterValues: [\"hi\"],\n invert: true,\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"http_header_match\",\n httpFilterValues: \"foo\",\n httpFilterOption: \"bar\",\n },\n },\n {\n action: {\n type: \"redirect\",\n redirects: [{\n type: \"location\",\n target: \"https://example.com\",\n code: 307,\n }],\n },\n match: {\n ipSubnets: [\"10.0.0.10\"],\n httpFilter: \"path_begin\",\n httpFilterValues: [\n \"foo\",\n \"bar\",\n ],\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80,\n acls=[\n scaleway.LoadbalancerFrontendAclArgs(\n name=\"blacklist wellknwon IPs\",\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"deny\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\"51.51.51.51\"],\n http_filter=\"regex\",\n http_filter_values=[\"^foo*bar$\"],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"path_begin\",\n http_filter_values=[\n \"foo\",\n \"bar\",\n ],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"path_begin\",\n http_filter_values=[\"hi\"],\n invert=True,\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"http_header_match\",\n http_filter_values=\"foo\",\n http_filter_option=\"bar\",\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"redirect\",\n redirects=[scaleway.LoadbalancerFrontendAclActionRedirectArgs(\n type=\"location\",\n target=\"https://example.com\",\n code=307,\n )],\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\"10.0.0.10\"],\n http_filter=\"path_begin\",\n http_filter_values=[\n \"foo\",\n \"bar\",\n ],\n ),\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n Acls = new[]\n {\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Name = \"blacklist wellknwon IPs\",\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"deny\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"51.51.51.51\",\n },\n HttpFilter = \"regex\",\n HttpFilterValues = new[]\n {\n \"^foo*bar$\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"foo\",\n \"bar\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"hi\",\n },\n Invert = true,\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"http_header_match\",\n HttpFilterValues = \"foo\",\n HttpFilterOption = \"bar\",\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"redirect\",\n Redirects = new[]\n {\n new Scaleway.Inputs.LoadbalancerFrontendAclActionRedirectArgs\n {\n Type = \"location\",\n Target = \"https://example.com\",\n Code = 307,\n },\n },\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"10.0.0.10\",\n },\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"foo\",\n \"bar\",\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t\tAcls: scaleway.LoadbalancerFrontendAclArray{\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tName: pulumi.String(\"blacklist wellknwon IPs\"),\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"192.168.0.1\"),\n\t\t\t\t\t\t\tpulumi.String(\"192.168.0.2\"),\n\t\t\t\t\t\t\tpulumi.String(\"192.168.10.0/24\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"deny\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"51.51.51.51\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"regex\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"^foo*bar$\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\t\t\t\tpulumi.String(\"bar\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"hi\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInvert: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"http_header_match\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray(\"foo\"),\n\t\t\t\t\t\tHttpFilterOption: pulumi.String(\"bar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t\t\t\tRedirects: scaleway.LoadbalancerFrontendAclActionRedirectArray{\n\t\t\t\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclActionRedirectArgs{\n\t\t\t\t\t\t\t\tType: pulumi.String(\"location\"),\n\t\t\t\t\t\t\t\tTarget: pulumi.String(\"https://example.com\"),\n\t\t\t\t\t\t\t\tCode: pulumi.Int(307),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"10.0.0.10\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\t\t\t\tpulumi.String(\"bar\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .acls( \n LoadbalancerFrontendAclArgs.builder()\n .name(\"blacklist wellknwon IPs\")\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"deny\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"51.51.51.51\")\n .httpFilter(\"regex\")\n .httpFilterValues(\"^foo*bar$\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues(\"hi\")\n .invert(\"true\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"http_header_match\")\n .httpFilterValues(\"foo\")\n .httpFilterOption(\"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"redirect\")\n .redirects(LoadbalancerFrontendAclActionRedirectArgs.builder()\n .type(\"location\")\n .target(\"https://example.com\")\n .code(307)\n .build())\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"10.0.0.10\")\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24\n acls:\n - name: blacklist wellknwon IPs\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n - action:\n type: deny\n match:\n ipSubnets:\n - 51.51.51.51\n httpFilter: regex\n httpFilterValues:\n - ^foo*bar$\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - hi\n invert: 'true'\n - action:\n type: allow\n match:\n httpFilter: http_header_match\n httpFilterValues: foo\n httpFilterOption: bar\n - action:\n type: redirect\n redirects:\n - type: location\n target: https://example.com\n code: 307\n match:\n ipSubnets:\n - 10.0.0.10\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad-Balancer frontend can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerFrontend:LoadbalancerFrontend frontend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Load Balancer frontends.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## With ACLs\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n acls: [\n {\n name: \"blacklist wellknwon IPs\",\n action: {\n type: \"allow\",\n },\n match: {\n ipSubnets: [\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n },\n },\n {\n action: {\n type: \"deny\",\n },\n match: {\n ipSubnets: [\"51.51.51.51\"],\n httpFilter: \"regex\",\n httpFilterValues: [\"^foo*bar$\"],\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"path_begin\",\n httpFilterValues: [\n \"foo\",\n \"bar\",\n ],\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"path_begin\",\n httpFilterValues: [\"hi\"],\n invert: true,\n },\n },\n {\n action: {\n type: \"allow\",\n },\n match: {\n httpFilter: \"http_header_match\",\n httpFilterValues: \"foo\",\n httpFilterOption: \"bar\",\n },\n },\n {\n action: {\n type: \"redirect\",\n redirects: [{\n type: \"location\",\n target: \"https://example.com\",\n code: 307,\n }],\n },\n match: {\n ipSubnets: [\"10.0.0.10\"],\n httpFilter: \"path_begin\",\n httpFilterValues: [\n \"foo\",\n \"bar\",\n ],\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80,\n acls=[\n scaleway.LoadbalancerFrontendAclArgs(\n name=\"blacklist wellknwon IPs\",\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n ],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"deny\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\"51.51.51.51\"],\n http_filter=\"regex\",\n http_filter_values=[\"^foo*bar$\"],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"path_begin\",\n http_filter_values=[\n \"foo\",\n \"bar\",\n ],\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"path_begin\",\n http_filter_values=[\"hi\"],\n invert=True,\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"allow\",\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n http_filter=\"http_header_match\",\n http_filter_values=\"foo\",\n http_filter_option=\"bar\",\n ),\n ),\n scaleway.LoadbalancerFrontendAclArgs(\n action=scaleway.LoadbalancerFrontendAclActionArgs(\n type=\"redirect\",\n redirects=[scaleway.LoadbalancerFrontendAclActionRedirectArgs(\n type=\"location\",\n target=\"https://example.com\",\n code=307,\n )],\n ),\n match=scaleway.LoadbalancerFrontendAclMatchArgs(\n ip_subnets=[\"10.0.0.10\"],\n http_filter=\"path_begin\",\n http_filter_values=[\n \"foo\",\n \"bar\",\n ],\n ),\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n Acls = new[]\n {\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Name = \"blacklist wellknwon IPs\",\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"deny\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"51.51.51.51\",\n },\n HttpFilter = \"regex\",\n HttpFilterValues = new[]\n {\n \"^foo*bar$\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"foo\",\n \"bar\",\n },\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"hi\",\n },\n Invert = true,\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"allow\",\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n HttpFilter = \"http_header_match\",\n HttpFilterValues = \"foo\",\n HttpFilterOption = \"bar\",\n },\n },\n new Scaleway.Inputs.LoadbalancerFrontendAclArgs\n {\n Action = new Scaleway.Inputs.LoadbalancerFrontendAclActionArgs\n {\n Type = \"redirect\",\n Redirects = new[]\n {\n new Scaleway.Inputs.LoadbalancerFrontendAclActionRedirectArgs\n {\n Type = \"location\",\n Target = \"https://example.com\",\n Code = 307,\n },\n },\n },\n Match = new Scaleway.Inputs.LoadbalancerFrontendAclMatchArgs\n {\n IpSubnets = new[]\n {\n \"10.0.0.10\",\n },\n HttpFilter = \"path_begin\",\n HttpFilterValues = new[]\n {\n \"foo\",\n \"bar\",\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t\tAcls: scaleway.LoadbalancerFrontendAclArray{\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tName: pulumi.String(\"blacklist wellknwon IPs\"),\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"192.168.0.1\"),\n\t\t\t\t\t\t\tpulumi.String(\"192.168.0.2\"),\n\t\t\t\t\t\t\tpulumi.String(\"192.168.10.0/24\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"deny\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"51.51.51.51\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"regex\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"^foo*bar$\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\t\t\t\tpulumi.String(\"bar\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"hi\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInvert: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"allow\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"http_header_match\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray(\"foo\"),\n\t\t\t\t\t\tHttpFilterOption: pulumi.String(\"bar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclArgs{\n\t\t\t\t\tAction: \u0026scaleway.LoadbalancerFrontendAclActionArgs{\n\t\t\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t\t\t\tRedirects: scaleway.LoadbalancerFrontendAclActionRedirectArray{\n\t\t\t\t\t\t\t\u0026scaleway.LoadbalancerFrontendAclActionRedirectArgs{\n\t\t\t\t\t\t\t\tType: pulumi.String(\"location\"),\n\t\t\t\t\t\t\t\tTarget: pulumi.String(\"https://example.com\"),\n\t\t\t\t\t\t\t\tCode: pulumi.Int(307),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tMatch: \u0026scaleway.LoadbalancerFrontendAclMatchArgs{\n\t\t\t\t\t\tIpSubnets: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"10.0.0.10\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tHttpFilter: pulumi.String(\"path_begin\"),\n\t\t\t\t\t\tHttpFilterValues: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\t\t\t\tpulumi.String(\"bar\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .acls( \n LoadbalancerFrontendAclArgs.builder()\n .name(\"blacklist wellknwon IPs\")\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"deny\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"51.51.51.51\")\n .httpFilter(\"regex\")\n .httpFilterValues(\"^foo*bar$\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues(\"hi\")\n .invert(\"true\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"http_header_match\")\n .httpFilterValues(\"foo\")\n .httpFilterOption(\"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"redirect\")\n .redirects(LoadbalancerFrontendAclActionRedirectArgs.builder()\n .type(\"location\")\n .target(\"https://example.com\")\n .code(307)\n .build())\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"10.0.0.10\")\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24\n acls:\n - name: blacklist wellknwon IPs\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n - action:\n type: deny\n match:\n ipSubnets:\n - 51.51.51.51\n httpFilter: regex\n httpFilterValues:\n - ^foo*bar$\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - hi\n invert: 'true'\n - action:\n type: allow\n match:\n httpFilter: http_header_match\n httpFilterValues: foo\n httpFilterOption: bar\n - action:\n type: redirect\n redirects:\n - type: location\n target: https://example.com\n code: 307\n match:\n ipSubnets:\n - 10.0.0.10\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancer frontends can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerFrontend:LoadbalancerFrontend frontend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "acls": { "type": "array", "items": { "$ref": "#/types/scaleway:index/LoadbalancerFrontendAcl:LoadbalancerFrontendAcl" }, - "description": "A list of ACL rules to apply to the load-balancer frontend. Defined below.\n" + "description": "A list of ACL rules to apply to the Load Balancer frontend. Defined below.\n" }, "backendId": { "type": "string", - "description": "The load-balancer backend ID this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n" + "description": "The ID of the Load Balancer backend this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n" }, "certificateId": { "type": "string", - "description": "(Deprecated) first certificate ID used by the frontend.\n", + "description": "(Deprecated) First certificate ID used by the frontend.\n", "deprecationMessage": "Please use certificate_ids" }, "certificateIds": { @@ -16529,7 +16507,7 @@ "items": { "type": "string" }, - "description": "List of Certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" + "description": "List of certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" }, "enableHttp3": { "type": "boolean", @@ -16537,15 +16515,15 @@ }, "externalAcls": { "type": "boolean", - "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend.\n" + "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend.\n" }, "inboundPort": { "type": "integer", - "description": "TCP port to listen on the front side.\n" + "description": "TCP port to listen to on the front side.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to.\n" + "description": "The ID of the Load Balancer this frontend is attached to.\n" }, "name": { "type": "string", @@ -16553,7 +16531,7 @@ }, "timeoutClient": { "type": "string", - "description": "Maximum inactivity time on the client side. (e.g.: `1s`)\n" + "description": "Maximum inactivity time on the client side. (e.g. `1s`)\n" } }, "required": [ @@ -16569,11 +16547,11 @@ "items": { "$ref": "#/types/scaleway:index/LoadbalancerFrontendAcl:LoadbalancerFrontendAcl" }, - "description": "A list of ACL rules to apply to the load-balancer frontend. Defined below.\n" + "description": "A list of ACL rules to apply to the Load Balancer frontend. Defined below.\n" }, "backendId": { "type": "string", - "description": "The load-balancer backend ID this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n", + "description": "The ID of the Load Balancer backend this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n", "willReplaceOnChanges": true }, "certificateIds": { @@ -16581,7 +16559,7 @@ "items": { "type": "string" }, - "description": "List of Certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" + "description": "List of certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" }, "enableHttp3": { "type": "boolean", @@ -16589,15 +16567,15 @@ }, "externalAcls": { "type": "boolean", - "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend.\n" + "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend.\n" }, "inboundPort": { "type": "integer", - "description": "TCP port to listen on the front side.\n" + "description": "TCP port to listen to on the front side.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to.\n", + "description": "The ID of the Load Balancer this frontend is attached to.\n", "willReplaceOnChanges": true }, "name": { @@ -16606,7 +16584,7 @@ }, "timeoutClient": { "type": "string", - "description": "Maximum inactivity time on the client side. (e.g.: `1s`)\n" + "description": "Maximum inactivity time on the client side. (e.g. `1s`)\n" } }, "requiredInputs": [ @@ -16622,16 +16600,16 @@ "items": { "$ref": "#/types/scaleway:index/LoadbalancerFrontendAcl:LoadbalancerFrontendAcl" }, - "description": "A list of ACL rules to apply to the load-balancer frontend. Defined below.\n" + "description": "A list of ACL rules to apply to the Load Balancer frontend. Defined below.\n" }, "backendId": { "type": "string", - "description": "The load-balancer backend ID this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n", + "description": "The ID of the Load Balancer backend this frontend is attached to.\n\n\u003e **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.\n", "willReplaceOnChanges": true }, "certificateId": { "type": "string", - "description": "(Deprecated) first certificate ID used by the frontend.\n", + "description": "(Deprecated) First certificate ID used by the frontend.\n", "deprecationMessage": "Please use certificate_ids" }, "certificateIds": { @@ -16639,7 +16617,7 @@ "items": { "type": "string" }, - "description": "List of Certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" + "description": "List of certificate IDs that should be used by the frontend.\n\n\u003e **Important:** Certificates are not allowed on port 80.\n" }, "enableHttp3": { "type": "boolean", @@ -16647,15 +16625,15 @@ }, "externalAcls": { "type": "boolean", - "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend.\n" + "description": "A boolean to specify whether to use lb_acl.\nIf `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend.\n" }, "inboundPort": { "type": "integer", - "description": "TCP port to listen on the front side.\n" + "description": "TCP port to listen to on the front side.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to.\n", + "description": "The ID of the Load Balancer this frontend is attached to.\n", "willReplaceOnChanges": true }, "name": { @@ -16664,26 +16642,26 @@ }, "timeoutClient": { "type": "string", - "description": "Maximum inactivity time on the client side. (e.g.: `1s`)\n" + "description": "Maximum inactivity time on the client side. (e.g. `1s`)\n" } }, "type": "object" } }, "scaleway:index/loadbalancerIp:LoadbalancerIp": { - "description": "Creates and manages Scaleway Load-Balancers IPs.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip = new scaleway.LoadbalancerIp(\"ip\", {reverse: \"my-reverse.com\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip = scaleway.LoadbalancerIp(\"ip\", reverse=\"my-reverse.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip = new Scaleway.LoadbalancerIp(\"ip\", new()\n {\n Reverse = \"my-reverse.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerIp(ctx, \"ip\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tReverse: pulumi.String(\"my-reverse.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip = new LoadbalancerIp(\"ip\", LoadbalancerIpArgs.builder()\n .reverse(\"my-reverse.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip:\n type: scaleway:LoadbalancerIp\n properties:\n reverse: my-reverse.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With IPv6\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ipv6 = new scaleway.LoadbalancerIp(\"ipv6\", {isIpv6: true});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nipv6 = scaleway.LoadbalancerIp(\"ipv6\", is_ipv6=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ipv6 = new Scaleway.LoadbalancerIp(\"ipv6\", new()\n {\n IsIpv6 = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerIp(ctx, \"ipv6\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ipv6 = new LoadbalancerIp(\"ipv6\", LoadbalancerIpArgs.builder()\n .isIpv6(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ipv6:\n type: scaleway:LoadbalancerIp\n properties:\n isIpv6: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIPs can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerIp:LoadbalancerIp ip01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Load Balancer IP addresses.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip = new scaleway.LoadbalancerIp(\"ip\", {reverse: \"my-reverse.com\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip = scaleway.LoadbalancerIp(\"ip\", reverse=\"my-reverse.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip = new Scaleway.LoadbalancerIp(\"ip\", new()\n {\n Reverse = \"my-reverse.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerIp(ctx, \"ip\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tReverse: pulumi.String(\"my-reverse.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip = new LoadbalancerIp(\"ip\", LoadbalancerIpArgs.builder()\n .reverse(\"my-reverse.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip:\n type: scaleway:LoadbalancerIp\n properties:\n reverse: my-reverse.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With IPv6\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ipv6 = new scaleway.LoadbalancerIp(\"ipv6\", {isIpv6: true});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nipv6 = scaleway.LoadbalancerIp(\"ipv6\", is_ipv6=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ipv6 = new Scaleway.LoadbalancerIp(\"ipv6\", new()\n {\n IsIpv6 = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerIp(ctx, \"ipv6\", \u0026scaleway.LoadbalancerIpArgs{\n\t\t\tIsIpv6: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.LoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ipv6 = new LoadbalancerIp(\"ipv6\", LoadbalancerIpArgs.builder()\n .isIpv6(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ipv6:\n type: scaleway:LoadbalancerIp\n properties:\n isIpv6: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIPs can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerIp:LoadbalancerIp ip01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "ipAddress": { "type": "string", - "description": "The IP Address\n" + "description": "The IP address\n" }, "isIpv6": { "type": "boolean", - "description": "If true, creates a Flexible IP with an IPv6 address.\n" + "description": "If true, creates a flexible IP with an IPv6 address.\n" }, "lbId": { "type": "string", - "description": "The associated load-balance ID if any\n" + "description": "The associated Load Balancer ID if any\n" }, "organizationId": { "type": "string", @@ -16691,7 +16669,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n" + "description": "`project_id`) The ID of the Project the IP is associated with.\n" }, "region": { "type": "string", @@ -16718,12 +16696,12 @@ "inputProperties": { "isIpv6": { "type": "boolean", - "description": "If true, creates a Flexible IP with an IPv6 address.\n", + "description": "If true, creates a flexible IP with an IPv6 address.\n", "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n", + "description": "`project_id`) The ID of the Project the IP is associated with.\n", "willReplaceOnChanges": true }, "reverse": { @@ -16741,16 +16719,16 @@ "properties": { "ipAddress": { "type": "string", - "description": "The IP Address\n" + "description": "The IP address\n" }, "isIpv6": { "type": "boolean", - "description": "If true, creates a Flexible IP with an IPv6 address.\n", + "description": "If true, creates a flexible IP with an IPv6 address.\n", "willReplaceOnChanges": true }, "lbId": { "type": "string", - "description": "The associated load-balance ID if any\n" + "description": "The associated Load Balancer ID if any\n" }, "organizationId": { "type": "string", @@ -16758,7 +16736,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n", + "description": "`project_id`) The ID of the Project the IP is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -16779,19 +16757,19 @@ } }, "scaleway:index/loadbalancerRoute:LoadbalancerRoute": { - "description": "Creates and manages Scaleway Load-Balancer Routes.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).\n\n## Example Usage\n\n### With SNI for direction to TCP backends\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchSni: \"sni.scaleway.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_sni=\"sni.scaleway.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchSni = \"sni.scaleway.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchSni: pulumi.String(\"sni.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchSni(\"sni.scaleway.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchSni: sni.scaleway.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With host-header for direction to HTTP backends\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchHostHeader: \"host.scaleway.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"http\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_host_header=\"host.scaleway.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchHostHeader = \"host.scaleway.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchHostHeader: pulumi.String(\"host.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"http\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchHostHeader(\"host.scaleway.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: http\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchHostHeader: host.scaleway.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad-Balancer frontend can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerRoute:LoadbalancerRoute main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Load Balancer routes.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).\n\n## Example Usage\n\n### With SNI for direction to TCP backends\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchSni: \"sni.scaleway.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_sni=\"sni.scaleway.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchSni = \"sni.scaleway.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchSni: pulumi.String(\"sni.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchSni(\"sni.scaleway.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchSni: sni.scaleway.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With host-header for direction to HTTP backends\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchHostHeader: \"host.scaleway.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"http\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_host_header=\"host.scaleway.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchHostHeader = \"host.scaleway.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchHostHeader: pulumi.String(\"host.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"http\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchHostHeader(\"host.scaleway.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: http\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchHostHeader: host.scaleway.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancer frontends can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/loadbalancerRoute:LoadbalancerRoute main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "backendId": { "type": "string", - "description": "The ID of the backend to which the route is associated.\n" + "description": "The ID of the backend the route is associated with.\n" }, "createdAt": { "type": "string", - "description": "The date at which the route was created.\n" + "description": "The date on which the route was created.\n" }, "frontendId": { "type": "string", - "description": "The ID of the frontend to which the route is associated.\n" + "description": "The ID of the frontend the route is associated with.\n" }, "matchHostHeader": { "type": "string", @@ -16803,7 +16781,7 @@ }, "updatedAt": { "type": "string", - "description": "The date at which the route was last updated.\n" + "description": "The date on which the route was last updated.\n" } }, "required": [ @@ -16815,11 +16793,11 @@ "inputProperties": { "backendId": { "type": "string", - "description": "The ID of the backend to which the route is associated.\n" + "description": "The ID of the backend the route is associated with.\n" }, "frontendId": { "type": "string", - "description": "The ID of the frontend to which the route is associated.\n", + "description": "The ID of the frontend the route is associated with.\n", "willReplaceOnChanges": true }, "matchHostHeader": { @@ -16840,15 +16818,15 @@ "properties": { "backendId": { "type": "string", - "description": "The ID of the backend to which the route is associated.\n" + "description": "The ID of the backend the route is associated with.\n" }, "createdAt": { "type": "string", - "description": "The date at which the route was created.\n" + "description": "The date on which the route was created.\n" }, "frontendId": { "type": "string", - "description": "The ID of the frontend to which the route is associated.\n", + "description": "The ID of the frontend the route is associated with.\n", "willReplaceOnChanges": true }, "matchHostHeader": { @@ -16861,14 +16839,14 @@ }, "updatedAt": { "type": "string", - "description": "The date at which the route was last updated.\n" + "description": "The date on which the route was last updated.\n" } }, "type": "object" } }, "scaleway:index/mnqNatsAccount:MnqNatsAccount": { - "description": "Creates and manages Scaleway Messaging and queuing Nats Accounts.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/)\nTo use Scaleway's provider with official nats jetstream provider, check out the corresponding guide\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqNatsAccount(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqNatsAccount(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqNatsAccount(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqNatsAccount(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqNatsAccount;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqNatsAccount(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqNatsAccount\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqNatsAccount:MnqNatsAccount main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Creates and manages Scaleway Messaging and Queuing NATS accounts.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/)\nTo use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide.\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqNatsAccount(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqNatsAccount(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqNatsAccount(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqNatsAccount(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqNatsAccount;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqNatsAccount(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqNatsAccount\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqNatsAccount:MnqNatsAccount main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "endpoint": { "type": "string", @@ -16876,11 +16854,11 @@ }, "name": { "type": "string", - "description": "The unique name of the nats account.\n" + "description": "The unique name of the NATS account.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the\naccount is associated with.\n" + "description": "`project_id`) The ID of the Project the\naccount is associated with.\n" }, "region": { "type": "string", @@ -16896,11 +16874,11 @@ "inputProperties": { "name": { "type": "string", - "description": "The unique name of the nats account.\n" + "description": "The unique name of the NATS account.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the\naccount is associated with.\n", + "description": "`project_id`) The ID of the Project the\naccount is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -16918,11 +16896,11 @@ }, "name": { "type": "string", - "description": "The unique name of the nats account.\n" + "description": "The unique name of the NATS account.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the\naccount is associated with.\n", + "description": "`project_id`) The ID of the Project the\naccount is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -16935,11 +16913,11 @@ } }, "scaleway:index/mnqNatsCredentials:MnqNatsCredentials": { - "description": "Creates and manages Scaleway Messaging and queuing Nats Credentials.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqNatsAccount = new scaleway.MnqNatsAccount(\"mainMnqNatsAccount\", {});\nconst mainMnqNatsCredentials = new scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", {accountId: mainMnqNatsAccount.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_nats_account = scaleway.MnqNatsAccount(\"mainMnqNatsAccount\")\nmain_mnq_nats_credentials = scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", account_id=main_mnq_nats_account.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqNatsAccount = new Scaleway.MnqNatsAccount(\"mainMnqNatsAccount\");\n\n var mainMnqNatsCredentials = new Scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", new()\n {\n AccountId = mainMnqNatsAccount.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqNatsAccount, err := scaleway.NewMnqNatsAccount(ctx, \"mainMnqNatsAccount\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqNatsCredentials(ctx, \"mainMnqNatsCredentials\", \u0026scaleway.MnqNatsCredentialsArgs{\n\t\t\tAccountId: mainMnqNatsAccount.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqNatsAccount;\nimport com.pulumi.scaleway.MnqNatsCredentials;\nimport com.pulumi.scaleway.MnqNatsCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqNatsAccount = new MnqNatsAccount(\"mainMnqNatsAccount\");\n\n var mainMnqNatsCredentials = new MnqNatsCredentials(\"mainMnqNatsCredentials\", MnqNatsCredentialsArgs.builder()\n .accountId(mainMnqNatsAccount.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqNatsAccount:\n type: scaleway:MnqNatsAccount\n mainMnqNatsCredentials:\n type: scaleway:MnqNatsCredentials\n properties:\n accountId: ${mainMnqNatsAccount.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqNatsCredentials:MnqNatsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Creates and manages Scaleway Messaging and Queuing NATS credentials.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqNatsAccount = new scaleway.MnqNatsAccount(\"mainMnqNatsAccount\", {});\nconst mainMnqNatsCredentials = new scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", {accountId: mainMnqNatsAccount.id});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_nats_account = scaleway.MnqNatsAccount(\"mainMnqNatsAccount\")\nmain_mnq_nats_credentials = scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", account_id=main_mnq_nats_account.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqNatsAccount = new Scaleway.MnqNatsAccount(\"mainMnqNatsAccount\");\n\n var mainMnqNatsCredentials = new Scaleway.MnqNatsCredentials(\"mainMnqNatsCredentials\", new()\n {\n AccountId = mainMnqNatsAccount.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqNatsAccount, err := scaleway.NewMnqNatsAccount(ctx, \"mainMnqNatsAccount\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqNatsCredentials(ctx, \"mainMnqNatsCredentials\", \u0026scaleway.MnqNatsCredentialsArgs{\n\t\t\tAccountId: mainMnqNatsAccount.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqNatsAccount;\nimport com.pulumi.scaleway.MnqNatsCredentials;\nimport com.pulumi.scaleway.MnqNatsCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqNatsAccount = new MnqNatsAccount(\"mainMnqNatsAccount\");\n\n var mainMnqNatsCredentials = new MnqNatsCredentials(\"mainMnqNatsCredentials\", MnqNatsCredentialsArgs.builder()\n .accountId(mainMnqNatsAccount.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqNatsAccount:\n type: scaleway:MnqNatsAccount\n mainMnqNatsCredentials:\n type: scaleway:MnqNatsCredentials\n properties:\n accountId: ${mainMnqNatsAccount.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqNatsCredentials:MnqNatsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "accountId": { "type": "string", - "description": "The ID of the nats account the credentials are generated from\n" + "description": "The ID of the NATS account the credentials are generated from\n" }, "file": { "type": "string", @@ -16947,7 +16925,7 @@ }, "name": { "type": "string", - "description": "The unique name of the nats credentials.\n" + "description": "The unique name of the NATS credentials.\n" }, "region": { "type": "string", @@ -16963,11 +16941,11 @@ "inputProperties": { "accountId": { "type": "string", - "description": "The ID of the nats account the credentials are generated from\n" + "description": "The ID of the NATS account the credentials are generated from\n" }, "name": { "type": "string", - "description": "The unique name of the nats credentials.\n" + "description": "The unique name of the NATS credentials.\n" }, "region": { "type": "string", @@ -16983,7 +16961,7 @@ "properties": { "accountId": { "type": "string", - "description": "The ID of the nats account the credentials are generated from\n" + "description": "The ID of the NATS account the credentials are generated from\n" }, "file": { "type": "string", @@ -16991,7 +16969,7 @@ }, "name": { "type": "string", - "description": "The unique name of the nats credentials.\n" + "description": "The unique name of the NATS credentials.\n" }, "region": { "type": "string", @@ -17003,19 +16981,19 @@ } }, "scaleway:index/mnqSns:MnqSns": { - "description": "Activate Scaleway Messaging and queuing SNS for a project.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/)\n\n## Example Usage\n\n### Basic\n\nActivate SNS for default project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqSns(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqSns(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqSns(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqSns(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqSns(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqSns\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nActivate SNS for a specific project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst project = scaleway.getAccountProject({\n name: \"default\",\n});\n// For specific project in default region\nconst forProject = new scaleway.MnqSns(\"forProject\", {projectId: project.then(project =\u003e project.id)});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nproject = scaleway.get_account_project(name=\"default\")\n# For specific project in default region\nfor_project = scaleway.MnqSns(\"forProject\", project_id=project.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var project = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n // For specific project in default region\n var forProject = new Scaleway.MnqSns(\"forProject\", new()\n {\n ProjectId = project.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tproject, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For specific project in default region\n\t\t_, err = scaleway.NewMnqSns(ctx, \"forProject\", \u0026scaleway.MnqSnsArgs{\n\t\t\tProjectId: pulumi.String(project.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var project = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n // For specific project in default region\n var forProject = new MnqSns(\"forProject\", MnqSnsArgs.builder()\n .projectId(project.applyValue(getAccountProjectResult -\u003e getAccountProjectResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For specific project in default region\n forProject:\n type: scaleway:MnqSns\n properties:\n projectId: ${project.id}\nvariables:\n project:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS status can be imported using the `{region}/{project_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSns:MnqSns main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Activates Scaleway Messaging and Queuing SNS in a Project.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/).\n\n## Example Usage\n\n### Basic\n\nActivate SNS in the default Project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqSns(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqSns(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqSns(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqSns(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqSns(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqSns\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nActivate SNS in a specific Project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst project = scaleway.getAccountProject({\n name: \"default\",\n});\n// For specific Project in default region\nconst forProject = new scaleway.MnqSns(\"forProject\", {projectId: project.then(project =\u003e project.id)});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nproject = scaleway.get_account_project(name=\"default\")\n# For specific Project in default region\nfor_project = scaleway.MnqSns(\"forProject\", project_id=project.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var project = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n // For specific Project in default region\n var forProject = new Scaleway.MnqSns(\"forProject\", new()\n {\n ProjectId = project.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tproject, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For specific Project in default region\n\t\t_, err = scaleway.NewMnqSns(ctx, \"forProject\", \u0026scaleway.MnqSnsArgs{\n\t\t\tProjectId: pulumi.String(project.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var project = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n // For specific Project in default region\n var forProject = new MnqSns(\"forProject\", MnqSnsArgs.builder()\n .projectId(project.applyValue(getAccountProjectResult -\u003e getAccountProjectResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For specific Project in default region\n forProject:\n type: scaleway:MnqSns\n properties:\n projectId: ${project.id}\nvariables:\n project:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS status can be imported using `{region}/{project_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSns:MnqSns main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "endpoint": { "type": "string", - "description": "The endpoint of the SNS service for this project.\n" + "description": "The endpoint of the SNS service for this Project.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns will be enabled for.\n" + "description": "`project_id`) The ID of the project in which SNS will be enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region\nin which sns will be enabled.\n" + "description": "`region`). The region\nin which SNS will be enabled.\n" } }, "required": [ @@ -17026,12 +17004,12 @@ "inputProperties": { "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns will be enabled for.\n", + "description": "`project_id`) The ID of the project in which SNS will be enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns will be enabled.\n", + "description": "`region`). The region\nin which SNS will be enabled.\n", "willReplaceOnChanges": true } }, @@ -17040,16 +17018,16 @@ "properties": { "endpoint": { "type": "string", - "description": "The endpoint of the SNS service for this project.\n" + "description": "The endpoint of the SNS service for this Project.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns will be enabled for.\n", + "description": "`project_id`) The ID of the project in which SNS will be enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns will be enabled.\n", + "description": "`region`). The region\nin which SNS will be enabled.\n", "willReplaceOnChanges": true } }, @@ -17057,7 +17035,7 @@ } }, "scaleway:index/mnqSnsCredentials:MnqSnsCredentials": { - "description": "Creates and manages Scaleway Messaging and queuing SNS Credentials.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: false,\n canReceive: true,\n canPublish: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=False,\n can_receive=True,\n can_publish=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = false,\n CanReceive = true,\n CanPublish = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(false),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(false)\n .canReceive(true)\n .canPublish(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: false\n canReceive: true\n canPublish: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS credentials can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsCredentials:MnqSnsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Creates and manages Scaleway Messaging and Queuing SNS credentials.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: false,\n canReceive: true,\n canPublish: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=False,\n can_receive=True,\n can_publish=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = false,\n CanReceive = true,\n CanPublish = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(false),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(false)\n .canReceive(true)\n .canPublish(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: false\n canReceive: true\n canPublish: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS credentials can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsCredentials:MnqSnsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "accessKey": { "type": "string", @@ -17066,19 +17044,19 @@ }, "name": { "type": "string", - "description": "The unique name of the sns credentials.\n" + "description": "The unique name of the SNS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSnsCredentialsPermissions:MnqSnsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n" + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region in which sns is enabled.\n" + "description": "`region`). The region in which SNS is enabled.\n" }, "secretKey": { "type": "string", @@ -17097,20 +17075,20 @@ "inputProperties": { "name": { "type": "string", - "description": "The unique name of the sns credentials.\n" + "description": "The unique name of the SNS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSnsCredentialsPermissions:MnqSnsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region in which sns is enabled.\n", + "description": "`region`). The region in which SNS is enabled.\n", "willReplaceOnChanges": true } }, @@ -17124,20 +17102,20 @@ }, "name": { "type": "string", - "description": "The unique name of the sns credentials.\n" + "description": "The unique name of the SNS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSnsCredentialsPermissions:MnqSnsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region in which sns is enabled.\n", + "description": "`region`). The region in which SNS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17150,7 +17128,7 @@ } }, "scaleway:index/mnqSnsTopic:MnqSnsTopic": { - "description": "Manage Scaleway Messaging and queuing SNS Topics.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: true,\n },\n});\nconst topic = new scaleway.MnqSnsTopic(\"topic\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=True,\n ))\ntopic = scaleway.MnqSnsTopic(\"topic\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = true,\n },\n });\n\n var topic = new Scaleway.MnqSnsTopic(\"topic\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSnsCredentials, err := scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsTopic(ctx, \"topic\", \u0026scaleway.MnqSnsTopicArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSnsTopic;\nimport com.pulumi.scaleway.MnqSnsTopicArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .build())\n .build());\n\n var topic = new MnqSnsTopic(\"topic\", MnqSnsTopicArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: true\n topic:\n type: scaleway:MnqSnsTopic\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsTopic:MnqSnsTopic main fr-par/11111111111111111111111111111111/my-topic\n```\n\n", + "description": "Manage Scaleway Messaging and queuing SNS topics.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: true,\n },\n});\nconst topic = new scaleway.MnqSnsTopic(\"topic\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=True,\n ))\ntopic = scaleway.MnqSnsTopic(\"topic\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = true,\n },\n });\n\n var topic = new Scaleway.MnqSnsTopic(\"topic\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSnsCredentials, err := scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsTopic(ctx, \"topic\", \u0026scaleway.MnqSnsTopicArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSnsTopic;\nimport com.pulumi.scaleway.MnqSnsTopicArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .build())\n .build());\n\n var topic = new MnqSnsTopic(\"topic\", MnqSnsTopicArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: true\n topic:\n type: scaleway:MnqSnsTopic\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsTopic:MnqSnsTopic main fr-par/11111111111111111111111111111111/my-topic\n```\n\n", "properties": { "accessKey": { "type": "string", @@ -17167,11 +17145,11 @@ }, "fifoTopic": { "type": "boolean", - "description": "Whether the topic is a FIFO. If true, the topic name must end with .fifo.\n" + "description": "Whether the topic is a FIFO topic. If true, the topic name must end with .fifo.\n" }, "name": { "type": "string", - "description": "The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n" + "description": "The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n" }, "namePrefix": { "type": "string", @@ -17183,11 +17161,11 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n" + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n" + "description": "`region`). The region\nin which SNS is enabled.\n" }, "secretKey": { "type": "string", @@ -17223,11 +17201,11 @@ }, "fifoTopic": { "type": "boolean", - "description": "Whether the topic is a FIFO. If true, the topic name must end with .fifo.\n" + "description": "Whether the topic is a FIFO topic. If true, the topic name must end with .fifo.\n" }, "name": { "type": "string", - "description": "The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", + "description": "The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -17237,12 +17215,12 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n", + "description": "`region`). The region\nin which SNS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17277,11 +17255,11 @@ }, "fifoTopic": { "type": "boolean", - "description": "Whether the topic is a FIFO. If true, the topic name must end with .fifo.\n" + "description": "Whether the topic is a FIFO topic. If true, the topic name must end with .fifo.\n" }, "name": { "type": "string", - "description": "The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", + "description": "The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -17295,12 +17273,12 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n", + "description": "`region`). The region\nin which SNS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17317,7 +17295,7 @@ } }, "scaleway:index/mnqSnsTopicSubscription:MnqSnsTopicSubscription": { - "description": "Manage Scaleway Messaging and queuing SNS Topic Subscriptions.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// For default project in default region\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: true,\n canPublish: true,\n canReceive: true,\n },\n});\nconst topic = new scaleway.MnqSnsTopic(\"topic\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n});\nconst mainMnqSnsTopicSubscription = new scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n topicId: topic.id,\n protocol: \"http\",\n endpoint: \"http://example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\n# For default project in default region\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=True,\n can_publish=True,\n can_receive=True,\n ))\ntopic = scaleway.MnqSnsTopic(\"topic\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key)\nmain_mnq_sns_topic_subscription = scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key,\n topic_id=topic.id,\n protocol=\"http\",\n endpoint=\"http://example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For default project in default region\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = true,\n CanPublish = true,\n CanReceive = true,\n },\n });\n\n var topic = new Scaleway.MnqSnsTopic(\"topic\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n });\n\n var mainMnqSnsTopicSubscription = new Scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n TopicId = topic.Id,\n Protocol = \"http\",\n Endpoint = \"http://example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For default project in default region\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSnsCredentials, err := scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(true),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttopic, err := scaleway.NewMnqSnsTopic(ctx, \"topic\", \u0026scaleway.MnqSnsTopicArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsTopicSubscription(ctx, \"mainMnqSnsTopicSubscription\", \u0026scaleway.MnqSnsTopicSubscriptionArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t\tTopicId: topic.ID(),\n\t\t\tProtocol: pulumi.String(\"http\"),\n\t\t\tEndpoint: pulumi.String(\"http://example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSnsTopic;\nimport com.pulumi.scaleway.MnqSnsTopicArgs;\nimport com.pulumi.scaleway.MnqSnsTopicSubscription;\nimport com.pulumi.scaleway.MnqSnsTopicSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // For default project in default region\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .canPublish(true)\n .canReceive(true)\n .build())\n .build());\n\n var topic = new MnqSnsTopic(\"topic\", MnqSnsTopicArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .build());\n\n var mainMnqSnsTopicSubscription = new MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", MnqSnsTopicSubscriptionArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .topicId(topic.id())\n .protocol(\"http\")\n .endpoint(\"http://example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For default project in default region\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: true\n canPublish: true\n canReceive: true\n topic:\n type: scaleway:MnqSnsTopic\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n mainMnqSnsTopicSubscription:\n type: scaleway:MnqSnsTopicSubscription\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n topicId: ${topic.id}\n protocol: http\n endpoint: http://example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsTopicSubscription:MnqSnsTopicSubscription main fr-par/11111111111111111111111111111111/my-topic/11111111111111111111111111111111\n```\n\n", + "description": "Manages Scaleway Messaging and Queuing SNS topic subscriptions.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// For default project in default region\nconst mainMnqSns = new scaleway.MnqSns(\"mainMnqSns\", {});\nconst mainMnqSnsCredentials = new scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", {\n projectId: mainMnqSns.projectId,\n permissions: {\n canManage: true,\n canPublish: true,\n canReceive: true,\n },\n});\nconst topic = new scaleway.MnqSnsTopic(\"topic\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n});\nconst mainMnqSnsTopicSubscription = new scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", {\n projectId: mainMnqSns.projectId,\n accessKey: mainMnqSnsCredentials.accessKey,\n secretKey: mainMnqSnsCredentials.secretKey,\n topicId: topic.id,\n protocol: \"http\",\n endpoint: \"http://example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\n# For default project in default region\nmain_mnq_sns = scaleway.MnqSns(\"mainMnqSns\")\nmain_mnq_sns_credentials = scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\",\n project_id=main_mnq_sns.project_id,\n permissions=scaleway.MnqSnsCredentialsPermissionsArgs(\n can_manage=True,\n can_publish=True,\n can_receive=True,\n ))\ntopic = scaleway.MnqSnsTopic(\"topic\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key)\nmain_mnq_sns_topic_subscription = scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\",\n project_id=main_mnq_sns.project_id,\n access_key=main_mnq_sns_credentials.access_key,\n secret_key=main_mnq_sns_credentials.secret_key,\n topic_id=topic.id,\n protocol=\"http\",\n endpoint=\"http://example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For default project in default region\n var mainMnqSns = new Scaleway.MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials(\"mainMnqSnsCredentials\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs\n {\n CanManage = true,\n CanPublish = true,\n CanReceive = true,\n },\n });\n\n var topic = new Scaleway.MnqSnsTopic(\"topic\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n });\n\n var mainMnqSnsTopicSubscription = new Scaleway.MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", new()\n {\n ProjectId = mainMnqSns.ProjectId,\n AccessKey = mainMnqSnsCredentials.AccessKey,\n SecretKey = mainMnqSnsCredentials.SecretKey,\n TopicId = topic.Id,\n Protocol = \"http\",\n Endpoint = \"http://example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For default project in default region\n\t\tmainMnqSns, err := scaleway.NewMnqSns(ctx, \"mainMnqSns\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSnsCredentials, err := scaleway.NewMnqSnsCredentials(ctx, \"mainMnqSnsCredentials\", \u0026scaleway.MnqSnsCredentialsArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSnsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(true),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttopic, err := scaleway.NewMnqSnsTopic(ctx, \"topic\", \u0026scaleway.MnqSnsTopicArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSnsTopicSubscription(ctx, \"mainMnqSnsTopicSubscription\", \u0026scaleway.MnqSnsTopicSubscriptionArgs{\n\t\t\tProjectId: mainMnqSns.ProjectId,\n\t\t\tAccessKey: mainMnqSnsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSnsCredentials.SecretKey,\n\t\t\tTopicId: topic.ID(),\n\t\t\tProtocol: pulumi.String(\"http\"),\n\t\t\tEndpoint: pulumi.String(\"http://example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSns;\nimport com.pulumi.scaleway.MnqSnsCredentials;\nimport com.pulumi.scaleway.MnqSnsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSnsTopic;\nimport com.pulumi.scaleway.MnqSnsTopicArgs;\nimport com.pulumi.scaleway.MnqSnsTopicSubscription;\nimport com.pulumi.scaleway.MnqSnsTopicSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // For default project in default region\n var mainMnqSns = new MnqSns(\"mainMnqSns\");\n\n var mainMnqSnsCredentials = new MnqSnsCredentials(\"mainMnqSnsCredentials\", MnqSnsCredentialsArgs.builder()\n .projectId(mainMnqSns.projectId())\n .permissions(MnqSnsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .canPublish(true)\n .canReceive(true)\n .build())\n .build());\n\n var topic = new MnqSnsTopic(\"topic\", MnqSnsTopicArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .build());\n\n var mainMnqSnsTopicSubscription = new MnqSnsTopicSubscription(\"mainMnqSnsTopicSubscription\", MnqSnsTopicSubscriptionArgs.builder()\n .projectId(mainMnqSns.projectId())\n .accessKey(mainMnqSnsCredentials.accessKey())\n .secretKey(mainMnqSnsCredentials.secretKey())\n .topicId(topic.id())\n .protocol(\"http\")\n .endpoint(\"http://example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For default project in default region\n mainMnqSns:\n type: scaleway:MnqSns\n mainMnqSnsCredentials:\n type: scaleway:MnqSnsCredentials\n properties:\n projectId: ${mainMnqSns.projectId}\n permissions:\n canManage: true\n canPublish: true\n canReceive: true\n topic:\n type: scaleway:MnqSnsTopic\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n mainMnqSnsTopicSubscription:\n type: scaleway:MnqSnsTopicSubscription\n properties:\n projectId: ${mainMnqSns.projectId}\n accessKey: ${mainMnqSnsCredentials.accessKey}\n secretKey: ${mainMnqSnsCredentials.secretKey}\n topicId: ${topic.id}\n protocol: http\n endpoint: http://example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSnsTopicSubscription:MnqSnsTopicSubscription main fr-par/11111111111111111111111111111111/my-topic/11111111111111111111111111111111\n```\n\n", "properties": { "accessKey": { "type": "string", @@ -17334,19 +17312,19 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n" + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n" }, "protocol": { "type": "string", - "description": "Protocol of the SNS Topic Subscription.\n" + "description": "Protocol of the SNS topic subscription.\n" }, "redrivePolicy": { "type": "boolean", - "description": "Activate JSON Redrive Policy.\n" + "description": "Activate JSON redrive policy.\n" }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n" + "description": "`region`). The region\nin which SNS is enabled.\n" }, "secretKey": { "type": "string", @@ -17389,22 +17367,22 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "protocol": { "type": "string", - "description": "Protocol of the SNS Topic Subscription.\n", + "description": "Protocol of the SNS topic subscription.\n", "willReplaceOnChanges": true }, "redrivePolicy": { "type": "boolean", - "description": "Activate JSON Redrive Policy.\n", + "description": "Activate JSON redrive policy.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n", + "description": "`region`). The region\nin which SNS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17454,22 +17432,22 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sns is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SNS is enabled.\n", "willReplaceOnChanges": true }, "protocol": { "type": "string", - "description": "Protocol of the SNS Topic Subscription.\n", + "description": "Protocol of the SNS topic subscription.\n", "willReplaceOnChanges": true }, "redrivePolicy": { "type": "boolean", - "description": "Activate JSON Redrive Policy.\n", + "description": "Activate JSON redrive policy.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sns is enabled.\n", + "description": "`region`). The region\nin which SNS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17498,19 +17476,19 @@ } }, "scaleway:index/mnqSqs:MnqSqs": { - "description": "Activate Scaleway Messaging and queuing SQS for a project.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/)\n\n## Example Usage\n\n### Basic\n\nActivate SQS for default project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqSqs(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqSqs(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqSqs(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqSqs(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqSqs(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqSqs\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nActivate SQS for a specific project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst project = scaleway.getAccountProject({\n name: \"default\",\n});\nconst forProject = new scaleway.MnqSqs(\"forProject\", {projectId: project.then(project =\u003e project.id)});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nproject = scaleway.get_account_project(name=\"default\")\nfor_project = scaleway.MnqSqs(\"forProject\", project_id=project.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var project = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n var forProject = new Scaleway.MnqSqs(\"forProject\", new()\n {\n ProjectId = project.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tproject, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqs(ctx, \"forProject\", \u0026scaleway.MnqSqsArgs{\n\t\t\tProjectId: pulumi.String(project.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var project = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n var forProject = new MnqSqs(\"forProject\", MnqSqsArgs.builder()\n .projectId(project.applyValue(getAccountProjectResult -\u003e getAccountProjectResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n forProject:\n type: scaleway:MnqSqs\n properties:\n projectId: ${project.id}\nvariables:\n project:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSQS status can be imported using the `{region}/{project_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSqs:MnqSqs main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Activate Scaleway Messaging and Queuing SQS in a Project.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/).\n\n## Example Usage\n\n### Basic\n\nActivate SQS in the default Project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.MnqSqs(\"main\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.MnqSqs(\"main\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.MnqSqs(\"main\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewMnqSqs(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new MnqSqs(\"main\");\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:MnqSqs\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nActivate SQS for a specific project\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst project = scaleway.getAccountProject({\n name: \"default\",\n});\nconst forProject = new scaleway.MnqSqs(\"forProject\", {projectId: project.then(project =\u003e project.id)});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nproject = scaleway.get_account_project(name=\"default\")\nfor_project = scaleway.MnqSqs(\"forProject\", project_id=project.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var project = Scaleway.GetAccountProject.Invoke(new()\n {\n Name = \"default\",\n });\n\n var forProject = new Scaleway.MnqSqs(\"forProject\", new()\n {\n ProjectId = project.Apply(getAccountProjectResult =\u003e getAccountProjectResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tproject, err := scaleway.LookupAccountProject(ctx, \u0026scaleway.LookupAccountProjectArgs{\n\t\t\tName: pulumi.StringRef(\"default\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqs(ctx, \"forProject\", \u0026scaleway.MnqSqsArgs{\n\t\t\tProjectId: pulumi.String(project.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetAccountProjectArgs;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var project = ScalewayFunctions.getAccountProject(GetAccountProjectArgs.builder()\n .name(\"default\")\n .build());\n\n var forProject = new MnqSqs(\"forProject\", MnqSqsArgs.builder()\n .projectId(project.applyValue(getAccountProjectResult -\u003e getAccountProjectResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n forProject:\n type: scaleway:MnqSqs\n properties:\n projectId: ${project.id}\nvariables:\n project:\n fn::invoke:\n Function: scaleway:getAccountProject\n Arguments:\n name: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSQS status can be imported using the `{region}/{project_id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSqs:MnqSqs main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "endpoint": { "type": "string", - "description": "The endpoint of the SQS service for this project.\n" + "description": "The endpoint of the SQS service for this Project.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs will be enabled for.\n" + "description": "`project_id`) The ID of the Project in which SQS will be enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region\nin which sqs will be enabled.\n" + "description": "`region`). The region\nin which SQS will be enabled.\n" } }, "required": [ @@ -17521,12 +17499,12 @@ "inputProperties": { "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs will be enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS will be enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sqs will be enabled.\n", + "description": "`region`). The region\nin which SQS will be enabled.\n", "willReplaceOnChanges": true } }, @@ -17535,16 +17513,16 @@ "properties": { "endpoint": { "type": "string", - "description": "The endpoint of the SQS service for this project.\n" + "description": "The endpoint of the SQS service for this Project.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs will be enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS will be enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region\nin which sqs will be enabled.\n", + "description": "`region`). The region\nin which SQS will be enabled.\n", "willReplaceOnChanges": true } }, @@ -17552,7 +17530,7 @@ } }, "scaleway:index/mnqSqsCredentials:MnqSqsCredentials": { - "description": "Creates and manages Scaleway Messaging and queuing SQS Credentials.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSqs = new scaleway.MnqSqs(\"mainMnqSqs\", {});\nconst mainMnqSqsCredentials = new scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", {\n projectId: mainMnqSqs.projectId,\n permissions: {\n canManage: false,\n canReceive: true,\n canPublish: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sqs = scaleway.MnqSqs(\"mainMnqSqs\")\nmain_mnq_sqs_credentials = scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\",\n project_id=main_mnq_sqs.project_id,\n permissions=scaleway.MnqSqsCredentialsPermissionsArgs(\n can_manage=False,\n can_receive=True,\n can_publish=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSqs = new Scaleway.MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs\n {\n CanManage = false,\n CanReceive = true,\n CanPublish = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSqs, err := scaleway.NewMnqSqs(ctx, \"mainMnqSqs\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqsCredentials(ctx, \"mainMnqSqsCredentials\", \u0026scaleway.MnqSqsCredentialsArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSqsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(false),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsCredentials;\nimport com.pulumi.scaleway.MnqSqsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSqsCredentialsPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSqs = new MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new MnqSqsCredentials(\"mainMnqSqsCredentials\", MnqSqsCredentialsArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .permissions(MnqSqsCredentialsPermissionsArgs.builder()\n .canManage(false)\n .canReceive(true)\n .canPublish(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSqs:\n type: scaleway:MnqSqs\n mainMnqSqsCredentials:\n type: scaleway:MnqSqsCredentials\n properties:\n projectId: ${mainMnqSqs.projectId}\n permissions:\n canManage: false\n canReceive: true\n canPublish: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSQS credentials can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSqsCredentials:MnqSqsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", + "description": "Creates and manages Scaleway Messaging and Queuing SQS credentials.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSqs = new scaleway.MnqSqs(\"mainMnqSqs\", {});\nconst mainMnqSqsCredentials = new scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", {\n projectId: mainMnqSqs.projectId,\n permissions: {\n canManage: false,\n canReceive: true,\n canPublish: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sqs = scaleway.MnqSqs(\"mainMnqSqs\")\nmain_mnq_sqs_credentials = scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\",\n project_id=main_mnq_sqs.project_id,\n permissions=scaleway.MnqSqsCredentialsPermissionsArgs(\n can_manage=False,\n can_receive=True,\n can_publish=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSqs = new Scaleway.MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs\n {\n CanManage = false,\n CanReceive = true,\n CanPublish = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSqs, err := scaleway.NewMnqSqs(ctx, \"mainMnqSqs\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqsCredentials(ctx, \"mainMnqSqsCredentials\", \u0026scaleway.MnqSqsCredentialsArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSqsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(false),\n\t\t\t\tCanReceive: pulumi.Bool(true),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsCredentials;\nimport com.pulumi.scaleway.MnqSqsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSqsCredentialsPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSqs = new MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new MnqSqsCredentials(\"mainMnqSqsCredentials\", MnqSqsCredentialsArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .permissions(MnqSqsCredentialsPermissionsArgs.builder()\n .canManage(false)\n .canReceive(true)\n .canPublish(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSqs:\n type: scaleway:MnqSqs\n mainMnqSqsCredentials:\n type: scaleway:MnqSqsCredentials\n properties:\n projectId: ${mainMnqSqs.projectId}\n permissions:\n canManage: false\n canReceive: true\n canPublish: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSQS credentials can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/mnqSqsCredentials:MnqSqsCredentials main fr-par/11111111111111111111111111111111\n```\n\n", "properties": { "accessKey": { "type": "string", @@ -17561,19 +17539,19 @@ }, "name": { "type": "string", - "description": "The unique name of the sqs credentials.\n" + "description": "The unique name of the SQS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSqsCredentialsPermissions:MnqSqsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n" + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n" + "description": "`region`). The region in which SQS is enabled.\n" }, "secretKey": { "type": "string", @@ -17592,20 +17570,20 @@ "inputProperties": { "name": { "type": "string", - "description": "The unique name of the sqs credentials.\n" + "description": "The unique name of the SQS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSqsCredentialsPermissions:MnqSqsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n", + "description": "`region`). The region in which SQS is enabled.\n", "willReplaceOnChanges": true } }, @@ -17619,20 +17597,20 @@ }, "name": { "type": "string", - "description": "The unique name of the sqs credentials.\n" + "description": "The unique name of the SQS credentials.\n" }, "permissions": { "$ref": "#/types/scaleway:index/MnqSqsCredentialsPermissions:MnqSqsCredentialsPermissions", - "description": ". List of permissions associated to these credentials. Only one of permissions may be set.\n" + "description": ". List of permissions associated with these credentials. Only one of the following permissions may be set:\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n", + "description": "`region`). The region in which SQS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17645,7 +17623,7 @@ } }, "scaleway:index/mnqSqsQueue:MnqSqsQueue": { - "description": "Creates and manages Scaleway Messaging and queuing SQS Queues.\nFor further information please check\nour [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/)\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSqs = new scaleway.MnqSqs(\"mainMnqSqs\", {});\nconst mainMnqSqsCredentials = new scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", {\n projectId: mainMnqSqs.projectId,\n permissions: {\n canManage: true,\n canReceive: false,\n canPublish: false,\n },\n});\nconst mainMnqSqsQueue = new scaleway.MnqSqsQueue(\"mainMnqSqsQueue\", {\n projectId: mainMnqSqs.projectId,\n sqsEndpoint: mainMnqSqs.endpoint,\n accessKey: mainMnqSqsCredentials.accessKey,\n secretKey: mainMnqSqsCredentials.secretKey,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sqs = scaleway.MnqSqs(\"mainMnqSqs\")\nmain_mnq_sqs_credentials = scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\",\n project_id=main_mnq_sqs.project_id,\n permissions=scaleway.MnqSqsCredentialsPermissionsArgs(\n can_manage=True,\n can_receive=False,\n can_publish=False,\n ))\nmain_mnq_sqs_queue = scaleway.MnqSqsQueue(\"mainMnqSqsQueue\",\n project_id=main_mnq_sqs.project_id,\n sqs_endpoint=main_mnq_sqs.endpoint,\n access_key=main_mnq_sqs_credentials.access_key,\n secret_key=main_mnq_sqs_credentials.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSqs = new Scaleway.MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs\n {\n CanManage = true,\n CanReceive = false,\n CanPublish = false,\n },\n });\n\n var mainMnqSqsQueue = new Scaleway.MnqSqsQueue(\"mainMnqSqsQueue\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n SqsEndpoint = mainMnqSqs.Endpoint,\n AccessKey = mainMnqSqsCredentials.AccessKey,\n SecretKey = mainMnqSqsCredentials.SecretKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSqs, err := scaleway.NewMnqSqs(ctx, \"mainMnqSqs\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSqsCredentials, err := scaleway.NewMnqSqsCredentials(ctx, \"mainMnqSqsCredentials\", \u0026scaleway.MnqSqsCredentialsArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSqsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t\tCanReceive: pulumi.Bool(false),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqsQueue(ctx, \"mainMnqSqsQueue\", \u0026scaleway.MnqSqsQueueArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tSqsEndpoint: mainMnqSqs.Endpoint,\n\t\t\tAccessKey: mainMnqSqsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSqsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsCredentials;\nimport com.pulumi.scaleway.MnqSqsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSqsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSqsQueue;\nimport com.pulumi.scaleway.MnqSqsQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSqs = new MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new MnqSqsCredentials(\"mainMnqSqsCredentials\", MnqSqsCredentialsArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .permissions(MnqSqsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .canReceive(false)\n .canPublish(false)\n .build())\n .build());\n\n var mainMnqSqsQueue = new MnqSqsQueue(\"mainMnqSqsQueue\", MnqSqsQueueArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .sqsEndpoint(mainMnqSqs.endpoint())\n .accessKey(mainMnqSqsCredentials.accessKey())\n .secretKey(mainMnqSqsCredentials.secretKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSqs:\n type: scaleway:MnqSqs\n mainMnqSqsCredentials:\n type: scaleway:MnqSqsCredentials\n properties:\n projectId: ${mainMnqSqs.projectId}\n permissions:\n canManage: true\n canReceive: false\n canPublish: false\n mainMnqSqsQueue:\n type: scaleway:MnqSqsQueue\n properties:\n projectId: ${mainMnqSqs.projectId}\n sqsEndpoint: ${mainMnqSqs.endpoint}\n accessKey: ${mainMnqSqsCredentials.accessKey}\n secretKey: ${mainMnqSqsCredentials.secretKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Creates and manages Scaleway Messaging and Queuing SQS queues.\nFor further information, see\nour [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainMnqSqs = new scaleway.MnqSqs(\"mainMnqSqs\", {});\nconst mainMnqSqsCredentials = new scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", {\n projectId: mainMnqSqs.projectId,\n permissions: {\n canManage: true,\n canReceive: false,\n canPublish: false,\n },\n});\nconst mainMnqSqsQueue = new scaleway.MnqSqsQueue(\"mainMnqSqsQueue\", {\n projectId: mainMnqSqs.projectId,\n sqsEndpoint: mainMnqSqs.endpoint,\n accessKey: mainMnqSqsCredentials.accessKey,\n secretKey: mainMnqSqsCredentials.secretKey,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_mnq_sqs = scaleway.MnqSqs(\"mainMnqSqs\")\nmain_mnq_sqs_credentials = scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\",\n project_id=main_mnq_sqs.project_id,\n permissions=scaleway.MnqSqsCredentialsPermissionsArgs(\n can_manage=True,\n can_receive=False,\n can_publish=False,\n ))\nmain_mnq_sqs_queue = scaleway.MnqSqsQueue(\"mainMnqSqsQueue\",\n project_id=main_mnq_sqs.project_id,\n sqs_endpoint=main_mnq_sqs.endpoint,\n access_key=main_mnq_sqs_credentials.access_key,\n secret_key=main_mnq_sqs_credentials.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainMnqSqs = new Scaleway.MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials(\"mainMnqSqsCredentials\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs\n {\n CanManage = true,\n CanReceive = false,\n CanPublish = false,\n },\n });\n\n var mainMnqSqsQueue = new Scaleway.MnqSqsQueue(\"mainMnqSqsQueue\", new()\n {\n ProjectId = mainMnqSqs.ProjectId,\n SqsEndpoint = mainMnqSqs.Endpoint,\n AccessKey = mainMnqSqsCredentials.AccessKey,\n SecretKey = mainMnqSqsCredentials.SecretKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainMnqSqs, err := scaleway.NewMnqSqs(ctx, \"mainMnqSqs\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainMnqSqsCredentials, err := scaleway.NewMnqSqsCredentials(ctx, \"mainMnqSqsCredentials\", \u0026scaleway.MnqSqsCredentialsArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tPermissions: \u0026scaleway.MnqSqsCredentialsPermissionsArgs{\n\t\t\t\tCanManage: pulumi.Bool(true),\n\t\t\t\tCanReceive: pulumi.Bool(false),\n\t\t\t\tCanPublish: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewMnqSqsQueue(ctx, \"mainMnqSqsQueue\", \u0026scaleway.MnqSqsQueueArgs{\n\t\t\tProjectId: mainMnqSqs.ProjectId,\n\t\t\tSqsEndpoint: mainMnqSqs.Endpoint,\n\t\t\tAccessKey: mainMnqSqsCredentials.AccessKey,\n\t\t\tSecretKey: mainMnqSqsCredentials.SecretKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.MnqSqs;\nimport com.pulumi.scaleway.MnqSqsCredentials;\nimport com.pulumi.scaleway.MnqSqsCredentialsArgs;\nimport com.pulumi.scaleway.inputs.MnqSqsCredentialsPermissionsArgs;\nimport com.pulumi.scaleway.MnqSqsQueue;\nimport com.pulumi.scaleway.MnqSqsQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainMnqSqs = new MnqSqs(\"mainMnqSqs\");\n\n var mainMnqSqsCredentials = new MnqSqsCredentials(\"mainMnqSqsCredentials\", MnqSqsCredentialsArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .permissions(MnqSqsCredentialsPermissionsArgs.builder()\n .canManage(true)\n .canReceive(false)\n .canPublish(false)\n .build())\n .build());\n\n var mainMnqSqsQueue = new MnqSqsQueue(\"mainMnqSqsQueue\", MnqSqsQueueArgs.builder()\n .projectId(mainMnqSqs.projectId())\n .sqsEndpoint(mainMnqSqs.endpoint())\n .accessKey(mainMnqSqsCredentials.accessKey())\n .secretKey(mainMnqSqsCredentials.secretKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainMnqSqs:\n type: scaleway:MnqSqs\n mainMnqSqsCredentials:\n type: scaleway:MnqSqsCredentials\n properties:\n projectId: ${mainMnqSqs.projectId}\n permissions:\n canManage: true\n canReceive: false\n canPublish: false\n mainMnqSqsQueue:\n type: scaleway:MnqSqsQueue\n properties:\n projectId: ${mainMnqSqs.projectId}\n sqsEndpoint: ${mainMnqSqs.endpoint}\n accessKey: ${mainMnqSqsCredentials.accessKey}\n secretKey: ${mainMnqSqsCredentials.secretKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "accessKey": { "type": "string", @@ -17670,7 +17648,7 @@ }, "name": { "type": "string", - "description": "The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n" + "description": "The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n" }, "namePrefix": { "type": "string", @@ -17678,7 +17656,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n" + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n" }, "receiveWaitTimeSeconds": { "type": "integer", @@ -17686,7 +17664,7 @@ }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n" + "description": "`region`). The region in which SQS is enabled.\n" }, "secretKey": { "type": "string", @@ -17741,7 +17719,7 @@ }, "name": { "type": "string", - "description": "The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", + "description": "The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -17751,7 +17729,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n", "willReplaceOnChanges": true }, "receiveWaitTimeSeconds": { @@ -17760,7 +17738,7 @@ }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n", + "description": "`region`). The region in which SQS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -17807,7 +17785,7 @@ }, "name": { "type": "string", - "description": "The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", + "description": "The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`.\n", "willReplaceOnChanges": true }, "namePrefix": { @@ -17817,7 +17795,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the sqs is enabled for.\n", + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n", "willReplaceOnChanges": true }, "receiveWaitTimeSeconds": { @@ -17826,7 +17804,7 @@ }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n", + "description": "`region`). The region in which SQS is enabled.\n", "willReplaceOnChanges": true }, "secretKey": { @@ -18597,7 +18575,7 @@ } }, "scaleway:index/redisCluster:RedisCluster": { - "description": "Creates and manages Scaleway Redis Clusters.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RedisCluster(\"main\", {\n acls: [{\n description: \"Allow all\",\n ip: \"0.0.0.0/0\",\n }],\n clusterSize: 1,\n nodeType: \"RED1-MICRO\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n tags: [\n \"test\",\n \"redis\",\n ],\n tlsEnabled: true,\n userName: \"my_initial_user\",\n version: \"6.2.7\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RedisCluster(\"main\",\n acls=[scaleway.RedisClusterAclArgs(\n description=\"Allow all\",\n ip=\"0.0.0.0/0\",\n )],\n cluster_size=1,\n node_type=\"RED1-MICRO\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n tags=[\n \"test\",\n \"redis\",\n ],\n tls_enabled=True,\n user_name=\"my_initial_user\",\n version=\"6.2.7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n Acls = new[]\n {\n new Scaleway.Inputs.RedisClusterAclArgs\n {\n Description = \"Allow all\",\n Ip = \"0.0.0.0/0\",\n },\n },\n ClusterSize = 1,\n NodeType = \"RED1-MICRO\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Tags = new[]\n {\n \"test\",\n \"redis\",\n },\n TlsEnabled = true,\n UserName = \"my_initial_user\",\n Version = \"6.2.7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tAcls: scaleway.RedisClusterAclArray{\n\t\t\t\t\u0026scaleway.RedisClusterAclArgs{\n\t\t\t\t\tDescription: pulumi.String(\"Allow all\"),\n\t\t\t\t\tIp: pulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusterSize: pulumi.Int(1),\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"test\"),\n\t\t\t\tpulumi.String(\"redis\"),\n\t\t\t},\n\t\t\tTlsEnabled: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterAclArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .acls(RedisClusterAclArgs.builder()\n .description(\"Allow all\")\n .ip(\"0.0.0.0/0\")\n .build())\n .clusterSize(1)\n .nodeType(\"RED1-MICRO\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .tags( \n \"test\",\n \"redis\")\n .tlsEnabled(\"true\")\n .userName(\"my_initial_user\")\n .version(\"6.2.7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RedisCluster\n properties:\n acls:\n - description: Allow all\n ip: 0.0.0.0/0\n clusterSize: 1\n nodeType: RED1-MICRO\n password: thiZ_is_v\u0026ry_s3cret\n tags:\n - test\n - redis\n tlsEnabled: 'true'\n userName: my_initial_user\n version: 6.2.7\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With settings\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RedisCluster(\"main\", {\n nodeType: \"RED1-MICRO\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n settings: {\n maxclients: \"1000\",\n \"tcp-keepalive\": \"120\",\n },\n userName: \"my_initial_user\",\n version: \"6.2.7\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RedisCluster(\"main\",\n node_type=\"RED1-MICRO\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n settings={\n \"maxclients\": \"1000\",\n \"tcp-keepalive\": \"120\",\n },\n user_name=\"my_initial_user\",\n version=\"6.2.7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n NodeType = \"RED1-MICRO\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Settings = \n {\n { \"maxclients\", \"1000\" },\n { \"tcp-keepalive\", \"120\" },\n },\n UserName = \"my_initial_user\",\n Version = \"6.2.7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tSettings: pulumi.StringMap{\n\t\t\t\t\"maxclients\": pulumi.String(\"1000\"),\n\t\t\t\t\"tcp-keepalive\": pulumi.String(\"120\"),\n\t\t\t},\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .nodeType(\"RED1-MICRO\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .settings(Map.ofEntries(\n Map.entry(\"maxclients\", \"1000\"),\n Map.entry(\"tcp-keepalive\", \"120\")\n ))\n .userName(\"my_initial_user\")\n .version(\"6.2.7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RedisCluster\n properties:\n nodeType: RED1-MICRO\n password: thiZ_is_v\u0026ry_s3cret\n settings:\n maxclients: '1000'\n tcp-keepalive: '120'\n userName: my_initial_user\n version: 6.2.7\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With a private network\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.RedisCluster(\"main\", {\n version: \"6.2.7\",\n nodeType: \"RED1-MICRO\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n clusterSize: 1,\n privateNetworks: [{\n id: pn.id,\n serviceIps: [\"10.12.1.1/20\"],\n }],\n}, {\n dependsOn: [pn],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.RedisCluster(\"main\",\n version=\"6.2.7\",\n node_type=\"RED1-MICRO\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n cluster_size=1,\n private_networks=[scaleway.RedisClusterPrivateNetworkArgs(\n id=pn.id,\n service_ips=[\"10.12.1.1/20\"],\n )],\n opts=pulumi.ResourceOptions(depends_on=[pn]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n Version = \"6.2.7\",\n NodeType = \"RED1-MICRO\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n ClusterSize = 1,\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.RedisClusterPrivateNetworkArgs\n {\n Id = pn.Id,\n ServiceIps = new[]\n {\n \"10.12.1.1/20\",\n },\n },\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tClusterSize: pulumi.Int(1),\n\t\t\tPrivateNetworks: scaleway.RedisClusterPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.RedisClusterPrivateNetworkArgs{\n\t\t\t\t\tId: pn.ID(),\n\t\t\t\t\tServiceIps: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"10.12.1.1/20\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpn,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterPrivateNetworkArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .version(\"6.2.7\")\n .nodeType(\"RED1-MICRO\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .clusterSize(1)\n .privateNetworks(RedisClusterPrivateNetworkArgs.builder()\n .id(pn.id())\n .serviceIps(\"10.12.1.1/20\")\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(pn)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:RedisCluster\n properties:\n version: 6.2.7\n nodeType: RED1-MICRO\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n clusterSize: 1\n privateNetworks:\n - id: ${pn.id}\n serviceIps:\n - 10.12.1.1/20\n options:\n dependson:\n - ${pn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRedis Cluster can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/redisCluster:RedisCluster main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Redis™ clusters.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RedisCluster(\"main\", {\n acls: [{\n description: \"Allow all\",\n ip: \"0.0.0.0/0\",\n }],\n clusterSize: 1,\n nodeType: \"RED1-MICRO\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n tags: [\n \"test\",\n \"redis\",\n ],\n tlsEnabled: true,\n userName: \"my_initial_user\",\n version: \"6.2.7\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RedisCluster(\"main\",\n acls=[scaleway.RedisClusterAclArgs(\n description=\"Allow all\",\n ip=\"0.0.0.0/0\",\n )],\n cluster_size=1,\n node_type=\"RED1-MICRO\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n tags=[\n \"test\",\n \"redis\",\n ],\n tls_enabled=True,\n user_name=\"my_initial_user\",\n version=\"6.2.7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n Acls = new[]\n {\n new Scaleway.Inputs.RedisClusterAclArgs\n {\n Description = \"Allow all\",\n Ip = \"0.0.0.0/0\",\n },\n },\n ClusterSize = 1,\n NodeType = \"RED1-MICRO\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Tags = new[]\n {\n \"test\",\n \"redis\",\n },\n TlsEnabled = true,\n UserName = \"my_initial_user\",\n Version = \"6.2.7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tAcls: scaleway.RedisClusterAclArray{\n\t\t\t\t\u0026scaleway.RedisClusterAclArgs{\n\t\t\t\t\tDescription: pulumi.String(\"Allow all\"),\n\t\t\t\t\tIp: pulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusterSize: pulumi.Int(1),\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"test\"),\n\t\t\t\tpulumi.String(\"redis\"),\n\t\t\t},\n\t\t\tTlsEnabled: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterAclArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .acls(RedisClusterAclArgs.builder()\n .description(\"Allow all\")\n .ip(\"0.0.0.0/0\")\n .build())\n .clusterSize(1)\n .nodeType(\"RED1-MICRO\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .tags( \n \"test\",\n \"redis\")\n .tlsEnabled(\"true\")\n .userName(\"my_initial_user\")\n .version(\"6.2.7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RedisCluster\n properties:\n acls:\n - description: Allow all\n ip: 0.0.0.0/0\n clusterSize: 1\n nodeType: RED1-MICRO\n password: thiZ_is_v\u0026ry_s3cret\n tags:\n - test\n - redis\n tlsEnabled: 'true'\n userName: my_initial_user\n version: 6.2.7\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With settings\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RedisCluster(\"main\", {\n nodeType: \"RED1-MICRO\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n settings: {\n maxclients: \"1000\",\n \"tcp-keepalive\": \"120\",\n },\n userName: \"my_initial_user\",\n version: \"6.2.7\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RedisCluster(\"main\",\n node_type=\"RED1-MICRO\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n settings={\n \"maxclients\": \"1000\",\n \"tcp-keepalive\": \"120\",\n },\n user_name=\"my_initial_user\",\n version=\"6.2.7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n NodeType = \"RED1-MICRO\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n Settings = \n {\n { \"maxclients\", \"1000\" },\n { \"tcp-keepalive\", \"120\" },\n },\n UserName = \"my_initial_user\",\n Version = \"6.2.7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tSettings: pulumi.StringMap{\n\t\t\t\t\"maxclients\": pulumi.String(\"1000\"),\n\t\t\t\t\"tcp-keepalive\": pulumi.String(\"120\"),\n\t\t\t},\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .nodeType(\"RED1-MICRO\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .settings(Map.ofEntries(\n Map.entry(\"maxclients\", \"1000\"),\n Map.entry(\"tcp-keepalive\", \"120\")\n ))\n .userName(\"my_initial_user\")\n .version(\"6.2.7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RedisCluster\n properties:\n nodeType: RED1-MICRO\n password: thiZ_is_v\u0026ry_s3cret\n settings:\n maxclients: '1000'\n tcp-keepalive: '120'\n userName: my_initial_user\n version: 6.2.7\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With a Private Network\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.RedisCluster(\"main\", {\n version: \"6.2.7\",\n nodeType: \"RED1-MICRO\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n clusterSize: 1,\n privateNetworks: [{\n id: pn.id,\n serviceIps: [\"10.12.1.1/20\"],\n }],\n}, {\n dependsOn: [pn],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.RedisCluster(\"main\",\n version=\"6.2.7\",\n node_type=\"RED1-MICRO\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n cluster_size=1,\n private_networks=[scaleway.RedisClusterPrivateNetworkArgs(\n id=pn.id,\n service_ips=[\"10.12.1.1/20\"],\n )],\n opts=pulumi.ResourceOptions(depends_on=[pn]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.RedisCluster(\"main\", new()\n {\n Version = \"6.2.7\",\n NodeType = \"RED1-MICRO\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n ClusterSize = 1,\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.RedisClusterPrivateNetworkArgs\n {\n Id = pn.Id,\n ServiceIps = new[]\n {\n \"10.12.1.1/20\",\n },\n },\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewRedisCluster(ctx, \"main\", \u0026scaleway.RedisClusterArgs{\n\t\t\tVersion: pulumi.String(\"6.2.7\"),\n\t\t\tNodeType: pulumi.String(\"RED1-MICRO\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tClusterSize: pulumi.Int(1),\n\t\t\tPrivateNetworks: scaleway.RedisClusterPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.RedisClusterPrivateNetworkArgs{\n\t\t\t\t\tId: pn.ID(),\n\t\t\t\t\tServiceIps: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"10.12.1.1/20\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpn,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterPrivateNetworkArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new RedisCluster(\"main\", RedisClusterArgs.builder()\n .version(\"6.2.7\")\n .nodeType(\"RED1-MICRO\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .clusterSize(1)\n .privateNetworks(RedisClusterPrivateNetworkArgs.builder()\n .id(pn.id())\n .serviceIps(\"10.12.1.1/20\")\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(pn)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:RedisCluster\n properties:\n version: 6.2.7\n nodeType: RED1-MICRO\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n clusterSize: 1\n privateNetworks:\n - id: ${pn.id}\n serviceIps:\n - 10.12.1.1/20\n options:\n dependson:\n - ${pn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRedis™ cluster can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/redisCluster:RedisCluster main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "acls": { "type": "array", @@ -18612,23 +18590,23 @@ }, "clusterSize": { "type": "integer", - "description": "The number of nodes in the Redis Cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the Cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller\n`cluster_size` will destroy and recreate your Cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your Cluster as you will be switching to the Cluster mode.\n" + "description": "The number of nodes in the Redis™ cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller\n`cluster_size` will destroy and recreate your cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your cluster as you will be switching to the cluster mode.\n" }, "createdAt": { "type": "string", - "description": "The date and time of creation of the Redis Cluster.\n" + "description": "The date and time of creation of the Redis™ cluster.\n" }, "name": { "type": "string", - "description": "The name of the Redis Cluster.\n" + "description": "The name of the Redis™ cluster.\n" }, "nodeType": { "type": "string", - "description": "The type of Redis Cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis Cluster.\n" + "description": "The type of Redis™ cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis™ cluster.\n" }, "password": { "type": "string", - "description": "Password for the first user of the Redis Cluster.\n", + "description": "Password for the first user of the Redis™ cluster.\n", "secret": true }, "privateNetworks": { @@ -18636,11 +18614,11 @@ "items": { "$ref": "#/types/scaleway:index/RedisClusterPrivateNetwork:RedisClusterPrivateNetwork" }, - "description": "Describes the private network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" + "description": "Describes the Private Network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the Redis Cluster is\nassociated with.\n" + "description": "`project_id`) The ID of the project the Redis™ cluster is\nassociated with.\n" }, "publicNetwork": { "$ref": "#/types/scaleway:index/RedisClusterPublicNetwork:RedisClusterPublicNetwork", @@ -18651,14 +18629,14 @@ "additionalProperties": { "type": "string" }, - "description": "Map of settings for redis cluster. Available settings can be found by listing redis versions\nwith scaleway API or CLI\n" + "description": "Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions\nwith scaleway API or CLI\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the Redis Cluster.\n" + "description": "The tags associated with the Redis™ cluster.\n" }, "tlsEnabled": { "type": "boolean", @@ -18666,19 +18644,19 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the Redis Cluster.\n" + "description": "The date and time of the last update of the Redis™ cluster.\n" }, "userName": { "type": "string", - "description": "Identifier for the first user of the Redis Cluster.\n" + "description": "Identifier for the first user of the Redis™ cluster.\n" }, "version": { "type": "string", - "description": "Redis's Cluster version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis Cluster.\n" + "description": "Redis™ cluster's version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis™ cluster.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the\nRedis Cluster should be created.\n" + "description": "`zone`) The zone in which the\nRedis™ cluster should be created.\n" } }, "required": [ @@ -18705,19 +18683,19 @@ }, "clusterSize": { "type": "integer", - "description": "The number of nodes in the Redis Cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the Cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller\n`cluster_size` will destroy and recreate your Cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your Cluster as you will be switching to the Cluster mode.\n" + "description": "The number of nodes in the Redis™ cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller\n`cluster_size` will destroy and recreate your cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your cluster as you will be switching to the cluster mode.\n" }, "name": { "type": "string", - "description": "The name of the Redis Cluster.\n" + "description": "The name of the Redis™ cluster.\n" }, "nodeType": { "type": "string", - "description": "The type of Redis Cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis Cluster.\n" + "description": "The type of Redis™ cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis™ cluster.\n" }, "password": { "type": "string", - "description": "Password for the first user of the Redis Cluster.\n", + "description": "Password for the first user of the Redis™ cluster.\n", "secret": true }, "privateNetworks": { @@ -18725,11 +18703,11 @@ "items": { "$ref": "#/types/scaleway:index/RedisClusterPrivateNetwork:RedisClusterPrivateNetwork" }, - "description": "Describes the private network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" + "description": "Describes the Private Network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the Redis Cluster is\nassociated with.\n", + "description": "`project_id`) The ID of the project the Redis™ cluster is\nassociated with.\n", "willReplaceOnChanges": true }, "publicNetwork": { @@ -18741,14 +18719,14 @@ "additionalProperties": { "type": "string" }, - "description": "Map of settings for redis cluster. Available settings can be found by listing redis versions\nwith scaleway API or CLI\n" + "description": "Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions\nwith scaleway API or CLI\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the Redis Cluster.\n" + "description": "The tags associated with the Redis™ cluster.\n" }, "tlsEnabled": { "type": "boolean", @@ -18757,15 +18735,15 @@ }, "userName": { "type": "string", - "description": "Identifier for the first user of the Redis Cluster.\n" + "description": "Identifier for the first user of the Redis™ cluster.\n" }, "version": { "type": "string", - "description": "Redis's Cluster version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis Cluster.\n" + "description": "Redis™ cluster's version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis™ cluster.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the\nRedis Cluster should be created.\n", + "description": "`zone`) The zone in which the\nRedis™ cluster should be created.\n", "willReplaceOnChanges": true } }, @@ -18791,23 +18769,23 @@ }, "clusterSize": { "type": "integer", - "description": "The number of nodes in the Redis Cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the Cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller\n`cluster_size` will destroy and recreate your Cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your Cluster as you will be switching to the Cluster mode.\n" + "description": "The number of nodes in the Redis™ cluster.\n\n\u003e **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode\nwhich is minimum 3 (1 main node + 2 secondary nodes)\n\n\u003e **Important:** If you are using the cluster mode (\u003e=3 nodes), you can set a bigger `cluster_size` than you initially\ndid, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller\n`cluster_size` will destroy and recreate your cluster.\n\n\u003e **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and\nrecreate your cluster as you will be switching to the cluster mode.\n" }, "createdAt": { "type": "string", - "description": "The date and time of creation of the Redis Cluster.\n" + "description": "The date and time of creation of the Redis™ cluster.\n" }, "name": { "type": "string", - "description": "The name of the Redis Cluster.\n" + "description": "The name of the Redis™ cluster.\n" }, "nodeType": { "type": "string", - "description": "The type of Redis Cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis Cluster.\n" + "description": "The type of Redis™ cluster you want to create (e.g. `RED1-M`).\n\n\u003e **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that\nyou cannot downgrade a Redis™ cluster.\n" }, "password": { "type": "string", - "description": "Password for the first user of the Redis Cluster.\n", + "description": "Password for the first user of the Redis™ cluster.\n", "secret": true }, "privateNetworks": { @@ -18815,11 +18793,11 @@ "items": { "$ref": "#/types/scaleway:index/RedisClusterPrivateNetwork:RedisClusterPrivateNetwork" }, - "description": "Describes the private network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" + "description": "Describes the Private Network you want to connect to your cluster. If not set, a public\nnetwork will be provided. More details on the Private Network section\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the Redis Cluster is\nassociated with.\n", + "description": "`project_id`) The ID of the project the Redis™ cluster is\nassociated with.\n", "willReplaceOnChanges": true }, "publicNetwork": { @@ -18831,14 +18809,14 @@ "additionalProperties": { "type": "string" }, - "description": "Map of settings for redis cluster. Available settings can be found by listing redis versions\nwith scaleway API or CLI\n" + "description": "Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions\nwith scaleway API or CLI\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the Redis Cluster.\n" + "description": "The tags associated with the Redis™ cluster.\n" }, "tlsEnabled": { "type": "boolean", @@ -18847,19 +18825,19 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the Redis Cluster.\n" + "description": "The date and time of the last update of the Redis™ cluster.\n" }, "userName": { "type": "string", - "description": "Identifier for the first user of the Redis Cluster.\n" + "description": "Identifier for the first user of the Redis™ cluster.\n" }, "version": { "type": "string", - "description": "Redis's Cluster version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis Cluster.\n" + "description": "Redis™ cluster's version (e.g. `6.2.7`).\n\n\u003e **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you\ncannot downgrade a Redis™ cluster.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the\nRedis Cluster should be created.\n", + "description": "`zone`) The zone in which the\nRedis™ cluster should be created.\n", "willReplaceOnChanges": true } }, @@ -18867,7 +18845,7 @@ } }, "scaleway:index/registryNamespace:RegistryNamespace": { - "description": "Creates and manages Scaleway Container Registry.\nFor more information see [the documentation](https://www.scaleway.com/en/developers/api/registry).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RegistryNamespace(\"main\", {\n description: \"Main container registry\",\n isPublic: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RegistryNamespace(\"main\",\n description=\"Main container registry\",\n is_public=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RegistryNamespace(\"main\", new()\n {\n Description = \"Main container registry\",\n IsPublic = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRegistryNamespace(ctx, \"main\", \u0026scaleway.RegistryNamespaceArgs{\n\t\t\tDescription: pulumi.String(\"Main container registry\"),\n\t\t\tIsPublic: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RegistryNamespace;\nimport com.pulumi.scaleway.RegistryNamespaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RegistryNamespace(\"main\", RegistryNamespaceArgs.builder()\n .description(\"Main container registry\")\n .isPublic(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RegistryNamespace\n properties:\n description: Main container registry\n isPublic: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/registryNamespace:RegistryNamespace main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Container Registry.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.RegistryNamespace(\"main\", {\n description: \"Main container registry\",\n isPublic: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.RegistryNamespace(\"main\",\n description=\"Main container registry\",\n is_public=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.RegistryNamespace(\"main\", new()\n {\n Description = \"Main container registry\",\n IsPublic = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewRegistryNamespace(ctx, \"main\", \u0026scaleway.RegistryNamespaceArgs{\n\t\t\tDescription: pulumi.String(\"Main container registry\"),\n\t\t\tIsPublic: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.RegistryNamespace;\nimport com.pulumi.scaleway.RegistryNamespaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new RegistryNamespace(\"main\", RegistryNamespaceArgs.builder()\n .description(\"Main container registry\")\n .isPublic(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:RegistryNamespace\n properties:\n description: Main container registry\n isPublic: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNamespaces can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/registryNamespace:RegistryNamespace main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "description": { "type": "string", @@ -18887,7 +18865,7 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the namespace is associated with.\n" + "description": "The Organization ID the namespace is associated with.\n" }, "projectId": { "type": "string", @@ -18952,7 +18930,7 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the namespace is associated with.\n" + "description": "The Organization ID the namespace is associated with.\n" }, "projectId": { "type": "string", @@ -19314,11 +19292,11 @@ } }, "scaleway:index/temDomain:TemDomain": { - "description": "Creates and manages Scaleway Transactional Email Domains.\nFor more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.TemDomain(\"main\", {acceptTos: true});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.TemDomain(\"main\", accept_tos=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.TemDomain(\"main\", new()\n {\n AcceptTos = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewTemDomain(ctx, \"main\", \u0026scaleway.TemDomainArgs{\n\t\t\tAcceptTos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomain;\nimport com.pulumi.scaleway.TemDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new TemDomain(\"main\", TemDomainArgs.builder()\n .acceptTos(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:TemDomain\n properties:\n acceptTos: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Add the required records to your DNS zone\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst config = new pulumi.Config();\nconst domainName = config.require(\"domainName\");\nconst main = new scaleway.TemDomain(\"main\", {acceptTos: true});\nconst spf = new scaleway.DomainRecord(\"spf\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: pulumi.interpolate`v=spf1 ${main.spfConfig} -all`,\n});\nconst dkim = new scaleway.DomainRecord(\"dkim\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: main.dkimConfig,\n});\nconst mx = new scaleway.DomainRecord(\"mx\", {\n dnsZone: domainName,\n type: \"MX\",\n data: \".\",\n});\nconst dmarc = new scaleway.DomainRecord(\"dmarc\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: main.dmarcConfig,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nconfig = pulumi.Config()\ndomain_name = config.require(\"domainName\")\nmain = scaleway.TemDomain(\"main\", accept_tos=True)\nspf = scaleway.DomainRecord(\"spf\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.spf_config.apply(lambda spf_config: f\"v=spf1 {spf_config} -all\"))\ndkim = scaleway.DomainRecord(\"dkim\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.dkim_config)\nmx = scaleway.DomainRecord(\"mx\",\n dns_zone=domain_name,\n type=\"MX\",\n data=\".\")\ndmarc = scaleway.DomainRecord(\"dmarc\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.dmarc_config)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var domainName = config.Require(\"domainName\");\n var main = new Scaleway.TemDomain(\"main\", new()\n {\n AcceptTos = true,\n });\n\n var spf = new Scaleway.DomainRecord(\"spf\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.SpfConfig.Apply(spfConfig =\u003e $\"v=spf1 {spfConfig} -all\"),\n });\n\n var dkim = new Scaleway.DomainRecord(\"dkim\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.DkimConfig,\n });\n\n var mx = new Scaleway.DomainRecord(\"mx\", new()\n {\n DnsZone = domainName,\n Type = \"MX\",\n Data = \".\",\n });\n\n var dmarc = new Scaleway.DomainRecord(\"dmarc\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.DmarcConfig,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tdomainName := cfg.Require(\"domainName\")\n\t\tmain, err := scaleway.NewTemDomain(ctx, \"main\", \u0026scaleway.TemDomainArgs{\n\t\t\tAcceptTos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"spf\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.SpfConfig.ApplyT(func(spfConfig string) (string, error) {\n\t\t\t\treturn fmt.Sprintf(\"v=spf1 %v -all\", spfConfig), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"dkim\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.DkimConfig,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"mx\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"MX\"),\n\t\t\tData: pulumi.String(\".\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"dmarc\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.DmarcConfig,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomain;\nimport com.pulumi.scaleway.TemDomainArgs;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var domainName = config.get(\"domainName\");\n var main = new TemDomain(\"main\", TemDomainArgs.builder()\n .acceptTos(true)\n .build());\n\n var spf = new DomainRecord(\"spf\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.spfConfig().applyValue(spfConfig -\u003e String.format(\"v=spf1 %s -all\", spfConfig)))\n .build());\n\n var dkim = new DomainRecord(\"dkim\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.dkimConfig())\n .build());\n\n var mx = new DomainRecord(\"mx\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"MX\")\n .data(\".\")\n .build());\n\n var dmarc = new DomainRecord(\"dmarc\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.dmarcConfig())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n domainName:\n type: string\nresources:\n main:\n type: scaleway:TemDomain\n properties:\n acceptTos: true\n spf:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: v=spf1 ${main.spfConfig} -all\n dkim:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: ${main.dkimConfig}\n mx:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: MX\n data: .\n dmarc:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: ${main.dmarcConfig}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n## Import\n\nDomains can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/temDomain:TemDomain main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Transactional Email Domains.\nFor more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.TemDomain(\"main\", {acceptTos: true});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.TemDomain(\"main\", accept_tos=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.TemDomain(\"main\", new()\n {\n AcceptTos = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewTemDomain(ctx, \"main\", \u0026scaleway.TemDomainArgs{\n\t\t\tAcceptTos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomain;\nimport com.pulumi.scaleway.TemDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new TemDomain(\"main\", TemDomainArgs.builder()\n .acceptTos(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:TemDomain\n properties:\n acceptTos: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Add the required records to your DNS zone\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst config = new pulumi.Config();\nconst domainName = config.require(\"domainName\");\nconst main = new scaleway.TemDomain(\"main\", {acceptTos: true});\nconst spf = new scaleway.DomainRecord(\"spf\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: pulumi.interpolate`v=spf1 ${main.spfConfig} -all`,\n});\nconst dkim = new scaleway.DomainRecord(\"dkim\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: main.dkimConfig,\n});\nconst mx = new scaleway.DomainRecord(\"mx\", {\n dnsZone: domainName,\n type: \"MX\",\n data: \".\",\n});\nconst dmarc = new scaleway.DomainRecord(\"dmarc\", {\n dnsZone: domainName,\n type: \"TXT\",\n data: main.dmarcConfig,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nconfig = pulumi.Config()\ndomain_name = config.require(\"domainName\")\nmain = scaleway.TemDomain(\"main\", accept_tos=True)\nspf = scaleway.DomainRecord(\"spf\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.spf_config.apply(lambda spf_config: f\"v=spf1 {spf_config} -all\"))\ndkim = scaleway.DomainRecord(\"dkim\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.dkim_config)\nmx = scaleway.DomainRecord(\"mx\",\n dns_zone=domain_name,\n type=\"MX\",\n data=\".\")\ndmarc = scaleway.DomainRecord(\"dmarc\",\n dns_zone=domain_name,\n type=\"TXT\",\n data=main.dmarc_config)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var domainName = config.Require(\"domainName\");\n var main = new Scaleway.TemDomain(\"main\", new()\n {\n AcceptTos = true,\n });\n\n var spf = new Scaleway.DomainRecord(\"spf\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.SpfConfig.Apply(spfConfig =\u003e $\"v=spf1 {spfConfig} -all\"),\n });\n\n var dkim = new Scaleway.DomainRecord(\"dkim\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.DkimConfig,\n });\n\n var mx = new Scaleway.DomainRecord(\"mx\", new()\n {\n DnsZone = domainName,\n Type = \"MX\",\n Data = \".\",\n });\n\n var dmarc = new Scaleway.DomainRecord(\"dmarc\", new()\n {\n DnsZone = domainName,\n Type = \"TXT\",\n Data = main.DmarcConfig,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tdomainName := cfg.Require(\"domainName\")\n\t\tmain, err := scaleway.NewTemDomain(ctx, \"main\", \u0026scaleway.TemDomainArgs{\n\t\t\tAcceptTos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"spf\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.SpfConfig.ApplyT(func(spfConfig string) (string, error) {\n\t\t\t\treturn fmt.Sprintf(\"v=spf1 %v -all\", spfConfig), nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"dkim\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.DkimConfig,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"mx\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"MX\"),\n\t\t\tData: pulumi.String(\".\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"dmarc\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(domainName),\n\t\t\tType: pulumi.String(\"TXT\"),\n\t\t\tData: main.DmarcConfig,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomain;\nimport com.pulumi.scaleway.TemDomainArgs;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var domainName = config.get(\"domainName\");\n var main = new TemDomain(\"main\", TemDomainArgs.builder()\n .acceptTos(true)\n .build());\n\n var spf = new DomainRecord(\"spf\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.spfConfig().applyValue(spfConfig -\u003e String.format(\"v=spf1 %s -all\", spfConfig)))\n .build());\n\n var dkim = new DomainRecord(\"dkim\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.dkimConfig())\n .build());\n\n var mx = new DomainRecord(\"mx\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"MX\")\n .data(\".\")\n .build());\n\n var dmarc = new DomainRecord(\"dmarc\", DomainRecordArgs.builder()\n .dnsZone(domainName)\n .type(\"TXT\")\n .data(main.dmarcConfig())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n domainName:\n type: string\nresources:\n main:\n type: scaleway:TemDomain\n properties:\n acceptTos: true\n spf:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: v=spf1 ${main.spfConfig} -all\n dkim:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: ${main.dkimConfig}\n mx:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: MX\n data: .\n dmarc:\n type: scaleway:DomainRecord\n properties:\n dnsZone: ${domainName}\n type: TXT\n data: ${main.dmarcConfig}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDomains can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/temDomain:TemDomain main fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "acceptTos": { "type": "boolean", - "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n" + "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n" }, "createdAt": { "type": "string", @@ -19440,7 +19418,7 @@ "inputProperties": { "acceptTos": { "type": "boolean", - "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n", + "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n", "willReplaceOnChanges": true }, "name": { @@ -19467,7 +19445,7 @@ "properties": { "acceptTos": { "type": "boolean", - "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n", + "description": "Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf).\n\u003e **Important:** This attribute must be set to `true`.\n", "willReplaceOnChanges": true }, "createdAt": { @@ -19569,7 +19547,7 @@ } }, "scaleway:index/temDomainValidation:TemDomainValidation": { - "description": "## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst example = new scaleway.TemDomainValidation(\"example\", {\n domainId: \"your-domain-id\",\n region: \"fr-par\",\n timeout: 300,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nexample = scaleway.TemDomainValidation(\"example\",\n domain_id=\"your-domain-id\",\n region=\"fr-par\",\n timeout=300)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Scaleway.TemDomainValidation(\"example\", new()\n {\n DomainId = \"your-domain-id\",\n Region = \"fr-par\",\n Timeout = 300,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewTemDomainValidation(ctx, \"example\", \u0026scaleway.TemDomainValidationArgs{\n\t\t\tDomainId: pulumi.String(\"your-domain-id\"),\n\t\t\tRegion: pulumi.String(\"fr-par\"),\n\t\t\tTimeout: pulumi.Int(300),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomainValidation;\nimport com.pulumi.scaleway.TemDomainValidationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new TemDomainValidation(\"example\", TemDomainValidationArgs.builder()\n .domainId(\"your-domain-id\")\n .region(\"fr-par\")\n .timeout(300)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: scaleway:TemDomainValidation\n properties:\n domainId: your-domain-id\n region: fr-par\n timeout: 300\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.TemDomain(\"main\", {acceptTos: true});\nconst example = new scaleway.TemDomainValidation(\"example\", {\n domainId: main.id,\n region: \"fr-par\",\n timeout: 300,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.TemDomain(\"main\", accept_tos=True)\nexample = scaleway.TemDomainValidation(\"example\",\n domain_id=main.id,\n region=\"fr-par\",\n timeout=300)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.TemDomain(\"main\", new()\n {\n AcceptTos = true,\n });\n\n var example = new Scaleway.TemDomainValidation(\"example\", new()\n {\n DomainId = main.Id,\n Region = \"fr-par\",\n Timeout = 300,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewTemDomain(ctx, \"main\", \u0026scaleway.TemDomainArgs{\n\t\t\tAcceptTos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewTemDomainValidation(ctx, \"example\", \u0026scaleway.TemDomainValidationArgs{\n\t\t\tDomainId: main.ID(),\n\t\t\tRegion: pulumi.String(\"fr-par\"),\n\t\t\tTimeout: pulumi.Int(300),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.TemDomain;\nimport com.pulumi.scaleway.TemDomainArgs;\nimport com.pulumi.scaleway.TemDomainValidation;\nimport com.pulumi.scaleway.TemDomainValidationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new TemDomain(\"main\", TemDomainArgs.builder()\n .acceptTos(true)\n .build());\n\n var example = new TemDomainValidation(\"example\", TemDomainValidationArgs.builder()\n .domainId(main.id())\n .region(\"fr-par\")\n .timeout(300)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:TemDomain\n properties:\n acceptTos: true\n example:\n type: scaleway:TemDomainValidation\n properties:\n domainId: ${main.id}\n region: fr-par\n timeout: 300\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "domainId": { "type": "string", @@ -19640,7 +19618,7 @@ } }, "scaleway:index/vpc:Vpc": { - "description": "Creates and manages Scaleway Virtual Private Clouds.\nFor more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {tags: [\n \"demo\",\n \"terraform\",\n]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\", tags=[\n \"demo\",\n \"terraform\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpc(ctx, \"vpc01\", \u0026scaleway.VpcArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\", VpcArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n properties:\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Enable routing\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {\n enableRouting: true,\n tags: [\n \"demo\",\n \"terraform\",\n \"routing\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\",\n enable_routing=True,\n tags=[\n \"demo\",\n \"terraform\",\n \"routing\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\", new()\n {\n EnableRouting = true,\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n \"routing\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpc(ctx, \"vpc01\", \u0026scaleway.VpcArgs{\n\t\t\tEnableRouting: pulumi.Bool(true),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t\tpulumi.String(\"routing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\", VpcArgs.builder()\n .enableRouting(true)\n .tags( \n \"demo\",\n \"terraform\",\n \"routing\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n properties:\n enableRouting: true\n tags:\n - demo\n - terraform\n - routing\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nVPCs can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpc:Vpc vpc_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Virtual Private Clouds.\nFor more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {tags: [\n \"demo\",\n \"terraform\",\n]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\", tags=[\n \"demo\",\n \"terraform\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpc(ctx, \"vpc01\", \u0026scaleway.VpcArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\", VpcArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n properties:\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Enable routing\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {\n enableRouting: true,\n tags: [\n \"demo\",\n \"terraform\",\n \"routing\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\",\n enable_routing=True,\n tags=[\n \"demo\",\n \"terraform\",\n \"routing\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\", new()\n {\n EnableRouting = true,\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n \"routing\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpc(ctx, \"vpc01\", \u0026scaleway.VpcArgs{\n\t\t\tEnableRouting: pulumi.Bool(true),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t\tpulumi.String(\"routing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\", VpcArgs.builder()\n .enableRouting(true)\n .tags( \n \"demo\",\n \"terraform\",\n \"routing\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n properties:\n enableRouting: true\n tags:\n - demo\n - terraform\n - routing\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nVPCs can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpc:Vpc vpc_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -19656,15 +19634,15 @@ }, "name": { "type": "string", - "description": "The name of the VPC. If not provided it will be randomly generated.\n" + "description": "The name for the VPC. If not provided it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the VPC is associated with.\n" + "description": "The Organization ID the VPC is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the VPC is associated with.\n" + "description": "`project_id`) The ID of the Project the VPC is associated with.\n" }, "region": { "type": "string", @@ -19675,7 +19653,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the VPC.\n" + "description": "The tags to associate with the VPC.\n" }, "updatedAt": { "type": "string", @@ -19699,11 +19677,11 @@ }, "name": { "type": "string", - "description": "The name of the VPC. If not provided it will be randomly generated.\n" + "description": "The name for the VPC. If not provided it will be randomly generated.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the VPC is associated with.\n", + "description": "`project_id`) The ID of the Project the VPC is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -19716,7 +19694,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the VPC.\n" + "description": "The tags to associate with the VPC.\n" } }, "stateInputs": { @@ -19736,15 +19714,15 @@ }, "name": { "type": "string", - "description": "The name of the VPC. If not provided it will be randomly generated.\n" + "description": "The name for the VPC. If not provided it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the VPC is associated with.\n" + "description": "The Organization ID the VPC is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the VPC is associated with.\n", + "description": "`project_id`) The ID of the Project the VPC is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -19757,7 +19735,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the VPC.\n" + "description": "The tags to associate with the VPC.\n" }, "updatedAt": { "type": "string", @@ -19768,50 +19746,50 @@ } }, "scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork": { - "description": "Creates and manages Scaleway VPC Public Gateway Network.\nIt allows attaching Private Networks to the VPC Public Gateway and your DHCP config\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).\n\n## Example Usage\n\n### Create a gateway network with IPAM config\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n ipv4Subnet: {\n subnet: \"172.16.64.0/22\",\n },\n vpcId: vpc01.id,\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableMasquerade: true,\n ipamConfigs: [{\n pushDefaultRoute: true,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.64.0/22\",\n ),\n vpc_id=vpc01.id)\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_masquerade=True,\n ipam_configs=[scaleway.VpcGatewayNetworkIpamConfigArgs(\n push_default_route=True,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.64.0/22\",\n },\n VpcId = vpc01.Id,\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableMasquerade = true,\n IpamConfigs = new[]\n {\n new Scaleway.Inputs.VpcGatewayNetworkIpamConfigArgs\n {\n PushDefaultRoute = true,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.64.0/22\"),\n\t\t\t},\n\t\t\tVpcId: vpc01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tIpamConfigs: scaleway.VpcGatewayNetworkIpamConfigArray{\n\t\t\t\t\u0026scaleway.VpcGatewayNetworkIpamConfigArgs{\n\t\t\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcGatewayNetworkIpamConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.64.0/22\")\n .build())\n .vpcId(vpc01.id())\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableMasquerade(true)\n .ipamConfigs(VpcGatewayNetworkIpamConfigArgs.builder()\n .pushDefaultRoute(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.64.0/22\n vpcId: ${vpc01.id}\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableMasquerade: true\n ipamConfigs:\n - pushDefaultRoute: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a gateway network with a booked IPAM IP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n ipv4Subnet: {\n subnet: \"172.16.64.0/22\",\n },\n vpcId: vpc01.id,\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n address: \"172.16.64.7\",\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableMasquerade: true,\n ipamConfigs: [{\n pushDefaultRoute: true,\n ipamIpId: ip01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.64.0/22\",\n ),\n vpc_id=vpc01.id)\nip01 = scaleway.IpamIp(\"ip01\",\n address=\"172.16.64.7\",\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_masquerade=True,\n ipam_configs=[scaleway.VpcGatewayNetworkIpamConfigArgs(\n push_default_route=True,\n ipam_ip_id=ip01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.64.0/22\",\n },\n VpcId = vpc01.Id,\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Address = \"172.16.64.7\",\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableMasquerade = true,\n IpamConfigs = new[]\n {\n new Scaleway.Inputs.VpcGatewayNetworkIpamConfigArgs\n {\n PushDefaultRoute = true,\n IpamIpId = ip01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.64.0/22\"),\n\t\t\t},\n\t\t\tVpcId: vpc01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tAddress: pulumi.String(\"172.16.64.7\"),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tIpamConfigs: scaleway.VpcGatewayNetworkIpamConfigArray{\n\t\t\t\t\u0026scaleway.VpcGatewayNetworkIpamConfigArgs{\n\t\t\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t\t\t\tIpamIpId: ip01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcGatewayNetworkIpamConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.64.0/22\")\n .build())\n .vpcId(vpc01.id())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .address(\"172.16.64.7\")\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableMasquerade(true)\n .ipamConfigs(VpcGatewayNetworkIpamConfigArgs.builder()\n .pushDefaultRoute(true)\n .ipamIpId(ip01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.64.0/22\n vpcId: ${vpc01.id}\n ip01:\n type: scaleway:IpamIp\n properties:\n address: 172.16.64.7\n sources:\n - privateNetworkId: ${pn01.id}\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableMasquerade: true\n ipamConfigs:\n - pushDefaultRoute: true\n ipamIpId: ${ip01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a gateway network with DHCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst gw01 = new scaleway.VpcPublicGatewayIp(\"gw01\", {});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {\n subnet: \"192.168.1.0/24\",\n pushDefaultRoute: true,\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: gw01.id,\n});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\ngw01 = scaleway.VpcPublicGatewayIp(\"gw01\")\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\",\n subnet=\"192.168.1.0/24\",\n push_default_route=True)\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=gw01.id)\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var gw01 = new Scaleway.VpcPublicGatewayIp(\"gw01\");\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.1.0/24\",\n PushDefaultRoute = true,\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = gw01.Id,\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgw01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"gw01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: gw01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var gw01 = new VpcPublicGatewayIp(\"gw01\");\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .pushDefaultRoute(true)\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(gw01.id())\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn01:\n type: scaleway:VpcPrivateNetwork\n gw01:\n type: scaleway:VpcPublicGatewayIp\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n pushDefaultRoute: true\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${gw01.id}\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a gateway network with a static IP address\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableDhcp: false,\n enableMasquerade: true,\n staticAddress: \"192.168.1.42/24\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_dhcp=False,\n enable_masquerade=True,\n static_address=\"192.168.1.42/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableDhcp = false,\n EnableMasquerade = true,\n StaticAddress = \"192.168.1.42/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableDhcp: pulumi.Bool(false),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tStaticAddress: pulumi.String(\"192.168.1.42/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableDhcp(false)\n .enableMasquerade(true)\n .staticAddress(\"192.168.1.42/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn01:\n type: scaleway:VpcPrivateNetwork\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableDhcp: false\n enableMasquerade: true\n staticAddress: 192.168.1.42/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nGateway network can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).\n\nIt allows the attachment of Private Networks to Public Gateways and DHCP configurations.\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).\n\n## Example Usage\n\n### Create a GatewayNetwork with IPAM configuration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n ipv4Subnet: {\n subnet: \"172.16.64.0/22\",\n },\n vpcId: vpc01.id,\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableMasquerade: true,\n ipamConfigs: [{\n pushDefaultRoute: true,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.64.0/22\",\n ),\n vpc_id=vpc01.id)\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_masquerade=True,\n ipam_configs=[scaleway.VpcGatewayNetworkIpamConfigArgs(\n push_default_route=True,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.64.0/22\",\n },\n VpcId = vpc01.Id,\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableMasquerade = true,\n IpamConfigs = new[]\n {\n new Scaleway.Inputs.VpcGatewayNetworkIpamConfigArgs\n {\n PushDefaultRoute = true,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.64.0/22\"),\n\t\t\t},\n\t\t\tVpcId: vpc01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tIpamConfigs: scaleway.VpcGatewayNetworkIpamConfigArray{\n\t\t\t\t\u0026scaleway.VpcGatewayNetworkIpamConfigArgs{\n\t\t\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcGatewayNetworkIpamConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.64.0/22\")\n .build())\n .vpcId(vpc01.id())\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableMasquerade(true)\n .ipamConfigs(VpcGatewayNetworkIpamConfigArgs.builder()\n .pushDefaultRoute(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.64.0/22\n vpcId: ${vpc01.id}\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableMasquerade: true\n ipamConfigs:\n - pushDefaultRoute: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a GatewayNetwork with a booked IPAM IP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n ipv4Subnet: {\n subnet: \"172.16.64.0/22\",\n },\n vpcId: vpc01.id,\n});\nconst ip01 = new scaleway.IpamIp(\"ip01\", {\n address: \"172.16.64.7\",\n sources: [{\n privateNetworkId: pn01.id,\n }],\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableMasquerade: true,\n ipamConfigs: [{\n pushDefaultRoute: true,\n ipamIpId: ip01.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.64.0/22\",\n ),\n vpc_id=vpc01.id)\nip01 = scaleway.IpamIp(\"ip01\",\n address=\"172.16.64.7\",\n sources=[scaleway.IpamIpSourceArgs(\n private_network_id=pn01.id,\n )])\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_masquerade=True,\n ipam_configs=[scaleway.VpcGatewayNetworkIpamConfigArgs(\n push_default_route=True,\n ipam_ip_id=ip01.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.64.0/22\",\n },\n VpcId = vpc01.Id,\n });\n\n var ip01 = new Scaleway.IpamIp(\"ip01\", new()\n {\n Address = \"172.16.64.7\",\n Sources = new[]\n {\n new Scaleway.Inputs.IpamIpSourceArgs\n {\n PrivateNetworkId = pn01.Id,\n },\n },\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableMasquerade = true,\n IpamConfigs = new[]\n {\n new Scaleway.Inputs.VpcGatewayNetworkIpamConfigArgs\n {\n PushDefaultRoute = true,\n IpamIpId = ip01.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.64.0/22\"),\n\t\t\t},\n\t\t\tVpcId: vpc01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewIpamIp(ctx, \"ip01\", \u0026scaleway.IpamIpArgs{\n\t\t\tAddress: pulumi.String(\"172.16.64.7\"),\n\t\t\tSources: scaleway.IpamIpSourceArray{\n\t\t\t\t\u0026scaleway.IpamIpSourceArgs{\n\t\t\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tIpamConfigs: scaleway.VpcGatewayNetworkIpamConfigArray{\n\t\t\t\t\u0026scaleway.VpcGatewayNetworkIpamConfigArgs{\n\t\t\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t\t\t\tIpamIpId: ip01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.IpamIp;\nimport com.pulumi.scaleway.IpamIpArgs;\nimport com.pulumi.scaleway.inputs.IpamIpSourceArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcGatewayNetworkIpamConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.64.0/22\")\n .build())\n .vpcId(vpc01.id())\n .build());\n\n var ip01 = new IpamIp(\"ip01\", IpamIpArgs.builder()\n .address(\"172.16.64.7\")\n .sources(IpamIpSourceArgs.builder()\n .privateNetworkId(pn01.id())\n .build())\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableMasquerade(true)\n .ipamConfigs(VpcGatewayNetworkIpamConfigArgs.builder()\n .pushDefaultRoute(true)\n .ipamIpId(ip01.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 172.16.64.0/22\n vpcId: ${vpc01.id}\n ip01:\n type: scaleway:IpamIp\n properties:\n address: 172.16.64.7\n sources:\n - privateNetworkId: ${pn01.id}\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableMasquerade: true\n ipamConfigs:\n - pushDefaultRoute: true\n ipamIpId: ${ip01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a GatewayNetwork with DHCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst gw01 = new scaleway.VpcPublicGatewayIp(\"gw01\", {});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {\n subnet: \"192.168.1.0/24\",\n pushDefaultRoute: true,\n});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: gw01.id,\n});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\ngw01 = scaleway.VpcPublicGatewayIp(\"gw01\")\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\",\n subnet=\"192.168.1.0/24\",\n push_default_route=True)\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=gw01.id)\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var gw01 = new Scaleway.VpcPublicGatewayIp(\"gw01\");\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.1.0/24\",\n PushDefaultRoute = true,\n });\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = gw01.Id,\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgw01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"gw01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t\tPushDefaultRoute: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: gw01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var gw01 = new VpcPublicGatewayIp(\"gw01\");\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .pushDefaultRoute(true)\n .build());\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(gw01.id())\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn01:\n type: scaleway:VpcPrivateNetwork\n gw01:\n type: scaleway:VpcPublicGatewayIp\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n pushDefaultRoute: true\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${gw01.id}\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a GatewayNetwork with a static IP address\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {type: \"VPC-GW-S\"});\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n enableDhcp: false,\n enableMasquerade: true,\n staticAddress: \"192.168.1.42/24\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\", type=\"VPC-GW-S\")\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n enable_dhcp=False,\n enable_masquerade=True,\n static_address=\"192.168.1.42/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n });\n\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n EnableDhcp = false,\n EnableMasquerade = true,\n StaticAddress = \"192.168.1.42/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tEnableDhcp: pulumi.Bool(false),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t\tStaticAddress: pulumi.String(\"192.168.1.42/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .build());\n\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .enableDhcp(false)\n .enableMasquerade(true)\n .staticAddress(\"192.168.1.42/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pn01:\n type: scaleway:VpcPrivateNetwork\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n enableDhcp: false\n enableMasquerade: true\n staticAddress: 192.168.1.42/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nGatewayNetwork can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "cleanupDhcp": { "type": "boolean", - "description": "Remove DHCP config on this network on destroy. It requires DHCP id.\n" + "description": "Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.\n" }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the gateway network.\n" + "description": "The date and time of the creation of the GatewayNetwork.\n" }, "dhcpId": { "type": "string", - "description": "The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "enableDhcp": { "type": "boolean", - "description": "Enable DHCP config on this network. It requires DHCP id.\n" + "description": "WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.\n" }, "enableMasquerade": { "type": "boolean", - "description": "Enable masquerade on this network\n" + "description": "Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork\n" }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "ipamConfigs": { "type": "array", "items": { "$ref": "#/types/scaleway:index/VpcGatewayNetworkIpamConfig:VpcGatewayNetworkIpamConfig" }, - "description": "Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "macAddress": { "type": "string", - "description": "The mac address of the creation of the gateway network.\n" + "description": "The MAC address of the GatewayNetwork.\n" }, "privateNetworkId": { "type": "string", - "description": "The ID of the private network.\n" + "description": "The ID of the Private Network.\n" }, "staticAddress": { "type": "string", - "description": "Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "status": { "type": "string", @@ -19819,7 +19797,7 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the gateway network.\n" + "description": "The date and time of the last update of the GatewayNetwork.\n" }, "zone": { "type": "string", @@ -19840,38 +19818,38 @@ "inputProperties": { "cleanupDhcp": { "type": "boolean", - "description": "Remove DHCP config on this network on destroy. It requires DHCP id.\n" + "description": "Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.\n" }, "dhcpId": { "type": "string", - "description": "The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "enableDhcp": { "type": "boolean", - "description": "Enable DHCP config on this network. It requires DHCP id.\n" + "description": "WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.\n" }, "enableMasquerade": { "type": "boolean", - "description": "Enable masquerade on this network\n" + "description": "Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork\n" }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "ipamConfigs": { "type": "array", "items": { "$ref": "#/types/scaleway:index/VpcGatewayNetworkIpamConfig:VpcGatewayNetworkIpamConfig" }, - "description": "Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "privateNetworkId": { "type": "string", - "description": "The ID of the private network.\n" + "description": "The ID of the Private Network.\n" }, "staticAddress": { "type": "string", - "description": "Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "zone": { "type": "string", @@ -19888,46 +19866,46 @@ "properties": { "cleanupDhcp": { "type": "boolean", - "description": "Remove DHCP config on this network on destroy. It requires DHCP id.\n" + "description": "Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.\n" }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the gateway network.\n" + "description": "The date and time of the creation of the GatewayNetwork.\n" }, "dhcpId": { "type": "string", - "description": "The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "enableDhcp": { "type": "boolean", - "description": "Enable DHCP config on this network. It requires DHCP id.\n" + "description": "WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.\n" }, "enableMasquerade": { "type": "boolean", - "description": "Enable masquerade on this network\n" + "description": "Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork\n" }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "ipamConfigs": { "type": "array", "items": { "$ref": "#/types/scaleway:index/VpcGatewayNetworkIpamConfig:VpcGatewayNetworkIpamConfig" }, - "description": "Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "macAddress": { "type": "string", - "description": "The mac address of the creation of the gateway network.\n" + "description": "The MAC address of the GatewayNetwork.\n" }, "privateNetworkId": { "type": "string", - "description": "The ID of the private network.\n" + "description": "The ID of the Private Network.\n" }, "staticAddress": { "type": "string", - "description": "Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" + "description": "Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.\n" }, "status": { "type": "string", @@ -19935,7 +19913,7 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the gateway network.\n" + "description": "The date and time of the last update of the GatewayNetwork.\n" }, "zone": { "type": "string", @@ -19947,7 +19925,7 @@ } }, "scaleway:index/vpcPrivateNetwork:VpcPrivateNetwork": { - "description": "Creates and manages Scaleway VPC Private Networks.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pnPriv = new scaleway.VpcPrivateNetwork(\"pnPriv\", {tags: [\n \"demo\",\n \"terraform\",\n]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn_priv = scaleway.VpcPrivateNetwork(\"pnPriv\", tags=[\n \"demo\",\n \"terraform\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pnPriv = new Scaleway.VpcPrivateNetwork(\"pnPriv\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPrivateNetwork(ctx, \"pnPriv\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pnPriv = new VpcPrivateNetwork(\"pnPriv\", VpcPrivateNetworkArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pnPriv:\n type: scaleway:VpcPrivateNetwork\n properties:\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With subnets\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pnPriv = new scaleway.VpcPrivateNetwork(\"pnPriv\", {\n ipv4Subnet: {\n subnet: \"192.168.0.0/24\",\n },\n ipv6Subnets: [\n {\n subnet: \"fd46:78ab:30b8:177c::/64\",\n },\n {\n subnet: \"fd46:78ab:30b8:c7df::/64\",\n },\n ],\n tags: [\n \"demo\",\n \"terraform\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn_priv = scaleway.VpcPrivateNetwork(\"pnPriv\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"192.168.0.0/24\",\n ),\n ipv6_subnets=[\n scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:177c::/64\",\n ),\n scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:c7df::/64\",\n ),\n ],\n tags=[\n \"demo\",\n \"terraform\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pnPriv = new Scaleway.VpcPrivateNetwork(\"pnPriv\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"192.168.0.0/24\",\n },\n Ipv6Subnets = new[]\n {\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:177c::/64\",\n },\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:c7df::/64\",\n },\n },\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPrivateNetwork(ctx, \"pnPriv\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t\t},\n\t\t\tIpv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:177c::/64\"),\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:c7df::/64\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv6SubnetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pnPriv = new VpcPrivateNetwork(\"pnPriv\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build())\n .ipv6Subnets( \n VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:177c::/64\")\n .build(),\n VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:c7df::/64\")\n .build())\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pnPriv:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 192.168.0.0/24\n ipv6Subnets:\n - subnet: fd46:78ab:30b8:177c::/64\n - subnet: fd46:78ab:30b8:c7df::/64\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPrivate networks can be imported using the `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPrivateNetwork:VpcPrivateNetwork vpc_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway VPC Private Networks.\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pnPriv = new scaleway.VpcPrivateNetwork(\"pnPriv\", {tags: [\n \"demo\",\n \"terraform\",\n]});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn_priv = scaleway.VpcPrivateNetwork(\"pnPriv\", tags=[\n \"demo\",\n \"terraform\",\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pnPriv = new Scaleway.VpcPrivateNetwork(\"pnPriv\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPrivateNetwork(ctx, \"pnPriv\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pnPriv = new VpcPrivateNetwork(\"pnPriv\", VpcPrivateNetworkArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pnPriv:\n type: scaleway:VpcPrivateNetwork\n properties:\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With subnets\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst pnPriv = new scaleway.VpcPrivateNetwork(\"pnPriv\", {\n ipv4Subnet: {\n subnet: \"192.168.0.0/24\",\n },\n ipv6Subnets: [\n {\n subnet: \"fd46:78ab:30b8:177c::/64\",\n },\n {\n subnet: \"fd46:78ab:30b8:c7df::/64\",\n },\n ],\n tags: [\n \"demo\",\n \"terraform\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\npn_priv = scaleway.VpcPrivateNetwork(\"pnPriv\",\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"192.168.0.0/24\",\n ),\n ipv6_subnets=[\n scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:177c::/64\",\n ),\n scaleway.VpcPrivateNetworkIpv6SubnetArgs(\n subnet=\"fd46:78ab:30b8:c7df::/64\",\n ),\n ],\n tags=[\n \"demo\",\n \"terraform\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pnPriv = new Scaleway.VpcPrivateNetwork(\"pnPriv\", new()\n {\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"192.168.0.0/24\",\n },\n Ipv6Subnets = new[]\n {\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:177c::/64\",\n },\n new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs\n {\n Subnet = \"fd46:78ab:30b8:c7df::/64\",\n },\n },\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPrivateNetwork(ctx, \"pnPriv\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t\t},\n\t\t\tIpv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:177c::/64\"),\n\t\t\t\t},\n\t\t\t\t\u0026scaleway.VpcPrivateNetworkIpv6SubnetArgs{\n\t\t\t\t\tSubnet: pulumi.String(\"fd46:78ab:30b8:c7df::/64\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv6SubnetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pnPriv = new VpcPrivateNetwork(\"pnPriv\", VpcPrivateNetworkArgs.builder()\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build())\n .ipv6Subnets( \n VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:177c::/64\")\n .build(),\n VpcPrivateNetworkIpv6SubnetArgs.builder()\n .subnet(\"fd46:78ab:30b8:c7df::/64\")\n .build())\n .tags( \n \"demo\",\n \"terraform\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pnPriv:\n type: scaleway:VpcPrivateNetwork\n properties:\n ipv4Subnet:\n subnet: 192.168.0.0/24\n ipv6Subnets:\n - subnet: fd46:78ab:30b8:177c::/64\n - subnet: fd46:78ab:30b8:c7df::/64\n tags:\n - demo\n - terraform\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPrivate Networks can be imported using `{region}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPrivateNetwork:VpcPrivateNetwork vpc_demo fr-par/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -19955,7 +19933,7 @@ }, "ipv4Subnet": { "$ref": "#/types/scaleway:index/VpcPrivateNetworkIpv4Subnet:VpcPrivateNetworkIpv4Subnet", - "description": "The IPv4 subnet to associate with the private network.\n" + "description": "The IPv4 subnet to associate with the Private Network.\n" }, "ipv6Subnets": { "type": "array", @@ -19966,31 +19944,31 @@ }, "isRegional": { "type": "boolean", - "description": "The private networks are necessarily regional now.\n", + "description": "Private Networks are now all necessarily regional.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version" }, "name": { "type": "string", - "description": "The name of the private network. If not provided it will be randomly generated.\n" + "description": "The name of the Private Network. If not provided, it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the private network is associated with.\n" + "description": "The Organization ID the Private Network is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the private network is associated with.\n" + "description": "`project_id`) The ID of the Project the private network is associated with.\n" }, "region": { "type": "string", - "description": "`region`) The region of the private network.\n" + "description": "`region`) The region of the Private Network.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the private network.\n" + "description": "The tags associated with the Private Network.\n" }, "updatedAt": { "type": "string", @@ -19998,11 +19976,11 @@ }, "vpcId": { "type": "string", - "description": "The VPC in which to create the private network.\n" + "description": "The VPC in which to create the Private Network.\n" }, "zone": { "type": "string", - "description": "please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created.\n", + "description": "Use `region` instead.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version, please use `region` instead" } }, @@ -20022,7 +20000,7 @@ "inputProperties": { "ipv4Subnet": { "$ref": "#/types/scaleway:index/VpcPrivateNetworkIpv4Subnet:VpcPrivateNetworkIpv4Subnet", - "description": "The IPv4 subnet to associate with the private network.\n" + "description": "The IPv4 subnet to associate with the Private Network.\n" }, "ipv6Subnets": { "type": "array", @@ -20033,21 +20011,21 @@ }, "isRegional": { "type": "boolean", - "description": "The private networks are necessarily regional now.\n", + "description": "Private Networks are now all necessarily regional.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version" }, "name": { "type": "string", - "description": "The name of the private network. If not provided it will be randomly generated.\n" + "description": "The name of the Private Network. If not provided, it will be randomly generated.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the private network is associated with.\n", + "description": "`project_id`) The ID of the Project the private network is associated with.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`) The region of the private network.\n", + "description": "`region`) The region of the Private Network.\n", "willReplaceOnChanges": true }, "tags": { @@ -20055,16 +20033,16 @@ "items": { "type": "string" }, - "description": "The tags associated with the private network.\n" + "description": "The tags associated with the Private Network.\n" }, "vpcId": { "type": "string", - "description": "The VPC in which to create the private network.\n", + "description": "The VPC in which to create the Private Network.\n", "willReplaceOnChanges": true }, "zone": { "type": "string", - "description": "please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created.\n", + "description": "Use `region` instead.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version, please use `region` instead" } }, @@ -20077,7 +20055,7 @@ }, "ipv4Subnet": { "$ref": "#/types/scaleway:index/VpcPrivateNetworkIpv4Subnet:VpcPrivateNetworkIpv4Subnet", - "description": "The IPv4 subnet to associate with the private network.\n" + "description": "The IPv4 subnet to associate with the Private Network.\n" }, "ipv6Subnets": { "type": "array", @@ -20088,25 +20066,25 @@ }, "isRegional": { "type": "boolean", - "description": "The private networks are necessarily regional now.\n", + "description": "Private Networks are now all necessarily regional.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version" }, "name": { "type": "string", - "description": "The name of the private network. If not provided it will be randomly generated.\n" + "description": "The name of the Private Network. If not provided, it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the private network is associated with.\n" + "description": "The Organization ID the Private Network is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the private network is associated with.\n", + "description": "`project_id`) The ID of the Project the private network is associated with.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`) The region of the private network.\n", + "description": "`region`) The region of the Private Network.\n", "willReplaceOnChanges": true }, "tags": { @@ -20114,7 +20092,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the private network.\n" + "description": "The tags associated with the Private Network.\n" }, "updatedAt": { "type": "string", @@ -20122,12 +20100,12 @@ }, "vpcId": { "type": "string", - "description": "The VPC in which to create the private network.\n", + "description": "The VPC in which to create the Private Network.\n", "willReplaceOnChanges": true }, "zone": { "type": "string", - "description": "please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created.\n", + "description": "Use `region` instead.\n", "deprecationMessage": "This field is deprecated and will be removed in the next major version, please use `region` instead" } }, @@ -20135,7 +20113,7 @@ } }, "scaleway:index/vpcPublicGateway:VpcPublicGateway": { - "description": "Creates and manages Scaleway VPC Public Gateway.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGateway(\"main\", {\n tags: [\n \"demo\",\n \"terraform\",\n ],\n type: \"VPC-GW-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGateway(\"main\",\n tags=[\n \"demo\",\n \"terraform\",\n ],\n type=\"VPC-GW-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGateway(\"main\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n Type = \"VPC-GW-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPublicGateway(ctx, \"main\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGateway(\"main\", VpcPublicGatewayArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .type(\"VPC-GW-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGateway\n properties:\n tags:\n - demo\n - terraform\n type: VPC-GW-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGateway:VpcPublicGateway main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Public Gateways.\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway).\n\n## Example Usage\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGateway(\"main\", {\n tags: [\n \"demo\",\n \"terraform\",\n ],\n type: \"VPC-GW-S\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGateway(\"main\",\n tags=[\n \"demo\",\n \"terraform\",\n ],\n type=\"VPC-GW-S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGateway(\"main\", new()\n {\n Tags = new[]\n {\n \"demo\",\n \"terraform\",\n },\n Type = \"VPC-GW-S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPublicGateway(ctx, \"main\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"demo\"),\n\t\t\t\tpulumi.String(\"terraform\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGateway(\"main\", VpcPublicGatewayArgs.builder()\n .tags( \n \"demo\",\n \"terraform\")\n .type(\"VPC-GW-S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGateway\n properties:\n tags:\n - demo\n - terraform\n type: VPC-GW-S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateways can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGateway:VpcPublicGateway main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "bastionEnabled": { "type": "boolean", @@ -20147,7 +20125,7 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway.\n" + "description": "The date and time of the creation of the Public Gateway.\n" }, "enableSmtp": { "type": "boolean", @@ -20155,15 +20133,15 @@ }, "ipId": { "type": "string", - "description": "attach an existing flexible IP to the gateway.\n" + "description": "Attach an existing flexible IP to the gateway.\n" }, "name": { "type": "string", - "description": "The name of the public gateway. If not provided it will be randomly generated.\n" + "description": "The name for the Public Gateway. If not provided it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway is associated with.\n" + "description": "The Organization ID the Public Gateway is associated with.\n" }, "projectId": { "type": "string", @@ -20171,7 +20149,7 @@ }, "refreshSshKeys": { "type": "string", - "description": "Trigger a refresh of the SSH keys on the public gateway by changing this field's value.\n" + "description": "Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value.\n" }, "status": { "type": "string", @@ -20182,7 +20160,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the public gateway.\n" + "description": "The tags to associate with the Public Gateway.\n" }, "type": { "type": "string", @@ -20190,18 +20168,18 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway.\n" + "description": "The date and time of the last update of the Public Gateway.\n" }, "upstreamDnsServers": { "type": "array", "items": { "type": "string" }, - "description": "override the gateway's default recursive DNS servers, if DNS features are enabled.\n" + "description": "Override the gateway's default recursive DNS servers, if DNS features are enabled.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway should be created.\n" + "description": "`zone`) The zone in which the Public Gateway should be created.\n" } }, "required": [ @@ -20232,12 +20210,12 @@ }, "ipId": { "type": "string", - "description": "attach an existing flexible IP to the gateway.\n", + "description": "Attach an existing flexible IP to the gateway.\n", "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the public gateway. If not provided it will be randomly generated.\n" + "description": "The name for the Public Gateway. If not provided it will be randomly generated.\n" }, "projectId": { "type": "string", @@ -20246,14 +20224,14 @@ }, "refreshSshKeys": { "type": "string", - "description": "Trigger a refresh of the SSH keys on the public gateway by changing this field's value.\n" + "description": "Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the public gateway.\n" + "description": "The tags to associate with the Public Gateway.\n" }, "type": { "type": "string", @@ -20265,11 +20243,11 @@ "items": { "type": "string" }, - "description": "override the gateway's default recursive DNS servers, if DNS features are enabled.\n" + "description": "Override the gateway's default recursive DNS servers, if DNS features are enabled.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway should be created.\n", + "description": "`zone`) The zone in which the Public Gateway should be created.\n", "willReplaceOnChanges": true } }, @@ -20289,7 +20267,7 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway.\n" + "description": "The date and time of the creation of the Public Gateway.\n" }, "enableSmtp": { "type": "boolean", @@ -20297,16 +20275,16 @@ }, "ipId": { "type": "string", - "description": "attach an existing flexible IP to the gateway.\n", + "description": "Attach an existing flexible IP to the gateway.\n", "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the public gateway. If not provided it will be randomly generated.\n" + "description": "The name for the Public Gateway. If not provided it will be randomly generated.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway is associated with.\n" + "description": "The Organization ID the Public Gateway is associated with.\n" }, "projectId": { "type": "string", @@ -20315,7 +20293,7 @@ }, "refreshSshKeys": { "type": "string", - "description": "Trigger a refresh of the SSH keys on the public gateway by changing this field's value.\n" + "description": "Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value.\n" }, "status": { "type": "string", @@ -20326,7 +20304,7 @@ "items": { "type": "string" }, - "description": "The tags associated with the public gateway.\n" + "description": "The tags to associate with the Public Gateway.\n" }, "type": { "type": "string", @@ -20335,18 +20313,18 @@ }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway.\n" + "description": "The date and time of the last update of the Public Gateway.\n" }, "upstreamDnsServers": { "type": "array", "items": { "type": "string" }, - "description": "override the gateway's default recursive DNS servers, if DNS features are enabled.\n" + "description": "Override the gateway's default recursive DNS servers, if DNS features are enabled.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway should be created.\n", + "description": "`zone`) The zone in which the Public Gateway should be created.\n", "willReplaceOnChanges": true } }, @@ -20354,15 +20332,15 @@ } }, "scaleway:index/vpcPublicGatewayDhcp:VpcPublicGatewayDhcp": { - "description": "Creates and manages Scaleway VPC Public Gateway DHCP.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayDhcp(\"main\", {subnet: \"192.168.1.0/24\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayDhcp(\"main\", subnet=\"192.168.1.0/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayDhcp(\"main\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayDhcp(\"main\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway DHCP config can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayDhcp:VpcPublicGatewayDhcp main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway VPC Public Gateway DHCP configurations.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayDhcp(\"main\", {subnet: \"192.168.1.0/24\"});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayDhcp(\"main\", subnet=\"192.168.1.0/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayDhcp(\"main\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayDhcp(\"main\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayDhcp:VpcPublicGatewayDhcp main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "address": { "type": "string", - "description": "The IP address of the public gateway DHCP config.\n" + "description": "The IP address of the DHCP server. This will be the gateway's address in the Private Network.\n" }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway DHCP config.\n" + "description": "The date and time of the creation of the Public Gateway DHCP configuration.\n" }, "dnsLocalName": { "type": "string", @@ -20380,7 +20358,7 @@ "items": { "type": "string" }, - "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself\n" + "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself.\n" }, "enableDynamic": { "type": "boolean", @@ -20388,7 +20366,7 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway DHCP config is associated with.\n" + "description": "The Organization ID the Public Gateway DHCP config is associated with.\n" }, "poolHigh": { "type": "string", @@ -20400,7 +20378,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway DHCP config is associated with.\n" + "description": "`project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with.\n" }, "pushDefaultRoute": { "type": "boolean", @@ -20420,19 +20398,19 @@ }, "subnet": { "type": "string", - "description": "The subnet to associate with the public gateway DHCP config.\n" + "description": "The subnet to associate with the Public Gateway DHCP configuration.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway DHCP config.\n" + "description": "The date and time of the last update of the Public Gateway DHCP configuration.\n" }, "validLifetime": { "type": "integer", - "description": "For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).\n" + "description": "How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s).\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n" + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n" } }, "required": [ @@ -20458,7 +20436,7 @@ "inputProperties": { "address": { "type": "string", - "description": "The IP address of the public gateway DHCP config.\n" + "description": "The IP address of the DHCP server. This will be the gateway's address in the Private Network.\n" }, "dnsLocalName": { "type": "string", @@ -20476,7 +20454,7 @@ "items": { "type": "string" }, - "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself\n" + "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself.\n" }, "enableDynamic": { "type": "boolean", @@ -20492,7 +20470,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway DHCP config is associated with.\n", + "description": "`project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with.\n", "willReplaceOnChanges": true }, "pushDefaultRoute": { @@ -20513,15 +20491,15 @@ }, "subnet": { "type": "string", - "description": "The subnet to associate with the public gateway DHCP config.\n" + "description": "The subnet to associate with the Public Gateway DHCP configuration.\n" }, "validLifetime": { "type": "integer", - "description": "For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).\n" + "description": "How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s).\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n", + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n", "willReplaceOnChanges": true } }, @@ -20533,11 +20511,11 @@ "properties": { "address": { "type": "string", - "description": "The IP address of the public gateway DHCP config.\n" + "description": "The IP address of the DHCP server. This will be the gateway's address in the Private Network.\n" }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway DHCP config.\n" + "description": "The date and time of the creation of the Public Gateway DHCP configuration.\n" }, "dnsLocalName": { "type": "string", @@ -20555,7 +20533,7 @@ "items": { "type": "string" }, - "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself\n" + "description": "Override the DNS server list pushed to DHCP clients, instead of the gateway itself.\n" }, "enableDynamic": { "type": "boolean", @@ -20563,7 +20541,7 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway DHCP config is associated with.\n" + "description": "The Organization ID the Public Gateway DHCP config is associated with.\n" }, "poolHigh": { "type": "string", @@ -20575,7 +20553,7 @@ }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway DHCP config is associated with.\n", + "description": "`project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with.\n", "willReplaceOnChanges": true }, "pushDefaultRoute": { @@ -20596,19 +20574,19 @@ }, "subnet": { "type": "string", - "description": "The subnet to associate with the public gateway DHCP config.\n" + "description": "The subnet to associate with the Public Gateway DHCP configuration.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway DHCP config.\n" + "description": "The date and time of the last update of the Public Gateway DHCP configuration.\n" }, "validLifetime": { "type": "integer", - "description": "For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).\n" + "description": "How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s).\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n", + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n", "willReplaceOnChanges": true } }, @@ -20616,11 +20594,11 @@ } }, "scaleway:index/vpcPublicGatewayDhcpReservation:VpcPublicGatewayDhcpReservation": { - "description": "Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp).\n\nThe static associations are used to assign IP addresses based on the MAC addresses of the Instance.\n\nStatically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range.\n\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp).\n\n[DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n privateNetworks: [{\n pnId: mainVpcPrivateNetwork.id,\n }],\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n}, {\n dependsOn: [\n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork,\n ],\n});\nconst mainVpcPublicGatewayDhcpReservation = new scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", {\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n macAddress: mainInstanceServer.privateNetworks.apply(privateNetworks =\u003e privateNetworks?.[0]?.macAddress),\n ipAddress: \"192.168.1.1\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\",\n private_networks=[scaleway.InstanceServerPrivateNetworkArgs(\n pn_id=main_vpc_private_network.id,\n )])\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True,\n opts=pulumi.ResourceOptions(depends_on=[\n main_vpc_public_gateway_ip,\n main_vpc_private_network,\n ]))\nmain_vpc_public_gateway_dhcp_reservation = scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\",\n gateway_network_id=main_vpc_gateway_network.id,\n mac_address=main_instance_server.private_networks[0].mac_address,\n ip_address=\"192.168.1.1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.InstanceServerPrivateNetworkArgs\n {\n PnId = mainVpcPrivateNetwork.Id,\n },\n },\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork,\n },\n });\n\n var mainVpcPublicGatewayDhcpReservation = new Scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", new()\n {\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n MacAddress = mainInstanceServer.PrivateNetworks.Apply(privateNetworks =\u003e privateNetworks[0]?.MacAddress),\n IpAddress = \"192.168.1.1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tPrivateNetworks: scaleway.InstanceServerPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.InstanceServerPrivateNetworkArgs{\n\t\t\t\t\tPnId: mainVpcPrivateNetwork.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmainVpcPublicGatewayIp,\n\t\t\tmainVpcPrivateNetwork,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"mainVpcPublicGatewayDhcpReservation\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t\tMacAddress: mainInstanceServer.PrivateNetworks.ApplyT(func(privateNetworks []scaleway.InstanceServerPrivateNetwork) (*string, error) {\n\t\t\t\treturn \u0026privateNetworks[0].MacAddress, nil\n\t\t\t}).(pulumi.StringPtrOutput),\n\t\t\tIpAddress: pulumi.String(\"192.168.1.1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.inputs.InstanceServerPrivateNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .privateNetworks(InstanceServerPrivateNetworkArgs.builder()\n .pnId(mainVpcPrivateNetwork.id())\n .build())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn( \n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork)\n .build());\n\n var mainVpcPublicGatewayDhcpReservation = new VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .macAddress(mainInstanceServer.privateNetworks().applyValue(privateNetworks -\u003e privateNetworks[0].macAddress()))\n .ipAddress(\"192.168.1.1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n privateNetworks:\n - pnId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n options:\n dependson:\n - ${mainVpcPublicGatewayIp}\n - ${mainVpcPrivateNetwork}\n mainVpcPublicGatewayDhcpReservation:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n macAddress: ${mainInstanceServer.privateNetworks[0].macAddress}\n ipAddress: 192.168.1.1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayDhcpReservation:VpcPublicGatewayDhcpReservation main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp).\n\nThese static associations are used to assign IP addresses based on the MAC addresses of the resource.\n\nStatically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range.\n\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).\n\n[DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n privateNetworks: [{\n pnId: mainVpcPrivateNetwork.id,\n }],\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n}, {\n dependsOn: [\n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork,\n ],\n});\nconst mainVpcPublicGatewayDhcpReservation = new scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", {\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n macAddress: mainInstanceServer.privateNetworks.apply(privateNetworks =\u003e privateNetworks?.[0]?.macAddress),\n ipAddress: \"192.168.1.1\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\",\n private_networks=[scaleway.InstanceServerPrivateNetworkArgs(\n pn_id=main_vpc_private_network.id,\n )])\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True,\n opts=pulumi.ResourceOptions(depends_on=[\n main_vpc_public_gateway_ip,\n main_vpc_private_network,\n ]))\nmain_vpc_public_gateway_dhcp_reservation = scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\",\n gateway_network_id=main_vpc_gateway_network.id,\n mac_address=main_instance_server.private_networks[0].mac_address,\n ip_address=\"192.168.1.1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.InstanceServerPrivateNetworkArgs\n {\n PnId = mainVpcPrivateNetwork.Id,\n },\n },\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork,\n },\n });\n\n var mainVpcPublicGatewayDhcpReservation = new Scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", new()\n {\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n MacAddress = mainInstanceServer.PrivateNetworks.Apply(privateNetworks =\u003e privateNetworks[0]?.MacAddress),\n IpAddress = \"192.168.1.1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tPrivateNetworks: scaleway.InstanceServerPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.InstanceServerPrivateNetworkArgs{\n\t\t\t\t\tPnId: mainVpcPrivateNetwork.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmainVpcPublicGatewayIp,\n\t\t\tmainVpcPrivateNetwork,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"mainVpcPublicGatewayDhcpReservation\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t\tMacAddress: mainInstanceServer.PrivateNetworks.ApplyT(func(privateNetworks []scaleway.InstanceServerPrivateNetwork) (*string, error) {\n\t\t\t\treturn \u0026privateNetworks[0].MacAddress, nil\n\t\t\t}).(pulumi.StringPtrOutput),\n\t\t\tIpAddress: pulumi.String(\"192.168.1.1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.inputs.InstanceServerPrivateNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .privateNetworks(InstanceServerPrivateNetworkArgs.builder()\n .pnId(mainVpcPrivateNetwork.id())\n .build())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn( \n mainVpcPublicGatewayIp,\n mainVpcPrivateNetwork)\n .build());\n\n var mainVpcPublicGatewayDhcpReservation = new VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .macAddress(mainInstanceServer.privateNetworks().applyValue(privateNetworks -\u003e privateNetworks[0].macAddress()))\n .ipAddress(\"192.168.1.1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n privateNetworks:\n - pnId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n options:\n dependson:\n - ${mainVpcPublicGatewayIp}\n - ${mainVpcPrivateNetwork}\n mainVpcPublicGatewayDhcpReservation:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n macAddress: ${mainInstanceServer.privateNetworks[0].macAddress}\n ipAddress: 192.168.1.1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayDhcpReservation:VpcPublicGatewayDhcpReservation main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway DHCP config.\n" + "description": "The date and time of the creation of the Public Gateway DHCP configuration.\n" }, "gatewayNetworkId": { "type": "string", @@ -20628,23 +20606,23 @@ }, "hostname": { "type": "string", - "description": "The Hostname of the client machine.\n" + "description": "The hostname of the client machine.\n" }, "ipAddress": { "type": "string", - "description": "The IP address to give to the machine (IP address).\n" + "description": "The IP address to give to the machine.\n" }, "macAddress": { "type": "string", - "description": "The MAC address to give a static entry to.\n" + "description": "The MAC address for the static entry.\n" }, "type": { "type": "string", - "description": "The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease.\n" + "description": "The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway DHCP config.\n" + "description": "The date and time of the last update of the Public Gateway DHCP configuration.\n" }, "zone": { "type": "string", @@ -20668,11 +20646,11 @@ }, "ipAddress": { "type": "string", - "description": "The IP address to give to the machine (IP address).\n" + "description": "The IP address to give to the machine.\n" }, "macAddress": { "type": "string", - "description": "The MAC address to give a static entry to.\n", + "description": "The MAC address for the static entry.\n", "willReplaceOnChanges": true }, "zone": { @@ -20691,7 +20669,7 @@ "properties": { "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway DHCP config.\n" + "description": "The date and time of the creation of the Public Gateway DHCP configuration.\n" }, "gatewayNetworkId": { "type": "string", @@ -20699,24 +20677,24 @@ }, "hostname": { "type": "string", - "description": "The Hostname of the client machine.\n" + "description": "The hostname of the client machine.\n" }, "ipAddress": { "type": "string", - "description": "The IP address to give to the machine (IP address).\n" + "description": "The IP address to give to the machine.\n" }, "macAddress": { "type": "string", - "description": "The MAC address to give a static entry to.\n", + "description": "The MAC address for the static entry.\n", "willReplaceOnChanges": true }, "type": { "type": "string", - "description": "The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease.\n" + "description": "The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway DHCP config.\n" + "description": "The date and time of the last update of the Public Gateway DHCP configuration.\n" }, "zone": { "type": "string", @@ -20728,7 +20706,7 @@ } }, "scaleway:index/vpcPublicGatewayIp:VpcPublicGatewayIp": { - "description": "Creates and manages Scaleway VPC Public Gateway IP.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayIp(\"main\", {reverse: \"tf.example.com\"});\nconst tfA = new scaleway.DomainRecord(\"tfA\", {\n data: main.address,\n dnsZone: \"example.com\",\n priority: 1,\n ttl: 3600,\n type: \"A\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayIp(\"main\", reverse=\"tf.example.com\")\ntf_a = scaleway.DomainRecord(\"tfA\",\n data=main.address,\n dns_zone=\"example.com\",\n priority=1,\n ttl=3600,\n type=\"A\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayIp(\"main\", new()\n {\n Reverse = \"tf.example.com\",\n });\n\n var tfA = new Scaleway.DomainRecord(\"tfA\", new()\n {\n Data = main.Address,\n DnsZone = \"example.com\",\n Priority = 1,\n Ttl = 3600,\n Type = \"A\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayIp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayIpArgs{\n\t\t\tReverse: pulumi.String(\"tf.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"tfA\", \u0026scaleway.DomainRecordArgs{\n\t\t\tData: main.Address,\n\t\t\tDnsZone: pulumi.String(\"example.com\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayIpArgs;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayIp(\"main\", VpcPublicGatewayIpArgs.builder()\n .reverse(\"tf.example.com\")\n .build());\n\n var tfA = new DomainRecord(\"tfA\", DomainRecordArgs.builder()\n .data(main.address())\n .dnsZone(\"example.com\")\n .priority(1)\n .ttl(3600)\n .type(\"A\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tfA:\n type: scaleway:DomainRecord\n properties:\n data: ${main.address}\n dnsZone: example.com\n priority: 1\n ttl: 3600\n type: A\n main:\n type: scaleway:VpcPublicGatewayIp\n properties:\n reverse: tf.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayIp:VpcPublicGatewayIp main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses.\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayIp(\"main\", {reverse: \"tf.example.com\"});\nconst tfA = new scaleway.DomainRecord(\"tfA\", {\n data: main.address,\n dnsZone: \"example.com\",\n priority: 1,\n ttl: 3600,\n type: \"A\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayIp(\"main\", reverse=\"tf.example.com\")\ntf_a = scaleway.DomainRecord(\"tfA\",\n data=main.address,\n dns_zone=\"example.com\",\n priority=1,\n ttl=3600,\n type=\"A\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayIp(\"main\", new()\n {\n Reverse = \"tf.example.com\",\n });\n\n var tfA = new Scaleway.DomainRecord(\"tfA\", new()\n {\n Data = main.Address,\n DnsZone = \"example.com\",\n Priority = 1,\n Ttl = 3600,\n Type = \"A\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayIp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayIpArgs{\n\t\t\tReverse: pulumi.String(\"tf.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"tfA\", \u0026scaleway.DomainRecordArgs{\n\t\t\tData: main.Address,\n\t\t\tDnsZone: pulumi.String(\"example.com\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayIpArgs;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayIp(\"main\", VpcPublicGatewayIpArgs.builder()\n .reverse(\"tf.example.com\")\n .build());\n\n var tfA = new DomainRecord(\"tfA\", DomainRecordArgs.builder()\n .data(main.address())\n .dnsZone(\"example.com\")\n .priority(1)\n .ttl(3600)\n .type(\"A\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tfA:\n type: scaleway:DomainRecord\n properties:\n data: ${main.address}\n dnsZone: example.com\n priority: 1\n ttl: 3600\n type: A\n main:\n type: scaleway:VpcPublicGatewayIp\n properties:\n reverse: tf.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateway IPs can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayIp:VpcPublicGatewayIp main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "address": { "type": "string", @@ -20736,15 +20714,15 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway ip.\n" + "description": "The date and time of the creation of the Public Gateway IP.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway ip is associated with.\n" + "description": "The Organization ID the Public Gateway IP is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway ip is associated with.\n" + "description": "`project_id`) The ID of the Project the Public Gateway IP is associated with.\n" }, "reverse": { "type": "string", @@ -20755,15 +20733,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the public gateway IP.\n" + "description": "The tags associated with the Public Gateway IP.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway ip.\n" + "description": "The date and time of the last update of the Public Gateway IP.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway ip should be created.\n" + "description": "`zone`) The zone in which the Public Gateway IP should be created.\n" } }, "required": [ @@ -20778,7 +20756,7 @@ "inputProperties": { "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway ip is associated with.\n", + "description": "`project_id`) The ID of the Project the Public Gateway IP is associated with.\n", "willReplaceOnChanges": true }, "reverse": { @@ -20790,11 +20768,11 @@ "items": { "type": "string" }, - "description": "The tags associated with the public gateway IP.\n" + "description": "The tags associated with the Public Gateway IP.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway ip should be created.\n", + "description": "`zone`) The zone in which the Public Gateway IP should be created.\n", "willReplaceOnChanges": true } }, @@ -20807,15 +20785,15 @@ }, "createdAt": { "type": "string", - "description": "The date and time of the creation of the public gateway ip.\n" + "description": "The date and time of the creation of the Public Gateway IP.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the public gateway ip is associated with.\n" + "description": "The Organization ID the Public Gateway IP is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the public gateway ip is associated with.\n", + "description": "`project_id`) The ID of the Project the Public Gateway IP is associated with.\n", "willReplaceOnChanges": true }, "reverse": { @@ -20827,15 +20805,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the public gateway IP.\n" + "description": "The tags associated with the Public Gateway IP.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the public gateway ip.\n" + "description": "The date and time of the last update of the Public Gateway IP.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway ip should be created.\n", + "description": "`zone`) The zone in which the Public Gateway IP should be created.\n", "willReplaceOnChanges": true } }, @@ -20843,11 +20821,11 @@ } }, "scaleway:index/vpcPublicGatewayIpReverseDns:VpcPublicGatewayIpReverseDns": { - "description": "Manages Scaleway VPC Public Gateways IPs reverse DNS.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst tfA = new scaleway.DomainRecord(\"tfA\", {\n dnsZone: \"example.com\",\n type: \"A\",\n data: mainVpcPublicGatewayIp.address,\n ttl: 3600,\n priority: 1,\n});\nconst mainVpcPublicGatewayIpReverseDns = new scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", {\n gatewayIpId: mainVpcPublicGatewayIp.id,\n reverse: \"tf.example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\ntf_a = scaleway.DomainRecord(\"tfA\",\n dns_zone=\"example.com\",\n type=\"A\",\n data=main_vpc_public_gateway_ip.address,\n ttl=3600,\n priority=1)\nmain_vpc_public_gateway_ip_reverse_dns = scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\",\n gateway_ip_id=main_vpc_public_gateway_ip.id,\n reverse=\"tf.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var tfA = new Scaleway.DomainRecord(\"tfA\", new()\n {\n DnsZone = \"example.com\",\n Type = \"A\",\n Data = mainVpcPublicGatewayIp.Address,\n Ttl = 3600,\n Priority = 1,\n });\n\n var mainVpcPublicGatewayIpReverseDns = new Scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", new()\n {\n GatewayIpId = mainVpcPublicGatewayIp.Id,\n Reverse = \"tf.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"tfA\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(\"example.com\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tData: mainVpcPublicGatewayIp.Address,\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tPriority: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcPublicGatewayIpReverseDns(ctx, \"mainVpcPublicGatewayIpReverseDns\", \u0026scaleway.VpcPublicGatewayIpReverseDnsArgs{\n\t\t\tGatewayIpId: mainVpcPublicGatewayIp.ID(),\n\t\t\tReverse: pulumi.String(\"tf.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIpReverseDns;\nimport com.pulumi.scaleway.VpcPublicGatewayIpReverseDnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var tfA = new DomainRecord(\"tfA\", DomainRecordArgs.builder()\n .dnsZone(\"example.com\")\n .type(\"A\")\n .data(mainVpcPublicGatewayIp.address())\n .ttl(3600)\n .priority(1)\n .build());\n\n var mainVpcPublicGatewayIpReverseDns = new VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", VpcPublicGatewayIpReverseDnsArgs.builder()\n .gatewayIpId(mainVpcPublicGatewayIp.id())\n .reverse(\"tf.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n tfA:\n type: scaleway:DomainRecord\n properties:\n dnsZone: example.com\n type: A\n data: ${mainVpcPublicGatewayIp.address}\n ttl: 3600\n priority: 1\n mainVpcPublicGatewayIpReverseDns:\n type: scaleway:VpcPublicGatewayIpReverseDns\n properties:\n gatewayIpId: ${mainVpcPublicGatewayIp.id}\n reverse: tf.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayIpReverseDns:VpcPublicGatewayIpReverseDns reverse fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS.\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst tfA = new scaleway.DomainRecord(\"tfA\", {\n dnsZone: \"example.com\",\n type: \"A\",\n data: mainVpcPublicGatewayIp.address,\n ttl: 3600,\n priority: 1,\n});\nconst mainVpcPublicGatewayIpReverseDns = new scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", {\n gatewayIpId: mainVpcPublicGatewayIp.id,\n reverse: \"tf.example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\ntf_a = scaleway.DomainRecord(\"tfA\",\n dns_zone=\"example.com\",\n type=\"A\",\n data=main_vpc_public_gateway_ip.address,\n ttl=3600,\n priority=1)\nmain_vpc_public_gateway_ip_reverse_dns = scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\",\n gateway_ip_id=main_vpc_public_gateway_ip.id,\n reverse=\"tf.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var tfA = new Scaleway.DomainRecord(\"tfA\", new()\n {\n DnsZone = \"example.com\",\n Type = \"A\",\n Data = mainVpcPublicGatewayIp.Address,\n Ttl = 3600,\n Priority = 1,\n });\n\n var mainVpcPublicGatewayIpReverseDns = new Scaleway.VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", new()\n {\n GatewayIpId = mainVpcPublicGatewayIp.Id,\n Reverse = \"tf.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewDomainRecord(ctx, \"tfA\", \u0026scaleway.DomainRecordArgs{\n\t\t\tDnsZone: pulumi.String(\"example.com\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tData: mainVpcPublicGatewayIp.Address,\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tPriority: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.NewVpcPublicGatewayIpReverseDns(ctx, \"mainVpcPublicGatewayIpReverseDns\", \u0026scaleway.VpcPublicGatewayIpReverseDnsArgs{\n\t\t\tGatewayIpId: mainVpcPublicGatewayIp.ID(),\n\t\t\tReverse: pulumi.String(\"tf.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.DomainRecord;\nimport com.pulumi.scaleway.DomainRecordArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIpReverseDns;\nimport com.pulumi.scaleway.VpcPublicGatewayIpReverseDnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var tfA = new DomainRecord(\"tfA\", DomainRecordArgs.builder()\n .dnsZone(\"example.com\")\n .type(\"A\")\n .data(mainVpcPublicGatewayIp.address())\n .ttl(3600)\n .priority(1)\n .build());\n\n var mainVpcPublicGatewayIpReverseDns = new VpcPublicGatewayIpReverseDns(\"mainVpcPublicGatewayIpReverseDns\", VpcPublicGatewayIpReverseDnsArgs.builder()\n .gatewayIpId(mainVpcPublicGatewayIp.id())\n .reverse(\"tf.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n tfA:\n type: scaleway:DomainRecord\n properties:\n dnsZone: example.com\n type: A\n data: ${mainVpcPublicGatewayIp.address}\n ttl: 3600\n priority: 1\n mainVpcPublicGatewayIpReverseDns:\n type: scaleway:VpcPublicGatewayIpReverseDns\n properties:\n gatewayIpId: ${mainVpcPublicGatewayIp.id}\n reverse: tf.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayIpReverseDns:VpcPublicGatewayIpReverseDns reverse fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "gatewayIpId": { "type": "string", - "description": "The public gateway IP ID\n" + "description": "The Public Gateway IP ID\n" }, "reverse": { "type": "string", @@ -20866,7 +20844,7 @@ "inputProperties": { "gatewayIpId": { "type": "string", - "description": "The public gateway IP ID\n" + "description": "The Public Gateway IP ID\n" }, "reverse": { "type": "string", @@ -20887,7 +20865,7 @@ "properties": { "gatewayIpId": { "type": "string", - "description": "The public gateway IP ID\n" + "description": "The Public Gateway IP ID\n" }, "reverse": { "type": "string", @@ -20903,43 +20881,43 @@ } }, "scaleway:index/vpcPublicGatewayPatRule:VpcPublicGatewayPatRule": { - "description": "Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation).\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst sg01 = new scaleway.InstanceSecurityGroup(\"sg01\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n protocol: \"TCP\",\n }],\n});\nconst srv01 = new scaleway.InstanceServer(\"srv01\", {\n type: \"PLAY2-NANO\",\n image: \"ubuntu_jammy\",\n securityGroupId: sg01.id,\n});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pnic01 = new scaleway.InstancePrivateNic(\"pnic01\", {\n serverId: srv01.id,\n privateNetworkId: pn01.id,\n});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {subnet: \"192.168.0.0/24\"});\nconst ip01 = new scaleway.VpcPublicGatewayIp(\"ip01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: ip01.id,\n});\nconst gn01 = new scaleway.VpcGatewayNetwork(\"gn01\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst rsv01 = new scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", {\n gatewayNetworkId: gn01.id,\n macAddress: pnic01.macAddress,\n ipAddress: \"192.168.0.7\",\n});\n// PAT rule for SSH traffic\nconst pat01 = new scaleway.VpcPublicGatewayPatRule(\"pat01\", {\n gatewayId: pg01.id,\n privateIp: rsv01.ipAddress,\n privatePort: 22,\n publicPort: 2202,\n protocol: \"tcp\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nsg01 = scaleway.InstanceSecurityGroup(\"sg01\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n protocol=\"TCP\",\n )])\nsrv01 = scaleway.InstanceServer(\"srv01\",\n type=\"PLAY2-NANO\",\n image=\"ubuntu_jammy\",\n security_group_id=sg01.id)\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npnic01 = scaleway.InstancePrivateNic(\"pnic01\",\n server_id=srv01.id,\n private_network_id=pn01.id)\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\", subnet=\"192.168.0.0/24\")\nip01 = scaleway.VpcPublicGatewayIp(\"ip01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=ip01.id)\ngn01 = scaleway.VpcGatewayNetwork(\"gn01\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nrsv01 = scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\",\n gateway_network_id=gn01.id,\n mac_address=pnic01.mac_address,\n ip_address=\"192.168.0.7\")\n# PAT rule for SSH traffic\npat01 = scaleway.VpcPublicGatewayPatRule(\"pat01\",\n gateway_id=pg01.id,\n private_ip=rsv01.ip_address,\n private_port=22,\n public_port=2202,\n protocol=\"tcp\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sg01 = new Scaleway.InstanceSecurityGroup(\"sg01\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n Protocol = \"TCP\",\n },\n },\n });\n\n var srv01 = new Scaleway.InstanceServer(\"srv01\", new()\n {\n Type = \"PLAY2-NANO\",\n Image = \"ubuntu_jammy\",\n SecurityGroupId = sg01.Id,\n });\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new Scaleway.InstancePrivateNic(\"pnic01\", new()\n {\n ServerId = srv01.Id,\n PrivateNetworkId = pn01.Id,\n });\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var ip01 = new Scaleway.VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = ip01.Id,\n });\n\n var gn01 = new Scaleway.VpcGatewayNetwork(\"gn01\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var rsv01 = new Scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", new()\n {\n GatewayNetworkId = gn01.Id,\n MacAddress = pnic01.MacAddress,\n IpAddress = \"192.168.0.7\",\n });\n\n // PAT rule for SSH traffic\n var pat01 = new Scaleway.VpcPublicGatewayPatRule(\"pat01\", new()\n {\n GatewayId = pg01.Id,\n PrivateIp = rsv01.IpAddress,\n PrivatePort = 22,\n PublicPort = 2202,\n Protocol = \"tcp\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsg01, err := scaleway.NewInstanceSecurityGroup(ctx, \"sg01\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsrv01, err := scaleway.NewInstanceServer(ctx, \"srv01\", \u0026scaleway.InstanceServerArgs{\n\t\t\tType: pulumi.String(\"PLAY2-NANO\"),\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tSecurityGroupId: sg01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpnic01, err := scaleway.NewInstancePrivateNic(ctx, \"pnic01\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: srv01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: ip01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgn01, err := scaleway.NewVpcGatewayNetwork(ctx, \"gn01\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trsv01, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"rsv01\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: gn01.ID(),\n\t\t\tMacAddress: pnic01.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.0.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// PAT rule for SSH traffic\n\t\t_, err = scaleway.NewVpcPublicGatewayPatRule(ctx, \"pat01\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateIp: rsv01.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2202),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sg01 = new InstanceSecurityGroup(\"sg01\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(22)\n .protocol(\"TCP\")\n .build())\n .build());\n\n var srv01 = new InstanceServer(\"srv01\", InstanceServerArgs.builder()\n .type(\"PLAY2-NANO\")\n .image(\"ubuntu_jammy\")\n .securityGroupId(sg01.id())\n .build());\n\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new InstancePrivateNic(\"pnic01\", InstancePrivateNicArgs.builder()\n .serverId(srv01.id())\n .privateNetworkId(pn01.id())\n .build());\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n var ip01 = new VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(ip01.id())\n .build());\n\n var gn01 = new VpcGatewayNetwork(\"gn01\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var rsv01 = new VpcPublicGatewayDhcpReservation(\"rsv01\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(gn01.id())\n .macAddress(pnic01.macAddress())\n .ipAddress(\"192.168.0.7\")\n .build());\n\n // PAT rule for SSH traffic\n var pat01 = new VpcPublicGatewayPatRule(\"pat01\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(pg01.id())\n .privateIp(rsv01.ipAddress())\n .privatePort(22)\n .publicPort(2202)\n .protocol(\"tcp\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sg01:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: 22\n protocol: TCP\n srv01:\n type: scaleway:InstanceServer\n properties:\n type: PLAY2-NANO\n image: ubuntu_jammy\n securityGroupId: ${sg01.id}\n pnic01:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${srv01.id}\n privateNetworkId: ${pn01.id}\n pn01:\n type: scaleway:VpcPrivateNetwork\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\n ip01:\n type: scaleway:VpcPublicGatewayIp\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${ip01.id}\n gn01:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n rsv01:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${gn01.id}\n macAddress: ${pnic01.macAddress}\n ipAddress: 192.168.0.7\n # PAT rule for SSH traffic\n pat01:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${pg01.id}\n privateIp: ${rsv01.ipAddress}\n privatePort: 22\n publicPort: 2202\n protocol: tcp\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic gateway PAT rules config can be imported using the `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayPatRule:VpcPublicGatewayPatRule main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", + "description": "Creates and manages Scaleway Public Gateway PAT (Port Address Translation).\nFor more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst sg01 = new scaleway.InstanceSecurityGroup(\"sg01\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n protocol: \"TCP\",\n }],\n});\nconst srv01 = new scaleway.InstanceServer(\"srv01\", {\n type: \"PLAY2-NANO\",\n image: \"ubuntu_jammy\",\n securityGroupId: sg01.id,\n});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pnic01 = new scaleway.InstancePrivateNic(\"pnic01\", {\n serverId: srv01.id,\n privateNetworkId: pn01.id,\n});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {subnet: \"192.168.0.0/24\"});\nconst ip01 = new scaleway.VpcPublicGatewayIp(\"ip01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: ip01.id,\n});\nconst gn01 = new scaleway.VpcGatewayNetwork(\"gn01\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst rsv01 = new scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", {\n gatewayNetworkId: gn01.id,\n macAddress: pnic01.macAddress,\n ipAddress: \"192.168.0.7\",\n});\n// PAT rule for SSH traffic\nconst pat01 = new scaleway.VpcPublicGatewayPatRule(\"pat01\", {\n gatewayId: pg01.id,\n privateIp: rsv01.ipAddress,\n privatePort: 22,\n publicPort: 2202,\n protocol: \"tcp\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_scaleway as scaleway\n\nsg01 = scaleway.InstanceSecurityGroup(\"sg01\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n protocol=\"TCP\",\n )])\nsrv01 = scaleway.InstanceServer(\"srv01\",\n type=\"PLAY2-NANO\",\n image=\"ubuntu_jammy\",\n security_group_id=sg01.id)\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npnic01 = scaleway.InstancePrivateNic(\"pnic01\",\n server_id=srv01.id,\n private_network_id=pn01.id)\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\", subnet=\"192.168.0.0/24\")\nip01 = scaleway.VpcPublicGatewayIp(\"ip01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=ip01.id)\ngn01 = scaleway.VpcGatewayNetwork(\"gn01\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nrsv01 = scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\",\n gateway_network_id=gn01.id,\n mac_address=pnic01.mac_address,\n ip_address=\"192.168.0.7\")\n# PAT rule for SSH traffic\npat01 = scaleway.VpcPublicGatewayPatRule(\"pat01\",\n gateway_id=pg01.id,\n private_ip=rsv01.ip_address,\n private_port=22,\n public_port=2202,\n protocol=\"tcp\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sg01 = new Scaleway.InstanceSecurityGroup(\"sg01\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n Protocol = \"TCP\",\n },\n },\n });\n\n var srv01 = new Scaleway.InstanceServer(\"srv01\", new()\n {\n Type = \"PLAY2-NANO\",\n Image = \"ubuntu_jammy\",\n SecurityGroupId = sg01.Id,\n });\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new Scaleway.InstancePrivateNic(\"pnic01\", new()\n {\n ServerId = srv01.Id,\n PrivateNetworkId = pn01.Id,\n });\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var ip01 = new Scaleway.VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = ip01.Id,\n });\n\n var gn01 = new Scaleway.VpcGatewayNetwork(\"gn01\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var rsv01 = new Scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", new()\n {\n GatewayNetworkId = gn01.Id,\n MacAddress = pnic01.MacAddress,\n IpAddress = \"192.168.0.7\",\n });\n\n // PAT rule for SSH traffic\n var pat01 = new Scaleway.VpcPublicGatewayPatRule(\"pat01\", new()\n {\n GatewayId = pg01.Id,\n PrivateIp = rsv01.IpAddress,\n PrivatePort = 22,\n PublicPort = 2202,\n Protocol = \"tcp\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsg01, err := scaleway.NewInstanceSecurityGroup(ctx, \"sg01\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsrv01, err := scaleway.NewInstanceServer(ctx, \"srv01\", \u0026scaleway.InstanceServerArgs{\n\t\t\tType: pulumi.String(\"PLAY2-NANO\"),\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tSecurityGroupId: sg01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpnic01, err := scaleway.NewInstancePrivateNic(ctx, \"pnic01\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: srv01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: ip01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgn01, err := scaleway.NewVpcGatewayNetwork(ctx, \"gn01\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trsv01, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"rsv01\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: gn01.ID(),\n\t\t\tMacAddress: pnic01.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.0.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// PAT rule for SSH traffic\n\t\t_, err = scaleway.NewVpcPublicGatewayPatRule(ctx, \"pat01\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateIp: rsv01.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2202),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sg01 = new InstanceSecurityGroup(\"sg01\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(22)\n .protocol(\"TCP\")\n .build())\n .build());\n\n var srv01 = new InstanceServer(\"srv01\", InstanceServerArgs.builder()\n .type(\"PLAY2-NANO\")\n .image(\"ubuntu_jammy\")\n .securityGroupId(sg01.id())\n .build());\n\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new InstancePrivateNic(\"pnic01\", InstancePrivateNicArgs.builder()\n .serverId(srv01.id())\n .privateNetworkId(pn01.id())\n .build());\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n var ip01 = new VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(ip01.id())\n .build());\n\n var gn01 = new VpcGatewayNetwork(\"gn01\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var rsv01 = new VpcPublicGatewayDhcpReservation(\"rsv01\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(gn01.id())\n .macAddress(pnic01.macAddress())\n .ipAddress(\"192.168.0.7\")\n .build());\n\n // PAT rule for SSH traffic\n var pat01 = new VpcPublicGatewayPatRule(\"pat01\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(pg01.id())\n .privateIp(rsv01.ipAddress())\n .privatePort(22)\n .publicPort(2202)\n .protocol(\"tcp\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sg01:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: 22\n protocol: TCP\n srv01:\n type: scaleway:InstanceServer\n properties:\n type: PLAY2-NANO\n image: ubuntu_jammy\n securityGroupId: ${sg01.id}\n pnic01:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${srv01.id}\n privateNetworkId: ${pn01.id}\n pn01:\n type: scaleway:VpcPrivateNetwork\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\n ip01:\n type: scaleway:VpcPublicGatewayIp\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${ip01.id}\n gn01:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n rsv01:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${gn01.id}\n macAddress: ${pnic01.macAddress}\n ipAddress: 192.168.0.7\n # PAT rule for SSH traffic\n pat01:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${pg01.id}\n privateIp: ${rsv01.ipAddress}\n privatePort: 22\n publicPort: 2202\n protocol: tcp\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPublic Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g.\n\nbash\n\n```sh\n$ pulumi import scaleway:index/vpcPublicGatewayPatRule:VpcPublicGatewayPatRule main fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n", "properties": { "createdAt": { "type": "string", - "description": "The date and time of the creation of the pat rule config.\n" + "description": "The date and time of the creation of the PAT rule configuration.\n" }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the pat rule config is associated with.\n" + "description": "The Organization ID the PAT rule configuration is associated with.\n" }, "privateIp": { "type": "string", - "description": "The Private IP to forward data to (IP address).\n" + "description": "The private IP address to forward data to.\n" }, "privatePort": { "type": "integer", - "description": "The Private port to translate to.\n" + "description": "The private port to translate to.\n" }, "protocol": { "type": "string", - "description": "The Protocol the rule should apply to. Possible values are both, tcp and udp.\n" + "description": "The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`.\n" }, "publicPort": { "type": "integer", - "description": "The Public port to listen on.\n" + "description": "The public port to listen on.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the pat rule config.\n" + "description": "The date and time of the last update of the PAT rule configuration.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n" + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n" } }, "required": [ @@ -20955,27 +20933,27 @@ "inputProperties": { "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "privateIp": { "type": "string", - "description": "The Private IP to forward data to (IP address).\n" + "description": "The private IP address to forward data to.\n" }, "privatePort": { "type": "integer", - "description": "The Private port to translate to.\n" + "description": "The private port to translate to.\n" }, "protocol": { "type": "string", - "description": "The Protocol the rule should apply to. Possible values are both, tcp and udp.\n" + "description": "The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`.\n" }, "publicPort": { "type": "integer", - "description": "The Public port to listen on.\n" + "description": "The public port to listen on.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n", + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n", "willReplaceOnChanges": true } }, @@ -20990,39 +20968,39 @@ "properties": { "createdAt": { "type": "string", - "description": "The date and time of the creation of the pat rule config.\n" + "description": "The date and time of the creation of the PAT rule configuration.\n" }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the pat rule config is associated with.\n" + "description": "The Organization ID the PAT rule configuration is associated with.\n" }, "privateIp": { "type": "string", - "description": "The Private IP to forward data to (IP address).\n" + "description": "The private IP address to forward data to.\n" }, "privatePort": { "type": "integer", - "description": "The Private port to translate to.\n" + "description": "The private port to translate to.\n" }, "protocol": { "type": "string", - "description": "The Protocol the rule should apply to. Possible values are both, tcp and udp.\n" + "description": "The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`.\n" }, "publicPort": { "type": "integer", - "description": "The Public port to listen on.\n" + "description": "The public port to listen on.\n" }, "updatedAt": { "type": "string", - "description": "The date and time of the last update of the pat rule config.\n" + "description": "The date and time of the last update of the PAT rule configuration.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the public gateway DHCP config should be created.\n", + "description": "`zone`) The zone in which the Public Gateway DHCP configuration should be created.\n", "willReplaceOnChanges": true } }, @@ -21337,7 +21315,7 @@ "properties": { "name": { "type": "string", - "description": "The SSH key name. Only one of `name` and `ssh_key_id` should be specified.\n" + "description": "The SSH key name.\n" }, "projectId": { "type": "string", @@ -21345,7 +21323,7 @@ }, "sshKeyId": { "type": "string", - "description": "The SSH key id. Only one of `name` and `ssh_key_id` should be specified.\n" + "description": "The SSH key id.\n\n\u003e **Note** You must specify at least one: `name` and/or `ssh_key_id`.\n" } }, "type": "object" @@ -21793,11 +21771,13 @@ } }, "scaleway:index/getBillingConsumptions:getBillingConsumptions": { + "description": "Gets information about your Consumptions.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetBillingConsumptionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var my-consumption = ScalewayFunctions.getBillingConsumptions(GetBillingConsumptionsArgs.builder()\n .organizationId(\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n my-consumption:\n fn::invoke:\n Function: scaleway:getBillingConsumptions\n Arguments:\n organizationId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getBillingConsumptions.\n", "properties": { "projectId": { "type": "string", + "description": "`project_id`) The ID of the project the consumption list is associated with.\n", "willReplaceOnChanges": true } }, @@ -21810,7 +21790,8 @@ "type": "array", "items": { "$ref": "#/types/scaleway:index/getBillingConsumptionsConsumption:getBillingConsumptionsConsumption" - } + }, + "description": "List of found consumptions\n" }, "id": { "type": "string", @@ -21820,10 +21801,12 @@ "type": "string" }, "projectId": { - "type": "string" + "type": "string", + "description": "The project ID of the consumption.\n" }, "updatedAt": { - "type": "string" + "type": "string", + "description": "The last consumption update date.\n" } }, "type": "object", @@ -21837,7 +21820,7 @@ } }, "scaleway:index/getBillingInvoices:getBillingInvoices": { - "description": "Gets information about your Invoices.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst my-invoices = scaleway.getBillingInvoices({\n invoiceType: \"periodic\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_invoices = scaleway.get_billing_invoices(invoice_type=\"periodic\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_invoices = Scaleway.GetBillingInvoices.Invoke(new()\n {\n InvoiceType = \"periodic\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetBillingInvoices(ctx, \u0026scaleway.GetBillingInvoicesArgs{\n\t\t\tInvoiceType: pulumi.StringRef(\"periodic\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetBillingInvoicesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var my-invoices = ScalewayFunctions.getBillingInvoices(GetBillingInvoicesArgs.builder()\n .invoiceType(\"periodic\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n my-invoices:\n fn::invoke:\n Function: scaleway:getBillingInvoices\n Arguments:\n invoiceType: periodic\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about your Scaleway invoices.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst my-invoices = scaleway.getBillingInvoices({\n invoiceType: \"periodic\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_invoices = scaleway.get_billing_invoices(invoice_type=\"periodic\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_invoices = Scaleway.GetBillingInvoices.Invoke(new()\n {\n InvoiceType = \"periodic\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetBillingInvoices(ctx, \u0026scaleway.GetBillingInvoicesArgs{\n\t\t\tInvoiceType: pulumi.StringRef(\"periodic\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetBillingInvoicesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var my-invoices = ScalewayFunctions.getBillingInvoices(GetBillingInvoicesArgs.builder()\n .invoiceType(\"periodic\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n my-invoices:\n fn::invoke:\n Function: scaleway:getBillingInvoices\n Arguments:\n invoiceType: periodic\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getBillingInvoices.\n", "properties": { @@ -21893,23 +21876,29 @@ } }, "scaleway:index/getBlockSnapshot:getBlockSnapshot": { + "description": "Gets information about a Block Snapshot.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst mySnapshot = scaleway.getBlockSnapshot({\n snapshotId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_snapshot = scaleway.get_block_snapshot(snapshot_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mySnapshot = Scaleway.GetBlockSnapshot.Invoke(new()\n {\n SnapshotId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupBlockSnapshot(ctx, \u0026scaleway.LookupBlockSnapshotArgs{\n\t\t\tSnapshotId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetBlockSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var mySnapshot = ScalewayFunctions.getBlockSnapshot(GetBlockSnapshotArgs.builder()\n .snapshotId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n mySnapshot:\n fn::invoke:\n Function: scaleway:getBlockSnapshot\n Arguments:\n snapshotId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getBlockSnapshot.\n", "properties": { "name": { - "type": "string" + "type": "string", + "description": "The name of the snapshot. Only one of `name` and `snapshot_id` should be specified.\n" }, "projectId": { - "type": "string" + "type": "string", + "description": "The ID of the project the snapshot is associated with.\n" }, "snapshotId": { - "type": "string" + "type": "string", + "description": "The ID of the snapshot. Only one of `name` and `snapshot_id` should be specified.\n" }, "volumeId": { - "type": "string" + "type": "string", + "description": "The ID of the volume from which the snapshot has been created.\n" }, "zone": { - "type": "string" + "type": "string", + "description": "`zone`) The zone in which the snapshot exists.\n" } }, "type": "object" @@ -22101,6 +22090,62 @@ ] } }, + "scaleway:index/getConfig:getConfig": { + "outputs": { + "description": "A collection of values returned by getConfig.\n", + "properties": { + "accessKey": { + "type": "string" + }, + "accessKeySource": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "projectId": { + "type": "string" + }, + "projectIdSource": { + "type": "string" + }, + "region": { + "type": "string" + }, + "regionSource": { + "type": "string" + }, + "secretKey": { + "type": "string", + "secret": true + }, + "secretKeySource": { + "type": "string" + }, + "zone": { + "type": "string" + }, + "zoneSource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "accessKey", + "accessKeySource", + "projectId", + "projectIdSource", + "region", + "regionSource", + "secretKey", + "secretKeySource", + "zone", + "zoneSource", + "id" + ] + } + }, "scaleway:index/getContainer:getContainer": { "description": "Gets information about the Scaleway Container.\n\nFor more information consult the [documentation](https://www.scaleway.com/en/docs/faq/serverless-containers/).\n\nFor more details about the limitation check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).\n\nYou can check also our [containers guide](https://www.scaleway.com/en/docs/compute/containers/concepts/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainContainerNamespace = new scaleway.ContainerNamespace(\"mainContainerNamespace\", {});\nconst mainContainer = new scaleway.Container(\"mainContainer\", {namespaceId: mainContainerNamespace.id});\nconst byName = scaleway.getContainerOutput({\n namespaceId: mainContainerNamespace.id,\n name: mainContainer.name,\n});\nconst byId = scaleway.getContainerOutput({\n namespaceId: mainContainerNamespace.id,\n containerId: mainContainer.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_container_namespace = scaleway.ContainerNamespace(\"mainContainerNamespace\")\nmain_container = scaleway.Container(\"mainContainer\", namespace_id=main_container_namespace.id)\nby_name = scaleway.get_container_output(namespace_id=main_container_namespace.id,\n name=main_container.name)\nby_id = scaleway.get_container_output(namespace_id=main_container_namespace.id,\n container_id=main_container.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainContainerNamespace = new Scaleway.ContainerNamespace(\"mainContainerNamespace\");\n\n var mainContainer = new Scaleway.Container(\"mainContainer\", new()\n {\n NamespaceId = mainContainerNamespace.Id,\n });\n\n var byName = Scaleway.GetContainer.Invoke(new()\n {\n NamespaceId = mainContainerNamespace.Id,\n Name = mainContainer.Name,\n });\n\n var byId = Scaleway.GetContainer.Invoke(new()\n {\n NamespaceId = mainContainerNamespace.Id,\n ContainerId = mainContainer.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainContainerNamespace, err := scaleway.NewContainerNamespace(ctx, \"mainContainerNamespace\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainContainer, err := scaleway.NewContainer(ctx, \"mainContainer\", \u0026scaleway.ContainerArgs{\n\t\t\tNamespaceId: mainContainerNamespace.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupContainerOutput(ctx, scaleway.GetContainerOutputArgs{\n\t\t\tNamespaceId: mainContainerNamespace.ID(),\n\t\t\tName: mainContainer.Name,\n\t\t}, nil)\n\t\t_ = scaleway.LookupContainerOutput(ctx, scaleway.GetContainerOutputArgs{\n\t\t\tNamespaceId: mainContainerNamespace.ID(),\n\t\t\tContainerId: mainContainer.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ContainerNamespace;\nimport com.pulumi.scaleway.Container;\nimport com.pulumi.scaleway.ContainerArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetContainerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainContainerNamespace = new ContainerNamespace(\"mainContainerNamespace\");\n\n var mainContainer = new Container(\"mainContainer\", ContainerArgs.builder()\n .namespaceId(mainContainerNamespace.id())\n .build());\n\n final var byName = ScalewayFunctions.getContainer(GetContainerArgs.builder()\n .namespaceId(mainContainerNamespace.id())\n .name(mainContainer.name())\n .build());\n\n final var byId = ScalewayFunctions.getContainer(GetContainerArgs.builder()\n .namespaceId(mainContainerNamespace.id())\n .containerId(mainContainer.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainContainerNamespace:\n type: scaleway:ContainerNamespace\n mainContainer:\n type: scaleway:Container\n properties:\n namespaceId: ${mainContainerNamespace.id}\nvariables:\n byName:\n fn::invoke:\n Function: scaleway:getContainer\n Arguments:\n namespaceId: ${mainContainerNamespace.id}\n name: ${mainContainer.name}\n byId:\n fn::invoke:\n Function: scaleway:getContainer\n Arguments:\n namespaceId: ${mainContainerNamespace.id}\n containerId: ${mainContainer.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -22356,7 +22401,7 @@ } }, "scaleway:index/getDatabase:getDatabase": { - "description": "Gets information about a RDB database.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myDb = scaleway.getDatabase({\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n name: \"foobar\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_db = scaleway.get_database(instance_id=\"11111111-1111-1111-1111-111111111111\",\n name=\"foobar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myDb = Scaleway.GetDatabase.Invoke(new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n Name = \"foobar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabase(ctx, \u0026scaleway.LookupDatabaseArgs{\n\t\t\tInstanceId: \"11111111-1111-1111-1111-111111111111\",\n\t\t\tName: \"foobar\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myDb = ScalewayFunctions.getDatabase(GetDatabaseArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .name(\"foobar\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myDb:\n fn::invoke:\n Function: scaleway:getDatabase\n Arguments:\n instanceId: 11111111-1111-1111-1111-111111111111\n name: foobar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a database.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myDb = scaleway.getDatabase({\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n name: \"foobar\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_db = scaleway.get_database(instance_id=\"11111111-1111-1111-1111-111111111111\",\n name=\"foobar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myDb = Scaleway.GetDatabase.Invoke(new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n Name = \"foobar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabase(ctx, \u0026scaleway.LookupDatabaseArgs{\n\t\t\tInstanceId: \"11111111-1111-1111-1111-111111111111\",\n\t\t\tName: \"foobar\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myDb = ScalewayFunctions.getDatabase(GetDatabaseArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .name(\"foobar\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myDb:\n fn::invoke:\n Function: scaleway:getDatabase\n Arguments:\n instanceId: 11111111-1111-1111-1111-111111111111\n name: foobar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabase.\n", "properties": { @@ -22419,7 +22464,7 @@ } }, "scaleway:index/getDatabaseAcl:getDatabaseAcl": { - "description": "Gets information about the RDB instance network Access Control List.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myAcl = scaleway.getDatabaseAcl({\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_acl = scaleway.get_database_acl(instance_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myAcl = Scaleway.GetDatabaseAcl.Invoke(new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabaseAcl(ctx, \u0026scaleway.LookupDatabaseAclArgs{\n\t\t\tInstanceId: \"11111111-1111-1111-1111-111111111111\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabaseAclArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myAcl = ScalewayFunctions.getDatabaseAcl(GetDatabaseAclArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myAcl:\n fn::invoke:\n Function: scaleway:getDatabaseAcl\n Arguments:\n instanceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about the Database Instance network Access Control List.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myAcl = scaleway.getDatabaseAcl({\n instanceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_acl = scaleway.get_database_acl(instance_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myAcl = Scaleway.GetDatabaseAcl.Invoke(new()\n {\n InstanceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabaseAcl(ctx, \u0026scaleway.LookupDatabaseAclArgs{\n\t\t\tInstanceId: \"11111111-1111-1111-1111-111111111111\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabaseAclArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myAcl = ScalewayFunctions.getDatabaseAcl(GetDatabaseAclArgs.builder()\n .instanceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myAcl:\n fn::invoke:\n Function: scaleway:getDatabaseAcl\n Arguments:\n instanceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseAcl.\n", "properties": { @@ -22473,15 +22518,15 @@ "properties": { "backupId": { "type": "string", - "description": "The RDB backup ID.\nOnly one of the `name` and `backup_id` should be specified.\n" + "description": "The backup ID.\n" }, "instanceId": { "type": "string", - "description": "The RDB instance ID.\n" + "description": "The Database Instance ID.\n" }, "name": { "type": "string", - "description": "The name of the RDB instance.\nOnly one of the `name` and `backup_id` should be specified.\n" + "description": "The name of the RDB instance.\n\n\u003e **Note** You must specify at least one: `name` and/or `backup_id`.\n" }, "projectId": { "type": "string", @@ -22548,25 +22593,25 @@ } }, "scaleway:index/getDatabaseInstance:getDatabaseInstance": { - "description": "Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance)\n\n", + "description": "Gets information about an Database Instance.\n\nFor further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance)\n\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseInstance.\n", "properties": { "instanceId": { "type": "string", - "description": "The RDB instance ID.\nOnly one of `name` and `instance_id` should be specified.\n" + "description": "The RDB instance ID.\n\n\u003e **Note** You must specify at least one: `name` and/or `instance_id`.\n" }, "name": { "type": "string", - "description": "The name of the RDB instance.\nOnly one of `name` and `instance_id` should be specified.\n" + "description": "The name of the RDB instance.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the RDB instance is in. Can be used to filter instances when using `name`.\n" + "description": "The ID of the project the Database Instance is in. Can be used to filter instances when using `name`.\n" }, "region": { "type": "string", - "description": "`region`) The region in which the RDB instance exists.\n" + "description": "`region`) The region in which the Database Instance exists.\n" } }, "type": "object" @@ -22707,7 +22752,7 @@ } }, "scaleway:index/getDatabasePrivilege:getDatabasePrivilege": { - "description": "Gets information about the privilege on RDB database.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst main = scaleway.getDatabasePrivilege({\n databaseName: \"my-database\",\n instanceId: \"11111111-1111-111111111111\",\n userName: \"my-user\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmain = scaleway.get_database_privilege(database_name=\"my-database\",\n instance_id=\"11111111-1111-111111111111\",\n user_name=\"my-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = Scaleway.GetDatabasePrivilege.Invoke(new()\n {\n DatabaseName = \"my-database\",\n InstanceId = \"11111111-1111-111111111111\",\n UserName = \"my-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabasePrivilege(ctx, \u0026scaleway.LookupDatabasePrivilegeArgs{\n\t\t\tDatabaseName: \"my-database\",\n\t\t\tInstanceId: \"11111111-1111-111111111111\",\n\t\t\tUserName: \"my-user\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabasePrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = ScalewayFunctions.getDatabasePrivilege(GetDatabasePrivilegeArgs.builder()\n .databaseName(\"my-database\")\n .instanceId(\"11111111-1111-111111111111\")\n .userName(\"my-user\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getDatabasePrivilege\n Arguments:\n databaseName: my-database\n instanceId: 11111111-1111-111111111111\n userName: my-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about the privileges in a database.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst main = scaleway.getDatabasePrivilege({\n databaseName: \"my-database\",\n instanceId: \"11111111-1111-111111111111\",\n userName: \"my-user\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmain = scaleway.get_database_privilege(database_name=\"my-database\",\n instance_id=\"11111111-1111-111111111111\",\n user_name=\"my-user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = Scaleway.GetDatabasePrivilege.Invoke(new()\n {\n DatabaseName = \"my-database\",\n InstanceId = \"11111111-1111-111111111111\",\n UserName = \"my-user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupDatabasePrivilege(ctx, \u0026scaleway.LookupDatabasePrivilegeArgs{\n\t\t\tDatabaseName: \"my-database\",\n\t\t\tInstanceId: \"11111111-1111-111111111111\",\n\t\t\tUserName: \"my-user\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetDatabasePrivilegeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = ScalewayFunctions.getDatabasePrivilege(GetDatabasePrivilegeArgs.builder()\n .databaseName(\"my-database\")\n .instanceId(\"11111111-1111-111111111111\")\n .userName(\"my-user\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getDatabasePrivilege\n Arguments:\n databaseName: my-database\n instanceId: 11111111-1111-111111111111\n userName: my-user\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabasePrivilege.\n", "properties": { @@ -22717,7 +22762,7 @@ }, "instanceId": { "type": "string", - "description": "The RDB instance ID.\n" + "description": "The Database Instance ID.\n" }, "region": { "type": "string", @@ -23596,15 +23641,15 @@ "properties": { "applicationId": { "type": "string", - "description": "The ID of the IAM application.\nOnly one of the `name` and `application_id` should be specified.\n" + "description": "The ID of the IAM application.\n\n\u003e **Note** You must specify at least one: `name` and/or `application_id`.\n" }, "name": { "type": "string", - "description": "The name of the IAM application.\nOnly one of the `name` and `application_id` should be specified.\n" + "description": "The name of the IAM application.\n" }, "organizationId": { "type": "string", - "description": "`organization_id`) The ID of the\norganization the application is associated with.\n" + "description": "`organization_id`) The ID of the\nOrganization the application is associated with.\n" } }, "type": "object" @@ -23656,17 +23701,17 @@ } }, "scaleway:index/getIamGroup:getIamGroup": { - "description": "Gets information about an existing IAM group. For more information, please\ncheck [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst findByName = scaleway.getIamGroup({\n name: \"foobar\",\n});\nconst findById = scaleway.getIamGroup({\n groupId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nfind_by_name = scaleway.get_iam_group(name=\"foobar\")\nfind_by_id = scaleway.get_iam_group(group_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var findByName = Scaleway.GetIamGroup.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var findById = Scaleway.GetIamGroup.Invoke(new()\n {\n GroupId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIamGroup(ctx, \u0026scaleway.LookupIamGroupArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupIamGroup(ctx, \u0026scaleway.LookupIamGroupArgs{\n\t\t\tGroupId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var findByName = ScalewayFunctions.getIamGroup(GetIamGroupArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var findById = ScalewayFunctions.getIamGroup(GetIamGroupArgs.builder()\n .groupId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n findByName:\n fn::invoke:\n Function: scaleway:getIamGroup\n Arguments:\n name: foobar\n findById:\n fn::invoke:\n Function: scaleway:getIamGroup\n Arguments:\n groupId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about an existing IAM group.\n\nFor more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst findByName = scaleway.getIamGroup({\n name: \"foobar\",\n});\nconst findById = scaleway.getIamGroup({\n groupId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nfind_by_name = scaleway.get_iam_group(name=\"foobar\")\nfind_by_id = scaleway.get_iam_group(group_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var findByName = Scaleway.GetIamGroup.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var findById = Scaleway.GetIamGroup.Invoke(new()\n {\n GroupId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIamGroup(ctx, \u0026scaleway.LookupIamGroupArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupIamGroup(ctx, \u0026scaleway.LookupIamGroupArgs{\n\t\t\tGroupId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIamGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var findByName = ScalewayFunctions.getIamGroup(GetIamGroupArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var findById = ScalewayFunctions.getIamGroup(GetIamGroupArgs.builder()\n .groupId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n findByName:\n fn::invoke:\n Function: scaleway:getIamGroup\n Arguments:\n name: foobar\n findById:\n fn::invoke:\n Function: scaleway:getIamGroup\n Arguments:\n groupId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getIamGroup.\n", "properties": { "groupId": { "type": "string", - "description": "The ID of the IAM group.\nOnly one of the `name` and `group_id` should be specified.\n" + "description": "The ID of the IAM group.\n\n\u003e **Note** You must specify at least one: `name` and/or `group_id`.\n" }, "name": { "type": "string", - "description": "The name of the IAM group.\nOnly one of the `name` and `group_id` should be specified.\n" + "description": "The name of the IAM group.\n" }, "organizationId": { "type": "string", @@ -23742,7 +23787,7 @@ "properties": { "name": { "type": "string", - "description": "The SSH key name. Only one of `name` and `ssh_key_id` should be specified.\n" + "description": "The SSH key name.\n" }, "projectId": { "type": "string", @@ -23750,7 +23795,7 @@ }, "sshKeyId": { "type": "string", - "description": "The SSH key id. Only one of `name` and `ssh_key_id` should be specified.\n" + "description": "The SSH key id.\n\n\u003e **Note** You must specify at least one: `name` and/or `ssh_key_id`.\n" } }, "type": "object" @@ -23808,13 +23853,13 @@ } }, "scaleway:index/getIamUser:getIamUser": { - "description": "Use this data source to get information on an existing IAM user based on its ID or email address.\nFor more information,\nsee [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst findById = scaleway.getIamUser({\n userId: \"11111111-1111-1111-1111-111111111111\",\n});\nconst findByEmail = scaleway.getIamUser({\n email: \"foo@bar.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nfind_by_id = scaleway.get_iam_user(user_id=\"11111111-1111-1111-1111-111111111111\")\nfind_by_email = scaleway.get_iam_user(email=\"foo@bar.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var findById = Scaleway.GetIamUser.Invoke(new()\n {\n UserId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n var findByEmail = Scaleway.GetIamUser.Invoke(new()\n {\n Email = \"foo@bar.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIamUser(ctx, \u0026scaleway.LookupIamUserArgs{\n\t\t\tUserId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupIamUser(ctx, \u0026scaleway.LookupIamUserArgs{\n\t\t\tEmail: pulumi.StringRef(\"foo@bar.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIamUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var findById = ScalewayFunctions.getIamUser(GetIamUserArgs.builder()\n .userId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n final var findByEmail = ScalewayFunctions.getIamUser(GetIamUserArgs.builder()\n .email(\"foo@bar.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n findById:\n fn::invoke:\n Function: scaleway:getIamUser\n Arguments:\n userId: 11111111-1111-1111-1111-111111111111\n findByEmail:\n fn::invoke:\n Function: scaleway:getIamUser\n Arguments:\n email: foo@bar.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to get information on an existing IAM user based on its ID or email address.\nFor more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst findById = scaleway.getIamUser({\n userId: \"11111111-1111-1111-1111-111111111111\",\n});\nconst findByEmail = scaleway.getIamUser({\n email: \"foo@bar.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nfind_by_id = scaleway.get_iam_user(user_id=\"11111111-1111-1111-1111-111111111111\")\nfind_by_email = scaleway.get_iam_user(email=\"foo@bar.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var findById = Scaleway.GetIamUser.Invoke(new()\n {\n UserId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n var findByEmail = Scaleway.GetIamUser.Invoke(new()\n {\n Email = \"foo@bar.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIamUser(ctx, \u0026scaleway.LookupIamUserArgs{\n\t\t\tUserId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupIamUser(ctx, \u0026scaleway.LookupIamUserArgs{\n\t\t\tEmail: pulumi.StringRef(\"foo@bar.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIamUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var findById = ScalewayFunctions.getIamUser(GetIamUserArgs.builder()\n .userId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n final var findByEmail = ScalewayFunctions.getIamUser(GetIamUserArgs.builder()\n .email(\"foo@bar.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n findById:\n fn::invoke:\n Function: scaleway:getIamUser\n Arguments:\n userId: 11111111-1111-1111-1111-111111111111\n findByEmail:\n fn::invoke:\n Function: scaleway:getIamUser\n Arguments:\n email: foo@bar.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getIamUser.\n", "properties": { "email": { "type": "string", - "description": "The email address of the IAM user. Only one of the `email` and `user_id` should be specified.\n" + "description": "The email address of the IAM user.\n" }, "organizationId": { "type": "string", @@ -23822,7 +23867,7 @@ }, "userId": { "type": "string", - "description": "The ID of the IAM user. Only one of the `email` and `user_id` should be specified.\n" + "description": "The ID of the IAM user.\n\n\u003e **Note** You must specify at least one: `name` and/or `user_id`.\n" } }, "type": "object" @@ -24950,7 +24995,7 @@ } }, "scaleway:index/getIpamIp:getIpamIp": { - "description": "Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks.\n\n## Examples\n\n### IPAM IP ID\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byId = scaleway.getIpamIp({\n ipamIpId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_id = scaleway.get_ipam_ip(ipam_ip_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byId = Scaleway.GetIpamIp.Invoke(new()\n {\n IpamIpId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIpamIp(ctx, \u0026scaleway.LookupIpamIpArgs{\n\t\t\tIpamIpId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .ipamIpId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n ipamIpId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Instance Private Network IP\n\nGet Instance IP in a private network.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// Connect your instance to a private network using a private nic.\nconst nic = new scaleway.InstancePrivateNic(\"nic\", {\n serverId: scaleway_instance_server.server.id,\n privateNetworkId: scaleway_vpc_private_network.pn.id,\n});\nconst byMac = scaleway.getIpamIpOutput({\n macAddress: nic.macAddress,\n type: \"ipv4\",\n});\nconst byId = scaleway.getIpamIpOutput({\n resource: {\n id: nic.id,\n type: \"instance_private_nic\",\n },\n type: \"ipv4\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\n# Connect your instance to a private network using a private nic.\nnic = scaleway.InstancePrivateNic(\"nic\",\n server_id=scaleway_instance_server[\"server\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn\"][\"id\"])\nby_mac = scaleway.get_ipam_ip_output(mac_address=nic.mac_address,\n type=\"ipv4\")\nby_id = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(\n id=nic.id,\n type=\"instance_private_nic\",\n ),\n type=\"ipv4\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Connect your instance to a private network using a private nic.\n var nic = new Scaleway.InstancePrivateNic(\"nic\", new()\n {\n ServerId = scaleway_instance_server.Server.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn.Id,\n });\n\n var byMac = Scaleway.GetIpamIp.Invoke(new()\n {\n MacAddress = nic.MacAddress,\n Type = \"ipv4\",\n });\n\n var byId = Scaleway.GetIpamIp.Invoke(new()\n {\n Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs\n {\n Id = nic.Id,\n Type = \"instance_private_nic\",\n },\n Type = \"ipv4\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Connect your instance to a private network using a private nic.\n\t\tnic, err := scaleway.NewInstancePrivateNic(ctx, \"nic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: pulumi.Any(scaleway_instance_server.Server.Id),\n\t\t\tPrivateNetworkId: pulumi.Any(scaleway_vpc_private_network.Pn.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tMacAddress: nic.MacAddress,\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tResource: \u0026scaleway.GetIpamIpResourceArgs{\n\t\t\t\tId: nic.ID(),\n\t\t\t\tType: pulumi.String(\"instance_private_nic\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Connect your instance to a private network using a private nic.\n var nic = new InstancePrivateNic(\"nic\", InstancePrivateNicArgs.builder()\n .serverId(scaleway_instance_server.server().id())\n .privateNetworkId(scaleway_vpc_private_network.pn().id())\n .build());\n\n final var byMac = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .macAddress(nic.macAddress())\n .type(\"ipv4\")\n .build());\n\n final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .resource(GetIpamIpResourceArgs.builder()\n .id(nic.id())\n .type(\"instance_private_nic\")\n .build())\n .type(\"ipv4\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Connect your instance to a private network using a private nic.\n nic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${scaleway_instance_server.server.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn.id}\nvariables:\n byMac:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n macAddress: ${nic.macAddress}\n type: ipv4\n byId:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n resource:\n id: ${nic.id}\n type: instance_private_nic\n type: ipv4\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### RDB instance\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// Find the private IPv4 using resource name\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n privateNetwork: {\n pnId: pn.id,\n },\n});\nconst byName = scaleway.getIpamIpOutput({\n resource: {\n name: main.name,\n type: \"rdb_instance\",\n },\n type: \"ipv4\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\n# Find the private IPv4 using resource name\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n ))\nby_name = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(\n name=main.name,\n type=\"rdb_instance\",\n ),\n type=\"ipv4\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Find the private IPv4 using resource name\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n },\n });\n\n var byName = Scaleway.GetIpamIp.Invoke(new()\n {\n Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs\n {\n Name = main.Name,\n Type = \"rdb_instance\",\n },\n Type = \"ipv4\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Find the private IPv4 using resource name\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmain, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tResource: \u0026scaleway.GetIpamIpResourceArgs{\n\t\t\t\tName: main.Name,\n\t\t\t\tType: pulumi.String(\"rdb_instance\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Find the private IPv4 using resource name\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .build())\n .build());\n\n final var byName = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .resource(GetIpamIpResourceArgs.builder()\n .name(main.name())\n .type(\"rdb_instance\")\n .build())\n .type(\"ipv4\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Find the private IPv4 using resource name\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n privateNetwork:\n pnId: ${pn.id}\nvariables:\n byName:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n resource:\n name: ${main.name}\n type: rdb_instance\n type: ipv4\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.\n\nFor more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).\n\n## Examples\n\n### IPAM IP ID\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byId = scaleway.getIpamIp({\n ipamIpId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_id = scaleway.get_ipam_ip(ipam_ip_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byId = Scaleway.GetIpamIp.Invoke(new()\n {\n IpamIpId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupIpamIp(ctx, \u0026scaleway.LookupIpamIpArgs{\n\t\t\tIpamIpId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .ipamIpId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n ipamIpId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Instance Private Network IP\n\nGet an Instance's IP on a Private Network.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// Connect your instance to a private network using a private nic.\nconst nic = new scaleway.InstancePrivateNic(\"nic\", {\n serverId: scaleway_instance_server.server.id,\n privateNetworkId: scaleway_vpc_private_network.pn.id,\n});\nconst byMac = scaleway.getIpamIpOutput({\n macAddress: nic.macAddress,\n type: \"ipv4\",\n});\nconst byId = scaleway.getIpamIpOutput({\n resource: {\n id: nic.id,\n type: \"instance_private_nic\",\n },\n type: \"ipv4\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\n# Connect your instance to a private network using a private nic.\nnic = scaleway.InstancePrivateNic(\"nic\",\n server_id=scaleway_instance_server[\"server\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn\"][\"id\"])\nby_mac = scaleway.get_ipam_ip_output(mac_address=nic.mac_address,\n type=\"ipv4\")\nby_id = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(\n id=nic.id,\n type=\"instance_private_nic\",\n ),\n type=\"ipv4\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Connect your instance to a private network using a private nic.\n var nic = new Scaleway.InstancePrivateNic(\"nic\", new()\n {\n ServerId = scaleway_instance_server.Server.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn.Id,\n });\n\n var byMac = Scaleway.GetIpamIp.Invoke(new()\n {\n MacAddress = nic.MacAddress,\n Type = \"ipv4\",\n });\n\n var byId = Scaleway.GetIpamIp.Invoke(new()\n {\n Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs\n {\n Id = nic.Id,\n Type = \"instance_private_nic\",\n },\n Type = \"ipv4\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Connect your instance to a private network using a private nic.\n\t\tnic, err := scaleway.NewInstancePrivateNic(ctx, \"nic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: pulumi.Any(scaleway_instance_server.Server.Id),\n\t\t\tPrivateNetworkId: pulumi.Any(scaleway_vpc_private_network.Pn.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tMacAddress: nic.MacAddress,\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tResource: \u0026scaleway.GetIpamIpResourceArgs{\n\t\t\t\tId: nic.ID(),\n\t\t\t\tType: pulumi.String(\"instance_private_nic\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Connect your instance to a private network using a private nic.\n var nic = new InstancePrivateNic(\"nic\", InstancePrivateNicArgs.builder()\n .serverId(scaleway_instance_server.server().id())\n .privateNetworkId(scaleway_vpc_private_network.pn().id())\n .build());\n\n final var byMac = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .macAddress(nic.macAddress())\n .type(\"ipv4\")\n .build());\n\n final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .resource(GetIpamIpResourceArgs.builder()\n .id(nic.id())\n .type(\"instance_private_nic\")\n .build())\n .type(\"ipv4\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Connect your instance to a private network using a private nic.\n nic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${scaleway_instance_server.server.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn.id}\nvariables:\n byMac:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n macAddress: ${nic.macAddress}\n type: ipv4\n byId:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n resource:\n id: ${nic.id}\n type: instance_private_nic\n type: ipv4\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### RDB instance\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\n// Find the private IPv4 using resource name\nconst pn = new scaleway.VpcPrivateNetwork(\"pn\", {});\nconst main = new scaleway.DatabaseInstance(\"main\", {\n nodeType: \"DB-DEV-S\",\n engine: \"PostgreSQL-15\",\n isHaCluster: true,\n disableBackup: true,\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n privateNetwork: {\n pnId: pn.id,\n },\n});\nconst byName = scaleway.getIpamIpOutput({\n resource: {\n name: main.name,\n type: \"rdb_instance\",\n },\n type: \"ipv4\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\n# Find the private IPv4 using resource name\npn = scaleway.VpcPrivateNetwork(\"pn\")\nmain = scaleway.DatabaseInstance(\"main\",\n node_type=\"DB-DEV-S\",\n engine=\"PostgreSQL-15\",\n is_ha_cluster=True,\n disable_backup=True,\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n private_network=scaleway.DatabaseInstancePrivateNetworkArgs(\n pn_id=pn.id,\n ))\nby_name = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(\n name=main.name,\n type=\"rdb_instance\",\n ),\n type=\"ipv4\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Find the private IPv4 using resource name\n var pn = new Scaleway.VpcPrivateNetwork(\"pn\");\n\n var main = new Scaleway.DatabaseInstance(\"main\", new()\n {\n NodeType = \"DB-DEV-S\",\n Engine = \"PostgreSQL-15\",\n IsHaCluster = true,\n DisableBackup = true,\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs\n {\n PnId = pn.Id,\n },\n });\n\n var byName = Scaleway.GetIpamIp.Invoke(new()\n {\n Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs\n {\n Name = main.Name,\n Type = \"rdb_instance\",\n },\n Type = \"ipv4\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Find the private IPv4 using resource name\n\t\tpn, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmain, err := scaleway.NewDatabaseInstance(ctx, \"main\", \u0026scaleway.DatabaseInstanceArgs{\n\t\t\tNodeType: pulumi.String(\"DB-DEV-S\"),\n\t\t\tEngine: pulumi.String(\"PostgreSQL-15\"),\n\t\t\tIsHaCluster: pulumi.Bool(true),\n\t\t\tDisableBackup: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tPrivateNetwork: \u0026scaleway.DatabaseInstancePrivateNetworkArgs{\n\t\t\t\tPnId: pn.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{\n\t\t\tResource: \u0026scaleway.GetIpamIpResourceArgs{\n\t\t\t\tName: main.Name,\n\t\t\t\tType: pulumi.String(\"rdb_instance\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.DatabaseInstance;\nimport com.pulumi.scaleway.DatabaseInstanceArgs;\nimport com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Find the private IPv4 using resource name\n var pn = new VpcPrivateNetwork(\"pn\");\n\n var main = new DatabaseInstance(\"main\", DatabaseInstanceArgs.builder()\n .nodeType(\"DB-DEV-S\")\n .engine(\"PostgreSQL-15\")\n .isHaCluster(true)\n .disableBackup(true)\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()\n .pnId(pn.id())\n .build())\n .build());\n\n final var byName = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()\n .resource(GetIpamIpResourceArgs.builder()\n .name(main.name())\n .type(\"rdb_instance\")\n .build())\n .type(\"ipv4\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Find the private IPv4 using resource name\n pn:\n type: scaleway:VpcPrivateNetwork\n main:\n type: scaleway:DatabaseInstance\n properties:\n nodeType: DB-DEV-S\n engine: PostgreSQL-15\n isHaCluster: true\n disableBackup: true\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n privateNetwork:\n pnId: ${pn.id}\nvariables:\n byName:\n fn::invoke:\n Function: scaleway:getIpamIp\n Arguments:\n resource:\n name: ${main.name}\n type: rdb_instance\n type: ipv4\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getIpamIp.\n", "properties": { @@ -24960,19 +25005,19 @@ }, "ipamIpId": { "type": "string", - "description": "The IPAM IP ID. Cannot be used with the rest of the arguments.\n" + "description": "The IPAM IP ID. Cannot be used with any other arguments.\n" }, "macAddress": { "type": "string", - "description": "The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`.\n" + "description": "The MAC address linked to the IP. Cannot be used with `ipam_ip_id`.\n" }, "privateNetworkId": { "type": "string", - "description": "The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`.\n" + "description": "The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the IP is associated with.\n", + "description": "`project_id`) The ID of the Project the IP is associated with.\n", "willReplaceOnChanges": true }, "region": { @@ -24993,7 +25038,7 @@ }, "type": { "type": "string", - "description": "The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`.\n" + "description": "The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`.\n" }, "zonal": { "type": "string", @@ -25012,7 +25057,7 @@ }, "addressCidr": { "type": "string", - "description": "the IP address with a CIDR notation.\n" + "description": "the IP address in CIDR notation.\n" }, "attached": { "type": "boolean" @@ -25068,7 +25113,7 @@ } }, "scaleway:index/getIpamIps:getIpamIps": { - "description": "Gets information about multiple IPs managed by IPAM service.\n\n## Examples\n\n### By tag\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byTag = scaleway.getIpamIps({\n tags: [\"tag\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_tag = scaleway.get_ipam_ips(tags=[\"tag\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byTag = Scaleway.GetIpamIps.Invoke(new()\n {\n Tags = new[]\n {\n \"tag\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetIpamIps(ctx, \u0026scaleway.GetIpamIpsArgs{\n\t\t\tTags: []string{\n\t\t\t\t\"tag\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byTag = ScalewayFunctions.getIpamIps(GetIpamIpsArgs.builder()\n .tags(\"tag\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byTag:\n fn::invoke:\n Function: scaleway:getIpamIps\n Arguments:\n tags:\n - tag\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### By type and resource\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst redis01 = new scaleway.RedisCluster(\"redis01\", {\n version: \"7.0.5\",\n nodeType: \"RED1-XS\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n clusterSize: 3,\n privateNetworks: [{\n id: pn01.id,\n }],\n});\nconst byTypeAndResource = scaleway.getIpamIpsOutput({\n type: \"ipv4\",\n resource: {\n id: redis01.id,\n type: \"redis_cluster\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nredis01 = scaleway.RedisCluster(\"redis01\",\n version=\"7.0.5\",\n node_type=\"RED1-XS\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n cluster_size=3,\n private_networks=[scaleway.RedisClusterPrivateNetworkArgs(\n id=pn01.id,\n )])\nby_type_and_resource = scaleway.get_ipam_ips_output(type=\"ipv4\",\n resource=scaleway.GetIpamIpsResourceArgs(\n id=redis01.id,\n type=\"redis_cluster\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var redis01 = new Scaleway.RedisCluster(\"redis01\", new()\n {\n Version = \"7.0.5\",\n NodeType = \"RED1-XS\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n ClusterSize = 3,\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.RedisClusterPrivateNetworkArgs\n {\n Id = pn01.Id,\n },\n },\n });\n\n var byTypeAndResource = Scaleway.GetIpamIps.Invoke(new()\n {\n Type = \"ipv4\",\n Resource = new Scaleway.Inputs.GetIpamIpsResourceInputArgs\n {\n Id = redis01.Id,\n Type = \"redis_cluster\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tredis01, err := scaleway.NewRedisCluster(ctx, \"redis01\", \u0026scaleway.RedisClusterArgs{\n\t\t\tVersion: pulumi.String(\"7.0.5\"),\n\t\t\tNodeType: pulumi.String(\"RED1-XS\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tClusterSize: pulumi.Int(3),\n\t\t\tPrivateNetworks: scaleway.RedisClusterPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.RedisClusterPrivateNetworkArgs{\n\t\t\t\t\tId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetIpamIpsOutput(ctx, scaleway.GetIpamIpsOutputArgs{\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t\tResource: \u0026scaleway.GetIpamIpsResourceArgs{\n\t\t\t\tId: redis01.ID(),\n\t\t\t\tType: pulumi.String(\"redis_cluster\"),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterPrivateNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpsArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpsResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var redis01 = new RedisCluster(\"redis01\", RedisClusterArgs.builder()\n .version(\"7.0.5\")\n .nodeType(\"RED1-XS\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .clusterSize(3)\n .privateNetworks(RedisClusterPrivateNetworkArgs.builder()\n .id(pn01.id())\n .build())\n .build());\n\n final var byTypeAndResource = ScalewayFunctions.getIpamIps(GetIpamIpsArgs.builder()\n .type(\"ipv4\")\n .resource(GetIpamIpsResourceArgs.builder()\n .id(redis01.id())\n .type(\"redis_cluster\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n redis01:\n type: scaleway:RedisCluster\n properties:\n version: 7.0.5\n nodeType: RED1-XS\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n clusterSize: 3\n privateNetworks:\n - id: ${pn01.id}\nvariables:\n byTypeAndResource:\n fn::invoke:\n Function: scaleway:getIpamIps\n Arguments:\n type: ipv4\n resource:\n id: ${redis01.id}\n type: redis_cluster\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service.\n\nFor more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).\n\n## Examples\n\n### By tag\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byTag = scaleway.getIpamIps({\n tags: [\"tag\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_tag = scaleway.get_ipam_ips(tags=[\"tag\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byTag = Scaleway.GetIpamIps.Invoke(new()\n {\n Tags = new[]\n {\n \"tag\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetIpamIps(ctx, \u0026scaleway.GetIpamIpsArgs{\n\t\t\tTags: []string{\n\t\t\t\t\"tag\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byTag = ScalewayFunctions.getIpamIps(GetIpamIpsArgs.builder()\n .tags(\"tag\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byTag:\n fn::invoke:\n Function: scaleway:getIpamIps\n Arguments:\n tags:\n - tag\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### By type and resource\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst vpc01 = new scaleway.Vpc(\"vpc01\", {});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {\n vpcId: vpc01.id,\n ipv4Subnet: {\n subnet: \"172.16.32.0/22\",\n },\n});\nconst redis01 = new scaleway.RedisCluster(\"redis01\", {\n version: \"7.0.5\",\n nodeType: \"RED1-XS\",\n userName: \"my_initial_user\",\n password: \"thiZ_is_v\u0026ry_s3cret\",\n clusterSize: 3,\n privateNetworks: [{\n id: pn01.id,\n }],\n});\nconst byTypeAndResource = scaleway.getIpamIpsOutput({\n type: \"ipv4\",\n resource: {\n id: redis01.id,\n type: \"redis_cluster\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nvpc01 = scaleway.Vpc(\"vpc01\")\npn01 = scaleway.VpcPrivateNetwork(\"pn01\",\n vpc_id=vpc01.id,\n ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(\n subnet=\"172.16.32.0/22\",\n ))\nredis01 = scaleway.RedisCluster(\"redis01\",\n version=\"7.0.5\",\n node_type=\"RED1-XS\",\n user_name=\"my_initial_user\",\n password=\"thiZ_is_v\u0026ry_s3cret\",\n cluster_size=3,\n private_networks=[scaleway.RedisClusterPrivateNetworkArgs(\n id=pn01.id,\n )])\nby_type_and_resource = scaleway.get_ipam_ips_output(type=\"ipv4\",\n resource=scaleway.GetIpamIpsResourceArgs(\n id=redis01.id,\n type=\"redis_cluster\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vpc01 = new Scaleway.Vpc(\"vpc01\");\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\", new()\n {\n VpcId = vpc01.Id,\n Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs\n {\n Subnet = \"172.16.32.0/22\",\n },\n });\n\n var redis01 = new Scaleway.RedisCluster(\"redis01\", new()\n {\n Version = \"7.0.5\",\n NodeType = \"RED1-XS\",\n UserName = \"my_initial_user\",\n Password = \"thiZ_is_v\u0026ry_s3cret\",\n ClusterSize = 3,\n PrivateNetworks = new[]\n {\n new Scaleway.Inputs.RedisClusterPrivateNetworkArgs\n {\n Id = pn01.Id,\n },\n },\n });\n\n var byTypeAndResource = Scaleway.GetIpamIps.Invoke(new()\n {\n Type = \"ipv4\",\n Resource = new Scaleway.Inputs.GetIpamIpsResourceInputArgs\n {\n Id = redis01.Id,\n Type = \"redis_cluster\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tvpc01, err := scaleway.NewVpc(ctx, \"vpc01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", \u0026scaleway.VpcPrivateNetworkArgs{\n\t\t\tVpcId: vpc01.ID(),\n\t\t\tIpv4Subnet: \u0026scaleway.VpcPrivateNetworkIpv4SubnetArgs{\n\t\t\t\tSubnet: pulumi.String(\"172.16.32.0/22\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tredis01, err := scaleway.NewRedisCluster(ctx, \"redis01\", \u0026scaleway.RedisClusterArgs{\n\t\t\tVersion: pulumi.String(\"7.0.5\"),\n\t\t\tNodeType: pulumi.String(\"RED1-XS\"),\n\t\t\tUserName: pulumi.String(\"my_initial_user\"),\n\t\t\tPassword: pulumi.String(\"thiZ_is_v\u0026ry_s3cret\"),\n\t\t\tClusterSize: pulumi.Int(3),\n\t\t\tPrivateNetworks: scaleway.RedisClusterPrivateNetworkArray{\n\t\t\t\t\u0026scaleway.RedisClusterPrivateNetworkArgs{\n\t\t\t\t\tId: pn01.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetIpamIpsOutput(ctx, scaleway.GetIpamIpsOutputArgs{\n\t\t\tType: pulumi.String(\"ipv4\"),\n\t\t\tResource: \u0026scaleway.GetIpamIpsResourceArgs{\n\t\t\t\tId: redis01.ID(),\n\t\t\t\tType: pulumi.String(\"redis_cluster\"),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.Vpc;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.VpcPrivateNetworkArgs;\nimport com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;\nimport com.pulumi.scaleway.RedisCluster;\nimport com.pulumi.scaleway.RedisClusterArgs;\nimport com.pulumi.scaleway.inputs.RedisClusterPrivateNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetIpamIpsArgs;\nimport com.pulumi.scaleway.inputs.GetIpamIpsResourceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var vpc01 = new Vpc(\"vpc01\");\n\n var pn01 = new VpcPrivateNetwork(\"pn01\", VpcPrivateNetworkArgs.builder()\n .vpcId(vpc01.id())\n .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()\n .subnet(\"172.16.32.0/22\")\n .build())\n .build());\n\n var redis01 = new RedisCluster(\"redis01\", RedisClusterArgs.builder()\n .version(\"7.0.5\")\n .nodeType(\"RED1-XS\")\n .userName(\"my_initial_user\")\n .password(\"thiZ_is_v\u0026ry_s3cret\")\n .clusterSize(3)\n .privateNetworks(RedisClusterPrivateNetworkArgs.builder()\n .id(pn01.id())\n .build())\n .build());\n\n final var byTypeAndResource = ScalewayFunctions.getIpamIps(GetIpamIpsArgs.builder()\n .type(\"ipv4\")\n .resource(GetIpamIpsResourceArgs.builder()\n .id(redis01.id())\n .type(\"redis_cluster\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vpc01:\n type: scaleway:Vpc\n pn01:\n type: scaleway:VpcPrivateNetwork\n properties:\n vpcId: ${vpc01.id}\n ipv4Subnet:\n subnet: 172.16.32.0/22\n redis01:\n type: scaleway:RedisCluster\n properties:\n version: 7.0.5\n nodeType: RED1-XS\n userName: my_initial_user\n password: thiZ_is_v\u0026ry_s3cret\n clusterSize: 3\n privateNetworks:\n - id: ${pn01.id}\nvariables:\n byTypeAndResource:\n fn::invoke:\n Function: scaleway:getIpamIps\n Arguments:\n type: ipv4\n resource:\n id: ${redis01.id}\n type: redis_cluster\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getIpamIps.\n", "properties": { @@ -25078,36 +25123,36 @@ }, "macAddress": { "type": "string", - "description": "The Mac Address used as filter.\n" + "description": "The linked MAC address to filter for.\n" }, "privateNetworkId": { "type": "string", - "description": "The ID of the private network used as filter.\n" + "description": "The ID of the Private Network to filter for.\n" }, "projectId": { "type": "string", - "description": "The ID of the project used as filter.\n", + "description": "The ID of the Project to filter for.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "The region used as filter.\n", + "description": "The region to filter for.\n", "willReplaceOnChanges": true }, "resource": { "$ref": "#/types/scaleway:index/getIpamIpsResource:getIpamIpsResource", - "description": "Filter by resource ID, type or name.\n" + "description": "Filter for a resource attached to the IP, using resource ID, type or name.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags used as filter.\n" + "description": "The IP tags to filter for.\n" }, "type": { "type": "string", - "description": "The type of IP used as filter (ipv4, ipv6).\n" + "description": "The type of IP to filter for (`ipv4` or `ipv6`).\n" }, "zonal": { "type": "string", @@ -25132,11 +25177,11 @@ "items": { "$ref": "#/types/scaleway:index/getIpamIpsIp:getIpamIpsIp" }, - "description": "List of found IPs\n" + "description": "List of found IPs.\n" }, "macAddress": { "type": "string", - "description": "The mac address.\n" + "description": "The associated MAC address.\n" }, "organizationId": { "type": "string" @@ -25146,15 +25191,15 @@ }, "projectId": { "type": "string", - "description": "The ID of the project the server is associated with.\n" + "description": "The ID of the Project the resource is associated with.\n" }, "region": { "type": "string", - "description": "The region in which the IP is.\n" + "description": "The region of the IP.\n" }, "resource": { "$ref": "#/types/scaleway:index/getIpamIpsResource:getIpamIpsResource", - "description": "The list of public IPs of the server.\n" + "description": "The list of public IPs attached to the resource.\n" }, "tags": { "type": "array", @@ -25589,17 +25634,17 @@ } }, "scaleway:index/getLbAcls:getLbAcls": { - "description": "Gets information about multiple Load Balancer ACLs.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byFrontID = scaleway.getLbAcls({\n frontendId: scaleway_lb_frontend.frt01.id,\n});\nconst byFrontIDAndName = scaleway.getLbAcls({\n frontendId: scaleway_lb_frontend.frt01.id,\n name: \"tf-acls-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_front_id = scaleway.get_lb_acls(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"])\nby_front_id_and_name = scaleway.get_lb_acls(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"],\n name=\"tf-acls-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byFrontID = Scaleway.GetLbAcls.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n });\n\n var byFrontIDAndName = Scaleway.GetLbAcls.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n Name = \"tf-acls-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbAcls(ctx, \u0026scaleway.GetLbAclsArgs{\n\t\t\tFrontendId: scaleway_lb_frontend.Frt01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbAcls(ctx, \u0026scaleway.GetLbAclsArgs{\n\t\t\tFrontendId: scaleway_lb_frontend.Frt01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-acls-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbAclsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byFrontID = ScalewayFunctions.getLbAcls(GetLbAclsArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .build());\n\n final var byFrontIDAndName = ScalewayFunctions.getLbAcls(GetLbAclsArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .name(\"tf-acls-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byFrontID:\n fn::invoke:\n Function: scaleway:getLbAcls\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n byFrontIDAndName:\n fn::invoke:\n Function: scaleway:getLbAcls\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n name: tf-acls-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancer ACLs.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byFrontID = scaleway.getLbAcls({\n frontendId: scaleway_lb_frontend.frt01.id,\n});\nconst byFrontIDAndName = scaleway.getLbAcls({\n frontendId: scaleway_lb_frontend.frt01.id,\n name: \"tf-acls-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_front_id = scaleway.get_lb_acls(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"])\nby_front_id_and_name = scaleway.get_lb_acls(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"],\n name=\"tf-acls-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byFrontID = Scaleway.GetLbAcls.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n });\n\n var byFrontIDAndName = Scaleway.GetLbAcls.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n Name = \"tf-acls-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbAcls(ctx, \u0026scaleway.GetLbAclsArgs{\n\t\t\tFrontendId: scaleway_lb_frontend.Frt01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbAcls(ctx, \u0026scaleway.GetLbAclsArgs{\n\t\t\tFrontendId: scaleway_lb_frontend.Frt01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-acls-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbAclsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byFrontID = ScalewayFunctions.getLbAcls(GetLbAclsArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .build());\n\n final var byFrontIDAndName = ScalewayFunctions.getLbAcls(GetLbAclsArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .name(\"tf-acls-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byFrontID:\n fn::invoke:\n Function: scaleway:getLbAcls\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n byFrontIDAndName:\n fn::invoke:\n Function: scaleway:getLbAcls\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n name: tf-acls-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbAcls.\n", "properties": { "frontendId": { "type": "string", - "description": "The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed.\n\u003e **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" + "description": "The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed.\n\u003e **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`\n" }, "name": { "type": "string", - "description": "The ACL name used as filter. ACLs with a name like it are listed.\n" + "description": "The ACL name to filter for. ACLs with a matching name are listed.\n" }, "projectId": { "type": "string", @@ -25607,7 +25652,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone in which ACLs exist.\n", + "description": "`zone`) The zone in which the ACLs exist.\n", "willReplaceOnChanges": true } }, @@ -25624,7 +25669,7 @@ "items": { "$ref": "#/types/scaleway:index/getLbAclsAcl:getLbAclsAcl" }, - "description": "List of found ACLs\n" + "description": "List of retrieved ACLs\n" }, "frontendId": { "type": "string" @@ -25658,21 +25703,21 @@ } }, "scaleway:index/getLbBackend:getLbBackend": { - "description": "Get information about Scaleway Load-Balancer Backends.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainLoadbalancerIp = new scaleway.LoadbalancerIp(\"mainLoadbalancerIp\", {});\nconst mainLoadbalancer = new scaleway.Loadbalancer(\"mainLoadbalancer\", {\n ipId: mainLoadbalancerIp.id,\n type: \"LB-S\",\n});\nconst mainLoadbalancerBackend = new scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\", {\n lbId: mainLoadbalancer.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n});\nconst byID = scaleway.getLbBackendOutput({\n backendId: mainLoadbalancerBackend.id,\n});\nconst byName = scaleway.getLbBackendOutput({\n name: mainLoadbalancerBackend.name,\n lbId: mainLoadbalancer.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_loadbalancer_ip = scaleway.LoadbalancerIp(\"mainLoadbalancerIp\")\nmain_loadbalancer = scaleway.Loadbalancer(\"mainLoadbalancer\",\n ip_id=main_loadbalancer_ip.id,\n type=\"LB-S\")\nmain_loadbalancer_backend = scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\",\n lb_id=main_loadbalancer.id,\n forward_protocol=\"http\",\n forward_port=80)\nby_id = scaleway.get_lb_backend_output(backend_id=main_loadbalancer_backend.id)\nby_name = scaleway.get_lb_backend_output(name=main_loadbalancer_backend.name,\n lb_id=main_loadbalancer.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainLoadbalancerIp = new Scaleway.LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Scaleway.Loadbalancer(\"mainLoadbalancer\", new()\n {\n IpId = mainLoadbalancerIp.Id,\n Type = \"LB-S\",\n });\n\n var mainLoadbalancerBackend = new Scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\", new()\n {\n LbId = mainLoadbalancer.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n });\n\n var byID = Scaleway.GetLbBackend.Invoke(new()\n {\n BackendId = mainLoadbalancerBackend.Id,\n });\n\n var byName = Scaleway.GetLbBackend.Invoke(new()\n {\n Name = mainLoadbalancerBackend.Name,\n LbId = mainLoadbalancer.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, \"mainLoadbalancerIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainLoadbalancer, err := scaleway.NewLoadbalancer(ctx, \"mainLoadbalancer\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: mainLoadbalancerIp.ID(),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainLoadbalancerBackend, err := scaleway.NewLoadbalancerBackend(ctx, \"mainLoadbalancerBackend\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: mainLoadbalancer.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbBackendOutput(ctx, scaleway.GetLbBackendOutputArgs{\n\t\t\tBackendId: mainLoadbalancerBackend.ID(),\n\t\t}, nil)\n\t\t_ = scaleway.GetLbBackendOutput(ctx, scaleway.GetLbBackendOutputArgs{\n\t\t\tName: mainLoadbalancerBackend.Name,\n\t\t\tLbId: mainLoadbalancer.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbBackendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .type(\"LB-S\")\n .build());\n\n var mainLoadbalancerBackend = new LoadbalancerBackend(\"mainLoadbalancerBackend\", LoadbalancerBackendArgs.builder()\n .lbId(mainLoadbalancer.id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .build());\n\n final var byID = ScalewayFunctions.getLbBackend(GetLbBackendArgs.builder()\n .backendId(mainLoadbalancerBackend.id())\n .build());\n\n final var byName = ScalewayFunctions.getLbBackend(GetLbBackendArgs.builder()\n .name(mainLoadbalancerBackend.name())\n .lbId(mainLoadbalancer.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n type: LB-S\n mainLoadbalancerBackend:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${mainLoadbalancer.id}\n forwardProtocol: http\n forwardPort: '80'\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbBackend\n Arguments:\n backendId: ${mainLoadbalancerBackend.id}\n byName:\n fn::invoke:\n Function: scaleway:getLbBackend\n Arguments:\n name: ${mainLoadbalancerBackend.name}\n lbId: ${mainLoadbalancer.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get information about Scaleway Load Balancer backends.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainLoadbalancerIp = new scaleway.LoadbalancerIp(\"mainLoadbalancerIp\", {});\nconst mainLoadbalancer = new scaleway.Loadbalancer(\"mainLoadbalancer\", {\n ipId: mainLoadbalancerIp.id,\n type: \"LB-S\",\n});\nconst mainLoadbalancerBackend = new scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\", {\n lbId: mainLoadbalancer.id,\n forwardProtocol: \"http\",\n forwardPort: 80,\n});\nconst byID = scaleway.getLbBackendOutput({\n backendId: mainLoadbalancerBackend.id,\n});\nconst byName = scaleway.getLbBackendOutput({\n name: mainLoadbalancerBackend.name,\n lbId: mainLoadbalancer.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_loadbalancer_ip = scaleway.LoadbalancerIp(\"mainLoadbalancerIp\")\nmain_loadbalancer = scaleway.Loadbalancer(\"mainLoadbalancer\",\n ip_id=main_loadbalancer_ip.id,\n type=\"LB-S\")\nmain_loadbalancer_backend = scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\",\n lb_id=main_loadbalancer.id,\n forward_protocol=\"http\",\n forward_port=80)\nby_id = scaleway.get_lb_backend_output(backend_id=main_loadbalancer_backend.id)\nby_name = scaleway.get_lb_backend_output(name=main_loadbalancer_backend.name,\n lb_id=main_loadbalancer.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainLoadbalancerIp = new Scaleway.LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Scaleway.Loadbalancer(\"mainLoadbalancer\", new()\n {\n IpId = mainLoadbalancerIp.Id,\n Type = \"LB-S\",\n });\n\n var mainLoadbalancerBackend = new Scaleway.LoadbalancerBackend(\"mainLoadbalancerBackend\", new()\n {\n LbId = mainLoadbalancer.Id,\n ForwardProtocol = \"http\",\n ForwardPort = 80,\n });\n\n var byID = Scaleway.GetLbBackend.Invoke(new()\n {\n BackendId = mainLoadbalancerBackend.Id,\n });\n\n var byName = Scaleway.GetLbBackend.Invoke(new()\n {\n Name = mainLoadbalancerBackend.Name,\n LbId = mainLoadbalancer.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, \"mainLoadbalancerIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainLoadbalancer, err := scaleway.NewLoadbalancer(ctx, \"mainLoadbalancer\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: mainLoadbalancerIp.ID(),\n\t\t\tType: pulumi.String(\"LB-S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainLoadbalancerBackend, err := scaleway.NewLoadbalancerBackend(ctx, \"mainLoadbalancerBackend\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: mainLoadbalancer.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"http\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbBackendOutput(ctx, scaleway.GetLbBackendOutputArgs{\n\t\t\tBackendId: mainLoadbalancerBackend.ID(),\n\t\t}, nil)\n\t\t_ = scaleway.GetLbBackendOutput(ctx, scaleway.GetLbBackendOutputArgs{\n\t\t\tName: mainLoadbalancerBackend.Name,\n\t\t\tLbId: mainLoadbalancer.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbBackendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainLoadbalancerIp = new LoadbalancerIp(\"mainLoadbalancerIp\");\n\n var mainLoadbalancer = new Loadbalancer(\"mainLoadbalancer\", LoadbalancerArgs.builder()\n .ipId(mainLoadbalancerIp.id())\n .type(\"LB-S\")\n .build());\n\n var mainLoadbalancerBackend = new LoadbalancerBackend(\"mainLoadbalancerBackend\", LoadbalancerBackendArgs.builder()\n .lbId(mainLoadbalancer.id())\n .forwardProtocol(\"http\")\n .forwardPort(\"80\")\n .build());\n\n final var byID = ScalewayFunctions.getLbBackend(GetLbBackendArgs.builder()\n .backendId(mainLoadbalancerBackend.id())\n .build());\n\n final var byName = ScalewayFunctions.getLbBackend(GetLbBackendArgs.builder()\n .name(mainLoadbalancerBackend.name())\n .lbId(mainLoadbalancer.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainLoadbalancerIp:\n type: scaleway:LoadbalancerIp\n mainLoadbalancer:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${mainLoadbalancerIp.id}\n type: LB-S\n mainLoadbalancerBackend:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${mainLoadbalancer.id}\n forwardProtocol: http\n forwardPort: '80'\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbBackend\n Arguments:\n backendId: ${mainLoadbalancerBackend.id}\n byName:\n fn::invoke:\n Function: scaleway:getLbBackend\n Arguments:\n name: ${mainLoadbalancerBackend.name}\n lbId: ${mainLoadbalancer.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbBackend.\n", "properties": { "backendId": { "type": "string", - "description": "The backend id.\n- Only one of `name` and `backend_id` should be specified.\n" + "description": "The backend ID.\n- Only one of `name` and `backend_id` should be specified.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this backend is attached to.\n" + "description": "Load Balancer ID this backend is attached to.\n" }, "name": { "type": "string", - "description": "The name of the backend.\n- When using the `name` you should specify the `lb-id`\n" + "description": "The name of the backend.\n- When using `name` you should specify the `lb-id`\n" } }, "type": "object" @@ -25825,17 +25870,17 @@ } }, "scaleway:index/getLbBackends:getLbBackends": { - "description": "Gets information about multiple Load Balancer Backends.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byLBID = scaleway.getLbBackends({\n lbId: scaleway_lb.lb01.id,\n});\nconst byLBIDAndName = scaleway.getLbBackends({\n lbId: scaleway_lb.lb01.id,\n name: \"tf-backend-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_lbid = scaleway.get_lb_backends(lb_id=scaleway_lb[\"lb01\"][\"id\"])\nby_lbid_and_name = scaleway.get_lb_backends(lb_id=scaleway_lb[\"lb01\"][\"id\"],\n name=\"tf-backend-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byLBID = Scaleway.GetLbBackends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n });\n\n var byLBIDAndName = Scaleway.GetLbBackends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n Name = \"tf-backend-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbBackends(ctx, \u0026scaleway.GetLbBackendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbBackends(ctx, \u0026scaleway.GetLbBackendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-backend-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbBackendsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byLBID = ScalewayFunctions.getLbBackends(GetLbBackendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .build());\n\n final var byLBIDAndName = ScalewayFunctions.getLbBackends(GetLbBackendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .name(\"tf-backend-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byLBID:\n fn::invoke:\n Function: scaleway:getLbBackends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n byLBIDAndName:\n fn::invoke:\n Function: scaleway:getLbBackends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n name: tf-backend-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancer Backends.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byLBID = scaleway.getLbBackends({\n lbId: scaleway_lb.lb01.id,\n});\nconst byLBIDAndName = scaleway.getLbBackends({\n lbId: scaleway_lb.lb01.id,\n name: \"tf-backend-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_lbid = scaleway.get_lb_backends(lb_id=scaleway_lb[\"lb01\"][\"id\"])\nby_lbid_and_name = scaleway.get_lb_backends(lb_id=scaleway_lb[\"lb01\"][\"id\"],\n name=\"tf-backend-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byLBID = Scaleway.GetLbBackends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n });\n\n var byLBIDAndName = Scaleway.GetLbBackends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n Name = \"tf-backend-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbBackends(ctx, \u0026scaleway.GetLbBackendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbBackends(ctx, \u0026scaleway.GetLbBackendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-backend-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbBackendsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byLBID = ScalewayFunctions.getLbBackends(GetLbBackendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .build());\n\n final var byLBIDAndName = ScalewayFunctions.getLbBackends(GetLbBackendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .name(\"tf-backend-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byLBID:\n fn::invoke:\n Function: scaleway:getLbBackends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n byLBIDAndName:\n fn::invoke:\n Function: scaleway:getLbBackends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n name: tf-backend-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbBackends.\n", "properties": { "lbId": { "type": "string", - "description": "The load-balancer ID this backend is attached to. backends with a LB ID like it are listed.\n" + "description": "The Load Balancer ID this backend is attached to. Backends with a matching ID are listed.\n" }, "name": { "type": "string", - "description": "The backend name used as filter. Backends with a name like it are listed.\n" + "description": "The backend name to filter for. Backends with a matching name are listed.\n" }, "projectId": { "type": "string", @@ -25860,7 +25905,7 @@ "items": { "$ref": "#/types/scaleway:index/getLbBackendsBackend:getLbBackendsBackend" }, - "description": "List of found backends\n" + "description": "List of retrieved backends\n" }, "id": { "type": "string", @@ -25894,17 +25939,17 @@ } }, "scaleway:index/getLbFrontend:getLbFrontend": { - "description": "Get information about Scaleway Load-Balancer Frontends.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst byID = scaleway.getLbFrontendOutput({\n frontendId: frt01.id,\n});\nconst byName = scaleway.getLbFrontendOutput({\n name: frt01.name,\n lbId: lb01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nby_id = scaleway.get_lb_frontend_output(frontend_id=frt01.id)\nby_name = scaleway.get_lb_frontend_output(name=frt01.name,\n lb_id=lb01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var byID = Scaleway.GetLbFrontend.Invoke(new()\n {\n FrontendId = frt01.Id,\n });\n\n var byName = Scaleway.GetLbFrontend.Invoke(new()\n {\n Name = frt01.Name,\n LbId = lb01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbFrontendOutput(ctx, scaleway.GetLbFrontendOutputArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t}, nil)\n\t\t_ = scaleway.GetLbFrontendOutput(ctx, scaleway.GetLbFrontendOutputArgs{\n\t\t\tName: frt01.Name,\n\t\t\tLbId: lb01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n final var byID = ScalewayFunctions.getLbFrontend(GetLbFrontendArgs.builder()\n .frontendId(frt01.id())\n .build());\n\n final var byName = ScalewayFunctions.getLbFrontend(GetLbFrontendArgs.builder()\n .name(frt01.name())\n .lbId(lb01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbFrontend\n Arguments:\n frontendId: ${frt01.id}\n byName:\n fn::invoke:\n Function: scaleway:getLbFrontend\n Arguments:\n name: ${frt01.name}\n lbId: ${lb01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get information about Scaleway Load Balancer frontends.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst byID = scaleway.getLbFrontendOutput({\n frontendId: frt01.id,\n});\nconst byName = scaleway.getLbFrontendOutput({\n name: frt01.name,\n lbId: lb01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nby_id = scaleway.get_lb_frontend_output(frontend_id=frt01.id)\nby_name = scaleway.get_lb_frontend_output(name=frt01.name,\n lb_id=lb01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var byID = Scaleway.GetLbFrontend.Invoke(new()\n {\n FrontendId = frt01.Id,\n });\n\n var byName = Scaleway.GetLbFrontend.Invoke(new()\n {\n Name = frt01.Name,\n LbId = lb01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbFrontendOutput(ctx, scaleway.GetLbFrontendOutputArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t}, nil)\n\t\t_ = scaleway.GetLbFrontendOutput(ctx, scaleway.GetLbFrontendOutputArgs{\n\t\t\tName: frt01.Name,\n\t\t\tLbId: lb01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n final var byID = ScalewayFunctions.getLbFrontend(GetLbFrontendArgs.builder()\n .frontendId(frt01.id())\n .build());\n\n final var byName = ScalewayFunctions.getLbFrontend(GetLbFrontendArgs.builder()\n .name(frt01.name())\n .lbId(lb01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbFrontend\n Arguments:\n frontendId: ${frt01.id}\n byName:\n fn::invoke:\n Function: scaleway:getLbFrontend\n Arguments:\n name: ${frt01.name}\n lbId: ${lb01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbFrontend.\n", "properties": { "frontendId": { "type": "string", - "description": "The frontend id.\n- Only one of `name` and `frontend_id` should be specified.\n" + "description": "The frontend ID.\n- Only one of `name` and `frontend_id` should be specified.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to.\n" + "description": "The Load Balancer ID this frontend is attached to.\n" }, "name": { "type": "string", @@ -25975,17 +26020,17 @@ } }, "scaleway:index/getLbFrontends:getLbFrontends": { - "description": "Gets information about multiple Load Balancer Frontends.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byLBID = scaleway.getLbFrontends({\n lbId: scaleway_lb.lb01.id,\n});\nconst byLBIDAndName = scaleway.getLbFrontends({\n lbId: scaleway_lb.lb01.id,\n name: \"tf-frontend-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_lbid = scaleway.get_lb_frontends(lb_id=scaleway_lb[\"lb01\"][\"id\"])\nby_lbid_and_name = scaleway.get_lb_frontends(lb_id=scaleway_lb[\"lb01\"][\"id\"],\n name=\"tf-frontend-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byLBID = Scaleway.GetLbFrontends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n });\n\n var byLBIDAndName = Scaleway.GetLbFrontends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n Name = \"tf-frontend-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbFrontends(ctx, \u0026scaleway.GetLbFrontendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbFrontends(ctx, \u0026scaleway.GetLbFrontendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-frontend-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbFrontendsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byLBID = ScalewayFunctions.getLbFrontends(GetLbFrontendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .build());\n\n final var byLBIDAndName = ScalewayFunctions.getLbFrontends(GetLbFrontendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .name(\"tf-frontend-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byLBID:\n fn::invoke:\n Function: scaleway:getLbFrontends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n byLBIDAndName:\n fn::invoke:\n Function: scaleway:getLbFrontends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n name: tf-frontend-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancer frontends.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byLBID = scaleway.getLbFrontends({\n lbId: scaleway_lb.lb01.id,\n});\nconst byLBIDAndName = scaleway.getLbFrontends({\n lbId: scaleway_lb.lb01.id,\n name: \"tf-frontend-datasource\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_lbid = scaleway.get_lb_frontends(lb_id=scaleway_lb[\"lb01\"][\"id\"])\nby_lbid_and_name = scaleway.get_lb_frontends(lb_id=scaleway_lb[\"lb01\"][\"id\"],\n name=\"tf-frontend-datasource\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byLBID = Scaleway.GetLbFrontends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n });\n\n var byLBIDAndName = Scaleway.GetLbFrontends.Invoke(new()\n {\n LbId = scaleway_lb.Lb01.Id,\n Name = \"tf-frontend-datasource\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbFrontends(ctx, \u0026scaleway.GetLbFrontendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbFrontends(ctx, \u0026scaleway.GetLbFrontendsArgs{\n\t\t\tLbId: scaleway_lb.Lb01.Id,\n\t\t\tName: pulumi.StringRef(\"tf-frontend-datasource\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbFrontendsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byLBID = ScalewayFunctions.getLbFrontends(GetLbFrontendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .build());\n\n final var byLBIDAndName = ScalewayFunctions.getLbFrontends(GetLbFrontendsArgs.builder()\n .lbId(scaleway_lb.lb01().id())\n .name(\"tf-frontend-datasource\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byLBID:\n fn::invoke:\n Function: scaleway:getLbFrontends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n byLBIDAndName:\n fn::invoke:\n Function: scaleway:getLbFrontends\n Arguments:\n lbId: ${scaleway_lb.lb01.id}\n name: tf-frontend-datasource\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbFrontends.\n", "properties": { "lbId": { "type": "string", - "description": "The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed.\n" + "description": "The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed.\n" }, "name": { "type": "string", - "description": "The frontend name used as filter. Frontends with a name like it are listed.\n" + "description": "The frontend name to filter for. Frontends with a matching name are listed.\n" }, "projectId": { "type": "string", @@ -25993,7 +26038,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone in which frontends exist.\n", + "description": "`zone`) The zone in which the frontends exist.\n", "willReplaceOnChanges": true } }, @@ -26010,7 +26055,7 @@ "items": { "$ref": "#/types/scaleway:index/getLbFrontendsFrontend:getLbFrontendsFrontend" }, - "description": "List of found frontends\n" + "description": "List of retrieved frontends\n" }, "id": { "type": "string", @@ -26044,22 +26089,22 @@ } }, "scaleway:index/getLbIps:getLbIps": { - "description": "Gets information about multiple Load Balancer IPs.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myKey = scaleway.getLbIps({\n ipCidrRange: \"0.0.0.0/0\",\n zone: \"fr-par-2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_key = scaleway.get_lb_ips(ip_cidr_range=\"0.0.0.0/0\",\n zone=\"fr-par-2\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myKey = Scaleway.GetLbIps.Invoke(new()\n {\n IpCidrRange = \"0.0.0.0/0\",\n Zone = \"fr-par-2\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbIps(ctx, \u0026scaleway.GetLbIpsArgs{\n\t\t\tIpCidrRange: pulumi.StringRef(\"0.0.0.0/0\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbIpsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myKey = ScalewayFunctions.getLbIps(GetLbIpsArgs.builder()\n .ipCidrRange(\"0.0.0.0/0\")\n .zone(\"fr-par-2\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: scaleway:getLbIps\n Arguments:\n ipCidrRange: 0.0.0.0/0\n zone: fr-par-2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancer IP addresses.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myKey = scaleway.getLbIps({\n ipCidrRange: \"0.0.0.0/0\",\n zone: \"fr-par-2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_key = scaleway.get_lb_ips(ip_cidr_range=\"0.0.0.0/0\",\n zone=\"fr-par-2\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myKey = Scaleway.GetLbIps.Invoke(new()\n {\n IpCidrRange = \"0.0.0.0/0\",\n Zone = \"fr-par-2\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbIps(ctx, \u0026scaleway.GetLbIpsArgs{\n\t\t\tIpCidrRange: pulumi.StringRef(\"0.0.0.0/0\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbIpsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myKey = ScalewayFunctions.getLbIps(GetLbIpsArgs.builder()\n .ipCidrRange(\"0.0.0.0/0\")\n .zone(\"fr-par-2\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: scaleway:getLbIps\n Arguments:\n ipCidrRange: 0.0.0.0/0\n zone: fr-par-2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbIps.\n", "properties": { "ipCidrRange": { "type": "string", - "description": "The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.\n" + "description": "The IP CIDR range to filter for. IPs within a matching CIDR block are listed.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n", + "description": "The ID of the Project the Load Balancer is associated with.\n", "willReplaceOnChanges": true }, "zone": { "type": "string", - "description": "`zone`) The zone in which IPs exist.\n", + "description": "`zone`) The zone in which the IPs exist.\n", "willReplaceOnChanges": true } }, @@ -26080,19 +26125,19 @@ "items": { "$ref": "#/types/scaleway:index/getLbIpsIp:getLbIpsIp" }, - "description": "List of found IPs\n" + "description": "List of retrieved IPs\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization the Load Balancer is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "zone": { "type": "string", - "description": "The zone in which the load-balancer is.\n" + "description": "The zone of the Load Balancer.\n" } }, "type": "object", @@ -26106,13 +26151,13 @@ } }, "scaleway:index/getLbRoute:getLbRoute": { - "description": "Get information about Scaleway Load-Balancer Routes.\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchSni: \"sni.scaleway.com\",\n});\nconst byID = scaleway.getLbRouteOutput({\n routeId: rt01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_sni=\"sni.scaleway.com\")\nby_id = scaleway.get_lb_route_output(route_id=rt01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchSni = \"sni.scaleway.com\",\n });\n\n var byID = Scaleway.GetLbRoute.Invoke(new()\n {\n RouteId = rt01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trt01, err := scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchSni: pulumi.String(\"sni.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbRouteOutput(ctx, scaleway.GetLbRouteOutputArgs{\n\t\t\tRouteId: rt01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchSni(\"sni.scaleway.com\")\n .build());\n\n final var byID = ScalewayFunctions.getLbRoute(GetLbRouteArgs.builder()\n .routeId(rt01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchSni: sni.scaleway.com\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbRoute\n Arguments:\n routeId: ${rt01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get information about Scaleway Load Balancer routes.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst ip01 = new scaleway.LoadbalancerIp(\"ip01\", {});\nconst lb01 = new scaleway.Loadbalancer(\"lb01\", {\n ipId: ip01.id,\n type: \"lb-s\",\n});\nconst bkd01 = new scaleway.LoadbalancerBackend(\"bkd01\", {\n lbId: lb01.id,\n forwardProtocol: \"tcp\",\n forwardPort: 80,\n proxyProtocol: \"none\",\n});\nconst frt01 = new scaleway.LoadbalancerFrontend(\"frt01\", {\n lbId: lb01.id,\n backendId: bkd01.id,\n inboundPort: 80,\n});\nconst rt01 = new scaleway.LoadbalancerRoute(\"rt01\", {\n frontendId: frt01.id,\n backendId: bkd01.id,\n matchSni: \"sni.scaleway.com\",\n});\nconst byID = scaleway.getLbRouteOutput({\n routeId: rt01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nip01 = scaleway.LoadbalancerIp(\"ip01\")\nlb01 = scaleway.Loadbalancer(\"lb01\",\n ip_id=ip01.id,\n type=\"lb-s\")\nbkd01 = scaleway.LoadbalancerBackend(\"bkd01\",\n lb_id=lb01.id,\n forward_protocol=\"tcp\",\n forward_port=80,\n proxy_protocol=\"none\")\nfrt01 = scaleway.LoadbalancerFrontend(\"frt01\",\n lb_id=lb01.id,\n backend_id=bkd01.id,\n inbound_port=80)\nrt01 = scaleway.LoadbalancerRoute(\"rt01\",\n frontend_id=frt01.id,\n backend_id=bkd01.id,\n match_sni=\"sni.scaleway.com\")\nby_id = scaleway.get_lb_route_output(route_id=rt01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ip01 = new Scaleway.LoadbalancerIp(\"ip01\");\n\n var lb01 = new Scaleway.Loadbalancer(\"lb01\", new()\n {\n IpId = ip01.Id,\n Type = \"lb-s\",\n });\n\n var bkd01 = new Scaleway.LoadbalancerBackend(\"bkd01\", new()\n {\n LbId = lb01.Id,\n ForwardProtocol = \"tcp\",\n ForwardPort = 80,\n ProxyProtocol = \"none\",\n });\n\n var frt01 = new Scaleway.LoadbalancerFrontend(\"frt01\", new()\n {\n LbId = lb01.Id,\n BackendId = bkd01.Id,\n InboundPort = 80,\n });\n\n var rt01 = new Scaleway.LoadbalancerRoute(\"rt01\", new()\n {\n FrontendId = frt01.Id,\n BackendId = bkd01.Id,\n MatchSni = \"sni.scaleway.com\",\n });\n\n var byID = Scaleway.GetLbRoute.Invoke(new()\n {\n RouteId = rt01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tip01, err := scaleway.NewLoadbalancerIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb01, err := scaleway.NewLoadbalancer(ctx, \"lb01\", \u0026scaleway.LoadbalancerArgs{\n\t\t\tIpId: ip01.ID(),\n\t\t\tType: pulumi.String(\"lb-s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbkd01, err := scaleway.NewLoadbalancerBackend(ctx, \"bkd01\", \u0026scaleway.LoadbalancerBackendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tForwardProtocol: pulumi.String(\"tcp\"),\n\t\t\tForwardPort: pulumi.Int(80),\n\t\t\tProxyProtocol: pulumi.String(\"none\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfrt01, err := scaleway.NewLoadbalancerFrontend(ctx, \"frt01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: lb01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trt01, err := scaleway.NewLoadbalancerRoute(ctx, \"rt01\", \u0026scaleway.LoadbalancerRouteArgs{\n\t\t\tFrontendId: frt01.ID(),\n\t\t\tBackendId: bkd01.ID(),\n\t\t\tMatchSni: pulumi.String(\"sni.scaleway.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetLbRouteOutput(ctx, scaleway.GetLbRouteOutputArgs{\n\t\t\tRouteId: rt01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerIp;\nimport com.pulumi.scaleway.Loadbalancer;\nimport com.pulumi.scaleway.LoadbalancerArgs;\nimport com.pulumi.scaleway.LoadbalancerBackend;\nimport com.pulumi.scaleway.LoadbalancerBackendArgs;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.LoadbalancerRoute;\nimport com.pulumi.scaleway.LoadbalancerRouteArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbRouteArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ip01 = new LoadbalancerIp(\"ip01\");\n\n var lb01 = new Loadbalancer(\"lb01\", LoadbalancerArgs.builder()\n .ipId(ip01.id())\n .type(\"lb-s\")\n .build());\n\n var bkd01 = new LoadbalancerBackend(\"bkd01\", LoadbalancerBackendArgs.builder()\n .lbId(lb01.id())\n .forwardProtocol(\"tcp\")\n .forwardPort(80)\n .proxyProtocol(\"none\")\n .build());\n\n var frt01 = new LoadbalancerFrontend(\"frt01\", LoadbalancerFrontendArgs.builder()\n .lbId(lb01.id())\n .backendId(bkd01.id())\n .inboundPort(80)\n .build());\n\n var rt01 = new LoadbalancerRoute(\"rt01\", LoadbalancerRouteArgs.builder()\n .frontendId(frt01.id())\n .backendId(bkd01.id())\n .matchSni(\"sni.scaleway.com\")\n .build());\n\n final var byID = ScalewayFunctions.getLbRoute(GetLbRouteArgs.builder()\n .routeId(rt01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ip01:\n type: scaleway:LoadbalancerIp\n lb01:\n type: scaleway:Loadbalancer\n properties:\n ipId: ${ip01.id}\n type: lb-s\n bkd01:\n type: scaleway:LoadbalancerBackend\n properties:\n lbId: ${lb01.id}\n forwardProtocol: tcp\n forwardPort: 80\n proxyProtocol: none\n frt01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${lb01.id}\n backendId: ${bkd01.id}\n inboundPort: 80\n rt01:\n type: scaleway:LoadbalancerRoute\n properties:\n frontendId: ${frt01.id}\n backendId: ${bkd01.id}\n matchSni: sni.scaleway.com\nvariables:\n byID:\n fn::invoke:\n Function: scaleway:getLbRoute\n Arguments:\n routeId: ${rt01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbRoute.\n", "properties": { "routeId": { "type": "string", - "description": "The route id.\n" + "description": "The route ID.\n" } }, "type": "object", @@ -26163,13 +26208,13 @@ } }, "scaleway:index/getLbRoutes:getLbRoutes": { - "description": "Gets information about multiple Load Balancer Routes.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byFrontendID = scaleway.getLbRoutes({\n frontendId: scaleway_lb_frontend.frt01.id,\n});\nconst myKey = scaleway.getLbRoutes({\n frontendId: \"11111111-1111-1111-1111-111111111111\",\n zone: \"fr-par-2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_frontend_id = scaleway.get_lb_routes(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"])\nmy_key = scaleway.get_lb_routes(frontend_id=\"11111111-1111-1111-1111-111111111111\",\n zone=\"fr-par-2\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byFrontendID = Scaleway.GetLbRoutes.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n });\n\n var myKey = Scaleway.GetLbRoutes.Invoke(new()\n {\n FrontendId = \"11111111-1111-1111-1111-111111111111\",\n Zone = \"fr-par-2\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbRoutes(ctx, \u0026scaleway.GetLbRoutesArgs{\n\t\t\tFrontendId: pulumi.StringRef(scaleway_lb_frontend.Frt01.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbRoutes(ctx, \u0026scaleway.GetLbRoutesArgs{\n\t\t\tFrontendId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbRoutesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byFrontendID = ScalewayFunctions.getLbRoutes(GetLbRoutesArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .build());\n\n final var myKey = ScalewayFunctions.getLbRoutes(GetLbRoutesArgs.builder()\n .frontendId(\"11111111-1111-1111-1111-111111111111\")\n .zone(\"fr-par-2\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byFrontendID:\n fn::invoke:\n Function: scaleway:getLbRoutes\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n myKey:\n fn::invoke:\n Function: scaleway:getLbRoutes\n Arguments:\n frontendId: 11111111-1111-1111-1111-111111111111\n zone: fr-par-2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancer routes.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byFrontendID = scaleway.getLbRoutes({\n frontendId: scaleway_lb_frontend.frt01.id,\n});\nconst myKey = scaleway.getLbRoutes({\n frontendId: \"11111111-1111-1111-1111-111111111111\",\n zone: \"fr-par-2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_frontend_id = scaleway.get_lb_routes(frontend_id=scaleway_lb_frontend[\"frt01\"][\"id\"])\nmy_key = scaleway.get_lb_routes(frontend_id=\"11111111-1111-1111-1111-111111111111\",\n zone=\"fr-par-2\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byFrontendID = Scaleway.GetLbRoutes.Invoke(new()\n {\n FrontendId = scaleway_lb_frontend.Frt01.Id,\n });\n\n var myKey = Scaleway.GetLbRoutes.Invoke(new()\n {\n FrontendId = \"11111111-1111-1111-1111-111111111111\",\n Zone = \"fr-par-2\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbRoutes(ctx, \u0026scaleway.GetLbRoutesArgs{\n\t\t\tFrontendId: pulumi.StringRef(scaleway_lb_frontend.Frt01.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbRoutes(ctx, \u0026scaleway.GetLbRoutesArgs{\n\t\t\tFrontendId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbRoutesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byFrontendID = ScalewayFunctions.getLbRoutes(GetLbRoutesArgs.builder()\n .frontendId(scaleway_lb_frontend.frt01().id())\n .build());\n\n final var myKey = ScalewayFunctions.getLbRoutes(GetLbRoutesArgs.builder()\n .frontendId(\"11111111-1111-1111-1111-111111111111\")\n .zone(\"fr-par-2\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byFrontendID:\n fn::invoke:\n Function: scaleway:getLbRoutes\n Arguments:\n frontendId: ${scaleway_lb_frontend.frt01.id}\n myKey:\n fn::invoke:\n Function: scaleway:getLbRoutes\n Arguments:\n frontendId: 11111111-1111-1111-1111-111111111111\n zone: fr-par-2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbRoutes.\n", "properties": { "frontendId": { "type": "string", - "description": "The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed.\n" + "description": "The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed.\n" }, "projectId": { "type": "string", @@ -26177,7 +26222,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone in which routes exist.\n", + "description": "`zone`) The zone in which the routes exist.\n", "willReplaceOnChanges": true } }, @@ -26204,7 +26249,7 @@ "items": { "$ref": "#/types/scaleway:index/getLbRoutesRoute:getLbRoutesRoute" }, - "description": "List of found routes\n" + "description": "List of retrieved routes\n" }, "zone": { "type": "string" @@ -26221,17 +26266,17 @@ } }, "scaleway:index/getLbs:getLbs": { - "description": "Gets information about multiple Load Balancers.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myKey = scaleway.getLbs({\n name: \"foobar\",\n zone: \"fr-par-2\",\n});\nconst lbsByTags = scaleway.getLbs({\n tags: [\"a tag\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_key = scaleway.get_lbs(name=\"foobar\",\n zone=\"fr-par-2\")\nlbs_by_tags = scaleway.get_lbs(tags=[\"a tag\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myKey = Scaleway.GetLbs.Invoke(new()\n {\n Name = \"foobar\",\n Zone = \"fr-par-2\",\n });\n\n var lbsByTags = Scaleway.GetLbs.Invoke(new()\n {\n Tags = new[]\n {\n \"a tag\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbs(ctx, \u0026scaleway.GetLbsArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbs(ctx, \u0026scaleway.GetLbsArgs{\n\t\t\tTags: []string{\n\t\t\t\t\"a tag\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myKey = ScalewayFunctions.getLbs(GetLbsArgs.builder()\n .name(\"foobar\")\n .zone(\"fr-par-2\")\n .build());\n\n final var lbsByTags = ScalewayFunctions.getLbs(GetLbsArgs.builder()\n .tags(\"a tag\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: scaleway:getLbs\n Arguments:\n name: foobar\n zone: fr-par-2\n lbsByTags:\n fn::invoke:\n Function: scaleway:getLbs\n Arguments:\n tags:\n - a tag\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about multiple Load Balancers.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myKey = scaleway.getLbs({\n name: \"foobar\",\n zone: \"fr-par-2\",\n});\nconst lbsByTags = scaleway.getLbs({\n tags: [\"a tag\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_key = scaleway.get_lbs(name=\"foobar\",\n zone=\"fr-par-2\")\nlbs_by_tags = scaleway.get_lbs(tags=[\"a tag\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myKey = Scaleway.GetLbs.Invoke(new()\n {\n Name = \"foobar\",\n Zone = \"fr-par-2\",\n });\n\n var lbsByTags = Scaleway.GetLbs.Invoke(new()\n {\n Tags = new[]\n {\n \"a tag\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetLbs(ctx, \u0026scaleway.GetLbsArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t\tZone: pulumi.StringRef(\"fr-par-2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.GetLbs(ctx, \u0026scaleway.GetLbsArgs{\n\t\t\tTags: []string{\n\t\t\t\t\"a tag\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLbsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myKey = ScalewayFunctions.getLbs(GetLbsArgs.builder()\n .name(\"foobar\")\n .zone(\"fr-par-2\")\n .build());\n\n final var lbsByTags = ScalewayFunctions.getLbs(GetLbsArgs.builder()\n .tags(\"a tag\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: scaleway:getLbs\n Arguments:\n name: foobar\n zone: fr-par-2\n lbsByTags:\n fn::invoke:\n Function: scaleway:getLbs\n Arguments:\n tags:\n - a tag\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLbs.\n", "properties": { "name": { "type": "string", - "description": "The load balancer name used as a filter. LBs with a name like it are listed.\n" + "description": "The Load Balancer name to filter for. Load Balancers with a matching name are listed.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n", + "description": "The ID of the Project the Load Balancer is associated with.\n", "willReplaceOnChanges": true }, "tags": { @@ -26239,11 +26284,11 @@ "items": { "type": "string" }, - "description": "List of tags used as filter. LBs with these exact tags are listed.\n" + "description": "List of tags to filter for. Load Balancers with these exact tags are listed.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which LBs exist.\n", + "description": "`zone`) The zone in which the Load Balancers exist.\n", "willReplaceOnChanges": true } }, @@ -26261,30 +26306,30 @@ "items": { "$ref": "#/types/scaleway:index/getLbsLb:getLbsLb" }, - "description": "List of found LBs\n" + "description": "List of retrieved Load Balancers\n" }, "name": { "type": "string", - "description": "The name of the load-balancer.\n" + "description": "The name of the Load Balancer.\n" }, "organizationId": { "type": "string", - "description": "The organization ID the load-balancer is associated with.\n" + "description": "The ID of the Organization the Load Balancer is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the load-balancer is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "tags": { "type": "array", "items": { "type": "string" }, - "description": "The tags associated with the load-balancer.\n" + "description": "The tags associated with the Load Balancer.\n" }, "zone": { "type": "string", - "description": "The zone in which the load-balancer is.\n" + "description": "The zone of the Load Balancer.\n" } }, "type": "object", @@ -26298,7 +26343,7 @@ } }, "scaleway:index/getLoadbalancer:getLoadbalancer": { - "description": "Gets information about a Load Balancer.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byName = scaleway.getLoadbalancer({\n name: \"foobar\",\n});\nconst byId = scaleway.getLoadbalancer({\n lbId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_name = scaleway.get_loadbalancer(name=\"foobar\")\nby_id = scaleway.get_loadbalancer(lb_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byName = Scaleway.GetLoadbalancer.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var byId = Scaleway.GetLoadbalancer.Invoke(new()\n {\n LbId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupLoadbalancer(ctx, \u0026scaleway.LookupLoadbalancerArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupLoadbalancer(ctx, \u0026scaleway.LookupLoadbalancerArgs{\n\t\t\tLbId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byName = ScalewayFunctions.getLoadbalancer(GetLoadbalancerArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var byId = ScalewayFunctions.getLoadbalancer(GetLoadbalancerArgs.builder()\n .lbId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byName:\n fn::invoke:\n Function: scaleway:getLoadbalancer\n Arguments:\n name: foobar\n byId:\n fn::invoke:\n Function: scaleway:getLoadbalancer\n Arguments:\n lbId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Load Balancer.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst byName = scaleway.getLoadbalancer({\n name: \"foobar\",\n});\nconst byId = scaleway.getLoadbalancer({\n lbId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nby_name = scaleway.get_loadbalancer(name=\"foobar\")\nby_id = scaleway.get_loadbalancer(lb_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byName = Scaleway.GetLoadbalancer.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var byId = Scaleway.GetLoadbalancer.Invoke(new()\n {\n LbId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupLoadbalancer(ctx, \u0026scaleway.LookupLoadbalancerArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupLoadbalancer(ctx, \u0026scaleway.LookupLoadbalancerArgs{\n\t\t\tLbId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLoadbalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var byName = ScalewayFunctions.getLoadbalancer(GetLoadbalancerArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var byId = ScalewayFunctions.getLoadbalancer(GetLoadbalancerArgs.builder()\n .lbId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byName:\n fn::invoke:\n Function: scaleway:getLoadbalancer\n Arguments:\n name: foobar\n byId:\n fn::invoke:\n Function: scaleway:getLoadbalancer\n Arguments:\n lbId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLoadbalancer.\n", "properties": { @@ -26307,18 +26352,18 @@ }, "name": { "type": "string", - "description": "The load balancer name.\n" + "description": "The Load Balancer name.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the LB is associated with.\n" + "description": "The ID of the Project the Load Balancer is associated with.\n" }, "releaseIp": { "type": "boolean" }, "zone": { "type": "string", - "description": "(Defaults to provider `zone`) The zone in which the LB exists.\n" + "description": "(Defaults to provider `zone`) The zone in which the Load Balancer exists.\n" } }, "type": "object" @@ -26341,7 +26386,7 @@ }, "ipAddress": { "type": "string", - "description": "The load-balancer public IP Address.\n" + "description": "The Load Balancer public IP address.\n" }, "ipId": { "type": "string" @@ -26387,15 +26432,15 @@ "items": { "type": "string" }, - "description": "The tags associated with the load-balancer.\n" + "description": "The tags associated with the Load Balancer.\n" }, "type": { "type": "string", - "description": "The type of the load-balancer.\n" + "description": "The Load Balancer type.\n" }, "zone": { "type": "string", - "description": "(Defaults to provider `zone`) The zone in which the LB exists.\n" + "description": "(Defaults to provider `zone`) The zone in which the Load Balancer exists.\n" } }, "type": "object", @@ -26418,21 +26463,21 @@ } }, "scaleway:index/getLoadbalancerCertificate:getLoadbalancerCertificate": { - "description": "Get information about Scaleway Load-Balancer Certificates.\n\nThis data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc.\n\nFor more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).\n\n## Examples\n\n", + "description": "Get information about Scaleway Load Balancer certificates.\n\nThis data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).\n\n## Examples\n\n", "inputs": { "description": "A collection of arguments for invoking getLoadbalancerCertificate.\n", "properties": { "certificateId": { "type": "string", - "description": "The certificate id.\n- Only one of `name` and `certificate_id` should be specified.\n" + "description": "The certificate ID.\n- Only one of `name` and `certificate_id` should be specified.\n" }, "lbId": { "type": "string", - "description": "The load-balancer ID this certificate is attached to.\n" + "description": "The Load Balancer ID this certificate is attached to.\n" }, "name": { "type": "string", - "description": "The name of the certificate backend.\n- When using a certificate `name` you should specify the `lb-id`\n" + "description": "The name of the Load Balancer certificate.\n- When using a certificate `name` you should specify the `lb-id`\n" } }, "type": "object" @@ -26502,7 +26547,7 @@ } }, "scaleway:index/getLoadbalancerIp:getLoadbalancerIp": { - "description": "Gets information about a Load Balancer IP.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myIp = scaleway.getLoadbalancerIp({\n ipId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_ip = scaleway.get_loadbalancer_ip(ip_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myIp = Scaleway.GetLoadbalancerIp.Invoke(new()\n {\n IpId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupLoadbalancerIp(ctx, \u0026scaleway.LookupLoadbalancerIpArgs{\n\t\t\tIpId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myIp = ScalewayFunctions.getLoadbalancerIp(GetLoadbalancerIpArgs.builder()\n .ipId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myIp:\n fn::invoke:\n Function: scaleway:getLoadbalancerIp\n Arguments:\n ipId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Load Balancer IP address.\n\nFor more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myIp = scaleway.getLoadbalancerIp({\n ipId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_ip = scaleway.get_loadbalancer_ip(ip_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myIp = Scaleway.GetLoadbalancerIp.Invoke(new()\n {\n IpId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupLoadbalancerIp(ctx, \u0026scaleway.LookupLoadbalancerIpArgs{\n\t\t\tIpId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetLoadbalancerIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myIp = ScalewayFunctions.getLoadbalancerIp(GetLoadbalancerIpArgs.builder()\n .ipId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myIp:\n fn::invoke:\n Function: scaleway:getLoadbalancerIp\n Arguments:\n ipId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLoadbalancerIp.\n", "properties": { @@ -26516,7 +26561,7 @@ }, "projectId": { "type": "string", - "description": "The ID of the project the LB IP associated with.\n" + "description": "The ID of the Project the Load Balancer IP is associated with.\n" } }, "type": "object" @@ -26539,11 +26584,11 @@ }, "lbId": { "type": "string", - "description": "The associated load-balancer ID if any\n" + "description": "The ID of the associated Load Balancer, if any\n" }, "organizationId": { "type": "string", - "description": "(Defaults to provider `organization_id`) The ID of the organization the LB IP is associated with.\n" + "description": "(Defaults to provider `organization_id`) The ID of the Organization the Load Balancer IP is associated with.\n" }, "projectId": { "type": "string" @@ -26622,17 +26667,17 @@ } }, "scaleway:index/getMnqSqs:getMnqSqs": { - "description": "Gets information about SQS for a project\n\n## Examples\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst main = scaleway.getMnqSqs({});\nconst forProject = scaleway.getMnqSqs({\n projectId: scaleway_account_project.main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmain = scaleway.get_mnq_sqs()\nfor_project = scaleway.get_mnq_sqs(project_id=scaleway_account_project[\"main\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = Scaleway.GetMnqSqs.Invoke();\n\n var forProject = Scaleway.GetMnqSqs.Invoke(new()\n {\n ProjectId = scaleway_account_project.Main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupMnqSqs(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupMnqSqs(ctx, \u0026scaleway.LookupMnqSqsArgs{\n\t\t\tProjectId: pulumi.StringRef(scaleway_account_project.Main.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetMnqSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = ScalewayFunctions.getMnqSqs();\n\n final var forProject = ScalewayFunctions.getMnqSqs(GetMnqSqsArgs.builder()\n .projectId(scaleway_account_project.main().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getMnqSqs\n Arguments: {}\n forProject:\n fn::invoke:\n Function: scaleway:getMnqSqs\n Arguments:\n projectId: ${scaleway_account_project.main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about SQS for a Project\n\n## Examples\n\n### Basic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst main = scaleway.getMnqSqs({});\nconst forProject = scaleway.getMnqSqs({\n projectId: scaleway_account_project.main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmain = scaleway.get_mnq_sqs()\nfor_project = scaleway.get_mnq_sqs(project_id=scaleway_account_project[\"main\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = Scaleway.GetMnqSqs.Invoke();\n\n var forProject = Scaleway.GetMnqSqs.Invoke(new()\n {\n ProjectId = scaleway_account_project.Main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupMnqSqs(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupMnqSqs(ctx, \u0026scaleway.LookupMnqSqsArgs{\n\t\t\tProjectId: pulumi.StringRef(scaleway_account_project.Main.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetMnqSqsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = ScalewayFunctions.getMnqSqs();\n\n final var forProject = ScalewayFunctions.getMnqSqs(GetMnqSqsArgs.builder()\n .projectId(scaleway_account_project.main().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getMnqSqs\n Arguments: {}\n forProject:\n fn::invoke:\n Function: scaleway:getMnqSqs\n Arguments:\n projectId: ${scaleway_account_project.main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getMnqSqs.\n", "properties": { "projectId": { "type": "string", - "description": "`project_id`) The ID of the project for which sqs is enabled.\n" + "description": "`project_id`) The ID of the Project in which SQS is enabled.\n" }, "region": { "type": "string", - "description": "`region`). The region in which sqs is enabled.\n" + "description": "`region`). The region in which SQS is enabled.\n" } }, "type": "object" @@ -26642,7 +26687,7 @@ "properties": { "endpoint": { "type": "string", - "description": "The endpoint of the SQS service for this project.\n" + "description": "The endpoint of the SQS service for this Project.\n" }, "id": { "type": "string", @@ -26805,17 +26850,17 @@ } }, "scaleway:index/getRedisCluster:getRedisCluster": { - "description": "Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myCluster = scaleway.getRedisCluster({\n clusterId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_cluster = scaleway.get_redis_cluster(cluster_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myCluster = Scaleway.GetRedisCluster.Invoke(new()\n {\n ClusterId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupRedisCluster(ctx, \u0026scaleway.LookupRedisClusterArgs{\n\t\t\tClusterId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetRedisClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myCluster = ScalewayFunctions.getRedisCluster(GetRedisClusterArgs.builder()\n .clusterId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myCluster:\n fn::invoke:\n Function: scaleway:getRedisCluster\n Arguments:\n clusterId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Redis™ cluster.\n\nFor further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myCluster = scaleway.getRedisCluster({\n clusterId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_cluster = scaleway.get_redis_cluster(cluster_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myCluster = Scaleway.GetRedisCluster.Invoke(new()\n {\n ClusterId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupRedisCluster(ctx, \u0026scaleway.LookupRedisClusterArgs{\n\t\t\tClusterId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetRedisClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myCluster = ScalewayFunctions.getRedisCluster(GetRedisClusterArgs.builder()\n .clusterId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myCluster:\n fn::invoke:\n Function: scaleway:getRedisCluster\n Arguments:\n clusterId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRedisCluster.\n", "properties": { "clusterId": { "type": "string", - "description": "The Redis cluster ID.\nOnly one of the `name` and `cluster_id` should be specified.\n" + "description": "The Redis cluster ID.\n\n\u003e **Note** You must specify at least one: `name` and/or `cluster_id`.\n" }, "name": { "type": "string", - "description": "The name of the Redis cluster.\nOnly one of the `name` and `cluster_id` should be specified.\n" + "description": "The name of the Redis cluster.\n" }, "projectId": { "type": "string", @@ -26835,19 +26880,23 @@ "type": "array", "items": { "$ref": "#/types/scaleway:index/getRedisClusterAcl:getRedisClusterAcl" - } + }, + "description": "List of acl rules.\n" }, "certificate": { - "type": "string" + "type": "string", + "description": "The PEM of the certificate used by redis, only when `tls_enabled` is true.\n" }, "clusterId": { "type": "string" }, "clusterSize": { - "type": "integer" + "type": "integer", + "description": "The number of nodes in the Redis Cluster.\n" }, "createdAt": { - "type": "string" + "type": "string", + "description": "The date and time of creation of the Redis Cluster.\n" }, "id": { "type": "string", @@ -26857,16 +26906,19 @@ "type": "string" }, "nodeType": { - "type": "string" + "type": "string", + "description": "The type of Redis Cluster (e.g. `RED1-M`).\n" }, "password": { - "type": "string" + "type": "string", + "description": "Password of the first user of the Redis Cluster.\n" }, "privateNetworks": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getRedisClusterPrivateNetwork:getRedisClusterPrivateNetwork" - } + }, + "description": "List of private networks endpoints of the Redis Cluster.\n" }, "projectId": { "type": "string" @@ -26875,31 +26927,38 @@ "type": "array", "items": { "$ref": "#/types/scaleway:index/getRedisClusterPublicNetwork:getRedisClusterPublicNetwork" - } + }, + "description": "Public network details.\n" }, "settings": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Map of settings for redis cluster.\n" }, "tags": { "type": "array", "items": { "type": "string" - } + }, + "description": "The tags associated with the Redis Cluster.\n" }, "tlsEnabled": { - "type": "boolean" + "type": "boolean", + "description": "Whether TLS is enabled or not.\n" }, "updatedAt": { - "type": "string" + "type": "string", + "description": "The date and time of the last update of the Redis Cluster.\n" }, "userName": { - "type": "string" + "type": "string", + "description": "The first user of the Redis Cluster.\n" }, "version": { - "type": "string" + "type": "string", + "description": "Redis's Cluster version (e.g. `6.2.7`).\n" }, "zone": { "type": "string" @@ -26926,17 +26985,17 @@ } }, "scaleway:index/getRegistryImage:getRegistryImage": { - "description": "Gets information about a registry image.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myImage = scaleway.getRegistryImage({\n imageId: \"11111111-1111-1111-1111-111111111111\",\n namespaceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_image = scaleway.get_registry_image(image_id=\"11111111-1111-1111-1111-111111111111\",\n namespace_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myImage = Scaleway.GetRegistryImage.Invoke(new()\n {\n ImageId = \"11111111-1111-1111-1111-111111111111\",\n NamespaceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetRegistryImage(ctx, \u0026scaleway.GetRegistryImageArgs{\n\t\t\tImageId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tNamespaceId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetRegistryImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myImage = ScalewayFunctions.getRegistryImage(GetRegistryImageArgs.builder()\n .imageId(\"11111111-1111-1111-1111-111111111111\")\n .namespaceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myImage:\n fn::invoke:\n Function: scaleway:getRegistryImage\n Arguments:\n imageId: 11111111-1111-1111-1111-111111111111\n namespaceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Container Registry image.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myImage = scaleway.getRegistryImage({\n imageId: \"11111111-1111-1111-1111-111111111111\",\n namespaceId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_image = scaleway.get_registry_image(image_id=\"11111111-1111-1111-1111-111111111111\",\n namespace_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myImage = Scaleway.GetRegistryImage.Invoke(new()\n {\n ImageId = \"11111111-1111-1111-1111-111111111111\",\n NamespaceId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.GetRegistryImage(ctx, \u0026scaleway.GetRegistryImageArgs{\n\t\t\tImageId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t\tNamespaceId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetRegistryImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myImage = ScalewayFunctions.getRegistryImage(GetRegistryImageArgs.builder()\n .imageId(\"11111111-1111-1111-1111-111111111111\")\n .namespaceId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myImage:\n fn::invoke:\n Function: scaleway:getRegistryImage\n Arguments:\n imageId: 11111111-1111-1111-1111-111111111111\n namespaceId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRegistryImage.\n", "properties": { "imageId": { "type": "string", - "description": "The image ID.\nOnly one of `name` and `image_id` should be specified.\n" + "description": "The image ID.\n\n\u003e **Note** You must specify at least one: `name` and/or `image_id`.\n" }, "name": { "type": "string", - "description": "The image name.\nOnly one of `name` and `image_id` should be specified.\n" + "description": "The image name.\n" }, "namespaceId": { "type": "string", @@ -27029,11 +27088,11 @@ "properties": { "name": { "type": "string", - "description": "The namespace name.\nOnly one of `name` and `namespace_id` should be specified.\n" + "description": "The namespace name.\n" }, "namespaceId": { "type": "string", - "description": "The namespace id.\nOnly one of `name` and `namespace_id` should be specified.\n" + "description": "The namespace id.\n\n\u003e **Note** You must specify at least one: `name` and/or `image_id`.\n" }, "projectId": { "type": "string", @@ -27406,26 +27465,26 @@ "properties": { "isDefault": { "type": "boolean", - "description": "To get default VPC's information.\n" + "description": "Whether the targeted VPC is the default VPC.\n" }, "name": { "type": "string", - "description": "Name of the VPC. One of `name` and `vpc_id` should be specified.\n" + "description": "Name of the VPC. A maximum of one of `name` and `vpc_id` should be specified.\n" }, "organizationId": { "type": "string", - "description": "The ID of the organization the VPC is associated with.\n" + "description": "The ID of the Organization the VPC is associated with.\n" }, "projectId": { "type": "string", - "description": "`project_id`) The ID of the project the VPC is associated with.\n" + "description": "`project_id`) The ID of the Project the VPC is associated with.\n" }, "region": { "type": "string" }, "vpcId": { "type": "string", - "description": "ID of the VPC. One of `name` and `vpc_id` should be specified.\n" + "description": "ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified.\n" } }, "type": "object" @@ -27483,29 +27542,25 @@ } }, "scaleway:index/getVpcGatewayNetwork:getVpcGatewayNetwork": { - "description": "Gets information about a gateway network.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: scaleway_vpc_public_gateway.pg01.id,\n privateNetworkId: scaleway_vpc_private_network.pn01.id,\n dhcpId: scaleway_vpc_public_gateway_dhcp.dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst byId = scaleway.getVpcGatewayNetworkOutput({\n gatewayNetworkId: main.id,\n});\nconst byGatewayAndPn = scaleway.getVpcGatewayNetwork({\n gatewayId: scaleway_vpc_public_gateway.pg01.id,\n privateNetworkId: scaleway_vpc_private_network.pn01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=scaleway_vpc_public_gateway[\"pg01\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn01\"][\"id\"],\n dhcp_id=scaleway_vpc_public_gateway_dhcp[\"dhcp01\"][\"id\"],\n cleanup_dhcp=True,\n enable_masquerade=True)\nby_id = scaleway.get_vpc_gateway_network_output(gateway_network_id=main.id)\nby_gateway_and_pn = scaleway.get_vpc_gateway_network(gateway_id=scaleway_vpc_public_gateway[\"pg01\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn01\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = scaleway_vpc_public_gateway.Pg01.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn01.Id,\n DhcpId = scaleway_vpc_public_gateway_dhcp.Dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var byId = Scaleway.GetVpcGatewayNetwork.Invoke(new()\n {\n GatewayNetworkId = main.Id,\n });\n\n var byGatewayAndPn = Scaleway.GetVpcGatewayNetwork.Invoke(new()\n {\n GatewayId = scaleway_vpc_public_gateway.Pg01.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pulumi.Any(scaleway_vpc_public_gateway.Pg01.Id),\n\t\t\tPrivateNetworkId: pulumi.Any(scaleway_vpc_private_network.Pn01.Id),\n\t\t\tDhcpId: pulumi.Any(scaleway_vpc_public_gateway_dhcp.Dhcp01.Id),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcGatewayNetworkOutput(ctx, scaleway.GetVpcGatewayNetworkOutputArgs{\n\t\t\tGatewayNetworkId: main.ID(),\n\t\t}, nil)\n\t\t_, err = scaleway.LookupVpcGatewayNetwork(ctx, \u0026scaleway.LookupVpcGatewayNetworkArgs{\n\t\t\tGatewayId: pulumi.StringRef(scaleway_vpc_public_gateway.Pg01.Id),\n\t\t\tPrivateNetworkId: pulumi.StringRef(scaleway_vpc_private_network.Pn01.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(scaleway_vpc_public_gateway.pg01().id())\n .privateNetworkId(scaleway_vpc_private_network.pn01().id())\n .dhcpId(scaleway_vpc_public_gateway_dhcp.dhcp01().id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n final var byId = ScalewayFunctions.getVpcGatewayNetwork(GetVpcGatewayNetworkArgs.builder()\n .gatewayNetworkId(main.id())\n .build());\n\n final var byGatewayAndPn = ScalewayFunctions.getVpcGatewayNetwork(GetVpcGatewayNetworkArgs.builder()\n .gatewayId(scaleway_vpc_public_gateway.pg01().id())\n .privateNetworkId(scaleway_vpc_private_network.pn01().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${scaleway_vpc_public_gateway.pg01.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn01.id}\n dhcpId: ${scaleway_vpc_public_gateway_dhcp.dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getVpcGatewayNetwork\n Arguments:\n gatewayNetworkId: ${main.id}\n byGatewayAndPn:\n fn::invoke:\n Function: scaleway:getVpcGatewayNetwork\n Arguments:\n gatewayId: ${scaleway_vpc_public_gateway.pg01.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcGatewayNetwork(\"main\", {\n gatewayId: scaleway_vpc_public_gateway.pg01.id,\n privateNetworkId: scaleway_vpc_private_network.pn01.id,\n dhcpId: scaleway_vpc_public_gateway_dhcp.dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst byId = scaleway.getVpcGatewayNetworkOutput({\n gatewayNetworkId: main.id,\n});\nconst byGatewayAndPn = scaleway.getVpcGatewayNetwork({\n gatewayId: scaleway_vpc_public_gateway.pg01.id,\n privateNetworkId: scaleway_vpc_private_network.pn01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcGatewayNetwork(\"main\",\n gateway_id=scaleway_vpc_public_gateway[\"pg01\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn01\"][\"id\"],\n dhcp_id=scaleway_vpc_public_gateway_dhcp[\"dhcp01\"][\"id\"],\n cleanup_dhcp=True,\n enable_masquerade=True)\nby_id = scaleway.get_vpc_gateway_network_output(gateway_network_id=main.id)\nby_gateway_and_pn = scaleway.get_vpc_gateway_network(gateway_id=scaleway_vpc_public_gateway[\"pg01\"][\"id\"],\n private_network_id=scaleway_vpc_private_network[\"pn01\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcGatewayNetwork(\"main\", new()\n {\n GatewayId = scaleway_vpc_public_gateway.Pg01.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn01.Id,\n DhcpId = scaleway_vpc_public_gateway_dhcp.Dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var byId = Scaleway.GetVpcGatewayNetwork.Invoke(new()\n {\n GatewayNetworkId = main.Id,\n });\n\n var byGatewayAndPn = Scaleway.GetVpcGatewayNetwork.Invoke(new()\n {\n GatewayId = scaleway_vpc_public_gateway.Pg01.Id,\n PrivateNetworkId = scaleway_vpc_private_network.Pn01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcGatewayNetwork(ctx, \"main\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pulumi.Any(scaleway_vpc_public_gateway.Pg01.Id),\n\t\t\tPrivateNetworkId: pulumi.Any(scaleway_vpc_private_network.Pn01.Id),\n\t\t\tDhcpId: pulumi.Any(scaleway_vpc_public_gateway_dhcp.Dhcp01.Id),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcGatewayNetworkOutput(ctx, scaleway.GetVpcGatewayNetworkOutputArgs{\n\t\t\tGatewayNetworkId: main.ID(),\n\t\t}, nil)\n\t\t_, err = scaleway.LookupVpcGatewayNetwork(ctx, \u0026scaleway.LookupVpcGatewayNetworkArgs{\n\t\t\tGatewayId: pulumi.StringRef(scaleway_vpc_public_gateway.Pg01.Id),\n\t\t\tPrivateNetworkId: pulumi.StringRef(scaleway_vpc_private_network.Pn01.Id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcGatewayNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcGatewayNetwork(\"main\", VpcGatewayNetworkArgs.builder()\n .gatewayId(scaleway_vpc_public_gateway.pg01().id())\n .privateNetworkId(scaleway_vpc_private_network.pn01().id())\n .dhcpId(scaleway_vpc_public_gateway_dhcp.dhcp01().id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n final var byId = ScalewayFunctions.getVpcGatewayNetwork(GetVpcGatewayNetworkArgs.builder()\n .gatewayNetworkId(main.id())\n .build());\n\n final var byGatewayAndPn = ScalewayFunctions.getVpcGatewayNetwork(GetVpcGatewayNetworkArgs.builder()\n .gatewayId(scaleway_vpc_public_gateway.pg01().id())\n .privateNetworkId(scaleway_vpc_private_network.pn01().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${scaleway_vpc_public_gateway.pg01.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn01.id}\n dhcpId: ${scaleway_vpc_public_gateway_dhcp.dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getVpcGatewayNetwork\n Arguments:\n gatewayNetworkId: ${main.id}\n byGatewayAndPn:\n fn::invoke:\n Function: scaleway:getVpcGatewayNetwork\n Arguments:\n gatewayId: ${scaleway_vpc_public_gateway.pg01.id}\n privateNetworkId: ${scaleway_vpc_private_network.pn01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcGatewayNetwork.\n", "properties": { "dhcpId": { - "type": "string", - "description": "ID of the public gateway DHCP config\n" + "type": "string" }, "enableMasquerade": { - "type": "boolean", - "description": "If masquerade is enabled on requested network\n" + "type": "boolean" }, "gatewayId": { - "type": "string", - "description": "ID of the public gateway the gateway network is linked to\n" + "type": "string" }, "gatewayNetworkId": { "type": "string", - "description": "ID of the gateway network.\n\n\u003e Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want.\n" + "description": "ID of the GatewayNetwork.\n" }, "privateNetworkId": { - "type": "string", - "description": "ID of the private network the gateway network is linked to\n" + "type": "string" } }, "type": "object" @@ -27579,28 +27634,28 @@ } }, "scaleway:index/getVpcPrivateNetwork:getVpcPrivateNetwork": { - "description": "Gets information about a private network.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myName = scaleway.getVpcPrivateNetwork({\n name: \"foobar\",\n});\nconst myNameAndVpcId = scaleway.getVpcPrivateNetwork({\n name: \"foobar\",\n vpcId: \"11111111-1111-1111-1111-111111111111\",\n});\nconst myId = scaleway.getVpcPrivateNetwork({\n privateNetworkId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_name = scaleway.get_vpc_private_network(name=\"foobar\")\nmy_name_and_vpc_id = scaleway.get_vpc_private_network(name=\"foobar\",\n vpc_id=\"11111111-1111-1111-1111-111111111111\")\nmy_id = scaleway.get_vpc_private_network(private_network_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myName = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var myNameAndVpcId = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n Name = \"foobar\",\n VpcId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n var myId = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n PrivateNetworkId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t\tVpcId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tPrivateNetworkId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myName = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var myNameAndVpcId = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .name(\"foobar\")\n .vpcId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n final var myId = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .privateNetworkId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myName:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n name: foobar\n myNameAndVpcId:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n name: foobar\n vpcId: 11111111-1111-1111-1111-111111111111\n myId:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n privateNetworkId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Private Network.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\n\nconst myName = scaleway.getVpcPrivateNetwork({\n name: \"foobar\",\n});\nconst myNameAndVpcId = scaleway.getVpcPrivateNetwork({\n name: \"foobar\",\n vpcId: \"11111111-1111-1111-1111-111111111111\",\n});\nconst myId = scaleway.getVpcPrivateNetwork({\n privateNetworkId: \"11111111-1111-1111-1111-111111111111\",\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\n\nmy_name = scaleway.get_vpc_private_network(name=\"foobar\")\nmy_name_and_vpc_id = scaleway.get_vpc_private_network(name=\"foobar\",\n vpc_id=\"11111111-1111-1111-1111-111111111111\")\nmy_id = scaleway.get_vpc_private_network(private_network_id=\"11111111-1111-1111-1111-111111111111\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myName = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n Name = \"foobar\",\n });\n\n var myNameAndVpcId = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n Name = \"foobar\",\n VpcId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n var myId = Scaleway.GetVpcPrivateNetwork.Invoke(new()\n {\n PrivateNetworkId = \"11111111-1111-1111-1111-111111111111\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tName: pulumi.StringRef(\"foobar\"),\n\t\t\tVpcId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = scaleway.LookupVpcPrivateNetwork(ctx, \u0026scaleway.LookupVpcPrivateNetworkArgs{\n\t\t\tPrivateNetworkId: pulumi.StringRef(\"11111111-1111-1111-1111-111111111111\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPrivateNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var myName = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .name(\"foobar\")\n .build());\n\n final var myNameAndVpcId = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .name(\"foobar\")\n .vpcId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n final var myId = ScalewayFunctions.getVpcPrivateNetwork(GetVpcPrivateNetworkArgs.builder()\n .privateNetworkId(\"11111111-1111-1111-1111-111111111111\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myName:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n name: foobar\n myNameAndVpcId:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n name: foobar\n vpcId: 11111111-1111-1111-1111-111111111111\n myId:\n fn::invoke:\n Function: scaleway:getVpcPrivateNetwork\n Arguments:\n privateNetworkId: 11111111-1111-1111-1111-111111111111\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPrivateNetwork.\n", "properties": { "name": { "type": "string", - "description": "Name of the private network. Cannot be used with `private_network_id`.\n" + "description": "Name of the Private Network. Cannot be used with `private_network_id`.\n" }, "privateNetworkId": { "type": "string", - "description": "ID of the private network. Cannot be used with `name` and `vpc_id`.\n" + "description": "ID of the Private Network. Cannot be used with `name` or `vpc_id`.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the private network is associated with.\n" + "description": "The ID of the Project the Private Network is associated with.\n" }, "region": { "type": "string" }, "vpcId": { "type": "string", - "description": "ID of the VPC in which the private network is. Cannot be used with `private_network_id`.\n" + "description": "ID of the VPC the Private Network is in. Cannot be used with `private_network_id`.\n" } }, "type": "object" @@ -27620,14 +27675,14 @@ "items": { "$ref": "#/types/scaleway:index/getVpcPrivateNetworkIpv4Subnet:getVpcPrivateNetworkIpv4Subnet" }, - "description": "The IPv4 subnet associated with the private network.\n" + "description": "The IPv4 subnet associated with the Private Network.\n" }, "ipv6Subnets": { "type": "array", "items": { "$ref": "#/types/scaleway:index/getVpcPrivateNetworkIpv6Subnet:getVpcPrivateNetworkIpv6Subnet" }, - "description": "The IPv6 subnets associated with the private network.\n" + "description": "The IPv6 subnets associated with the Private Network.\n" }, "isRegional": { "type": "boolean" @@ -27678,24 +27733,24 @@ } }, "scaleway:index/getVpcPublicGateway:getVpcPublicGateway": { - "description": "Gets information about a public gateway.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGateway(\"main\", {\n type: \"VPC-GW-S\",\n zone: \"nl-ams-1\",\n});\nconst pgTestByName = scaleway.getVpcPublicGatewayOutput({\n name: main.name,\n zone: \"nl-ams-1\",\n});\nconst pgTestById = scaleway.getVpcPublicGatewayOutput({\n publicGatewayId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGateway(\"main\",\n type=\"VPC-GW-S\",\n zone=\"nl-ams-1\")\npg_test_by_name = scaleway.get_vpc_public_gateway_output(name=main.name,\n zone=\"nl-ams-1\")\npg_test_by_id = scaleway.get_vpc_public_gateway_output(public_gateway_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGateway(\"main\", new()\n {\n Type = \"VPC-GW-S\",\n Zone = \"nl-ams-1\",\n });\n\n var pgTestByName = Scaleway.GetVpcPublicGateway.Invoke(new()\n {\n Name = main.Name,\n Zone = \"nl-ams-1\",\n });\n\n var pgTestById = Scaleway.GetVpcPublicGateway.Invoke(new()\n {\n PublicGatewayId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGateway(ctx, \"main\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tZone: pulumi.String(\"nl-ams-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayOutput(ctx, scaleway.GetVpcPublicGatewayOutputArgs{\n\t\t\tName: main.Name,\n\t\t\tZone: pulumi.String(\"nl-ams-1\"),\n\t\t}, nil)\n\t\t_ = scaleway.LookupVpcPublicGatewayOutput(ctx, scaleway.GetVpcPublicGatewayOutputArgs{\n\t\t\tPublicGatewayId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGateway(\"main\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .zone(\"nl-ams-1\")\n .build());\n\n final var pgTestByName = ScalewayFunctions.getVpcPublicGateway(GetVpcPublicGatewayArgs.builder()\n .name(main.name())\n .zone(\"nl-ams-1\")\n .build());\n\n final var pgTestById = ScalewayFunctions.getVpcPublicGateway(GetVpcPublicGatewayArgs.builder()\n .publicGatewayId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n zone: nl-ams-1\nvariables:\n pgTestByName:\n fn::invoke:\n Function: scaleway:getVpcPublicGateway\n Arguments:\n name: ${main.name}\n zone: nl-ams-1\n pgTestById:\n fn::invoke:\n Function: scaleway:getVpcPublicGateway\n Arguments:\n publicGatewayId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Public Gateway.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGateway(\"main\", {\n type: \"VPC-GW-S\",\n zone: \"nl-ams-1\",\n});\nconst pgTestByName = scaleway.getVpcPublicGatewayOutput({\n name: main.name,\n zone: \"nl-ams-1\",\n});\nconst pgTestById = scaleway.getVpcPublicGatewayOutput({\n publicGatewayId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGateway(\"main\",\n type=\"VPC-GW-S\",\n zone=\"nl-ams-1\")\npg_test_by_name = scaleway.get_vpc_public_gateway_output(name=main.name,\n zone=\"nl-ams-1\")\npg_test_by_id = scaleway.get_vpc_public_gateway_output(public_gateway_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGateway(\"main\", new()\n {\n Type = \"VPC-GW-S\",\n Zone = \"nl-ams-1\",\n });\n\n var pgTestByName = Scaleway.GetVpcPublicGateway.Invoke(new()\n {\n Name = main.Name,\n Zone = \"nl-ams-1\",\n });\n\n var pgTestById = Scaleway.GetVpcPublicGateway.Invoke(new()\n {\n PublicGatewayId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGateway(ctx, \"main\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tZone: pulumi.String(\"nl-ams-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayOutput(ctx, scaleway.GetVpcPublicGatewayOutputArgs{\n\t\t\tName: main.Name,\n\t\t\tZone: pulumi.String(\"nl-ams-1\"),\n\t\t}, nil)\n\t\t_ = scaleway.LookupVpcPublicGatewayOutput(ctx, scaleway.GetVpcPublicGatewayOutputArgs{\n\t\t\tPublicGatewayId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGateway(\"main\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .zone(\"nl-ams-1\")\n .build());\n\n final var pgTestByName = ScalewayFunctions.getVpcPublicGateway(GetVpcPublicGatewayArgs.builder()\n .name(main.name())\n .zone(\"nl-ams-1\")\n .build());\n\n final var pgTestById = ScalewayFunctions.getVpcPublicGateway(GetVpcPublicGatewayArgs.builder()\n .publicGatewayId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n zone: nl-ams-1\nvariables:\n pgTestByName:\n fn::invoke:\n Function: scaleway:getVpcPublicGateway\n Arguments:\n name: ${main.name}\n zone: nl-ams-1\n pgTestById:\n fn::invoke:\n Function: scaleway:getVpcPublicGateway\n Arguments:\n publicGatewayId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPublicGateway.\n", "properties": { "name": { "type": "string", - "description": "Exact name of the public gateway.\n" + "description": "Exact name of the Public Gateway.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the public gateway is associated with.\n" + "description": "The ID of the Project the Public Gateway is associated with.\n" }, "publicGatewayId": { "type": "string" }, "zone": { "type": "string", - "description": "`zone`) The zone in which\nthe public gateway should be created.\n" + "description": "`zone`) The Public Gateway's zone.\n" } }, "type": "object" @@ -27781,7 +27836,7 @@ } }, "scaleway:index/getVpcPublicGatewayDhcp:getVpcPublicGatewayDhcp": { - "description": "Gets information about a public gateway DHCP.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayDhcp(\"main\", {subnet: \"192.168.0.0/24\"});\nconst dhcpById = scaleway.getVpcPublicGatewayDhcpOutput({\n dhcpId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayDhcp(\"main\", subnet=\"192.168.0.0/24\")\ndhcp_by_id = scaleway.get_vpc_public_gateway_dhcp_output(dhcp_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayDhcp(\"main\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var dhcpById = Scaleway.GetVpcPublicGatewayDhcp.Invoke(new()\n {\n DhcpId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpOutput(ctx, scaleway.GetVpcPublicGatewayDhcpOutputArgs{\n\t\t\tDhcpId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayDhcp(\"main\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n final var dhcpById = ScalewayFunctions.getVpcPublicGatewayDhcp(GetVpcPublicGatewayDhcpArgs.builder()\n .dhcpId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\nvariables:\n dhcpById:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcp\n Arguments:\n dhcpId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Public Gateway DHCP configuration.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayDhcp(\"main\", {subnet: \"192.168.0.0/24\"});\nconst dhcpById = scaleway.getVpcPublicGatewayDhcpOutput({\n dhcpId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayDhcp(\"main\", subnet=\"192.168.0.0/24\")\ndhcp_by_id = scaleway.get_vpc_public_gateway_dhcp_output(dhcp_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayDhcp(\"main\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var dhcpById = Scaleway.GetVpcPublicGatewayDhcp.Invoke(new()\n {\n DhcpId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"main\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpOutput(ctx, scaleway.GetVpcPublicGatewayDhcpOutputArgs{\n\t\t\tDhcpId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayDhcp(\"main\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n final var dhcpById = ScalewayFunctions.getVpcPublicGatewayDhcp(GetVpcPublicGatewayDhcpArgs.builder()\n .dhcpId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\nvariables:\n dhcpById:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcp\n Arguments:\n dhcpId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPublicGatewayDhcp.\n", "properties": { @@ -27891,7 +27946,7 @@ } }, "scaleway:index/getVpcPublicGatewayDhcpReservation:getVpcPublicGatewayDhcpReservation": { - "description": "Gets information about a dhcp entries. For further information please check the\nAPI [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6)\n\n## Example Dynamic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n});\nconst mainInstancePrivateNic = new scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", {\n serverId: mainInstanceServer.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\n//# Retrieve the dynamic entries generated by mac address \u0026 gateway network\nconst byMacAddressAndGwNetwork = scaleway.getVpcPublicGatewayDhcpReservationOutput({\n macAddress: mainInstancePrivateNic.macAddress,\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\")\nmain_instance_private_nic = scaleway.InstancePrivateNic(\"mainInstancePrivateNic\",\n server_id=main_instance_server.id,\n private_network_id=main_vpc_private_network.id)\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\n## Retrieve the dynamic entries generated by mac address \u0026 gateway network\nby_mac_address_and_gw_network = scaleway.get_vpc_public_gateway_dhcp_reservation_output(mac_address=main_instance_private_nic.mac_address,\n gateway_network_id=main_vpc_gateway_network.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n });\n\n var mainInstancePrivateNic = new Scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", new()\n {\n ServerId = mainInstanceServer.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n //# Retrieve the dynamic entries generated by mac address \u0026 gateway network\n var byMacAddressAndGwNetwork = Scaleway.GetVpcPublicGatewayDhcpReservation.Invoke(new()\n {\n MacAddress = mainInstancePrivateNic.MacAddress,\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstancePrivateNic, err := scaleway.NewInstancePrivateNic(ctx, \"mainInstancePrivateNic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: mainInstanceServer.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpReservationOutput(ctx, scaleway.GetVpcPublicGatewayDhcpReservationOutputArgs{\n\t\t\tMacAddress: mainInstancePrivateNic.MacAddress,\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpReservationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .build());\n\n var mainInstancePrivateNic = new InstancePrivateNic(\"mainInstancePrivateNic\", InstancePrivateNicArgs.builder()\n .serverId(mainInstanceServer.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n //# Retrieve the dynamic entries generated by mac address \u0026 gateway network\n final var byMacAddressAndGwNetwork = ScalewayFunctions.getVpcPublicGatewayDhcpReservation(GetVpcPublicGatewayDhcpReservationArgs.builder()\n .macAddress(mainInstancePrivateNic.macAddress())\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n mainInstancePrivateNic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${mainInstanceServer.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork: ## Retrieve the dynamic entries generated by mac address \u0026 gateway network\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\nvariables:\n byMacAddressAndGwNetwork:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcpReservation\n Arguments:\n macAddress: ${mainInstancePrivateNic.macAddress}\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Example Static and PAT rule\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceSecurityGroup = new scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n }],\n});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n securityGroupId: mainInstanceSecurityGroup.id,\n});\nconst mainInstancePrivateNic = new scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", {\n serverId: mainInstanceServer.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst mainVpcPublicGatewayDhcpReservation = new scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", {\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n macAddress: mainInstancePrivateNic.macAddress,\n ipAddress: \"192.168.1.4\",\n});\n//## VPC PAT RULE\nconst mainVpcPublicGatewayPatRule = new scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", {\n gatewayId: mainVpcPublicGateway.id,\n privateIp: mainVpcPublicGatewayDhcpReservation.ipAddress,\n privatePort: 22,\n publicPort: 2222,\n protocol: \"tcp\",\n});\nconst byId = scaleway.getVpcPublicGatewayDhcpReservationOutput({\n reservationId: mainVpcPublicGatewayDhcpReservation.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_security_group = scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n )])\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\",\n security_group_id=main_instance_security_group.id)\nmain_instance_private_nic = scaleway.InstancePrivateNic(\"mainInstancePrivateNic\",\n server_id=main_instance_server.id,\n private_network_id=main_vpc_private_network.id)\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nmain_vpc_public_gateway_dhcp_reservation = scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\",\n gateway_network_id=main_vpc_gateway_network.id,\n mac_address=main_instance_private_nic.mac_address,\n ip_address=\"192.168.1.4\")\n### VPC PAT RULE\nmain_vpc_public_gateway_pat_rule = scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\",\n gateway_id=main_vpc_public_gateway.id,\n private_ip=main_vpc_public_gateway_dhcp_reservation.ip_address,\n private_port=22,\n public_port=2222,\n protocol=\"tcp\")\nby_id = scaleway.get_vpc_public_gateway_dhcp_reservation_output(reservation_id=main_vpc_public_gateway_dhcp_reservation.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceSecurityGroup = new Scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n },\n },\n });\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n SecurityGroupId = mainInstanceSecurityGroup.Id,\n });\n\n var mainInstancePrivateNic = new Scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", new()\n {\n ServerId = mainInstanceServer.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var mainVpcPublicGatewayDhcpReservation = new Scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", new()\n {\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n MacAddress = mainInstancePrivateNic.MacAddress,\n IpAddress = \"192.168.1.4\",\n });\n\n //## VPC PAT RULE\n var mainVpcPublicGatewayPatRule = new Scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateIp = mainVpcPublicGatewayDhcpReservation.IpAddress,\n PrivatePort = 22,\n PublicPort = 2222,\n Protocol = \"tcp\",\n });\n\n var byId = Scaleway.GetVpcPublicGatewayDhcpReservation.Invoke(new()\n {\n ReservationId = mainVpcPublicGatewayDhcpReservation.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceSecurityGroup, err := scaleway.NewInstanceSecurityGroup(ctx, \"mainInstanceSecurityGroup\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tSecurityGroupId: mainInstanceSecurityGroup.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstancePrivateNic, err := scaleway.NewInstancePrivateNic(ctx, \"mainInstancePrivateNic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: mainInstanceServer.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcpReservation, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"mainVpcPublicGatewayDhcpReservation\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t\tMacAddress: mainInstancePrivateNic.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.1.4\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## VPC PAT RULE\n\t\t_, err = scaleway.NewVpcPublicGatewayPatRule(ctx, \"mainVpcPublicGatewayPatRule\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateIp: mainVpcPublicGatewayDhcpReservation.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2222),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpReservationOutput(ctx, scaleway.GetVpcPublicGatewayDhcpReservationOutputArgs{\n\t\t\tReservationId: mainVpcPublicGatewayDhcpReservation.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpReservationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceSecurityGroup = new InstanceSecurityGroup(\"mainInstanceSecurityGroup\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(\"22\")\n .build())\n .build());\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .securityGroupId(mainInstanceSecurityGroup.id())\n .build());\n\n var mainInstancePrivateNic = new InstancePrivateNic(\"mainInstancePrivateNic\", InstancePrivateNicArgs.builder()\n .serverId(mainInstanceServer.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var mainVpcPublicGatewayDhcpReservation = new VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .macAddress(mainInstancePrivateNic.macAddress())\n .ipAddress(\"192.168.1.4\")\n .build());\n\n //## VPC PAT RULE\n var mainVpcPublicGatewayPatRule = new VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateIp(mainVpcPublicGatewayDhcpReservation.ipAddress())\n .privatePort(22)\n .publicPort(2222)\n .protocol(\"tcp\")\n .build());\n\n final var byId = ScalewayFunctions.getVpcPublicGatewayDhcpReservation(GetVpcPublicGatewayDhcpReservationArgs.builder()\n .reservationId(mainVpcPublicGatewayDhcpReservation.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceSecurityGroup:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: '22'\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n securityGroupId: ${mainInstanceSecurityGroup.id}\n mainInstancePrivateNic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${mainInstanceServer.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n mainVpcPublicGatewayDhcpReservation:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n macAddress: ${mainInstancePrivateNic.macAddress}\n ipAddress: 192.168.1.4\n ### VPC PAT RULE\n mainVpcPublicGatewayPatRule:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateIp: ${mainVpcPublicGatewayDhcpReservation.ipAddress}\n privatePort: 22\n publicPort: 2222\n protocol: tcp\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcpReservation\n Arguments:\n reservationId: ${mainVpcPublicGatewayDhcpReservation.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a DHCP entry. For further information, please see the\nAPI [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/\n\n## Example Dynamic\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n});\nconst mainInstancePrivateNic = new scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", {\n serverId: mainInstanceServer.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\n//# Retrieve the dynamic entries generated by mac address \u0026 gateway network\nconst byMacAddressAndGwNetwork = scaleway.getVpcPublicGatewayDhcpReservationOutput({\n macAddress: mainInstancePrivateNic.macAddress,\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\")\nmain_instance_private_nic = scaleway.InstancePrivateNic(\"mainInstancePrivateNic\",\n server_id=main_instance_server.id,\n private_network_id=main_vpc_private_network.id)\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\n## Retrieve the dynamic entries generated by mac address \u0026 gateway network\nby_mac_address_and_gw_network = scaleway.get_vpc_public_gateway_dhcp_reservation_output(mac_address=main_instance_private_nic.mac_address,\n gateway_network_id=main_vpc_gateway_network.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n });\n\n var mainInstancePrivateNic = new Scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", new()\n {\n ServerId = mainInstanceServer.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n //# Retrieve the dynamic entries generated by mac address \u0026 gateway network\n var byMacAddressAndGwNetwork = Scaleway.GetVpcPublicGatewayDhcpReservation.Invoke(new()\n {\n MacAddress = mainInstancePrivateNic.MacAddress,\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstancePrivateNic, err := scaleway.NewInstancePrivateNic(ctx, \"mainInstancePrivateNic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: mainInstanceServer.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpReservationOutput(ctx, scaleway.GetVpcPublicGatewayDhcpReservationOutputArgs{\n\t\t\tMacAddress: mainInstancePrivateNic.MacAddress,\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpReservationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .build());\n\n var mainInstancePrivateNic = new InstancePrivateNic(\"mainInstancePrivateNic\", InstancePrivateNicArgs.builder()\n .serverId(mainInstanceServer.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n //# Retrieve the dynamic entries generated by mac address \u0026 gateway network\n final var byMacAddressAndGwNetwork = ScalewayFunctions.getVpcPublicGatewayDhcpReservation(GetVpcPublicGatewayDhcpReservationArgs.builder()\n .macAddress(mainInstancePrivateNic.macAddress())\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n mainInstancePrivateNic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${mainInstanceServer.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork: ## Retrieve the dynamic entries generated by mac address \u0026 gateway network\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\nvariables:\n byMacAddressAndGwNetwork:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcpReservation\n Arguments:\n macAddress: ${mainInstancePrivateNic.macAddress}\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Example Static and PAT Rule\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\", {});\nconst mainInstanceSecurityGroup = new scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n }],\n});\nconst mainInstanceServer = new scaleway.InstanceServer(\"mainInstanceServer\", {\n image: \"ubuntu_jammy\",\n type: \"DEV1-S\",\n zone: \"fr-par-1\",\n securityGroupId: mainInstanceSecurityGroup.id,\n});\nconst mainInstancePrivateNic = new scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", {\n serverId: mainInstanceServer.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n});\nconst mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\", {});\nconst mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", {subnet: \"192.168.1.0/24\"});\nconst mainVpcPublicGateway = new scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", {\n type: \"VPC-GW-S\",\n ipId: mainVpcPublicGatewayIp.id,\n});\nconst mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", {\n gatewayId: mainVpcPublicGateway.id,\n privateNetworkId: mainVpcPrivateNetwork.id,\n dhcpId: mainVpcPublicGatewayDhcp.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst mainVpcPublicGatewayDhcpReservation = new scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", {\n gatewayNetworkId: mainVpcGatewayNetwork.id,\n macAddress: mainInstancePrivateNic.macAddress,\n ipAddress: \"192.168.1.4\",\n});\n//## VPC PAT RULE\nconst mainVpcPublicGatewayPatRule = new scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", {\n gatewayId: mainVpcPublicGateway.id,\n privateIp: mainVpcPublicGatewayDhcpReservation.ipAddress,\n privatePort: 22,\n publicPort: 2222,\n protocol: \"tcp\",\n});\nconst byId = scaleway.getVpcPublicGatewayDhcpReservationOutput({\n reservationId: mainVpcPublicGatewayDhcpReservation.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain_vpc_private_network = scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\")\nmain_instance_security_group = scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n )])\nmain_instance_server = scaleway.InstanceServer(\"mainInstanceServer\",\n image=\"ubuntu_jammy\",\n type=\"DEV1-S\",\n zone=\"fr-par-1\",\n security_group_id=main_instance_security_group.id)\nmain_instance_private_nic = scaleway.InstancePrivateNic(\"mainInstancePrivateNic\",\n server_id=main_instance_server.id,\n private_network_id=main_vpc_private_network.id)\nmain_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\")\nmain_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", subnet=\"192.168.1.0/24\")\nmain_vpc_public_gateway = scaleway.VpcPublicGateway(\"mainVpcPublicGateway\",\n type=\"VPC-GW-S\",\n ip_id=main_vpc_public_gateway_ip.id)\nmain_vpc_gateway_network = scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\",\n gateway_id=main_vpc_public_gateway.id,\n private_network_id=main_vpc_private_network.id,\n dhcp_id=main_vpc_public_gateway_dhcp.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nmain_vpc_public_gateway_dhcp_reservation = scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\",\n gateway_network_id=main_vpc_gateway_network.id,\n mac_address=main_instance_private_nic.mac_address,\n ip_address=\"192.168.1.4\")\n### VPC PAT RULE\nmain_vpc_public_gateway_pat_rule = scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\",\n gateway_id=main_vpc_public_gateway.id,\n private_ip=main_vpc_public_gateway_dhcp_reservation.ip_address,\n private_port=22,\n public_port=2222,\n protocol=\"tcp\")\nby_id = scaleway.get_vpc_public_gateway_dhcp_reservation_output(reservation_id=main_vpc_public_gateway_dhcp_reservation.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceSecurityGroup = new Scaleway.InstanceSecurityGroup(\"mainInstanceSecurityGroup\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n },\n },\n });\n\n var mainInstanceServer = new Scaleway.InstanceServer(\"mainInstanceServer\", new()\n {\n Image = \"ubuntu_jammy\",\n Type = \"DEV1-S\",\n Zone = \"fr-par-1\",\n SecurityGroupId = mainInstanceSecurityGroup.Id,\n });\n\n var mainInstancePrivateNic = new Scaleway.InstancePrivateNic(\"mainInstancePrivateNic\", new()\n {\n ServerId = mainInstanceServer.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n });\n\n var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", new()\n {\n Subnet = \"192.168.1.0/24\",\n });\n\n var mainVpcPublicGateway = new Scaleway.VpcPublicGateway(\"mainVpcPublicGateway\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = mainVpcPublicGatewayIp.Id,\n });\n\n var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork(\"mainVpcGatewayNetwork\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateNetworkId = mainVpcPrivateNetwork.Id,\n DhcpId = mainVpcPublicGatewayDhcp.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var mainVpcPublicGatewayDhcpReservation = new Scaleway.VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", new()\n {\n GatewayNetworkId = mainVpcGatewayNetwork.Id,\n MacAddress = mainInstancePrivateNic.MacAddress,\n IpAddress = \"192.168.1.4\",\n });\n\n //## VPC PAT RULE\n var mainVpcPublicGatewayPatRule = new Scaleway.VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", new()\n {\n GatewayId = mainVpcPublicGateway.Id,\n PrivateIp = mainVpcPublicGatewayDhcpReservation.IpAddress,\n PrivatePort = 22,\n PublicPort = 2222,\n Protocol = \"tcp\",\n });\n\n var byId = Scaleway.GetVpcPublicGatewayDhcpReservation.Invoke(new()\n {\n ReservationId = mainVpcPublicGatewayDhcpReservation.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, \"mainVpcPrivateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceSecurityGroup, err := scaleway.NewInstanceSecurityGroup(ctx, \"mainInstanceSecurityGroup\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstanceServer, err := scaleway.NewInstanceServer(ctx, \"mainInstanceServer\", \u0026scaleway.InstanceServerArgs{\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tType: pulumi.String(\"DEV1-S\"),\n\t\t\tZone: pulumi.String(\"fr-par-1\"),\n\t\t\tSecurityGroupId: mainInstanceSecurityGroup.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainInstancePrivateNic, err := scaleway.NewInstancePrivateNic(ctx, \"mainInstancePrivateNic\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: mainInstanceServer.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, \"mainVpcPublicGatewayIp\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"mainVpcPublicGatewayDhcp\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.1.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, \"mainVpcPublicGateway\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: mainVpcPublicGatewayIp.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcGatewayNetwork, err := scaleway.NewVpcGatewayNetwork(ctx, \"mainVpcGatewayNetwork\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateNetworkId: mainVpcPrivateNetwork.ID(),\n\t\t\tDhcpId: mainVpcPublicGatewayDhcp.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmainVpcPublicGatewayDhcpReservation, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"mainVpcPublicGatewayDhcpReservation\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: mainVpcGatewayNetwork.ID(),\n\t\t\tMacAddress: mainInstancePrivateNic.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.1.4\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## VPC PAT RULE\n\t\t_, err = scaleway.NewVpcPublicGatewayPatRule(ctx, \"mainVpcPublicGatewayPatRule\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: mainVpcPublicGateway.ID(),\n\t\t\tPrivateIp: mainVpcPublicGatewayDhcpReservation.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2222),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayDhcpReservationOutput(ctx, scaleway.GetVpcPublicGatewayDhcpReservationOutputArgs{\n\t\t\tReservationId: mainVpcPublicGatewayDhcpReservation.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayDhcpReservationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mainVpcPrivateNetwork = new VpcPrivateNetwork(\"mainVpcPrivateNetwork\");\n\n var mainInstanceSecurityGroup = new InstanceSecurityGroup(\"mainInstanceSecurityGroup\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(\"22\")\n .build())\n .build());\n\n var mainInstanceServer = new InstanceServer(\"mainInstanceServer\", InstanceServerArgs.builder()\n .image(\"ubuntu_jammy\")\n .type(\"DEV1-S\")\n .zone(\"fr-par-1\")\n .securityGroupId(mainInstanceSecurityGroup.id())\n .build());\n\n var mainInstancePrivateNic = new InstancePrivateNic(\"mainInstancePrivateNic\", InstancePrivateNicArgs.builder()\n .serverId(mainInstanceServer.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .build());\n\n var mainVpcPublicGatewayIp = new VpcPublicGatewayIp(\"mainVpcPublicGatewayIp\");\n\n var mainVpcPublicGatewayDhcp = new VpcPublicGatewayDhcp(\"mainVpcPublicGatewayDhcp\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.1.0/24\")\n .build());\n\n var mainVpcPublicGateway = new VpcPublicGateway(\"mainVpcPublicGateway\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(mainVpcPublicGatewayIp.id())\n .build());\n\n var mainVpcGatewayNetwork = new VpcGatewayNetwork(\"mainVpcGatewayNetwork\", VpcGatewayNetworkArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateNetworkId(mainVpcPrivateNetwork.id())\n .dhcpId(mainVpcPublicGatewayDhcp.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var mainVpcPublicGatewayDhcpReservation = new VpcPublicGatewayDhcpReservation(\"mainVpcPublicGatewayDhcpReservation\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(mainVpcGatewayNetwork.id())\n .macAddress(mainInstancePrivateNic.macAddress())\n .ipAddress(\"192.168.1.4\")\n .build());\n\n //## VPC PAT RULE\n var mainVpcPublicGatewayPatRule = new VpcPublicGatewayPatRule(\"mainVpcPublicGatewayPatRule\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(mainVpcPublicGateway.id())\n .privateIp(mainVpcPublicGatewayDhcpReservation.ipAddress())\n .privatePort(22)\n .publicPort(2222)\n .protocol(\"tcp\")\n .build());\n\n final var byId = ScalewayFunctions.getVpcPublicGatewayDhcpReservation(GetVpcPublicGatewayDhcpReservationArgs.builder()\n .reservationId(mainVpcPublicGatewayDhcpReservation.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mainVpcPrivateNetwork:\n type: scaleway:VpcPrivateNetwork\n mainInstanceSecurityGroup:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: '22'\n mainInstanceServer:\n type: scaleway:InstanceServer\n properties:\n image: ubuntu_jammy\n type: DEV1-S\n zone: fr-par-1\n securityGroupId: ${mainInstanceSecurityGroup.id}\n mainInstancePrivateNic:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${mainInstanceServer.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n mainVpcPublicGatewayIp:\n type: scaleway:VpcPublicGatewayIp\n mainVpcPublicGatewayDhcp:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.1.0/24\n mainVpcPublicGateway:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${mainVpcPublicGatewayIp.id}\n mainVpcGatewayNetwork:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateNetworkId: ${mainVpcPrivateNetwork.id}\n dhcpId: ${mainVpcPublicGatewayDhcp.id}\n cleanupDhcp: true\n enableMasquerade: true\n mainVpcPublicGatewayDhcpReservation:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${mainVpcGatewayNetwork.id}\n macAddress: ${mainInstancePrivateNic.macAddress}\n ipAddress: 192.168.1.4\n ### VPC PAT RULE\n mainVpcPublicGatewayPatRule:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${mainVpcPublicGateway.id}\n privateIp: ${mainVpcPublicGatewayDhcpReservation.ipAddress}\n privatePort: 22\n publicPort: 2222\n protocol: tcp\nvariables:\n byId:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayDhcpReservation\n Arguments:\n reservationId: ${mainVpcPublicGatewayDhcpReservation.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPublicGatewayDhcpReservation.\n", "properties": { @@ -27905,15 +27960,15 @@ }, "reservationId": { "type": "string", - "description": "The ID of the Reservation to retrieve.\n" + "description": "The ID of the reservation (DHCP entry) to retrieve.\n" }, "waitForDhcp": { "type": "boolean", - "description": "Boolean to wait for mac_address to exist in dhcp.\n" + "description": "Whether to wait for `mac_address` to exist in DHCP.\n" }, "zone": { "type": "string", - "description": "`zone`) The zone in which the image exists.\n" + "description": "`zone`). The zone in which the reservation exists.\n" } }, "type": "object" @@ -27968,7 +28023,7 @@ } }, "scaleway:index/getVpcPublicGatewayIp:getVpcPublicGatewayIp": { - "description": "Gets information about a public gateway IP.\n\nFor further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayIp(\"main\", {});\nconst ipById = scaleway.getVpcPublicGatewayIpOutput({\n ipId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayIp(\"main\")\nip_by_id = scaleway.get_vpc_public_gateway_ip_output(ip_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayIp(\"main\");\n\n var ipById = Scaleway.GetVpcPublicGatewayIp.Invoke(new()\n {\n IpId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayIp(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayIpOutput(ctx, scaleway.GetVpcPublicGatewayIpOutputArgs{\n\t\t\tIpId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayIp(\"main\");\n\n final var ipById = ScalewayFunctions.getVpcPublicGatewayIp(GetVpcPublicGatewayIpArgs.builder()\n .ipId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayIp\nvariables:\n ipById:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayIp\n Arguments:\n ipId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Public Gateway public flexible IP address.\n\nFor further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst main = new scaleway.VpcPublicGatewayIp(\"main\", {});\nconst ipById = scaleway.getVpcPublicGatewayIpOutput({\n ipId: main.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nmain = scaleway.VpcPublicGatewayIp(\"main\")\nip_by_id = scaleway.get_vpc_public_gateway_ip_output(ip_id=main.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = new Scaleway.VpcPublicGatewayIp(\"main\");\n\n var ipById = Scaleway.GetVpcPublicGatewayIp.Invoke(new()\n {\n IpId = main.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := scaleway.NewVpcPublicGatewayIp(ctx, \"main\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.LookupVpcPublicGatewayIpOutput(ctx, scaleway.GetVpcPublicGatewayIpOutputArgs{\n\t\t\tIpId: main.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicGatewayIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var main = new VpcPublicGatewayIp(\"main\");\n\n final var ipById = ScalewayFunctions.getVpcPublicGatewayIp(GetVpcPublicGatewayIpArgs.builder()\n .ipId(main.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n main:\n type: scaleway:VpcPublicGatewayIp\nvariables:\n ipById:\n fn::invoke:\n Function: scaleway:getVpcPublicGatewayIp\n Arguments:\n ipId: ${main.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPublicGatewayIp.\n", "properties": { @@ -28031,7 +28086,7 @@ } }, "scaleway:index/getVpcPublicPatRule:getVpcPublicPatRule": { - "description": "Gets information about a public gateway PAT rule. For further information please check the\nAPI [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst sg01 = new scaleway.InstanceSecurityGroup(\"sg01\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n protocol: \"TCP\",\n }],\n});\nconst srv01 = new scaleway.InstanceServer(\"srv01\", {\n type: \"PLAY2-NANO\",\n image: \"ubuntu_jammy\",\n securityGroupId: sg01.id,\n});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pnic01 = new scaleway.InstancePrivateNic(\"pnic01\", {\n serverId: srv01.id,\n privateNetworkId: pn01.id,\n});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {subnet: \"192.168.0.0/24\"});\nconst ip01 = new scaleway.VpcPublicGatewayIp(\"ip01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: ip01.id,\n});\nconst gn01 = new scaleway.VpcGatewayNetwork(\"gn01\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst rsv01 = new scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", {\n gatewayNetworkId: gn01.id,\n macAddress: pnic01.macAddress,\n ipAddress: \"192.168.0.7\",\n});\nconst pat01 = new scaleway.VpcPublicGatewayPatRule(\"pat01\", {\n gatewayId: pg01.id,\n privateIp: rsv01.ipAddress,\n privatePort: 22,\n publicPort: 2202,\n protocol: \"tcp\",\n});\nconst main = scaleway.getVpcPublicPatRuleOutput({\n patRuleId: pat01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nsg01 = scaleway.InstanceSecurityGroup(\"sg01\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n protocol=\"TCP\",\n )])\nsrv01 = scaleway.InstanceServer(\"srv01\",\n type=\"PLAY2-NANO\",\n image=\"ubuntu_jammy\",\n security_group_id=sg01.id)\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npnic01 = scaleway.InstancePrivateNic(\"pnic01\",\n server_id=srv01.id,\n private_network_id=pn01.id)\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\", subnet=\"192.168.0.0/24\")\nip01 = scaleway.VpcPublicGatewayIp(\"ip01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=ip01.id)\ngn01 = scaleway.VpcGatewayNetwork(\"gn01\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nrsv01 = scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\",\n gateway_network_id=gn01.id,\n mac_address=pnic01.mac_address,\n ip_address=\"192.168.0.7\")\npat01 = scaleway.VpcPublicGatewayPatRule(\"pat01\",\n gateway_id=pg01.id,\n private_ip=rsv01.ip_address,\n private_port=22,\n public_port=2202,\n protocol=\"tcp\")\nmain = scaleway.get_vpc_public_pat_rule_output(pat_rule_id=pat01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sg01 = new Scaleway.InstanceSecurityGroup(\"sg01\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n Protocol = \"TCP\",\n },\n },\n });\n\n var srv01 = new Scaleway.InstanceServer(\"srv01\", new()\n {\n Type = \"PLAY2-NANO\",\n Image = \"ubuntu_jammy\",\n SecurityGroupId = sg01.Id,\n });\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new Scaleway.InstancePrivateNic(\"pnic01\", new()\n {\n ServerId = srv01.Id,\n PrivateNetworkId = pn01.Id,\n });\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var ip01 = new Scaleway.VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = ip01.Id,\n });\n\n var gn01 = new Scaleway.VpcGatewayNetwork(\"gn01\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var rsv01 = new Scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", new()\n {\n GatewayNetworkId = gn01.Id,\n MacAddress = pnic01.MacAddress,\n IpAddress = \"192.168.0.7\",\n });\n\n var pat01 = new Scaleway.VpcPublicGatewayPatRule(\"pat01\", new()\n {\n GatewayId = pg01.Id,\n PrivateIp = rsv01.IpAddress,\n PrivatePort = 22,\n PublicPort = 2202,\n Protocol = \"tcp\",\n });\n\n var main = Scaleway.GetVpcPublicPatRule.Invoke(new()\n {\n PatRuleId = pat01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsg01, err := scaleway.NewInstanceSecurityGroup(ctx, \"sg01\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsrv01, err := scaleway.NewInstanceServer(ctx, \"srv01\", \u0026scaleway.InstanceServerArgs{\n\t\t\tType: pulumi.String(\"PLAY2-NANO\"),\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tSecurityGroupId: sg01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpnic01, err := scaleway.NewInstancePrivateNic(ctx, \"pnic01\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: srv01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: ip01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgn01, err := scaleway.NewVpcGatewayNetwork(ctx, \"gn01\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trsv01, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"rsv01\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: gn01.ID(),\n\t\t\tMacAddress: pnic01.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.0.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpat01, err := scaleway.NewVpcPublicGatewayPatRule(ctx, \"pat01\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateIp: rsv01.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2202),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetVpcPublicPatRuleOutput(ctx, scaleway.GetVpcPublicPatRuleOutputArgs{\n\t\t\tPatRuleId: pat01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicPatRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sg01 = new InstanceSecurityGroup(\"sg01\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(22)\n .protocol(\"TCP\")\n .build())\n .build());\n\n var srv01 = new InstanceServer(\"srv01\", InstanceServerArgs.builder()\n .type(\"PLAY2-NANO\")\n .image(\"ubuntu_jammy\")\n .securityGroupId(sg01.id())\n .build());\n\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new InstancePrivateNic(\"pnic01\", InstancePrivateNicArgs.builder()\n .serverId(srv01.id())\n .privateNetworkId(pn01.id())\n .build());\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n var ip01 = new VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(ip01.id())\n .build());\n\n var gn01 = new VpcGatewayNetwork(\"gn01\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var rsv01 = new VpcPublicGatewayDhcpReservation(\"rsv01\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(gn01.id())\n .macAddress(pnic01.macAddress())\n .ipAddress(\"192.168.0.7\")\n .build());\n\n var pat01 = new VpcPublicGatewayPatRule(\"pat01\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(pg01.id())\n .privateIp(rsv01.ipAddress())\n .privatePort(22)\n .publicPort(2202)\n .protocol(\"tcp\")\n .build());\n\n final var main = ScalewayFunctions.getVpcPublicPatRule(GetVpcPublicPatRuleArgs.builder()\n .patRuleId(pat01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sg01:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: 22\n protocol: TCP\n srv01:\n type: scaleway:InstanceServer\n properties:\n type: PLAY2-NANO\n image: ubuntu_jammy\n securityGroupId: ${sg01.id}\n pnic01:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${srv01.id}\n privateNetworkId: ${pn01.id}\n pn01:\n type: scaleway:VpcPrivateNetwork\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\n ip01:\n type: scaleway:VpcPublicGatewayIp\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${ip01.id}\n gn01:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n rsv01:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${gn01.id}\n macAddress: ${pnic01.macAddress}\n ipAddress: 192.168.0.7\n pat01:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${pg01.id}\n privateIp: ${rsv01.ipAddress}\n privatePort: 22\n publicPort: 2202\n protocol: tcp\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getVpcPublicPatRule\n Arguments:\n patRuleId: ${pat01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets information about a Public Gateway PAT rule. For further information, please see the\nAPI [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@pulumi/scaleway\";\nimport * as scaleway from \"@pulumiverse/scaleway\";\n\nconst sg01 = new scaleway.InstanceSecurityGroup(\"sg01\", {\n inboundDefaultPolicy: \"drop\",\n outboundDefaultPolicy: \"accept\",\n inboundRules: [{\n action: \"accept\",\n port: 22,\n protocol: \"TCP\",\n }],\n});\nconst srv01 = new scaleway.InstanceServer(\"srv01\", {\n type: \"PLAY2-NANO\",\n image: \"ubuntu_jammy\",\n securityGroupId: sg01.id,\n});\nconst pn01 = new scaleway.VpcPrivateNetwork(\"pn01\", {});\nconst pnic01 = new scaleway.InstancePrivateNic(\"pnic01\", {\n serverId: srv01.id,\n privateNetworkId: pn01.id,\n});\nconst dhcp01 = new scaleway.VpcPublicGatewayDhcp(\"dhcp01\", {subnet: \"192.168.0.0/24\"});\nconst ip01 = new scaleway.VpcPublicGatewayIp(\"ip01\", {});\nconst pg01 = new scaleway.VpcPublicGateway(\"pg01\", {\n type: \"VPC-GW-S\",\n ipId: ip01.id,\n});\nconst gn01 = new scaleway.VpcGatewayNetwork(\"gn01\", {\n gatewayId: pg01.id,\n privateNetworkId: pn01.id,\n dhcpId: dhcp01.id,\n cleanupDhcp: true,\n enableMasquerade: true,\n});\nconst rsv01 = new scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", {\n gatewayNetworkId: gn01.id,\n macAddress: pnic01.macAddress,\n ipAddress: \"192.168.0.7\",\n});\nconst pat01 = new scaleway.VpcPublicGatewayPatRule(\"pat01\", {\n gatewayId: pg01.id,\n privateIp: rsv01.ipAddress,\n privatePort: 22,\n publicPort: 2202,\n protocol: \"tcp\",\n});\nconst main = scaleway.getVpcPublicPatRuleOutput({\n patRuleId: pat01.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_scaleway as scaleway\nimport pulumiverse_scaleway as scaleway\n\nsg01 = scaleway.InstanceSecurityGroup(\"sg01\",\n inbound_default_policy=\"drop\",\n outbound_default_policy=\"accept\",\n inbound_rules=[scaleway.InstanceSecurityGroupInboundRuleArgs(\n action=\"accept\",\n port=22,\n protocol=\"TCP\",\n )])\nsrv01 = scaleway.InstanceServer(\"srv01\",\n type=\"PLAY2-NANO\",\n image=\"ubuntu_jammy\",\n security_group_id=sg01.id)\npn01 = scaleway.VpcPrivateNetwork(\"pn01\")\npnic01 = scaleway.InstancePrivateNic(\"pnic01\",\n server_id=srv01.id,\n private_network_id=pn01.id)\ndhcp01 = scaleway.VpcPublicGatewayDhcp(\"dhcp01\", subnet=\"192.168.0.0/24\")\nip01 = scaleway.VpcPublicGatewayIp(\"ip01\")\npg01 = scaleway.VpcPublicGateway(\"pg01\",\n type=\"VPC-GW-S\",\n ip_id=ip01.id)\ngn01 = scaleway.VpcGatewayNetwork(\"gn01\",\n gateway_id=pg01.id,\n private_network_id=pn01.id,\n dhcp_id=dhcp01.id,\n cleanup_dhcp=True,\n enable_masquerade=True)\nrsv01 = scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\",\n gateway_network_id=gn01.id,\n mac_address=pnic01.mac_address,\n ip_address=\"192.168.0.7\")\npat01 = scaleway.VpcPublicGatewayPatRule(\"pat01\",\n gateway_id=pg01.id,\n private_ip=rsv01.ip_address,\n private_port=22,\n public_port=2202,\n protocol=\"tcp\")\nmain = scaleway.get_vpc_public_pat_rule_output(pat_rule_id=pat01.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Pulumi.Scaleway;\nusing Scaleway = Pulumiverse.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sg01 = new Scaleway.InstanceSecurityGroup(\"sg01\", new()\n {\n InboundDefaultPolicy = \"drop\",\n OutboundDefaultPolicy = \"accept\",\n InboundRules = new[]\n {\n new Scaleway.Inputs.InstanceSecurityGroupInboundRuleArgs\n {\n Action = \"accept\",\n Port = 22,\n Protocol = \"TCP\",\n },\n },\n });\n\n var srv01 = new Scaleway.InstanceServer(\"srv01\", new()\n {\n Type = \"PLAY2-NANO\",\n Image = \"ubuntu_jammy\",\n SecurityGroupId = sg01.Id,\n });\n\n var pn01 = new Scaleway.VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new Scaleway.InstancePrivateNic(\"pnic01\", new()\n {\n ServerId = srv01.Id,\n PrivateNetworkId = pn01.Id,\n });\n\n var dhcp01 = new Scaleway.VpcPublicGatewayDhcp(\"dhcp01\", new()\n {\n Subnet = \"192.168.0.0/24\",\n });\n\n var ip01 = new Scaleway.VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new Scaleway.VpcPublicGateway(\"pg01\", new()\n {\n Type = \"VPC-GW-S\",\n IpId = ip01.Id,\n });\n\n var gn01 = new Scaleway.VpcGatewayNetwork(\"gn01\", new()\n {\n GatewayId = pg01.Id,\n PrivateNetworkId = pn01.Id,\n DhcpId = dhcp01.Id,\n CleanupDhcp = true,\n EnableMasquerade = true,\n });\n\n var rsv01 = new Scaleway.VpcPublicGatewayDhcpReservation(\"rsv01\", new()\n {\n GatewayNetworkId = gn01.Id,\n MacAddress = pnic01.MacAddress,\n IpAddress = \"192.168.0.7\",\n });\n\n var pat01 = new Scaleway.VpcPublicGatewayPatRule(\"pat01\", new()\n {\n GatewayId = pg01.Id,\n PrivateIp = rsv01.IpAddress,\n PrivatePort = 22,\n PublicPort = 2202,\n Protocol = \"tcp\",\n });\n\n var main = Scaleway.GetVpcPublicPatRule.Invoke(new()\n {\n PatRuleId = pat01.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsg01, err := scaleway.NewInstanceSecurityGroup(ctx, \"sg01\", \u0026scaleway.InstanceSecurityGroupArgs{\n\t\t\tInboundDefaultPolicy: pulumi.String(\"drop\"),\n\t\t\tOutboundDefaultPolicy: pulumi.String(\"accept\"),\n\t\t\tInboundRules: scaleway.InstanceSecurityGroupInboundRuleArray{\n\t\t\t\t\u0026scaleway.InstanceSecurityGroupInboundRuleArgs{\n\t\t\t\t\tAction: pulumi.String(\"accept\"),\n\t\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsrv01, err := scaleway.NewInstanceServer(ctx, \"srv01\", \u0026scaleway.InstanceServerArgs{\n\t\t\tType: pulumi.String(\"PLAY2-NANO\"),\n\t\t\tImage: pulumi.String(\"ubuntu_jammy\"),\n\t\t\tSecurityGroupId: sg01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpn01, err := scaleway.NewVpcPrivateNetwork(ctx, \"pn01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpnic01, err := scaleway.NewInstancePrivateNic(ctx, \"pnic01\", \u0026scaleway.InstancePrivateNicArgs{\n\t\t\tServerId: srv01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, \"dhcp01\", \u0026scaleway.VpcPublicGatewayDhcpArgs{\n\t\t\tSubnet: pulumi.String(\"192.168.0.0/24\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tip01, err := scaleway.NewVpcPublicGatewayIp(ctx, \"ip01\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpg01, err := scaleway.NewVpcPublicGateway(ctx, \"pg01\", \u0026scaleway.VpcPublicGatewayArgs{\n\t\t\tType: pulumi.String(\"VPC-GW-S\"),\n\t\t\tIpId: ip01.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tgn01, err := scaleway.NewVpcGatewayNetwork(ctx, \"gn01\", \u0026scaleway.VpcGatewayNetworkArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateNetworkId: pn01.ID(),\n\t\t\tDhcpId: dhcp01.ID(),\n\t\t\tCleanupDhcp: pulumi.Bool(true),\n\t\t\tEnableMasquerade: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trsv01, err := scaleway.NewVpcPublicGatewayDhcpReservation(ctx, \"rsv01\", \u0026scaleway.VpcPublicGatewayDhcpReservationArgs{\n\t\t\tGatewayNetworkId: gn01.ID(),\n\t\t\tMacAddress: pnic01.MacAddress,\n\t\t\tIpAddress: pulumi.String(\"192.168.0.7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tpat01, err := scaleway.NewVpcPublicGatewayPatRule(ctx, \"pat01\", \u0026scaleway.VpcPublicGatewayPatRuleArgs{\n\t\t\tGatewayId: pg01.ID(),\n\t\t\tPrivateIp: rsv01.IpAddress,\n\t\t\tPrivatePort: pulumi.Int(22),\n\t\t\tPublicPort: pulumi.Int(2202),\n\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = scaleway.GetVpcPublicPatRuleOutput(ctx, scaleway.GetVpcPublicPatRuleOutputArgs{\n\t\t\tPatRuleId: pat01.ID(),\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.InstanceSecurityGroup;\nimport com.pulumi.scaleway.InstanceSecurityGroupArgs;\nimport com.pulumi.scaleway.inputs.InstanceSecurityGroupInboundRuleArgs;\nimport com.pulumi.scaleway.InstanceServer;\nimport com.pulumi.scaleway.InstanceServerArgs;\nimport com.pulumi.scaleway.VpcPrivateNetwork;\nimport com.pulumi.scaleway.InstancePrivateNic;\nimport com.pulumi.scaleway.InstancePrivateNicArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcp;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayIp;\nimport com.pulumi.scaleway.VpcPublicGateway;\nimport com.pulumi.scaleway.VpcPublicGatewayArgs;\nimport com.pulumi.scaleway.VpcGatewayNetwork;\nimport com.pulumi.scaleway.VpcGatewayNetworkArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservation;\nimport com.pulumi.scaleway.VpcPublicGatewayDhcpReservationArgs;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRule;\nimport com.pulumi.scaleway.VpcPublicGatewayPatRuleArgs;\nimport com.pulumi.scaleway.ScalewayFunctions;\nimport com.pulumi.scaleway.inputs.GetVpcPublicPatRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sg01 = new InstanceSecurityGroup(\"sg01\", InstanceSecurityGroupArgs.builder()\n .inboundDefaultPolicy(\"drop\")\n .outboundDefaultPolicy(\"accept\")\n .inboundRules(InstanceSecurityGroupInboundRuleArgs.builder()\n .action(\"accept\")\n .port(22)\n .protocol(\"TCP\")\n .build())\n .build());\n\n var srv01 = new InstanceServer(\"srv01\", InstanceServerArgs.builder()\n .type(\"PLAY2-NANO\")\n .image(\"ubuntu_jammy\")\n .securityGroupId(sg01.id())\n .build());\n\n var pn01 = new VpcPrivateNetwork(\"pn01\");\n\n var pnic01 = new InstancePrivateNic(\"pnic01\", InstancePrivateNicArgs.builder()\n .serverId(srv01.id())\n .privateNetworkId(pn01.id())\n .build());\n\n var dhcp01 = new VpcPublicGatewayDhcp(\"dhcp01\", VpcPublicGatewayDhcpArgs.builder()\n .subnet(\"192.168.0.0/24\")\n .build());\n\n var ip01 = new VpcPublicGatewayIp(\"ip01\");\n\n var pg01 = new VpcPublicGateway(\"pg01\", VpcPublicGatewayArgs.builder()\n .type(\"VPC-GW-S\")\n .ipId(ip01.id())\n .build());\n\n var gn01 = new VpcGatewayNetwork(\"gn01\", VpcGatewayNetworkArgs.builder()\n .gatewayId(pg01.id())\n .privateNetworkId(pn01.id())\n .dhcpId(dhcp01.id())\n .cleanupDhcp(true)\n .enableMasquerade(true)\n .build());\n\n var rsv01 = new VpcPublicGatewayDhcpReservation(\"rsv01\", VpcPublicGatewayDhcpReservationArgs.builder()\n .gatewayNetworkId(gn01.id())\n .macAddress(pnic01.macAddress())\n .ipAddress(\"192.168.0.7\")\n .build());\n\n var pat01 = new VpcPublicGatewayPatRule(\"pat01\", VpcPublicGatewayPatRuleArgs.builder()\n .gatewayId(pg01.id())\n .privateIp(rsv01.ipAddress())\n .privatePort(22)\n .publicPort(2202)\n .protocol(\"tcp\")\n .build());\n\n final var main = ScalewayFunctions.getVpcPublicPatRule(GetVpcPublicPatRuleArgs.builder()\n .patRuleId(pat01.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sg01:\n type: scaleway:InstanceSecurityGroup\n properties:\n inboundDefaultPolicy: drop\n outboundDefaultPolicy: accept\n inboundRules:\n - action: accept\n port: 22\n protocol: TCP\n srv01:\n type: scaleway:InstanceServer\n properties:\n type: PLAY2-NANO\n image: ubuntu_jammy\n securityGroupId: ${sg01.id}\n pnic01:\n type: scaleway:InstancePrivateNic\n properties:\n serverId: ${srv01.id}\n privateNetworkId: ${pn01.id}\n pn01:\n type: scaleway:VpcPrivateNetwork\n dhcp01:\n type: scaleway:VpcPublicGatewayDhcp\n properties:\n subnet: 192.168.0.0/24\n ip01:\n type: scaleway:VpcPublicGatewayIp\n pg01:\n type: scaleway:VpcPublicGateway\n properties:\n type: VPC-GW-S\n ipId: ${ip01.id}\n gn01:\n type: scaleway:VpcGatewayNetwork\n properties:\n gatewayId: ${pg01.id}\n privateNetworkId: ${pn01.id}\n dhcpId: ${dhcp01.id}\n cleanupDhcp: true\n enableMasquerade: true\n rsv01:\n type: scaleway:VpcPublicGatewayDhcpReservation\n properties:\n gatewayNetworkId: ${gn01.id}\n macAddress: ${pnic01.macAddress}\n ipAddress: 192.168.0.7\n pat01:\n type: scaleway:VpcPublicGatewayPatRule\n properties:\n gatewayId: ${pg01.id}\n privateIp: ${rsv01.ipAddress}\n privatePort: 22\n publicPort: 2202\n protocol: tcp\nvariables:\n main:\n fn::invoke:\n Function: scaleway:getVpcPublicPatRule\n Arguments:\n patRuleId: ${pat01.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpcPublicPatRule.\n", "properties": { @@ -28041,7 +28096,7 @@ }, "zone": { "type": "string", - "description": "`zone`) The zone in which\nthe image exists.\n" + "description": "`zone`) The zone in which\nthe rule exists.\n" } }, "type": "object", @@ -28057,7 +28112,7 @@ }, "gatewayId": { "type": "string", - "description": "The ID of the public gateway.\n" + "description": "The ID of the Public Gateway.\n" }, "id": { "type": "string", @@ -28071,19 +28126,19 @@ }, "privateIp": { "type": "string", - "description": "The Private IP to forward data to (IP address).\n" + "description": "The private IP address to forward data to.\n" }, "privatePort": { "type": "integer", - "description": "The Private port to translate to.\n" + "description": "The private port to translate to.\n" }, "protocol": { "type": "string", - "description": "The Protocol the rule should apply to. Possible values are both, tcp and udp.\n" + "description": "The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`.\n" }, "publicPort": { "type": "integer", - "description": "The Public port to listen on.\n" + "description": "The public port to listen on.\n" }, "updatedAt": { "type": "string" @@ -28114,16 +28169,16 @@ "properties": { "name": { "type": "string", - "description": "The VPC name used as filter. VPCs with a name like it are listed.\n" + "description": "The VPC name to filter for. VPCs with a similar name are listed.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the VPC is associated with.\n", + "description": "The ID of the Project the VPC is associated with.\n", "willReplaceOnChanges": true }, "region": { "type": "string", - "description": "`region`). The region in which vpcs exist.\n", + "description": "`region`). The region in which the VPCs exist.\n", "willReplaceOnChanges": true }, "tags": { @@ -28131,7 +28186,7 @@ "items": { "type": "string" }, - "description": "List of tags used as filter. VPCs with these exact tags are listed.\n" + "description": "List of tags to filter for. VPCs with these exact tags are listed.\n" } }, "type": "object" @@ -28148,11 +28203,11 @@ }, "organizationId": { "type": "string", - "description": "The organization ID the VPC is associated with.\n" + "description": "The Organization ID the VPC is associated with.\n" }, "projectId": { "type": "string", - "description": "The ID of the project the VPC is associated with.\n" + "description": "The ID of the Project the VPC is associated with.\n" }, "region": { "type": "string" @@ -28168,7 +28223,7 @@ "items": { "$ref": "#/types/scaleway:index/getVpcsVpc:getVpcsVpc" }, - "description": "List of found vpcs\n" + "description": "List of retrieved VPCs\n" } }, "type": "object", diff --git a/provider/go.mod b/provider/go.mod index 91c1e0a2..636ff9b4 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -44,7 +44,7 @@ require ( github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect - github.com/aws/aws-sdk-go v1.52.0 // indirect + github.com/aws/aws-sdk-go v1.54.6 // indirect github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect github.com/aws/aws-sdk-go-v2/config v1.27.11 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.11 // indirect @@ -110,10 +110,10 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect github.com/hashicorp/go-getter v1.7.4 // indirect - github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-plugin v1.6.0 // indirect - github.com/hashicorp/go-retryablehttp v0.7.5 // indirect + github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect @@ -167,7 +167,7 @@ require ( github.com/muesli/termenv v0.15.2 // indirect github.com/natefinch/atomic v1.0.1 // indirect github.com/nats-io/jwt/v2 v2.5.7 // indirect - github.com/nats-io/nats.go v1.35.0 // indirect + github.com/nats-io/nats.go v1.36.0 // indirect github.com/nats-io/nkeys v0.4.7 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect @@ -196,8 +196,8 @@ require ( github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470 // indirect - github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1 // indirect + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa // indirect + github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect @@ -230,17 +230,17 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.23.0 // indirect + golang.org/x/crypto v0.24.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect golang.org/x/mod v0.17.0 // indirect golang.org/x/net v0.25.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/term v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/term v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect diff --git a/provider/go.sum b/provider/go.sum index 532d01bb..0472f508 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1229,8 +1229,8 @@ github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3A github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.52.0 h1:ptgek/4B2v/ljsjYSEvLQ8LTD+SQyrqhOOWvHc/VGPI= -github.com/aws/aws-sdk-go v1.52.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.54.6 h1:HEYUib3yTt8E6vxjMWM3yAq5b+qjj/6aKA62mkgux9g= +github.com/aws/aws-sdk-go v1.54.6/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/aws/aws-sdk-go-v2 v1.26.1 h1:5554eUqIYVWpU0YmeeYZ0wU64H2VLBs8TlhRB2L+EkA= github.com/aws/aws-sdk-go-v2 v1.26.1/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= @@ -1618,16 +1618,17 @@ github.com/hashicorp/go-getter v1.7.4/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17 github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= +github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= -github.com/hashicorp/go-retryablehttp v0.7.5 h1:bJj+Pj19UZMIweq/iie+1u5YCdGrnxCT9yvm0e+Nd5M= -github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= +github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= +github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= @@ -1845,8 +1846,8 @@ github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0 github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= github.com/nats-io/jwt/v2 v2.5.7 h1:j5lH1fUXCnJnY8SsQeB/a/z9Azgu2bYIDvtPVNdxe2c= github.com/nats-io/jwt/v2 v2.5.7/go.mod h1:ZdWS1nZa6WMZfFwwgpEaqBV8EPGVgOTDHN/wTbz0Y5A= -github.com/nats-io/nats.go v1.35.0 h1:XFNqNM7v5B+MQMKqVGAyHwYhyKb48jrenXNxIU20ULk= -github.com/nats-io/nats.go v1.35.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= +github.com/nats-io/nats.go v1.36.0 h1:suEUPuWzTSse/XhESwqLxXGuj8vGRuPRoG7MoRN/qyU= +github.com/nats-io/nats.go v1.36.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI= github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -1983,10 +1984,10 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDj github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470 h1:jOsaUs0Mpg/2UCEcB/z3YpyG1UtgsjOPSKCRaOdMntg= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= -github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1 h1:aU1i9YW3dafA0SXwr+tlvKsTX2/CaWqN2aKoUQi4SVs= -github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1/go.mod h1:sLsWaKcVE6AkX0aL6mUCPIzXT9aqXf4i8UGjCwbq+WQ= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa h1:i+rtstvLVsx9zBDmVir/PssINIURdrXaCRpBW5+ctCs= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3 h1:nRdaYanja2ozIpOM/KFRqPeaB8JDKK1rbEczJN730Fk= +github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3/go.mod h1:rBYagxZqXlgBVs3fM5/4ANuTsM8ZTzj63B9+pYeosuE= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/segmentio/asm v1.1.3 h1:WM03sfUOENvvKexOLp+pCqgb/WDjsi7EK8gIsICtzhc= github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg= @@ -2155,8 +2156,8 @@ golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= +golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2473,8 +2474,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2495,8 +2496,8 @@ golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= +golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2518,8 +2519,8 @@ golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2602,8 +2603,8 @@ golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/provider/resources.go b/provider/resources.go index e22da50f..0f5e839e 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -117,121 +117,656 @@ func Provider() tfbridge.ProviderInfo { }, }, Resources: map[string]*tfbridge.ResourceInfo{ - "scaleway_account_ssh_key": {Tok: scalewayResource(scalewayMod, "AccountSshKey")}, - "scaleway_account_project": {Tok: scalewayResource(scalewayMod, "AccountProject")}, + "scaleway_account_ssh_key": { + Tok: scalewayResource(scalewayMod, "AccountSshKey"), + Docs: &tfbridge.DocInfo{ + Source: "account_ssh_key.md", + }, + }, + "scaleway_account_project": { + Tok: scalewayResource(scalewayMod, "AccountProject"), + Docs: &tfbridge.DocInfo{ + Source: "account_project.md", + }, + }, "scaleway_apple_silicon_server": { - Tok: scalewayResource(scalewayMod, "AppleSliconValleyServer"), + Tok: scalewayResource(scalewayMod, "AppleSiliconServer"), + Docs: &tfbridge.DocInfo{ + Source: "apple_silicon.md", + }, + }, + "scaleway_baremetal_server": { + Tok: scalewayResource(scalewayMod, "BaremetalServer"), + Docs: &tfbridge.DocInfo{ + Source: "baremetal_server.md", + }, + }, + "scaleway_block_snapshot": { + Tok: scalewayResource(scalewayMod, "BlockSnapshot"), + Docs: &tfbridge.DocInfo{ + Source: "block_snapshot.md", + }, + }, + "scaleway_block_volume": { + Tok: scalewayResource(scalewayMod, "BlockVolume"), + Docs: &tfbridge.DocInfo{ + Source: "block_volume.md", + }, + }, + "scaleway_cockpit": { + Tok: scalewayResource(scalewayMod, "Cockpit"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit.md", + }, + }, + "scaleway_cockpit_alert_manager": { + Tok: scalewayResource(scalewayMod, "CockpitAlertManager"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit_alert_manager.md", + }, + }, + "scaleway_cockpit_grafana_user": { + Tok: scalewayResource(scalewayMod, "CockpitGrafanaUser"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit_grafana_user.md", + }, + }, + "scaleway_cockpit_source": { + Tok: scalewayResource(scalewayMod, "CockpitSource"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit_source.md", + }, + }, + "scaleway_cockpit_token": { + Tok: scalewayResource(scalewayMod, "CockpitToken"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit_token.md", + }, + }, + "scaleway_container": { + Tok: scalewayResource(scalewayMod, "Container"), + Docs: &tfbridge.DocInfo{ + Source: "container.md", + }, + }, + "scaleway_container_namespace": { + Tok: scalewayResource(scalewayMod, "ContainerNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "container_namespace.md", + }, + }, + "scaleway_container_cron": { + Tok: scalewayResource(scalewayMod, "ContainerCron"), + Docs: &tfbridge.DocInfo{ + Source: "container_cron.md", + }, + }, + "scaleway_container_domain": { + Tok: scalewayResource(scalewayMod, "ContainerDomain"), + Docs: &tfbridge.DocInfo{ + Source: "container_domain.md", + }, + }, + "scaleway_container_token": { + Tok: scalewayResource(scalewayMod, "ContainerToken"), + Docs: &tfbridge.DocInfo{ + Source: "container_token.md", + }, + }, + "scaleway_container_trigger": { + Tok: scalewayResource(scalewayMod, "ContainerTrigger"), + Docs: &tfbridge.DocInfo{ + Source: "container_trigger.md", + }, + }, + "scaleway_domain_record": { + Tok: scalewayResource(scalewayMod, "DomainRecord"), + Docs: &tfbridge.DocInfo{ + Source: "domain_record.md", + }, + }, + "scaleway_domain_zone": { + Tok: scalewayResource(scalewayMod, "DomainZone"), + Docs: &tfbridge.DocInfo{ + Source: "domain_zone.md", + }, + }, + "scaleway_documentdb_database": { + Tok: scalewayResource(scalewayMod, "DocumentdbDatabase"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_database.md", + }, + }, + "scaleway_documentdb_instance": { + Tok: scalewayResource(scalewayMod, "DocumentdbInstance"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_instance.md", + }, + }, + "scaleway_documentdb_private_network_endpoint": { + Tok: scalewayResource(scalewayMod, "DocumentdbPrivateNetworkEndpoint"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_private_network_endpoint.md", + }, + }, + "scaleway_documentdb_privilege": { + Tok: scalewayResource(scalewayMod, "DocumentdbPrivilege"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_privilege.md", + }, + }, + "scaleway_documentdb_read_replica": { + Tok: scalewayResource(scalewayMod, "DocumentdbReadReplica"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_read_replica.md", + }, + }, + "scaleway_documentdb_user": { + Tok: scalewayResource(scalewayMod, "DocumentdbUser"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_user.md", + }, + }, + "scaleway_flexible_ip_mac_address": { + Tok: scalewayResource(scalewayMod, "FlexibleIpMacAddress"), + Docs: &tfbridge.DocInfo{ + Source: "flexible_ip_mac_address.md", + }, + }, + "scaleway_flexible_ip": { + Tok: scalewayResource(scalewayMod, "FlexibleIp"), + Docs: &tfbridge.DocInfo{ + Source: "flexible_ip.md", + }, + }, + "scaleway_function": { + Tok: scalewayResource(scalewayMod, "Function"), + Docs: &tfbridge.DocInfo{ + Source: "function.md", + }, + }, + "scaleway_function_cron": { + Tok: scalewayResource(scalewayMod, "FunctionCron"), + Docs: &tfbridge.DocInfo{ + Source: "function_cron.md", + }, + }, + "scaleway_function_domain": { + Tok: scalewayResource(scalewayMod, "FunctionDomain"), + Docs: &tfbridge.DocInfo{ + Source: "function_domain.md", + }, + }, + "scaleway_function_namespace": { + Tok: scalewayResource(scalewayMod, "FunctionNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "function_namespace.md", + }, + }, + "scaleway_function_token": { + Tok: scalewayResource(scalewayMod, "FunctionToken"), + Docs: &tfbridge.DocInfo{ + Source: "function_token.md", + }, + }, + "scaleway_iam_api_key": { + Tok: scalewayResource(scalewayMod, "IamApiKey"), + Docs: &tfbridge.DocInfo{ + Source: "iam_api_key.md", + }, + }, + "scaleway_iam_application": { + Tok: scalewayResource(scalewayMod, "IamApplication"), + Docs: &tfbridge.DocInfo{ + Source: "iam_application.md", + }, + }, + "scaleway_iam_group": { + Tok: scalewayResource(scalewayMod, "IamGroup"), + Docs: &tfbridge.DocInfo{ + Source: "iam_group.md", + }, + }, + "scaleway_iam_policy": { + Tok: scalewayResource(scalewayMod, "IamPolicy"), + Docs: &tfbridge.DocInfo{ + Source: "iam_policy.md", + }, + }, + "scaleway_iam_ssh_key": { + Tok: scalewayResource(scalewayMod, "IamSshKey"), + Docs: &tfbridge.DocInfo{ + Source: "iam_ssh_key.md", + }, + }, + "scaleway_iam_group_membership": { + Tok: scalewayResource(scalewayMod, "IamGroupMembership"), + Docs: &tfbridge.DocInfo{ + Source: "iam_group_membership.md", + }, + }, + "scaleway_iam_user": { + Tok: scalewayResource(scalewayMod, "IamUser"), + Docs: &tfbridge.DocInfo{ + Source: "iam_user.md", + }, + }, + "scaleway_instance_image": { + Tok: scalewayResource(scalewayMod, "InstanceImage"), + Docs: &tfbridge.DocInfo{ + Source: "instance_image.md", + }, + }, + "scaleway_instance_ip": { + Tok: scalewayResource(scalewayMod, "InstanceIp"), + Docs: &tfbridge.DocInfo{ + Source: "instance_ip.md", + }, + }, + "scaleway_instance_ip_reverse_dns": { + Tok: scalewayResource(scalewayMod, "InstanceIpReverseDns"), + Docs: &tfbridge.DocInfo{ + Source: "instance_ip_reverse_dns.md", + }, + }, + "scaleway_instance_placement_group": { + Tok: scalewayResource(scalewayMod, "InstancePlacementGroup"), + Docs: &tfbridge.DocInfo{ + Source: "instance_placement_group.md", + }, + }, + "scaleway_instance_private_nic": { + Tok: scalewayResource(scalewayMod, "InstancePrivateNic"), + Docs: &tfbridge.DocInfo{ + Source: "instance_private_nic.md", + }, + }, + "scaleway_instance_security_group": { + Tok: scalewayResource(scalewayMod, "InstanceSecurityGroup"), + Docs: &tfbridge.DocInfo{ + Source: "instance_security_group.md", + }, + }, + "scaleway_instance_security_group_rules": { + Tok: scalewayResource(scalewayMod, "InstanceSecurityGroupRules"), + Docs: &tfbridge.DocInfo{ + Source: "instance_security_group_rules.md", + }, + }, + "scaleway_instance_server": { + Tok: scalewayResource(scalewayMod, "InstanceServer"), + Docs: &tfbridge.DocInfo{ + Source: "instance_server.md", + }, + }, + "scaleway_instance_snapshot": { + Tok: scalewayResource(scalewayMod, "InstanceSnapshot"), + Docs: &tfbridge.DocInfo{ + Source: "instance_snapshot.md", + }, + }, + "scaleway_instance_user_data": { + Tok: scalewayResource(scalewayMod, "InstanceUserData"), + Docs: &tfbridge.DocInfo{ + Source: "instance_user_data.md", + }, + }, + "scaleway_instance_volume": { + Tok: scalewayResource(scalewayMod, "InstanceVolume"), + Docs: &tfbridge.DocInfo{ + Source: "instance_volume.md", + }, + }, + "scaleway_iot_device": { + Tok: scalewayResource(scalewayMod, "IotDevice"), + Docs: &tfbridge.DocInfo{ + Source: "iot_device.md", + }, + }, + "scaleway_iot_hub": { + Tok: scalewayResource(scalewayMod, "IotHub"), + Docs: &tfbridge.DocInfo{ + Source: "iot_hub.md", + }, + }, + "scaleway_iot_network": { + Tok: scalewayResource(scalewayMod, "IotNetwork"), + Docs: &tfbridge.DocInfo{ + Source: "iot_network.md", + }, + }, + "scaleway_iot_route": { + Tok: scalewayResource(scalewayMod, "IotRoute"), + Docs: &tfbridge.DocInfo{ + Source: "iot_route.md", + }, + }, + "scaleway_ipam_ip": { + Tok: scalewayResource(scalewayMod, "IpamIp"), + Docs: &tfbridge.DocInfo{ + Source: "ipam_ip.md", + }, + }, + "scaleway_ipam_ip_reverse_dns": { + Tok: scalewayResource(scalewayMod, "IpamIpReverseDns"), + Docs: &tfbridge.DocInfo{ + Source: "ipam_ip_reverse_dns.md", + }, + }, + "scaleway_job_definition": { + Tok: scalewayResource(scalewayMod, "JobDefinition"), + Docs: &tfbridge.DocInfo{ + Source: "job_definition.md", + }, + }, + "scaleway_k8s_cluster": { + Tok: scalewayResource(scalewayMod, "KubernetesCluster"), + Docs: &tfbridge.DocInfo{ + Source: "k8s_cluster.md", + }, + }, + "scaleway_k8s_pool": { + Tok: scalewayResource(scalewayMod, "KubernetesNodePool"), + Docs: &tfbridge.DocInfo{ + Source: "k8s_pool.md", + }, + }, + "scaleway_lb": { + Tok: scalewayResource(scalewayMod, "Loadbalancer"), + Docs: &tfbridge.DocInfo{ + Source: "lb.md", + }, + }, + "scaleway_lb_backend": { + Tok: scalewayResource(scalewayMod, "LoadbalancerBackend"), + Docs: &tfbridge.DocInfo{ + Source: "lb_backend.md", + }, + }, + "scaleway_lb_certificate": { + Tok: scalewayResource(scalewayMod, "LoadbalancerCertificate"), + Docs: &tfbridge.DocInfo{ + Source: "lb_certificate.md", + }, + }, + "scaleway_lb_frontend": { + Tok: scalewayResource(scalewayMod, "LoadbalancerFrontend"), + Docs: &tfbridge.DocInfo{ + Source: "lb_frontend.md", + }, + }, + "scaleway_lb_ip": { + Tok: scalewayResource(scalewayMod, "LoadbalancerIp"), + Docs: &tfbridge.DocInfo{ + Source: "lb_ip.md", + }, + }, + "scaleway_lb_route": { + Tok: scalewayResource(scalewayMod, "LoadbalancerRoute"), + Docs: &tfbridge.DocInfo{ + Source: "lb_route.md", + }, + }, + "scaleway_mnq_nats_account": { + Tok: scalewayResource(scalewayMod, "MnqNatsAccount"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_nats_account.md", + }, + }, + "scaleway_mnq_nats_credentials": { + Tok: scalewayResource(scalewayMod, "MnqNatsCredentials"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_nats_credentials.md", + }, + }, + "scaleway_mnq_sns": { + Tok: scalewayResource(scalewayMod, "MnqSns"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sns.md", + }, + }, + "scaleway_mnq_sns_credentials": { + Tok: scalewayResource(scalewayMod, "MnqSnsCredentials"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sns_credentials.md", + }, + }, + "scaleway_mnq_sns_topic": { + Tok: scalewayResource(scalewayMod, "MnqSnsTopic"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sns_topic.md", + }, + }, + "scaleway_mnq_sns_topic_subscription": { + Tok: scalewayResource(scalewayMod, "MnqSnsTopicSubscription"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sns_topic_subscriptioin.md", + }, + }, + "scaleway_mnq_sqs": { + Tok: scalewayResource(scalewayMod, "MnqSqs"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sqs.md", + }, + }, + "scaleway_mnq_sqs_credentials": { + Tok: scalewayResource(scalewayMod, "MnqSqsCredentials"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sqs_credentials.md", + }, + }, + "scaleway_mnq_sqs_queue": { + Tok: scalewayResource(scalewayMod, "MnqSqsQueue"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sqs_queue.md", + }, + }, + "scaleway_object": { + Tok: scalewayResource(scalewayMod, "ObjectItem"), + Docs: &tfbridge.DocInfo{ + Source: "object.md", + }, + }, + "scaleway_object_bucket": { + Tok: scalewayResource(scalewayMod, "ObjectBucket"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket.md", + }, + }, + "scaleway_object_bucket_acl": { + Tok: scalewayResource(scalewayMod, "ObjectBucketAcl"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket_acl.md", + }, + }, + "scaleway_object_bucket_policy": { + Tok: scalewayResource(scalewayMod, "ObjectBucketPolicy"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket_policy.md", + }, + }, + "scaleway_object_bucket_website_configuration": { + Tok: scalewayResource(scalewayMod, "ObjectBucketWebsiteConfiguration"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket_website_configuration.md", + }, + }, + "scaleway_object_bucket_lock_configuration": { + Tok: scalewayResource(scalewayMod, "ObjectBucketLockConfiguration"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket_lock_configuration.md", + }, + }, + "scaleway_rdb_acl": { + Tok: scalewayResource(scalewayMod, "DatabaseAcl"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_acl.md", + }, + }, + "scaleway_redis_cluster": { + Tok: scalewayResource(scalewayMod, "RedisCluster"), + Docs: &tfbridge.DocInfo{ + Source: "redis_cluster.md", + }, + }, + "scaleway_rdb_database": { + Tok: scalewayResource(scalewayMod, "Database"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_database.md", + }, + }, + "scaleway_rdb_database_backup": { + Tok: scalewayResource(scalewayMod, "DatabaseBackup"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_database_backup.md", + }, + }, + "scaleway_rdb_instance": { + Tok: scalewayResource(scalewayMod, "DatabaseInstance"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_instance.md", + }, + }, + "scaleway_rdb_privilege": { + Tok: scalewayResource(scalewayMod, "DatabasePrivilege"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_privilege.md", + }, + }, + "scaleway_rdb_read_replica": { + Tok: scalewayResource(scalewayMod, "DatabaseReadReplica"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_read_replica.md", + }, + }, + "scaleway_rdb_user": { + Tok: scalewayResource(scalewayMod, "DatabaseUser"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_user.md", + }, + }, + "scaleway_registry_namespace": { + Tok: scalewayResource(scalewayMod, "RegistryNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "registry_namespace.md", + }, + }, + "scaleway_sdb_sql_database": { + Tok: scalewayResource(scalewayMod, "SdbDatabase"), + Docs: &tfbridge.DocInfo{ + Source: "sdb_sql_database.md", + }, + }, + "scaleway_secret": { + Tok: scalewayResource(scalewayMod, "Secret"), + Docs: &tfbridge.DocInfo{ + Source: "secret.md", + }, + }, + "scaleway_secret_version": { + Tok: scalewayResource(scalewayMod, "SecretVersion"), + Docs: &tfbridge.DocInfo{ + Source: "secret_version.md", + }, + }, + "scaleway_tem_domain": { + Tok: scalewayResource(scalewayMod, "TemDomain"), + Docs: &tfbridge.DocInfo{ + Source: "tem_domain.md", + }, + }, + "scaleway_tem_domain_validation": { + Tok: scalewayResource(scalewayMod, "TemDomainValidation"), + Docs: &tfbridge.DocInfo{ + Source: "tem_domain_validation.md", + }, + }, + "scaleway_vpc_gateway_network": { + Tok: scalewayResource(scalewayMod, "VpcGatewayNetwork"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_gateway_network.md", + }, + }, + "scaleway_vpc_private_network": { + Tok: scalewayResource(scalewayMod, "VpcPrivateNetwork"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_private_network.md", + }, + }, + "scaleway_vpc_public_gateway": { + Tok: scalewayResource(scalewayMod, "VpcPublicGateway"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway.md", + }, + }, + "scaleway_vpc_public_gateway_dhcp": { + Tok: scalewayResource(scalewayMod, "VpcPublicGatewayDhcp"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_dhcp.md", + }, + }, + "scaleway_vpc_public_gateway_ip": { + Tok: scalewayResource(scalewayMod, "VpcPublicGatewayIp"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_ip.md", + }, + }, + "scaleway_vpc_public_gateway_ip_reverse_dns": { + Tok: scalewayResource(scalewayMod, "VpcPublicGatewayIpReverseDns"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_ip_reverse_dns.md", + }, + }, + "scaleway_vpc_public_gateway_pat_rule": { + Tok: scalewayResource(scalewayMod, "VpcPublicGatewayPatRule"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_pat_rule.md", + }, + }, + "scaleway_vpc_public_gateway_dhcp_reservation": { + Tok: scalewayResource(scalewayMod, "VpcPublicGatewayDhcpReservation"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_dhcp_reservation.md", + }, + }, + "scaleway_function_trigger": { + Tok: scalewayResource(scalewayMod, "FunctionTrigger"), + Docs: &tfbridge.DocInfo{ + Source: "function_trigger.md", + }, + }, + "scaleway_lb_acl": { + Tok: scalewayResource(scalewayMod, "LoadbalancerAcl"), Docs: &tfbridge.DocInfo{ - Source: "apple_silicon.md", + Source: "lb_acl.md", + }, + }, + "scaleway_webhosting": { + Tok: scalewayResource(scalewayMod, "Webhosting"), + Docs: &tfbridge.DocInfo{ + Source: "webhosting.md", + }, + }, + "scaleway_vpc": { + Tok: scalewayResource(scalewayMod, "Vpc"), + Docs: &tfbridge.DocInfo{ + Source: "vpc.md", }, }, - "scaleway_baremetal_server": {Tok: scalewayResource(scalewayMod, "BaremetalServer")}, - "scaleway_block_snapshot": {Tok: scalewayResource(scalewayMod, "BlockSnapshot")}, - "scaleway_block_volume": {Tok: scalewayResource(scalewayMod, "BlockVolume")}, - "scaleway_cockpit": {Tok: scalewayResource(scalewayMod, "Cockpit")}, - "scaleway_cockpit_alert_manager": {Tok: scalewayResource(scalewayMod, "CockpitAlertManager")}, - "scaleway_cockpit_grafana_user": {Tok: scalewayResource(scalewayMod, "CockpitGrafanaUser")}, - "scaleway_cockpit_source": {Tok: scalewayResource(scalewayMod, "CockpitSource")}, - "scaleway_cockpit_token": {Tok: scalewayResource(scalewayMod, "CockpitToken")}, - "scaleway_container": {Tok: scalewayResource(scalewayMod, "Container")}, - "scaleway_container_namespace": {Tok: scalewayResource(scalewayMod, "ContainerNamespace")}, - "scaleway_container_cron": {Tok: scalewayResource(scalewayMod, "ContainerCron")}, - "scaleway_container_domain": {Tok: scalewayResource(scalewayMod, "ContainerDomain")}, - "scaleway_container_token": {Tok: scalewayResource(scalewayMod, "ContainerToken")}, - "scaleway_container_trigger": {Tok: scalewayResource(scalewayMod, "ContainerTrigger")}, - "scaleway_domain_record": {Tok: scalewayResource(scalewayMod, "DomainRecord")}, - "scaleway_domain_zone": {Tok: scalewayResource(scalewayMod, "DomainZone")}, - "scaleway_documentdb_database": {Tok: scalewayResource(scalewayMod, "DocumentdbDatabase")}, - "scaleway_documentdb_instance": {Tok: scalewayResource(scalewayMod, "DocumentdbInstance")}, - "scaleway_documentdb_private_network_endpoint": {Tok: scalewayResource(scalewayMod, "DocumentdbPrivateNetworkEndpoint")}, //nolint:golint,lll - "scaleway_documentdb_privilege": {Tok: scalewayResource(scalewayMod, "DocumentdbPrivilege")}, - "scaleway_documentdb_read_replica": {Tok: scalewayResource(scalewayMod, "DocumentdbReadReplica")}, - "scaleway_documentdb_user": {Tok: scalewayResource(scalewayMod, "DocumentdbUser")}, - "scaleway_flexible_ip_mac_address": {Tok: scalewayResource(scalewayMod, "FlexibleIpMacAddress")}, - "scaleway_flexible_ip": {Tok: scalewayResource(scalewayMod, "FlexibleIp")}, - "scaleway_function": {Tok: scalewayResource(scalewayMod, "Function")}, - "scaleway_function_cron": {Tok: scalewayResource(scalewayMod, "FunctionCron")}, - "scaleway_function_domain": {Tok: scalewayResource(scalewayMod, "FunctionDomain")}, - "scaleway_function_namespace": {Tok: scalewayResource(scalewayMod, "FunctionNamespace")}, - "scaleway_function_token": {Tok: scalewayResource(scalewayMod, "FunctionToken")}, - "scaleway_iam_api_key": {Tok: scalewayResource(scalewayMod, "IamApiKey")}, - "scaleway_iam_application": {Tok: scalewayResource(scalewayMod, "IamApplication")}, - "scaleway_iam_group": {Tok: scalewayResource(scalewayMod, "IamGroup")}, - "scaleway_iam_policy": {Tok: scalewayResource(scalewayMod, "IamPolicy")}, - "scaleway_iam_ssh_key": {Tok: scalewayResource(scalewayMod, "IamSshKey")}, - "scaleway_iam_group_membership": {Tok: scalewayResource(scalewayMod, "IamGroupMembership")}, - "scaleway_iam_user": {Tok: scalewayResource(scalewayMod, "IamUser")}, - "scaleway_instance_image": {Tok: scalewayResource(scalewayMod, "InstanceImage")}, - "scaleway_instance_ip": {Tok: scalewayResource(scalewayMod, "InstanceIp")}, - "scaleway_instance_ip_reverse_dns": {Tok: scalewayResource(scalewayMod, "InstanceIpReverseDns")}, - "scaleway_instance_placement_group": {Tok: scalewayResource(scalewayMod, "InstancePlacementGroup")}, - "scaleway_instance_private_nic": {Tok: scalewayResource(scalewayMod, "InstancePrivateNic")}, - "scaleway_instance_security_group": {Tok: scalewayResource(scalewayMod, "InstanceSecurityGroup")}, - "scaleway_instance_security_group_rules": {Tok: scalewayResource(scalewayMod, "InstanceSecurityGroupRules")}, - "scaleway_instance_server": {Tok: scalewayResource(scalewayMod, "InstanceServer")}, - "scaleway_instance_snapshot": {Tok: scalewayResource(scalewayMod, "InstanceSnapshot")}, - "scaleway_instance_user_data": {Tok: scalewayResource(scalewayMod, "InstanceUserData")}, - "scaleway_instance_volume": {Tok: scalewayResource(scalewayMod, "InstanceVolume")}, - "scaleway_iot_device": {Tok: scalewayResource(scalewayMod, "IotDevice")}, - "scaleway_iot_hub": {Tok: scalewayResource(scalewayMod, "IotHub")}, - "scaleway_iot_network": {Tok: scalewayResource(scalewayMod, "IotNetwork")}, - "scaleway_iot_route": {Tok: scalewayResource(scalewayMod, "IotRoute")}, - "scaleway_ipam_ip": {Tok: scalewayResource(scalewayMod, "IpamIp")}, - "scaleway_ipam_ip_reverse_dns": {Tok: scalewayResource(scalewayMod, "IpamIpReverseDns")}, - "scaleway_job_definition": {Tok: scalewayResource(scalewayMod, "JobDefinition")}, - "scaleway_k8s_cluster": {Tok: scalewayResource(scalewayMod, "KubernetesCluster")}, - "scaleway_k8s_pool": {Tok: scalewayResource(scalewayMod, "KubernetesNodePool")}, - "scaleway_lb": {Tok: scalewayResource(scalewayMod, "Loadbalancer")}, - "scaleway_lb_backend": {Tok: scalewayResource(scalewayMod, "LoadbalancerBackend")}, - "scaleway_lb_certificate": {Tok: scalewayResource(scalewayMod, "LoadbalancerCertificate")}, - "scaleway_lb_frontend": {Tok: scalewayResource(scalewayMod, "LoadbalancerFrontend")}, - "scaleway_lb_ip": {Tok: scalewayResource(scalewayMod, "LoadbalancerIp")}, - "scaleway_lb_route": {Tok: scalewayResource(scalewayMod, "LoadbalancerRoute")}, - "scaleway_mnq_nats_account": {Tok: scalewayResource(scalewayMod, "MnqNatsAccount")}, - "scaleway_mnq_nats_credentials": {Tok: scalewayResource(scalewayMod, "MnqNatsCredentials")}, - "scaleway_mnq_sns": {Tok: scalewayResource(scalewayMod, "MnqSns")}, - "scaleway_mnq_sns_credentials": {Tok: scalewayResource(scalewayMod, "MnqSnsCredentials")}, - "scaleway_mnq_sns_topic": {Tok: scalewayResource(scalewayMod, "MnqSnsTopic")}, - "scaleway_mnq_sns_topic_subscription": {Tok: scalewayResource(scalewayMod, "MnqSnsTopicSubscription")}, - "scaleway_mnq_sqs": {Tok: scalewayResource(scalewayMod, "MnqSqs")}, - "scaleway_mnq_sqs_credentials": {Tok: scalewayResource(scalewayMod, "MnqSqsCredentials")}, - "scaleway_mnq_sqs_queue": {Tok: scalewayResource(scalewayMod, "MnqSqsQueue")}, - "scaleway_object": {Tok: scalewayResource(scalewayMod, "ObjectItem")}, - "scaleway_object_bucket": {Tok: scalewayResource(scalewayMod, "ObjectBucket")}, - "scaleway_object_bucket_acl": {Tok: scalewayResource(scalewayMod, "ObjectBucketAcl")}, - "scaleway_object_bucket_policy": {Tok: scalewayResource(scalewayMod, "ObjectBucketPolicy")}, - "scaleway_object_bucket_website_configuration": {Tok: scalewayResource(scalewayMod, "ObjectBucketWebsiteConfiguration")}, //nolint:golint,lll - "scaleway_object_bucket_lock_configuration": {Tok: scalewayResource(scalewayMod, "ObjectBucketLockConfiguration")}, //nolint:golint,lll - "scaleway_rdb_acl": {Tok: scalewayResource(scalewayMod, "DatabaseAcl")}, - "scaleway_redis_cluster": {Tok: scalewayResource(scalewayMod, "RedisCluster")}, - "scaleway_rdb_database": {Tok: scalewayResource(scalewayMod, "Database")}, - "scaleway_rdb_database_backup": {Tok: scalewayResource(scalewayMod, "DatabaseBackup")}, - "scaleway_rdb_instance": {Tok: scalewayResource(scalewayMod, "DatabaseInstance")}, - "scaleway_rdb_privilege": {Tok: scalewayResource(scalewayMod, "DatabasePrivilege")}, - "scaleway_rdb_read_replica": {Tok: scalewayResource(scalewayMod, "DatabaseReadReplica")}, - "scaleway_rdb_user": {Tok: scalewayResource(scalewayMod, "DatabaseUser")}, - "scaleway_registry_namespace": {Tok: scalewayResource(scalewayMod, "RegistryNamespace")}, - "scaleway_sdb_sql_database": {Tok: scalewayResource(scalewayMod, "SdbDatabase")}, - "scaleway_secret": {Tok: scalewayResource(scalewayMod, "Secret")}, - "scaleway_secret_version": {Tok: scalewayResource(scalewayMod, "SecretVersion")}, - "scaleway_tem_domain": {Tok: scalewayResource(scalewayMod, "TemDomain")}, - "scaleway_tem_domain_validation": {Tok: scalewayResource(scalewayMod, "TemDomainValidation")}, - "scaleway_vpc_gateway_network": {Tok: scalewayResource(scalewayMod, "VpcGatewayNetwork")}, - "scaleway_vpc_private_network": {Tok: scalewayResource(scalewayMod, "VpcPrivateNetwork")}, - "scaleway_vpc_public_gateway": {Tok: scalewayResource(scalewayMod, "VpcPublicGateway")}, - "scaleway_vpc_public_gateway_dhcp": {Tok: scalewayResource(scalewayMod, "VpcPublicGatewayDhcp")}, - "scaleway_vpc_public_gateway_ip": {Tok: scalewayResource(scalewayMod, "VpcPublicGatewayIp")}, - "scaleway_vpc_public_gateway_ip_reverse_dns": {Tok: scalewayResource(scalewayMod, "VpcPublicGatewayIpReverseDns")}, - "scaleway_vpc_public_gateway_pat_rule": {Tok: scalewayResource(scalewayMod, "VpcPublicGatewayPatRule")}, - "scaleway_vpc_public_gateway_dhcp_reservation": {Tok: scalewayResource(scalewayMod, "VpcPublicGatewayDhcpReservation")}, //nolint:golint,lll - "scaleway_function_trigger": {Tok: scalewayResource(scalewayMod, "FunctionTrigger")}, - "scaleway_lb_acl": {Tok: scalewayResource(scalewayMod, "LoadbalancerAcl")}, - "scaleway_webhosting": {Tok: scalewayResource(scalewayMod, "Webhosting")}, - "scaleway_vpc": {Tok: scalewayResource(scalewayMod, "Vpc")}, }, DataSources: map[string]*tfbridge.DataSourceInfo{ - "scaleway_account_ssh_key": {Tok: scalewayDataSource(scalewayMod, "getAccountSshKey")}, - "scaleway_account_project": {Tok: scalewayDataSource(scalewayMod, "getAccountProject")}, + "scaleway_account_ssh_key": { + Tok: scalewayDataSource(scalewayMod, "getAccountSshKey"), + Docs: &tfbridge.DocInfo{ + Source: "account_ssh_key.md", + }, + }, + "scaleway_account_project": { + Tok: scalewayDataSource(scalewayMod, "getAccountProject"), + Docs: &tfbridge.DocInfo{ + Source: "account_project.md", + }, + }, "scaleway_baremetal_offer": { Tok: scalewayDataSource(scalewayMod, "getBaremetalOffer"), Fields: map[string]*tfbridge.SchemaInfo{ @@ -239,86 +774,491 @@ func Provider() tfbridge.ProviderInfo { MaxItemsOne: boolRef(true), }, }, + Docs: &tfbridge.DocInfo{ + Source: "baremetal_offer.md", + }, + }, + "scaleway_baremetal_os": { + Tok: scalewayDataSource(scalewayMod, "getBaremetalOs"), + Docs: &tfbridge.DocInfo{ + Source: "baremetal_os.md", + }, + }, + "scaleway_baremetal_option": { + Tok: scalewayDataSource(scalewayMod, "getBaremetalOption"), + Docs: &tfbridge.DocInfo{ + Source: "baremetal_option.md", + }, + }, + "scaleway_baremetal_server": { + Tok: scalewayDataSource(scalewayMod, "getBaremetalServer"), + Docs: &tfbridge.DocInfo{ + Source: "barmetal_server.md", + }, + }, + "scaleway_block_snapshot": { + Tok: scalewayDataSource(scalewayMod, "getBlockSnapshot"), + Docs: &tfbridge.DocInfo{ + Source: "bloc_snapshot.md", + }, + }, + "scaleway_block_volume": { + Tok: scalewayDataSource(scalewayMod, "getBlockVolume"), + Docs: &tfbridge.DocInfo{ + Source: "block_volume.md", + }, + }, + "scaleway_billing_consumptions": { + Tok: scalewayDataSource(scalewayMod, "getBillingConsumptions"), + Docs: &tfbridge.DocInfo{ + Source: "billing_consumption.md", + }, + }, + "scaleway_billing_invoices": { + Tok: scalewayDataSource(scalewayMod, "getBillingInvoices"), + Docs: &tfbridge.DocInfo{ + Source: "billing_invoices.md", + }, + }, + "scaleway_cockpit": { + Tok: scalewayDataSource(scalewayMod, "getCockpit"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit.md", + }, + }, + "scaleway_config": { + Tok: scalewayDataSource(scalewayMod, "getConfig"), + Docs: &tfbridge.DocInfo{ + // Source: "config.md", // File doesn't exist in upstream TF provider repo + AllowMissing: true, + }, + }, + "scaleway_container": { + Tok: scalewayDataSource(scalewayMod, "getContainer"), + Docs: &tfbridge.DocInfo{ + Source: "container.md", + }, + }, + "scaleway_container_namespace": { + Tok: scalewayDataSource(scalewayMod, "getContainerNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "container_namespace.md", + }, + }, + "scaleway_domain_record": { + Tok: scalewayDataSource(scalewayMod, "getDomainRecord"), + Docs: &tfbridge.DocInfo{ + Source: "domain_record.md", + }, + }, + "scaleway_domain_zone": { + Tok: scalewayDataSource(scalewayMod, "getDomainZone"), + Docs: &tfbridge.DocInfo{ + Source: "domain_zone.md", + }, + }, + "scaleway_documentdb_database": { + Tok: scalewayDataSource(scalewayMod, "getDocumentdbDatabase"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_database.md", + }, + }, + "scaleway_documentdb_instance": { + Tok: scalewayDataSource(scalewayMod, "getDocumentdbInstance"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_instance.md", + }, + }, + "scaleway_documentdb_load_balancer_endpoint": { + Tok: scalewayDataSource(scalewayMod, "getDocumentdbLoadBalancerEndpoint"), + Docs: &tfbridge.DocInfo{ + Source: "documentdb_load_balancer_endpoint.md", + }, + }, + "scaleway_flexible_ip": { + Tok: scalewayDataSource(scalewayMod, "getFlexibleIp"), + Docs: &tfbridge.DocInfo{ + Source: "flexible_ip.md", + }, + }, + "scaleway_flexible_ips": { + Tok: scalewayDataSource(scalewayMod, "getFlexibleIps"), + Docs: &tfbridge.DocInfo{ + Source: "flexible_ips.md", + }, + }, + "scaleway_function": { + Tok: scalewayDataSource(scalewayMod, "getFunction"), + Docs: &tfbridge.DocInfo{ + Source: "function.md", + }, + }, + "scaleway_function_namespace": { + Tok: scalewayDataSource(scalewayMod, "getFunctionNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "function_namespace.md", + }, + }, + "scaleway_instance_image": { + Tok: scalewayDataSource(scalewayMod, "getInstanceImage"), + Docs: &tfbridge.DocInfo{ + Source: "instance_image.md", + }, + }, + "scaleway_instance_placement_group": { + Tok: scalewayDataSource(scalewayMod, "getInstancePlacementGroup"), + Docs: &tfbridge.DocInfo{ + Source: "instance_placement_group.md", + }, + }, + "scaleway_iam_application": { + Tok: scalewayDataSource(scalewayMod, "getIamApplication"), + Docs: &tfbridge.DocInfo{ + Source: "iam_application.md", + }, + }, + "scaleway_iam_group": { + Tok: scalewayDataSource(scalewayMod, "getIamGroup"), + Docs: &tfbridge.DocInfo{ + Source: "iam_group.md", + }, + }, + "scaleway_iam_ssh_key": { + Tok: scalewayDataSource(scalewayMod, "getIamSshKey"), + Docs: &tfbridge.DocInfo{ + Source: "iam_ssh_key.md", + }, + }, + "scaleway_iam_user": { + Tok: scalewayDataSource(scalewayMod, "getIamUser"), + Docs: &tfbridge.DocInfo{ + Source: "iam_user.md", + }, + }, + "scaleway_ipam_ip": { + Tok: scalewayDataSource(scalewayMod, "getIpamIp"), + Docs: &tfbridge.DocInfo{ + Source: "ipam_ip.md", + }, + }, + "scaleway_ipam_ips": { + Tok: scalewayDataSource(scalewayMod, "getIpamIps"), + Docs: &tfbridge.DocInfo{ + Source: "ipam_ips.md", + }, + }, + "scaleway_instance_ip": { + Tok: scalewayDataSource(scalewayMod, "getInstanceIp"), + Docs: &tfbridge.DocInfo{ + Source: "instance_ip.md", + }, + }, + "scaleway_instance_private_nic": { + Tok: scalewayDataSource(scalewayMod, "getInstancePrivateNic"), + Docs: &tfbridge.DocInfo{ + Source: "instance_private_nic.md", + }, + }, + "scaleway_instance_security_group": { + Tok: scalewayDataSource(scalewayMod, "getInstanceSecurityGroup"), + Docs: &tfbridge.DocInfo{ + Source: "instance_security_group.md", + }, + }, + "scaleway_instance_server": { + Tok: scalewayDataSource(scalewayMod, "getInstanceServer"), + Docs: &tfbridge.DocInfo{ + Source: "instance_server.md", + }, + }, + "scaleway_instance_servers": { + Tok: scalewayDataSource(scalewayMod, "getInstanceServers"), + Docs: &tfbridge.DocInfo{ + Source: "instance_servers.md", + }, + }, + "scaleway_instance_snapshot": { + Tok: scalewayDataSource(scalewayMod, "getInstanceSnapshot"), + Docs: &tfbridge.DocInfo{ + Source: "instance_snapshot.md", + }, + }, + "scaleway_instance_volume": { + Tok: scalewayDataSource(scalewayMod, "getInstanceVolume"), + Docs: &tfbridge.DocInfo{ + Source: "instance_volume.md", + }, + }, + "scaleway_iot_device": { + Tok: scalewayDataSource(scalewayMod, "getIotDevice"), + Docs: &tfbridge.DocInfo{ + Source: "iot_device.md", + }, + }, + "scaleway_iot_hub": { + Tok: scalewayDataSource(scalewayMod, "getIotHub"), + Docs: &tfbridge.DocInfo{ + Source: "iot_hub.md", + }, + }, + "scaleway_k8s_cluster": { + Tok: scalewayDataSource(scalewayMod, "getKubernetesCluster"), + Docs: &tfbridge.DocInfo{ + Source: "k8s_cluster.md", + }, + }, + "scaleway_k8s_pool": { + Tok: scalewayDataSource(scalewayMod, "getKubernetesNodePool"), + Docs: &tfbridge.DocInfo{ + Source: "k8s_pool.md", + }, + }, + "scaleway_k8s_version": { + Tok: scalewayDataSource(scalewayMod, "getK8sVersion"), + Docs: &tfbridge.DocInfo{ + Source: "k8s_version.md", + }, + }, + "scaleway_lb": { + Tok: scalewayDataSource(scalewayMod, "getLoadbalancer"), + Docs: &tfbridge.DocInfo{ + Source: "lb.md", + }, + }, + "scaleway_lb_acls": { + Tok: scalewayDataSource(scalewayMod, "getLbAcls"), + Docs: &tfbridge.DocInfo{ + Source: "lb_acls.md", + }, + }, + "scaleway_lb_backend": { + Tok: scalewayDataSource(scalewayMod, "getLbBackend"), + Docs: &tfbridge.DocInfo{ + Source: "lb_backend.md", + }, + }, + "scaleway_lb_backends": { + Tok: scalewayDataSource(scalewayMod, "getLbBackends"), + Docs: &tfbridge.DocInfo{ + Source: "lb_backends.md", + }, + }, + "scaleway_lb_certificate": { + Tok: scalewayDataSource(scalewayMod, "getLoadbalancerCertificate"), + Docs: &tfbridge.DocInfo{ + Source: "lb_certificate.md", + }, + }, + "scaleway_lb_frontend": { + Tok: scalewayDataSource(scalewayMod, "getLbFrontend"), + Docs: &tfbridge.DocInfo{ + Source: "lb_frontend.md", + }, + }, + "scaleway_lb_frontends": { + Tok: scalewayDataSource(scalewayMod, "getLbFrontends"), + Docs: &tfbridge.DocInfo{ + Source: "lb_frontends.md", + }, + }, + "scaleway_lb_ip": { + Tok: scalewayDataSource(scalewayMod, "getLoadbalancerIp"), + Docs: &tfbridge.DocInfo{ + Source: "lb_ip.md", + }, + }, + "scaleway_lb_ips": { + Tok: scalewayDataSource(scalewayMod, "getLbIps"), + Docs: &tfbridge.DocInfo{ + Source: "lb_ips.md", + }, + }, + "scaleway_lb_route": { + Tok: scalewayDataSource(scalewayMod, "getLbRoute"), + Docs: &tfbridge.DocInfo{ + Source: "lb_route.md", + }, + }, + "scaleway_lb_routes": { + Tok: scalewayDataSource(scalewayMod, "getLbRoutes"), + Docs: &tfbridge.DocInfo{ + Source: "lb_routes.md", + }, + }, + "scaleway_lbs": { + Tok: scalewayDataSource(scalewayMod, "getLbs"), + Docs: &tfbridge.DocInfo{ + Source: "lbs.md", + }, + }, + "scaleway_object_bucket": { + Tok: scalewayDataSource(scalewayMod, "getObjectBucket"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket.md", + }, + }, + "scaleway_marketplace_image": { + Tok: scalewayDataSource(scalewayMod, "getMarketplaceImage"), + Docs: &tfbridge.DocInfo{ + Source: "marketplace_image.md", + }, + }, + "scaleway_mnq_sqs": { + Tok: scalewayDataSource(scalewayMod, "getMnqSqs"), + Docs: &tfbridge.DocInfo{ + Source: "mnq_sqs.md", + }, + }, + "scaleway_rdb_acl": { + Tok: scalewayDataSource(scalewayMod, "getDatabaseAcl"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_acl.md", + }, + }, + "scaleway_rdb_database": { + Tok: scalewayDataSource(scalewayMod, "getDatabase"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_database.md", + }, + }, + "scaleway_rdb_database_backup": { + Tok: scalewayDataSource(scalewayMod, "getDatabaseBackup"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_database_backup.md", + }, + }, + "scaleway_rdb_instance": { + Tok: scalewayDataSource(scalewayMod, "getDatabaseInstance"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_instance.md", + }, + }, + "scaleway_rdb_privilege": { + Tok: scalewayDataSource(scalewayMod, "getDatabasePrivilege"), + Docs: &tfbridge.DocInfo{ + Source: "rdb_privilege.md", + }, + }, + "scaleway_redis_cluster": { + Tok: scalewayDataSource(scalewayMod, "getRedisCluster"), + Docs: &tfbridge.DocInfo{ + Source: "redis_cluster.md", + }, + }, + "scaleway_registry_image": { + Tok: scalewayDataSource(scalewayMod, "getRegistryImage"), + Docs: &tfbridge.DocInfo{ + Source: "registry_image.md", + }, + }, + "scaleway_registry_namespace": { + Tok: scalewayDataSource(scalewayMod, "getRegistryNamespace"), + Docs: &tfbridge.DocInfo{ + Source: "registry_namespace.md", + }, + }, + "scaleway_secret": { + Tok: scalewayDataSource(scalewayMod, "getSecret"), + Docs: &tfbridge.DocInfo{ + Source: "secret.md", + }, + }, + "scaleway_secret_version": { + Tok: scalewayDataSource(scalewayMod, "getSecretVersion"), + Docs: &tfbridge.DocInfo{ + Source: "secret_version.md", + }, + }, + "scaleway_tem_domain": { + Tok: scalewayDataSource(scalewayMod, "getTemDomain"), + Docs: &tfbridge.DocInfo{ + Source: "tem_domain.md", + }, + }, + "scaleway_vpc_gateway_network": { + Tok: scalewayDataSource(scalewayMod, "getVpcGatewayNetwork"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_gateway_network.md", + }, + }, + "scaleway_vpc_private_network": { + Tok: scalewayDataSource(scalewayMod, "getVpcPrivateNetwork"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_private_network.md", + }, + }, + "scaleway_vpc_public_gateway": { + Tok: scalewayDataSource(scalewayMod, "getVpcPublicGateway"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway.md", + }, + }, + "scaleway_vpc_public_gateway_dhcp": { + Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayDhcp"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_dhcp.md", + }, + }, + "scaleway_vpc_public_gateway_dhcp_reservation": { + Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayDhcpReservation"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_dhcp_reservation.md", + }, + }, + "scaleway_vpc_public_gateway_ip": { + Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayIp"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_ip.md", + }, + }, + "scaleway_availability_zones": { + Tok: scalewayDataSource(scalewayMod, "getAvailabilityZones"), + Docs: &tfbridge.DocInfo{ + Source: "availability_zones.md", + }, + }, + "scaleway_cockpit_plan": { + Tok: scalewayDataSource(scalewayMod, "getCockpitPlan"), + Docs: &tfbridge.DocInfo{ + Source: "cockpit_plan.md", + }, + }, + "scaleway_object_bucket_policy": { + Tok: scalewayDataSource(scalewayMod, "getObjectBucketPolicy"), + Docs: &tfbridge.DocInfo{ + Source: "object_bucket_policy.md", + }, + }, + "scaleway_vpc": { + Tok: scalewayDataSource(scalewayMod, "getVpc"), + Docs: &tfbridge.DocInfo{ + Source: "vpc.md", + }, + }, + "scaleway_vpcs": { + Tok: scalewayDataSource(scalewayMod, "getVpcs"), + Docs: &tfbridge.DocInfo{ + Source: "vpcs.md", + }, + }, + "scaleway_vpc_public_gateway_pat_rule": { + Tok: scalewayDataSource(scalewayMod, "getVpcPublicPatRule"), + Docs: &tfbridge.DocInfo{ + Source: "vpc_public_gateway_pat_rule.md", + }, + }, + "scaleway_webhosting_offer": { + Tok: scalewayDataSource(scalewayMod, "getWebHostOffer"), + Docs: &tfbridge.DocInfo{ + Source: "webhosting_offer.md", + }, + }, + "scaleway_webhosting": { + Tok: scalewayDataSource(scalewayMod, "getWebhosting"), + Docs: &tfbridge.DocInfo{ + Source: "webhosting.md", + }, }, - "scaleway_baremetal_os": {Tok: scalewayDataSource(scalewayMod, "getBaremetalOs")}, - "scaleway_baremetal_option": {Tok: scalewayDataSource(scalewayMod, "getBaremetalOption")}, - "scaleway_baremetal_server": {Tok: scalewayDataSource(scalewayMod, "getBaremetalServer")}, - "scaleway_block_snapshot": {Tok: scalewayDataSource(scalewayMod, "getBlockSnapshot")}, - "scaleway_block_volume": {Tok: scalewayDataSource(scalewayMod, "getBlockVolume")}, - "scaleway_billing_consumptions": {Tok: scalewayDataSource(scalewayMod, "getBillingConsumptions")}, - "scaleway_billing_invoices": {Tok: scalewayDataSource(scalewayMod, "getBillingInvoices")}, - "scaleway_cockpit": {Tok: scalewayDataSource(scalewayMod, "getCockpit")}, - "scaleway_container": {Tok: scalewayDataSource(scalewayMod, "getContainer")}, - "scaleway_container_namespace": {Tok: scalewayDataSource(scalewayMod, "getContainerNamespace")}, - "scaleway_domain_record": {Tok: scalewayDataSource(scalewayMod, "getDomainRecord")}, - "scaleway_domain_zone": {Tok: scalewayDataSource(scalewayMod, "getDomainZone")}, - "scaleway_documentdb_database": {Tok: scalewayDataSource(scalewayMod, "getDocumentdbDatabase")}, - "scaleway_documentdb_instance": {Tok: scalewayDataSource(scalewayMod, "getDocumentdbInstance")}, - "scaleway_documentdb_load_balancer_endpoint": {Tok: scalewayDataSource(scalewayMod, "getDocumentdbLoadBalancerEndpoint")}, //nolint:golint,lll - "scaleway_flexible_ip": {Tok: scalewayDataSource(scalewayMod, "getFlexibleIp")}, - "scaleway_flexible_ips": {Tok: scalewayDataSource(scalewayMod, "getFlexibleIps")}, - "scaleway_function": {Tok: scalewayDataSource(scalewayMod, "getFunction")}, - "scaleway_function_namespace": {Tok: scalewayDataSource(scalewayMod, "getFunctionNamespace")}, - "scaleway_instance_image": {Tok: scalewayDataSource(scalewayMod, "getInstanceImage")}, - "scaleway_instance_placement_group": {Tok: scalewayDataSource(scalewayMod, "getInstancePlacementGroup")}, - "scaleway_iam_application": {Tok: scalewayDataSource(scalewayMod, "getIamApplication")}, - "scaleway_iam_group": {Tok: scalewayDataSource(scalewayMod, "getIamGroup")}, - "scaleway_iam_ssh_key": {Tok: scalewayDataSource(scalewayMod, "getIamSshKey")}, - "scaleway_iam_user": {Tok: scalewayDataSource(scalewayMod, "getIamUser")}, - "scaleway_ipam_ip": {Tok: scalewayDataSource(scalewayMod, "getIpamIp")}, - "scaleway_ipam_ips": {Tok: scalewayDataSource(scalewayMod, "getIpamIps")}, - "scaleway_instance_ip": {Tok: scalewayDataSource(scalewayMod, "getInstanceIp")}, - "scaleway_instance_private_nic": {Tok: scalewayDataSource(scalewayMod, "getInstancePrivateNic")}, - "scaleway_instance_security_group": {Tok: scalewayDataSource(scalewayMod, "getInstanceSecurityGroup")}, - "scaleway_instance_server": {Tok: scalewayDataSource(scalewayMod, "getInstanceServer")}, - "scaleway_instance_servers": {Tok: scalewayDataSource(scalewayMod, "getInstanceServers")}, - "scaleway_instance_snapshot": {Tok: scalewayDataSource(scalewayMod, "getInstanceSnapshot")}, - "scaleway_instance_volume": {Tok: scalewayDataSource(scalewayMod, "getInstanceVolume")}, - "scaleway_iot_device": {Tok: scalewayDataSource(scalewayMod, "getIotDevice")}, - "scaleway_iot_hub": {Tok: scalewayDataSource(scalewayMod, "getIotHub")}, - "scaleway_k8s_cluster": {Tok: scalewayDataSource(scalewayMod, "getKubernetesCluster")}, - "scaleway_k8s_pool": {Tok: scalewayDataSource(scalewayMod, "getKubernetesNodePool")}, - "scaleway_k8s_version": {Tok: scalewayDataSource(scalewayMod, "getK8sVersion")}, - "scaleway_lb": {Tok: scalewayDataSource(scalewayMod, "getLoadbalancer")}, - "scaleway_lb_acls": {Tok: scalewayDataSource(scalewayMod, "getLbAcls")}, - "scaleway_lb_backend": {Tok: scalewayDataSource(scalewayMod, "getLbBackend")}, - "scaleway_lb_backends": {Tok: scalewayDataSource(scalewayMod, "getLbBackends")}, - "scaleway_lb_certificate": {Tok: scalewayDataSource(scalewayMod, "getLoadbalancerCertificate")}, - "scaleway_lb_frontend": {Tok: scalewayDataSource(scalewayMod, "getLbFrontend")}, - "scaleway_lb_frontends": {Tok: scalewayDataSource(scalewayMod, "getLbFrontends")}, - "scaleway_lb_ip": {Tok: scalewayDataSource(scalewayMod, "getLoadbalancerIp")}, - "scaleway_lb_ips": {Tok: scalewayDataSource(scalewayMod, "getLbIps")}, - "scaleway_lb_route": {Tok: scalewayDataSource(scalewayMod, "getLbRoute")}, - "scaleway_lb_routes": {Tok: scalewayDataSource(scalewayMod, "getLbRoutes")}, - "scaleway_lbs": {Tok: scalewayDataSource(scalewayMod, "getLbs")}, - "scaleway_object_bucket": {Tok: scalewayDataSource(scalewayMod, "getObjectBucket")}, - "scaleway_marketplace_image": {Tok: scalewayDataSource(scalewayMod, "getMarketplaceImage")}, - "scaleway_mnq_sqs": {Tok: scalewayDataSource(scalewayMod, "getMnqSqs")}, - "scaleway_rdb_acl": {Tok: scalewayDataSource(scalewayMod, "getDatabaseAcl")}, - "scaleway_rdb_database": {Tok: scalewayDataSource(scalewayMod, "getDatabase")}, - "scaleway_rdb_database_backup": {Tok: scalewayDataSource(scalewayMod, "getDatabaseBackup")}, - "scaleway_rdb_instance": {Tok: scalewayDataSource(scalewayMod, "getDatabaseInstance")}, - "scaleway_rdb_privilege": {Tok: scalewayDataSource(scalewayMod, "getDatabasePrivilege")}, - "scaleway_redis_cluster": {Tok: scalewayDataSource(scalewayMod, "getRedisCluster")}, - "scaleway_registry_image": {Tok: scalewayDataSource(scalewayMod, "getRegistryImage")}, - "scaleway_registry_namespace": {Tok: scalewayDataSource(scalewayMod, "getRegistryNamespace")}, - "scaleway_secret": {Tok: scalewayDataSource(scalewayMod, "getSecret")}, - "scaleway_secret_version": {Tok: scalewayDataSource(scalewayMod, "getSecretVersion")}, - "scaleway_tem_domain": {Tok: scalewayDataSource(scalewayMod, "getTemDomain")}, - "scaleway_vpc_gateway_network": {Tok: scalewayDataSource(scalewayMod, "getVpcGatewayNetwork")}, - "scaleway_vpc_private_network": {Tok: scalewayDataSource(scalewayMod, "getVpcPrivateNetwork")}, - "scaleway_vpc_public_gateway": {Tok: scalewayDataSource(scalewayMod, "getVpcPublicGateway")}, - "scaleway_vpc_public_gateway_dhcp": {Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayDhcp")}, - "scaleway_vpc_public_gateway_dhcp_reservation": {Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayDhcpReservation")}, //nolint:golint,lll - "scaleway_vpc_public_gateway_ip": {Tok: scalewayDataSource(scalewayMod, "getVpcPublicGatewayIp")}, - "scaleway_availability_zones": {Tok: scalewayDataSource(scalewayMod, "getAvailabilityZones")}, - "scaleway_cockpit_plan": {Tok: scalewayDataSource(scalewayMod, "getCockpitPlan")}, - "scaleway_object_bucket_policy": {Tok: scalewayDataSource(scalewayMod, "getObjectBucketPolicy")}, - "scaleway_vpc": {Tok: scalewayDataSource(scalewayMod, "getVpc")}, - "scaleway_vpcs": {Tok: scalewayDataSource(scalewayMod, "getVpcs")}, - "scaleway_vpc_public_gateway_pat_rule": {Tok: scalewayDataSource(scalewayMod, "getVpcPublicPatRule")}, - "scaleway_webhosting_offer": {Tok: scalewayDataSource(scalewayMod, "getWebHostOffer")}, - "scaleway_webhosting": {Tok: scalewayDataSource(scalewayMod, "getWebhosting")}, }, JavaScript: &tfbridge.JavaScriptInfo{ // List any npm dependencies and their versions diff --git a/provider/shim/go.mod b/provider/shim/go.mod index e14750aa..84e613aa 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -6,14 +6,14 @@ toolchain go1.22.4 require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 - github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1 + github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3 ) require ( github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect - github.com/aws/aws-sdk-go v1.52.0 // indirect + github.com/aws/aws-sdk-go v1.54.6 // indirect github.com/cloudflare/circl v1.3.7 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/fatih/color v1.16.0 // indirect @@ -25,10 +25,10 @@ require ( github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-plugin v1.6.0 // indirect - github.com/hashicorp/go-retryablehttp v0.7.5 // indirect + github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/hc-install v0.6.4 // indirect @@ -51,25 +51,25 @@ require ( github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/nats-io/jwt/v2 v2.5.7 // indirect - github.com/nats-io/nats.go v1.35.0 // indirect + github.com/nats-io/nats.go v1.36.0 // indirect github.com/nats-io/nkeys v0.4.7 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect github.com/robfig/cron/v3 v3.0.1 // indirect - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470 // indirect + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/zclconf/go-cty v1.14.4 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect go.opentelemetry.io/otel/trace v1.24.0 // indirect - golang.org/x/crypto v0.23.0 // indirect + golang.org/x/crypto v0.24.0 // indirect golang.org/x/mod v0.17.0 // indirect golang.org/x/net v0.25.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.21.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/grpc v1.63.2 // indirect diff --git a/provider/shim/go.sum b/provider/shim/go.sum index c058af67..0b9287bb 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -10,8 +10,8 @@ github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJE github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.52.0 h1:ptgek/4B2v/ljsjYSEvLQ8LTD+SQyrqhOOWvHc/VGPI= -github.com/aws/aws-sdk-go v1.52.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.54.6 h1:HEYUib3yTt8E6vxjMWM3yAq5b+qjj/6aKA62mkgux9g= +github.com/aws/aws-sdk-go v1.54.6/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= @@ -80,16 +80,15 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= -github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= -github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= +github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= -github.com/hashicorp/go-retryablehttp v0.7.5 h1:bJj+Pj19UZMIweq/iie+1u5YCdGrnxCT9yvm0e+Nd5M= -github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= +github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= +github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= @@ -159,8 +158,8 @@ github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3N github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= github.com/nats-io/jwt/v2 v2.5.7 h1:j5lH1fUXCnJnY8SsQeB/a/z9Azgu2bYIDvtPVNdxe2c= github.com/nats-io/jwt/v2 v2.5.7/go.mod h1:ZdWS1nZa6WMZfFwwgpEaqBV8EPGVgOTDHN/wTbz0Y5A= -github.com/nats-io/nats.go v1.35.0 h1:XFNqNM7v5B+MQMKqVGAyHwYhyKb48jrenXNxIU20ULk= -github.com/nats-io/nats.go v1.35.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= +github.com/nats-io/nats.go v1.36.0 h1:suEUPuWzTSse/XhESwqLxXGuj8vGRuPRoG7MoRN/qyU= +github.com/nats-io/nats.go v1.36.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI= github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -179,16 +178,15 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470 h1:jOsaUs0Mpg/2UCEcB/z3YpyG1UtgsjOPSKCRaOdMntg= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240503144623-358f61d22470/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= -github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1 h1:aU1i9YW3dafA0SXwr+tlvKsTX2/CaWqN2aKoUQi4SVs= -github.com/scaleway/terraform-provider-scaleway/v2 v2.41.1/go.mod h1:sLsWaKcVE6AkX0aL6mUCPIzXT9aqXf4i8UGjCwbq+WQ= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa h1:i+rtstvLVsx9zBDmVir/PssINIURdrXaCRpBW5+ctCs= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27.0.20240603133732-526ae94f1caa/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3 h1:nRdaYanja2ozIpOM/KFRqPeaB8JDKK1rbEczJN730Fk= +github.com/scaleway/terraform-provider-scaleway/v2 v2.41.3/go.mod h1:rBYagxZqXlgBVs3fM5/4ANuTsM8ZTzj63B9+pYeosuE= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= @@ -217,8 +215,8 @@ go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= +golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= @@ -246,24 +244,24 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= +golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= -golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= From c2656e167c786abc7a704d7d1937afde32b5294f Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Fri, 28 Jun 2024 10:34:13 +0200 Subject: [PATCH 2/2] make build_sdks --- ...nValleyServer.cs => AppleSiliconServer.cs} | 36 +- sdk/dotnet/BlockSnapshot.cs | 8 +- sdk/dotnet/BlockVolume.cs | 32 + sdk/dotnet/Database.cs | 30 +- sdk/dotnet/DatabaseAcl.cs | 22 +- sdk/dotnet/DatabaseBackup.cs | 39 +- sdk/dotnet/DatabaseInstance.cs | 97 +- sdk/dotnet/DatabasePrivilege.cs | 10 +- sdk/dotnet/DatabaseReadReplica.cs | 24 +- sdk/dotnet/DatabaseUser.cs | 54 +- sdk/dotnet/DocumentdbDatabase.cs | 11 +- .../DocumentdbPrivateNetworkEndpoint.cs | 175 +-- sdk/dotnet/DocumentdbPrivilege.cs | 13 +- sdk/dotnet/DocumentdbReadReplica.cs | 11 +- sdk/dotnet/DocumentdbUser.cs | 11 +- sdk/dotnet/Function.cs | 6 +- sdk/dotnet/FunctionTrigger.cs | 24 + sdk/dotnet/GetAccountSshKey.cs | 12 +- sdk/dotnet/GetBillingConsumptions.cs | 21 + sdk/dotnet/GetBillingInvoices.cs | 4 +- sdk/dotnet/GetBlockSnapshot.cs | 72 + sdk/dotnet/GetConfig.cs | 78 ++ sdk/dotnet/GetDatabase.cs | 4 +- sdk/dotnet/GetDatabaseAcl.cs | 4 +- sdk/dotnet/GetDatabaseBackup.cs | 16 +- sdk/dotnet/GetDatabaseInstance.cs | 24 +- sdk/dotnet/GetDatabasePrivilege.cs | 8 +- sdk/dotnet/GetIamApplication.cs | 12 +- sdk/dotnet/GetIamGroup.cs | 18 +- sdk/dotnet/GetIamSshKey.cs | 12 +- sdk/dotnet/GetIamUser.cs | 18 +- sdk/dotnet/GetIpamIp.cs | 34 +- sdk/dotnet/GetIpamIps.cs | 46 +- sdk/dotnet/GetLbAcls.cs | 22 +- sdk/dotnet/GetLbBackend.cs | 22 +- sdk/dotnet/GetLbBackends.cs | 14 +- sdk/dotnet/GetLbFrontend.cs | 18 +- sdk/dotnet/GetLbFrontends.cs | 22 +- sdk/dotnet/GetLbIps.cs | 28 +- sdk/dotnet/GetLbRoute.cs | 14 +- sdk/dotnet/GetLbRoutes.cs | 18 +- sdk/dotnet/GetLbs.cs | 32 +- sdk/dotnet/GetLoadbalancer.cs | 24 +- sdk/dotnet/GetLoadbalancerCertificate.cs | 24 +- sdk/dotnet/GetLoadbalancerIp.cs | 18 +- sdk/dotnet/GetMnqSqs.cs | 14 +- sdk/dotnet/GetRedisCluster.cs | 58 +- sdk/dotnet/GetRegistryImage.cs | 12 +- sdk/dotnet/GetRegistryNamespace.cs | 8 +- sdk/dotnet/GetVpc.cs | 20 +- sdk/dotnet/GetVpcGatewayNetwork.cs | 36 +- sdk/dotnet/GetVpcPrivateNetwork.cs | 24 +- sdk/dotnet/GetVpcPublicGateway.cs | 18 +- sdk/dotnet/GetVpcPublicGatewayDhcp.cs | 4 +- .../GetVpcPublicGatewayDhcpReservation.cs | 24 +- sdk/dotnet/GetVpcPublicGatewayIp.cs | 8 +- sdk/dotnet/GetVpcPublicPatRule.cs | 22 +- sdk/dotnet/GetVpcs.cs | 22 +- sdk/dotnet/IamApiKey.cs | 88 +- sdk/dotnet/IamApplication.cs | 2 +- sdk/dotnet/IamGroup.cs | 2 +- sdk/dotnet/IamGroupMembership.cs | 8 +- sdk/dotnet/IamPolicy.cs | 44 +- sdk/dotnet/IamSshKey.cs | 3 +- sdk/dotnet/IamUser.cs | 20 +- sdk/dotnet/Inputs/DatabaseAclAclRuleArgs.cs | 2 +- .../Inputs/DatabaseAclAclRuleGetArgs.cs | 2 +- .../DatabaseReadReplicaDirectAccessArgs.cs | 6 +- .../DatabaseReadReplicaDirectAccessGetArgs.cs | 6 +- .../DatabaseReadReplicaPrivateNetworkArgs.cs | 8 +- ...atabaseReadReplicaPrivateNetworkGetArgs.cs | 8 +- ...rivateNetworkEndpointPrivateNetworkArgs.cs | 63 + ...ateNetworkEndpointPrivateNetworkGetArgs.cs | 63 + sdk/dotnet/Inputs/GetIpamIpResource.cs | 6 +- sdk/dotnet/Inputs/GetIpamIpResourceArgs.cs | 6 +- sdk/dotnet/Inputs/GetIpamIpsResource.cs | 6 +- sdk/dotnet/Inputs/GetIpamIpsResourceArgs.cs | 6 +- sdk/dotnet/Inputs/IamPolicyRuleArgs.cs | 8 +- sdk/dotnet/Inputs/IamPolicyRuleGetArgs.cs | 8 +- sdk/dotnet/Inputs/IpamIpResourceArgs.cs | 4 +- sdk/dotnet/Inputs/IpamIpResourceGetArgs.cs | 4 +- sdk/dotnet/Inputs/IpamIpSourceArgs.cs | 6 +- sdk/dotnet/Inputs/IpamIpSourceGetArgs.cs | 6 +- sdk/dotnet/Inputs/LoadbalancerAclMatchArgs.cs | 4 +- .../Inputs/LoadbalancerAclMatchGetArgs.cs | 4 +- ...adbalancerFrontendAclActionRedirectArgs.cs | 2 +- ...alancerFrontendAclActionRedirectGetArgs.cs | 2 +- .../LoadbalancerFrontendAclMatchArgs.cs | 4 +- .../LoadbalancerFrontendAclMatchGetArgs.cs | 4 +- .../Inputs/LoadbalancerPrivateNetworkArgs.cs | 8 +- .../LoadbalancerPrivateNetworkGetArgs.cs | 8 +- .../MnqSnsCredentialsPermissionsArgs.cs | 6 +- .../MnqSnsCredentialsPermissionsGetArgs.cs | 6 +- .../MnqSqsCredentialsPermissionsArgs.cs | 6 +- .../MnqSqsCredentialsPermissionsGetArgs.cs | 6 +- sdk/dotnet/Inputs/RedisClusterAclArgs.cs | 2 +- sdk/dotnet/Inputs/RedisClusterAclGetArgs.cs | 2 +- .../Inputs/RedisClusterPrivateNetworkArgs.cs | 18 +- .../RedisClusterPrivateNetworkGetArgs.cs | 18 +- .../Inputs/VpcGatewayNetworkIpamConfigArgs.cs | 2 +- .../VpcGatewayNetworkIpamConfigGetArgs.cs | 2 +- .../Inputs/VpcPrivateNetworkIpv4SubnetArgs.cs | 4 +- .../VpcPrivateNetworkIpv4SubnetGetArgs.cs | 4 +- .../Inputs/VpcPrivateNetworkIpv6SubnetArgs.cs | 4 +- .../VpcPrivateNetworkIpv6SubnetGetArgs.cs | 4 +- sdk/dotnet/IpamIp.cs | 26 +- sdk/dotnet/IpamIpReverseDns.cs | 6 +- sdk/dotnet/KubernetesCluster.cs | 37 +- sdk/dotnet/Loadbalancer.cs | 178 ++- sdk/dotnet/LoadbalancerAcl.cs | 18 +- sdk/dotnet/LoadbalancerBackend.cs | 7 +- sdk/dotnet/LoadbalancerFrontend.cs | 52 +- sdk/dotnet/LoadbalancerIp.cs | 27 +- sdk/dotnet/LoadbalancerRoute.cs | 27 +- sdk/dotnet/MnqNatsAccount.cs | 22 +- sdk/dotnet/MnqNatsCredentials.cs | 20 +- sdk/dotnet/MnqSns.cs | 30 +- sdk/dotnet/MnqSnsCredentials.cs | 32 +- sdk/dotnet/MnqSnsTopic.cs | 32 +- sdk/dotnet/MnqSnsTopicSubscription.cs | 32 +- sdk/dotnet/MnqSqs.cs | 24 +- sdk/dotnet/MnqSqsCredentials.cs | 32 +- sdk/dotnet/MnqSqsQueue.cs | 24 +- sdk/dotnet/Outputs/DatabaseAclAclRule.cs | 2 +- .../DatabaseReadReplicaDirectAccess.cs | 6 +- .../DatabaseReadReplicaPrivateNetwork.cs | 8 +- ...tdbPrivateNetworkEndpointPrivateNetwork.cs | 71 + ...GetBillingConsumptionsConsumptionResult.cs | 14 +- .../GetDatabaseInstanceLoadBalancerResult.cs | 1 - ...GetDatabaseInstancePrivateNetworkResult.cs | 1 - .../GetDatabaseInstanceReadReplicaResult.cs | 1 - sdk/dotnet/Outputs/GetIpamIpResourceResult.cs | 6 +- .../Outputs/GetIpamIpsIpResourceResult.cs | 8 +- sdk/dotnet/Outputs/GetIpamIpsIpResult.cs | 12 +- .../Outputs/GetIpamIpsResourceResult.cs | 6 +- .../GetLbAclsAclActionRedirectResult.cs | 4 +- sdk/dotnet/Outputs/GetLbAclsAclMatchResult.cs | 6 +- sdk/dotnet/Outputs/GetLbAclsAclResult.cs | 14 +- ...tLbBackendsBackendHealthCheckHttpResult.cs | 6 +- .../Outputs/GetLbBackendsBackendResult.cs | 28 +- .../Outputs/GetLbFrontendsFrontendResult.cs | 22 +- sdk/dotnet/Outputs/GetLbIpsIpResult.cs | 12 +- sdk/dotnet/Outputs/GetLbRoutesRouteResult.cs | 8 +- sdk/dotnet/Outputs/GetLbsLbInstanceResult.cs | 10 +- sdk/dotnet/Outputs/GetLbsLbIpResult.cs | 8 +- sdk/dotnet/Outputs/GetLbsLbResult.cs | 34 +- .../GetLoadbalancerPrivateNetworkResult.cs | 2 +- .../GetRedisClusterPrivateNetworkResult.cs | 2 +- .../GetVpcPrivateNetworkIpv4SubnetResult.cs | 2 +- .../GetVpcPrivateNetworkIpv6SubnetResult.cs | 2 +- sdk/dotnet/Outputs/GetVpcsVpcResult.cs | 12 +- sdk/dotnet/Outputs/IamPolicyRule.cs | 8 +- sdk/dotnet/Outputs/IpamIpResource.cs | 4 +- sdk/dotnet/Outputs/IpamIpSource.cs | 6 +- sdk/dotnet/Outputs/LoadbalancerAclMatch.cs | 4 +- .../LoadbalancerFrontendAclActionRedirect.cs | 2 +- .../Outputs/LoadbalancerFrontendAclMatch.cs | 4 +- .../Outputs/LoadbalancerPrivateNetwork.cs | 8 +- .../Outputs/MnqSnsCredentialsPermissions.cs | 6 +- .../Outputs/MnqSqsCredentialsPermissions.cs | 6 +- sdk/dotnet/Outputs/RedisClusterAcl.cs | 2 +- .../Outputs/RedisClusterPrivateNetwork.cs | 18 +- .../Outputs/VpcGatewayNetworkIpamConfig.cs | 2 +- .../Outputs/VpcPrivateNetworkIpv4Subnet.cs | 4 +- .../Outputs/VpcPrivateNetworkIpv6Subnet.cs | 4 +- sdk/dotnet/RedisCluster.cs | 136 +- sdk/dotnet/RegistryNamespace.cs | 6 +- sdk/dotnet/TemDomain.cs | 8 +- sdk/dotnet/TemDomainValidation.cs | 7 +- sdk/dotnet/Vpc.cs | 26 +- sdk/dotnet/VpcGatewayNetwork.cs | 77 +- sdk/dotnet/VpcPrivateNetwork.cs | 56 +- sdk/dotnet/VpcPublicGateway.cs | 54 +- sdk/dotnet/VpcPublicGatewayDhcp.cs | 52 +- sdk/dotnet/VpcPublicGatewayDhcpReservation.cs | 38 +- sdk/dotnet/VpcPublicGatewayIp.cs | 36 +- sdk/dotnet/VpcPublicGatewayIpReverseDns.cs | 12 +- sdk/dotnet/VpcPublicGatewayPatRule.cs | 54 +- sdk/go/scaleway/appleSiliconServer.go | 404 ++++++ sdk/go/scaleway/appleSliconValleyServer.go | 404 ------ sdk/go/scaleway/blockSnapshot.go | 11 +- sdk/go/scaleway/blockVolume.go | 42 + sdk/go/scaleway/database.go | 43 +- sdk/go/scaleway/databaseAcl.go | 29 +- sdk/go/scaleway/databaseBackup.go | 53 +- sdk/go/scaleway/databaseInstance.go | 180 ++- sdk/go/scaleway/databasePrivilege.go | 16 +- sdk/go/scaleway/databaseReadReplica.go | 42 +- sdk/go/scaleway/databaseUser.go | 91 +- sdk/go/scaleway/documentdbDatabase.go | 14 +- .../documentdbPrivateNetworkEndpoint.go | 203 ++- sdk/go/scaleway/documentdbPrivilege.go | 16 +- sdk/go/scaleway/documentdbReadReplica.go | 12 +- sdk/go/scaleway/documentdbUser.go | 12 +- sdk/go/scaleway/function.go | 12 +- sdk/go/scaleway/functionTrigger.go | 31 + sdk/go/scaleway/getAccountSshKey.go | 12 +- sdk/go/scaleway/getBillingConsumptions.go | 13 +- sdk/go/scaleway/getBillingInvoices.go | 2 +- sdk/go/scaleway/getBlockSnapshot.go | 53 +- sdk/go/scaleway/getConfig.go | 113 ++ sdk/go/scaleway/getDatabase.go | 2 +- sdk/go/scaleway/getDatabaseAcl.go | 2 +- sdk/go/scaleway/getDatabaseBackup.go | 16 +- sdk/go/scaleway/getDatabaseInstance.go | 20 +- sdk/go/scaleway/getDatabasePrivilege.go | 6 +- sdk/go/scaleway/getIamApplication.go | 12 +- sdk/go/scaleway/getIamGroup.go | 13 +- sdk/go/scaleway/getIamSshKey.go | 12 +- sdk/go/scaleway/getIamUser.go | 15 +- sdk/go/scaleway/getIpamIp.go | 30 +- sdk/go/scaleway/getIpamIps.go | 52 +- sdk/go/scaleway/getLbAcls.go | 22 +- sdk/go/scaleway/getLbBackend.go | 17 +- sdk/go/scaleway/getLbBackends.go | 14 +- sdk/go/scaleway/getLbFrontend.go | 13 +- sdk/go/scaleway/getLbFrontends.go | 20 +- sdk/go/scaleway/getLbIps.go | 32 +- sdk/go/scaleway/getLbRoute.go | 9 +- sdk/go/scaleway/getLbRoutes.go | 16 +- sdk/go/scaleway/getLbs.go | 42 +- sdk/go/scaleway/getLoadbalancer.go | 30 +- sdk/go/scaleway/getLoadbalancerCertificate.go | 18 +- sdk/go/scaleway/getLoadbalancerIp.go | 16 +- sdk/go/scaleway/getMnqSqs.go | 14 +- sdk/go/scaleway/getRedisCluster.go | 74 +- sdk/go/scaleway/getRegistryImage.go | 10 +- sdk/go/scaleway/getRegistryNamespace.go | 8 +- sdk/go/scaleway/getVpc.go | 20 +- sdk/go/scaleway/getVpcGatewayNetwork.go | 30 +- sdk/go/scaleway/getVpcPrivateNetwork.go | 26 +- sdk/go/scaleway/getVpcPublicGateway.go | 16 +- sdk/go/scaleway/getVpcPublicGatewayDhcp.go | 2 +- .../getVpcPublicGatewayDhcpReservation.go | 18 +- sdk/go/scaleway/getVpcPublicGatewayIp.go | 4 +- sdk/go/scaleway/getVpcPublicPatRule.go | 28 +- sdk/go/scaleway/getVpcs.go | 28 +- sdk/go/scaleway/iamApiKey.go | 156 ++- sdk/go/scaleway/iamApplication.go | 2 +- sdk/go/scaleway/iamGroup.go | 2 +- sdk/go/scaleway/iamGroupMembership.go | 14 +- sdk/go/scaleway/iamPolicy.go | 86 +- sdk/go/scaleway/iamSshKey.go | 3 +- sdk/go/scaleway/iamUser.go | 40 +- sdk/go/scaleway/init.go | 6 +- sdk/go/scaleway/ipamIp.go | 42 +- sdk/go/scaleway/ipamIpReverseDns.go | 6 +- sdk/go/scaleway/kubernetesCluster.go | 37 +- sdk/go/scaleway/loadbalancer.go | 268 ++-- sdk/go/scaleway/loadbalancerAcl.go | 30 +- sdk/go/scaleway/loadbalancerBackend.go | 7 +- sdk/go/scaleway/loadbalancerFrontend.go | 98 +- sdk/go/scaleway/loadbalancerIp.go | 47 +- sdk/go/scaleway/loadbalancerRoute.go | 47 +- sdk/go/scaleway/mnqNatsAccount.go | 34 +- sdk/go/scaleway/mnqNatsCredentials.go | 32 +- sdk/go/scaleway/mnqSns.go | 46 +- sdk/go/scaleway/mnqSnsCredentials.go | 56 +- sdk/go/scaleway/mnqSnsTopic.go | 56 +- sdk/go/scaleway/mnqSnsTopicSubscription.go | 56 +- sdk/go/scaleway/mnqSqs.go | 40 +- sdk/go/scaleway/mnqSqsCredentials.go | 56 +- sdk/go/scaleway/mnqSqsQueue.go | 42 +- sdk/go/scaleway/pulumiTypes.go | 1246 ++++++++++------- sdk/go/scaleway/redisCluster.go | 264 ++-- sdk/go/scaleway/registryNamespace.go | 10 +- sdk/go/scaleway/temDomain.go | 14 +- sdk/go/scaleway/temDomainValidation.go | 10 +- sdk/go/scaleway/vpc.go | 48 +- sdk/go/scaleway/vpcGatewayNetwork.go | 137 +- sdk/go/scaleway/vpcPrivateNetwork.go | 108 +- sdk/go/scaleway/vpcPublicGateway.go | 102 +- sdk/go/scaleway/vpcPublicGatewayDhcp.go | 100 +- .../vpcPublicGatewayDhcpReservation.go | 66 +- sdk/go/scaleway/vpcPublicGatewayIp.go | 66 +- .../scaleway/vpcPublicGatewayIpReverseDns.go | 18 +- sdk/go/scaleway/vpcPublicGatewayPatRule.go | 102 +- ...nValleyServer.ts => appleSiliconServer.ts} | 40 +- sdk/nodejs/blockSnapshot.ts | 6 +- sdk/nodejs/blockVolume.ts | 19 + sdk/nodejs/database.ts | 26 +- sdk/nodejs/databaseAcl.ts | 20 +- sdk/nodejs/databaseBackup.ts | 33 +- sdk/nodejs/databaseInstance.ts | 97 +- sdk/nodejs/databasePrivilege.ts | 10 +- sdk/nodejs/databaseReadReplica.ts | 24 +- sdk/nodejs/databaseUser.ts | 52 +- sdk/nodejs/documentdbDatabase.ts | 9 +- .../documentdbPrivateNetworkEndpoint.ts | 145 +- sdk/nodejs/documentdbPrivilege.ts | 11 +- sdk/nodejs/documentdbReadReplica.ts | 9 +- sdk/nodejs/documentdbUser.ts | 9 +- sdk/nodejs/function.ts | 6 +- sdk/nodejs/functionTrigger.ts | 16 + sdk/nodejs/getAccountSshKey.ts | 12 +- sdk/nodejs/getBillingConsumptions.ts | 21 + sdk/nodejs/getBillingInvoices.ts | 4 +- sdk/nodejs/getBlockSnapshot.ts | 58 + sdk/nodejs/getConfig.ts | 35 + sdk/nodejs/getDatabase.ts | 4 +- sdk/nodejs/getDatabaseAcl.ts | 4 +- sdk/nodejs/getDatabaseBackup.ts | 16 +- sdk/nodejs/getDatabaseInstance.ts | 24 +- sdk/nodejs/getDatabasePrivilege.ts | 8 +- sdk/nodejs/getIamApplication.ts | 12 +- sdk/nodejs/getIamGroup.ts | 18 +- sdk/nodejs/getIamSshKey.ts | 12 +- sdk/nodejs/getIamUser.ts | 18 +- sdk/nodejs/getIpamIp.ts | 34 +- sdk/nodejs/getIpamIps.ts | 46 +- sdk/nodejs/getLbAcls.ts | 22 +- sdk/nodejs/getLbBackend.ts | 22 +- sdk/nodejs/getLbBackends.ts | 14 +- sdk/nodejs/getLbFrontend.ts | 18 +- sdk/nodejs/getLbFrontends.ts | 22 +- sdk/nodejs/getLbIps.ts | 28 +- sdk/nodejs/getLbRoute.ts | 14 +- sdk/nodejs/getLbRoutes.ts | 18 +- sdk/nodejs/getLbs.ts | 32 +- sdk/nodejs/getLoadbalancer.ts | 24 +- sdk/nodejs/getLoadbalancerCertificate.ts | 24 +- sdk/nodejs/getLoadbalancerIp.ts | 16 +- sdk/nodejs/getMnqSqs.ts | 14 +- sdk/nodejs/getRedisCluster.ts | 58 +- sdk/nodejs/getRegistryImage.ts | 12 +- sdk/nodejs/getRegistryNamespace.ts | 8 +- sdk/nodejs/getVpc.ts | 20 +- sdk/nodejs/getVpcGatewayNetwork.ts | 36 +- sdk/nodejs/getVpcPrivateNetwork.ts | 24 +- sdk/nodejs/getVpcPublicGateway.ts | 18 +- sdk/nodejs/getVpcPublicGatewayDhcp.ts | 4 +- .../getVpcPublicGatewayDhcpReservation.ts | 24 +- sdk/nodejs/getVpcPublicGatewayIp.ts | 8 +- sdk/nodejs/getVpcPublicPatRule.ts | 22 +- sdk/nodejs/getVpcs.ts | 22 +- sdk/nodejs/iamApiKey.ts | 77 +- sdk/nodejs/iamApplication.ts | 2 +- sdk/nodejs/iamGroup.ts | 2 +- sdk/nodejs/iamGroupMembership.ts | 8 +- sdk/nodejs/iamPolicy.ts | 44 +- sdk/nodejs/iamSshKey.ts | 3 +- sdk/nodejs/iamUser.ts | 20 +- sdk/nodejs/index.ts | 19 +- sdk/nodejs/ipamIp.ts | 26 +- sdk/nodejs/ipamIpReverseDns.ts | 6 +- sdk/nodejs/kubernetesCluster.ts | 39 +- sdk/nodejs/loadbalancer.ts | 145 +- sdk/nodejs/loadbalancerAcl.ts | 18 +- sdk/nodejs/loadbalancerBackend.ts | 7 +- sdk/nodejs/loadbalancerFrontend.ts | 52 +- sdk/nodejs/loadbalancerIp.ts | 27 +- sdk/nodejs/loadbalancerRoute.ts | 27 +- sdk/nodejs/mnqNatsAccount.ts | 22 +- sdk/nodejs/mnqNatsCredentials.ts | 20 +- sdk/nodejs/mnqSns.ts | 30 +- sdk/nodejs/mnqSnsCredentials.ts | 32 +- sdk/nodejs/mnqSnsTopic.ts | 32 +- sdk/nodejs/mnqSnsTopicSubscription.ts | 32 +- sdk/nodejs/mnqSqs.ts | 24 +- sdk/nodejs/mnqSqsCredentials.ts | 32 +- sdk/nodejs/mnqSqsQueue.ts | 24 +- sdk/nodejs/redisCluster.ts | 136 +- sdk/nodejs/registryNamespace.ts | 6 +- sdk/nodejs/temDomain.ts | 8 +- sdk/nodejs/temDomainValidation.ts | 3 +- sdk/nodejs/tsconfig.json | 3 +- sdk/nodejs/types/input.ts | 151 +- sdk/nodejs/types/output.ts | 348 ++--- sdk/nodejs/vpc.ts | 26 +- sdk/nodejs/vpcGatewayNetwork.ts | 77 +- sdk/nodejs/vpcPrivateNetwork.ts | 56 +- sdk/nodejs/vpcPublicGateway.ts | 54 +- sdk/nodejs/vpcPublicGatewayDhcp.ts | 52 +- sdk/nodejs/vpcPublicGatewayDhcpReservation.ts | 38 +- sdk/nodejs/vpcPublicGatewayIp.ts | 36 +- sdk/nodejs/vpcPublicGatewayIpReverseDns.ts | 12 +- sdk/nodejs/vpcPublicGatewayPatRule.ts | 54 +- sdk/python/pulumiverse_scaleway/__init__.py | 7 +- sdk/python/pulumiverse_scaleway/_inputs.py | 337 +++-- .../apple_silicon_server.py | 555 ++++++++ .../pulumiverse_scaleway/block_snapshot.py | 10 +- .../pulumiverse_scaleway/block_volume.py | 34 + sdk/python/pulumiverse_scaleway/database.py | 54 +- .../pulumiverse_scaleway/database_acl.py | 40 +- .../pulumiverse_scaleway/database_backup.py | 68 +- .../pulumiverse_scaleway/database_instance.py | 219 ++- .../database_privilege.py | 22 +- .../database_read_replica.py | 54 +- .../pulumiverse_scaleway/database_user.py | 114 +- .../documentdb_database.py | 16 +- .../documentdb_private_network_endpoint.py | 401 ++---- .../documentdb_privilege.py | 24 +- .../documentdb_read_replica.py | 16 +- .../pulumiverse_scaleway/documentdb_user.py | 16 +- sdk/python/pulumiverse_scaleway/function.py | 14 +- .../pulumiverse_scaleway/function_trigger.py | 30 + .../get_account_ssh_key.py | 12 +- .../get_billing_consumptions.py | 19 +- .../get_billing_invoices.py | 4 +- .../get_block_snapshot.py | 36 +- sdk/python/pulumiverse_scaleway/get_config.py | 164 +++ .../pulumiverse_scaleway/get_database.py | 4 +- .../pulumiverse_scaleway/get_database_acl.py | 4 +- .../get_database_backup.py | 16 +- .../get_database_instance.py | 24 +- .../get_database_privilege.py | 8 +- .../get_iam_application.py | 12 +- .../pulumiverse_scaleway/get_iam_group.py | 18 +- .../pulumiverse_scaleway/get_iam_ssh_key.py | 12 +- .../pulumiverse_scaleway/get_iam_user.py | 18 +- .../pulumiverse_scaleway/get_ipam_ip.py | 34 +- .../pulumiverse_scaleway/get_ipam_ips.py | 46 +- .../pulumiverse_scaleway/get_lb_acls.py | 22 +- .../pulumiverse_scaleway/get_lb_backend.py | 22 +- .../pulumiverse_scaleway/get_lb_backends.py | 14 +- .../pulumiverse_scaleway/get_lb_frontend.py | 18 +- .../pulumiverse_scaleway/get_lb_frontends.py | 22 +- sdk/python/pulumiverse_scaleway/get_lb_ips.py | 28 +- .../pulumiverse_scaleway/get_lb_route.py | 14 +- .../pulumiverse_scaleway/get_lb_routes.py | 18 +- sdk/python/pulumiverse_scaleway/get_lbs.py | 32 +- .../pulumiverse_scaleway/get_loadbalancer.py | 24 +- .../get_loadbalancer_certificate.py | 24 +- .../get_loadbalancer_ip.py | 16 +- .../pulumiverse_scaleway/get_mnq_sqs.py | 14 +- .../pulumiverse_scaleway/get_redis_cluster.py | 58 +- .../get_registry_image.py | 12 +- .../get_registry_namespace.py | 8 +- sdk/python/pulumiverse_scaleway/get_vpc.py | 20 +- .../get_vpc_gateway_network.py | 20 +- .../get_vpc_private_network.py | 24 +- .../get_vpc_public_gateway.py | 18 +- .../get_vpc_public_gateway_dhcp.py | 4 +- ...get_vpc_public_gateway_dhcp_reservation.py | 24 +- .../get_vpc_public_gateway_ip.py | 8 +- .../get_vpc_public_pat_rule.py | 22 +- sdk/python/pulumiverse_scaleway/get_vpcs.py | 22 +- .../pulumiverse_scaleway/iam_api_key.py | 165 ++- .../pulumiverse_scaleway/iam_application.py | 4 +- sdk/python/pulumiverse_scaleway/iam_group.py | 4 +- .../iam_group_membership.py | 18 +- sdk/python/pulumiverse_scaleway/iam_policy.py | 102 +- .../pulumiverse_scaleway/iam_ssh_key.py | 6 +- sdk/python/pulumiverse_scaleway/iam_user.py | 40 +- sdk/python/pulumiverse_scaleway/ipam_ip.py | 56 +- .../ipam_ip_reverse_dns.py | 12 +- .../kubernetes_cluster.py | 78 +- .../pulumiverse_scaleway/loadbalancer.py | 302 ++-- .../pulumiverse_scaleway/loadbalancer_acl.py | 40 +- .../loadbalancer_backend.py | 14 +- .../loadbalancer_frontend.py | 118 +- .../pulumiverse_scaleway/loadbalancer_ip.py | 58 +- .../loadbalancer_route.py | 58 +- .../pulumiverse_scaleway/mnq_nats_account.py | 48 +- .../mnq_nats_credentials.py | 44 +- sdk/python/pulumiverse_scaleway/mnq_sns.py | 64 +- .../mnq_sns_credentials.py | 72 +- .../pulumiverse_scaleway/mnq_sns_topic.py | 72 +- .../mnq_sns_topic_subscription.py | 72 +- sdk/python/pulumiverse_scaleway/mnq_sqs.py | 52 +- .../mnq_sqs_credentials.py | 72 +- .../pulumiverse_scaleway/mnq_sqs_queue.py | 54 +- sdk/python/pulumiverse_scaleway/outputs.py | 741 +++++----- .../pulumiverse_scaleway/redis_cluster.py | 312 ++--- .../registry_namespace.py | 12 +- sdk/python/pulumiverse_scaleway/tem_domain.py | 18 +- .../tem_domain_validation.py | 6 +- sdk/python/pulumiverse_scaleway/vpc.py | 58 +- .../vpc_gateway_network.py | 170 +-- .../vpc_private_network.py | 128 +- .../vpc_public_gateway.py | 120 +- .../vpc_public_gateway_dhcp.py | 116 +- .../vpc_public_gateway_dhcp_reservation.py | 80 +- .../vpc_public_gateway_ip.py | 78 +- .../vpc_public_gateway_ip_reverse_dns.py | 26 +- .../vpc_public_gateway_pat_rule.py | 120 +- 476 files changed, 11285 insertions(+), 8213 deletions(-) rename sdk/dotnet/{AppleSliconValleyServer.cs => AppleSiliconServer.cs} (81%) create mode 100644 sdk/dotnet/GetConfig.cs create mode 100644 sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkArgs.cs create mode 100644 sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs.cs create mode 100644 sdk/dotnet/Outputs/DocumentdbPrivateNetworkEndpointPrivateNetwork.cs create mode 100644 sdk/go/scaleway/appleSiliconServer.go delete mode 100644 sdk/go/scaleway/appleSliconValleyServer.go create mode 100644 sdk/go/scaleway/getConfig.go rename sdk/nodejs/{appleSliconValleyServer.ts => appleSiliconServer.ts} (81%) create mode 100644 sdk/nodejs/getConfig.ts create mode 100644 sdk/python/pulumiverse_scaleway/apple_silicon_server.py create mode 100644 sdk/python/pulumiverse_scaleway/get_config.py diff --git a/sdk/dotnet/AppleSliconValleyServer.cs b/sdk/dotnet/AppleSiliconServer.cs similarity index 81% rename from sdk/dotnet/AppleSliconValleyServer.cs rename to sdk/dotnet/AppleSiliconServer.cs index 0db57883..c6df7b31 100644 --- a/sdk/dotnet/AppleSliconValleyServer.cs +++ b/sdk/dotnet/AppleSiliconServer.cs @@ -26,7 +26,7 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var server = new Scaleway.AppleSliconValleyServer("server", new() + /// var server = new Scaleway.AppleSiliconServer("server", new() /// { /// Type = "M1-M", /// }); @@ -41,11 +41,11 @@ namespace Pulumiverse.Scaleway /// bash /// /// ```sh - /// $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111 + /// $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 /// ``` /// - [ScalewayResourceType("scaleway:index/appleSliconValleyServer:AppleSliconValleyServer")] - public partial class AppleSliconValleyServer : global::Pulumi.CustomResource + [ScalewayResourceType("scaleway:index/appleSiliconServer:AppleSiliconServer")] + public partial class AppleSiliconServer : global::Pulumi.CustomResource { /// /// The date and time of the creation of the Apple Silicon server. @@ -119,19 +119,19 @@ public partial class AppleSliconValleyServer : global::Pulumi.CustomResource /// - /// Create a AppleSliconValleyServer resource with the given unique name, arguments, and options. + /// Create a AppleSiliconServer 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 AppleSliconValleyServer(string name, AppleSliconValleyServerArgs args, CustomResourceOptions? options = null) - : base("scaleway:index/appleSliconValleyServer:AppleSliconValleyServer", name, args ?? new AppleSliconValleyServerArgs(), MakeResourceOptions(options, "")) + public AppleSiliconServer(string name, AppleSiliconServerArgs args, CustomResourceOptions? options = null) + : base("scaleway:index/appleSiliconServer:AppleSiliconServer", name, args ?? new AppleSiliconServerArgs(), MakeResourceOptions(options, "")) { } - private AppleSliconValleyServer(string name, Input id, AppleSliconValleyServerState? state = null, CustomResourceOptions? options = null) - : base("scaleway:index/appleSliconValleyServer:AppleSliconValleyServer", name, state, MakeResourceOptions(options, id)) + private AppleSiliconServer(string name, Input id, AppleSiliconServerState? state = null, CustomResourceOptions? options = null) + : base("scaleway:index/appleSiliconServer:AppleSiliconServer", name, state, MakeResourceOptions(options, id)) { } @@ -148,7 +148,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing AppleSliconValleyServer resource's state with the given name, ID, and optional extra + /// Get an existing AppleSiliconServer resource's state with the given name, ID, and optional extra /// properties used to qualify the lookup. /// /// @@ -156,13 +156,13 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? /// 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 AppleSliconValleyServer Get(string name, Input id, AppleSliconValleyServerState? state = null, CustomResourceOptions? options = null) + public static AppleSiliconServer Get(string name, Input id, AppleSiliconServerState? state = null, CustomResourceOptions? options = null) { - return new AppleSliconValleyServer(name, id, state, options); + return new AppleSiliconServer(name, id, state, options); } } - public sealed class AppleSliconValleyServerArgs : global::Pulumi.ResourceArgs + public sealed class AppleSiliconServerArgs : global::Pulumi.ResourceArgs { /// /// The name of the server. @@ -192,13 +192,13 @@ public sealed class AppleSliconValleyServerArgs : global::Pulumi.ResourceArgs [Input("zone")] public Input? Zone { get; set; } - public AppleSliconValleyServerArgs() + public AppleSiliconServerArgs() { } - public static new AppleSliconValleyServerArgs Empty => new AppleSliconValleyServerArgs(); + public static new AppleSiliconServerArgs Empty => new AppleSiliconServerArgs(); } - public sealed class AppleSliconValleyServerState : global::Pulumi.ResourceArgs + public sealed class AppleSiliconServerState : global::Pulumi.ResourceArgs { /// /// The date and time of the creation of the Apple Silicon server. @@ -270,9 +270,9 @@ public sealed class AppleSliconValleyServerState : global::Pulumi.ResourceArgs [Input("zone")] public Input? Zone { get; set; } - public AppleSliconValleyServerState() + public AppleSiliconServerState() { } - public static new AppleSliconValleyServerState Empty => new AppleSliconValleyServerState(); + public static new AppleSiliconServerState Empty => new AppleSiliconServerState(); } } diff --git a/sdk/dotnet/BlockSnapshot.cs b/sdk/dotnet/BlockSnapshot.cs index 403968a0..76af8403 100644 --- a/sdk/dotnet/BlockSnapshot.cs +++ b/sdk/dotnet/BlockSnapshot.cs @@ -24,9 +24,15 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var blockVolume = new Scaleway.BlockVolume("blockVolume", new() + /// { + /// Iops = 5000, + /// SizeInGb = 20, + /// }); + /// /// var blockSnapshot = new Scaleway.BlockSnapshot("blockSnapshot", new() /// { - /// VolumeId = "11111111-1111-1111-1111-111111111111", + /// VolumeId = blockVolume.Id, /// }); /// /// }); diff --git a/sdk/dotnet/BlockVolume.cs b/sdk/dotnet/BlockVolume.cs index 01a47e54..d5327d27 100644 --- a/sdk/dotnet/BlockVolume.cs +++ b/sdk/dotnet/BlockVolume.cs @@ -16,6 +16,8 @@ namespace Pulumiverse.Scaleway /// /// ## Example Usage /// + /// ### Basic + /// /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -33,6 +35,36 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// + /// ### With snapshot + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumiverse.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @base = new Scaleway.BlockVolume("base", new() + /// { + /// Iops = 5000, + /// SizeInGb = 20, + /// }); + /// + /// var mainBlockSnapshot = new Scaleway.BlockSnapshot("mainBlockSnapshot", new() + /// { + /// VolumeId = @base.Id, + /// }); + /// + /// var mainBlockVolume = new Scaleway.BlockVolume("mainBlockVolume", new() + /// { + /// Iops = 5000, + /// SnapshotId = mainBlockSnapshot.Id, + /// }); + /// + /// }); + /// ``` + /// /// ## Import /// /// Block Volumes can be imported using the `{zone}/{id}`, e.g. diff --git a/sdk/dotnet/Database.cs b/sdk/dotnet/Database.cs index e4ba81ba..e93e5800 100644 --- a/sdk/dotnet/Database.cs +++ b/sdk/dotnet/Database.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway RDB database. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + /// Creates and manages databases. + /// For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). /// /// ## Example Usage /// @@ -26,9 +26,19 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var main = new Scaleway.Database("main", new() + /// var mainDatabaseInstance = new Scaleway.DatabaseInstance("mainDatabaseInstance", new() /// { - /// InstanceId = scaleway_rdb_instance.Main.Id, + /// NodeType = "DB-DEV-S", + /// Engine = "PostgreSQL-15", + /// IsHaCluster = true, + /// DisableBackup = true, + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// }); + /// + /// var mainDatabase = new Scaleway.Database("mainDatabase", new() + /// { + /// InstanceId = mainDatabaseInstance.Id, /// }); /// /// }); @@ -48,9 +58,9 @@ namespace Pulumiverse.Scaleway public partial class Database : global::Pulumi.CustomResource { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database. + /// > **Important:** Updates to `instance_id` will recreate the database. /// [Output("instanceId")] public Output InstanceId { get; private set; } = null!; @@ -133,9 +143,9 @@ public static Database Get(string name, Input id, DatabaseState? state = public sealed class DatabaseArgs : global::Pulumi.ResourceArgs { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database. + /// > **Important:** Updates to `instance_id` will recreate the database. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; @@ -161,9 +171,9 @@ public DatabaseArgs() public sealed class DatabaseState : global::Pulumi.ResourceArgs { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database. + /// > **Important:** Updates to `instance_id` will recreate the database. /// [Input("instanceId")] public Input? InstanceId { get; set; } diff --git a/sdk/dotnet/DatabaseAcl.cs b/sdk/dotnet/DatabaseAcl.cs index b3846f9e..5885691f 100644 --- a/sdk/dotnet/DatabaseAcl.cs +++ b/sdk/dotnet/DatabaseAcl.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway Database instance authorized IPs. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). + /// For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). /// /// ## Example Usage /// @@ -26,9 +26,19 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var main = new Scaleway.DatabaseAcl("main", new() + /// var mainDatabaseInstance = new Scaleway.DatabaseInstance("mainDatabaseInstance", new() /// { - /// InstanceId = scaleway_rdb_instance.Main.Id, + /// NodeType = "DB-DEV-S", + /// Engine = "PostgreSQL-15", + /// IsHaCluster = true, + /// DisableBackup = true, + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// }); + /// + /// var mainDatabaseAcl = new Scaleway.DatabaseAcl("mainDatabaseAcl", new() + /// { + /// InstanceId = mainDatabaseInstance.Id, /// AclRules = new[] /// { /// new Scaleway.Inputs.DatabaseAclAclRuleArgs @@ -62,7 +72,7 @@ public partial class DatabaseAcl : global::Pulumi.CustomResource public Output> AclRules { get; private set; } = null!; /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// /// > **Important:** Updates to `instance_id` will recreate the Database ACL. /// @@ -135,7 +145,7 @@ public InputList AclRules } /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// /// > **Important:** Updates to `instance_id` will recreate the Database ACL. /// @@ -169,7 +179,7 @@ public InputList AclRules } /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// /// > **Important:** Updates to `instance_id` will recreate the Database ACL. /// diff --git a/sdk/dotnet/DatabaseBackup.cs b/sdk/dotnet/DatabaseBackup.cs index 23e1bec6..e9bd423d 100644 --- a/sdk/dotnet/DatabaseBackup.cs +++ b/sdk/dotnet/DatabaseBackup.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway RDB database backup. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + /// Creates and manages database backups. + /// For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). /// /// ## Example Usage /// @@ -26,10 +26,25 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var main = new Scaleway.DatabaseBackup("main", new() + /// var mainDatabaseInstance = new Scaleway.DatabaseInstance("mainDatabaseInstance", new() /// { - /// InstanceId = data.Scaleway_rdb_instance.Main.Id, - /// DatabaseName = data.Scaleway_rdb_database.Main.Name, + /// NodeType = "DB-DEV-S", + /// Engine = "PostgreSQL-15", + /// IsHaCluster = true, + /// DisableBackup = true, + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// }); + /// + /// var mainDatabase = new Scaleway.Database("mainDatabase", new() + /// { + /// InstanceId = mainDatabaseInstance.Id, + /// }); + /// + /// var mainDatabaseBackup = new Scaleway.DatabaseBackup("mainDatabaseBackup", new() + /// { + /// InstanceId = mainDatabaseInstance.Id, + /// DatabaseName = mainDatabase.Name, /// }); /// /// }); @@ -57,7 +72,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// RDB Database can be imported using the `{region}/{id}`, e.g. + /// Databases can be imported using the `{region}/{id}`, e.g. /// /// bash /// @@ -89,9 +104,9 @@ public partial class DatabaseBackup : global::Pulumi.CustomResource public Output ExpiresAt { get; private set; } = null!; /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Backup. + /// > **Important:** Updates to `instance_id` will recreate the backup. /// [Output("instanceId")] public Output InstanceId { get; private set; } = null!; @@ -188,9 +203,9 @@ public sealed class DatabaseBackupArgs : global::Pulumi.ResourceArgs public Input? ExpiresAt { get; set; } /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Backup. + /// > **Important:** Updates to `instance_id` will recreate the backup. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; @@ -236,9 +251,9 @@ public sealed class DatabaseBackupState : global::Pulumi.ResourceArgs public Input? ExpiresAt { get; set; } /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Backup. + /// > **Important:** Updates to `instance_id` will recreate the backup. /// [Input("instanceId")] public Input? InstanceId { get; set; } diff --git a/sdk/dotnet/DatabaseInstance.cs b/sdk/dotnet/DatabaseInstance.cs index ed5dd3db..aa19ad6d 100644 --- a/sdk/dotnet/DatabaseInstance.cs +++ b/sdk/dotnet/DatabaseInstance.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway Database Instances. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + /// For more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). /// /// ## Example Usage /// @@ -119,11 +119,11 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Examples of endpoints configuration + /// ### Examples of endpoint configuration /// - /// RDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none. + /// Database Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none. /// - /// ### 1 static private network endpoint + /// ### 1 static Private Network endpoint /// /// ```csharp /// using System.Collections.Generic; @@ -155,7 +155,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### 1 IPAM private network endpoint + 1 public endpoint + /// ### 1 IPAM Private Network endpoint + 1 public endpoint /// /// ```csharp /// using System.Collections.Generic; @@ -204,11 +204,11 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// > If nothing is defined, your instance will have a default public load-balancer endpoint + /// > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint. /// /// ## Limitations /// - /// The Managed Database product is only compliant with the private network in the default availability zone (AZ). + /// The Managed Database product is only compliant with the Private Network in the default availability zone (AZ). /// i.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our /// section [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/) /// @@ -244,7 +244,7 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output BackupScheduleRetention { get; private set; } = null!; /// - /// Certificate of the database instance. + /// Certificate of the Database Instance. /// [Output("certificate")] public Output Certificate { get; private set; } = null!; @@ -270,7 +270,7 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource /// /// Database Instance's engine version (e.g. `PostgreSQL-11`). /// - /// > **Important:** Updates to `engine` will recreate the Database Instance. + /// > **Important** Updates to `engine` will recreate the Database Instance. /// [Output("engine")] public Output Engine { get; private set; } = null!; @@ -282,15 +282,15 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output?> InitSettings { get; private set; } = null!; /// - /// Enable or disable high availability for the database instance. + /// Enable or disable high availability for the Database Instance. /// - /// > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + /// > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. /// [Output("isHaCluster")] public Output IsHaCluster { get; private set; } = null!; /// - /// List of load balancer endpoints of the database instance. + /// List of Load Balancer endpoints of the Database Instance. /// [Output("loadBalancers")] public Output> LoadBalancers { get; private set; } = null!; @@ -308,13 +308,12 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// The type of database instance you want to create (e.g. `db-dev-s`). + /// The type of Database Instance you want to create (e.g. `db-dev-s`). /// - /// > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + /// > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any /// interruption. /// - /// > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - /// and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. /// [Output("nodeType")] public Output NodeType { get; private set; } = null!; @@ -326,13 +325,13 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output OrganizationId { get; private set; } = null!; /// - /// Password for the first user of the database instance. + /// Password for the first user of the Database Instance. /// [Output("password")] public Output Password { get; private set; } = null!; /// - /// List of private networks endpoints of the database instance. + /// List of Private Networks endpoints of the Database Instance. /// [Output("privateNetwork")] public Output PrivateNetwork { get; private set; } = null!; @@ -345,7 +344,7 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output ProjectId { get; private set; } = null!; /// - /// List of read replicas of the database instance. + /// List of read replicas of the Database Instance. /// [Output("readReplicas")] public Output> ReadReplicas { get; private set; } = null!; @@ -370,9 +369,9 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource public Output> Tags { get; private set; } = null!; /// - /// Identifier for the first user of the database instance. + /// Identifier for the first user of the Database Instance. /// - /// > **Important:** Updates to `user_name` will recreate the Database Instance. + /// > **Important** Updates to `user_name` will recreate the Database Instance. /// [Output("userName")] public Output UserName { get; private set; } = null!; @@ -380,7 +379,7 @@ public partial class DatabaseInstance : global::Pulumi.CustomResource /// /// Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. /// - /// > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. /// [Output("volumeSizeInGb")] public Output VolumeSizeInGb { get; private set; } = null!; @@ -469,7 +468,7 @@ public sealed class DatabaseInstanceArgs : global::Pulumi.ResourceArgs /// /// Database Instance's engine version (e.g. `PostgreSQL-11`). /// - /// > **Important:** Updates to `engine` will recreate the Database Instance. + /// > **Important** Updates to `engine` will recreate the Database Instance. /// [Input("engine", required: true)] public Input Engine { get; set; } = null!; @@ -487,9 +486,9 @@ public InputMap InitSettings } /// - /// Enable or disable high availability for the database instance. + /// Enable or disable high availability for the Database Instance. /// - /// > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + /// > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. /// [Input("isHaCluster")] public Input? IsHaCluster { get; set; } @@ -498,7 +497,7 @@ public InputMap InitSettings private InputList? _loadBalancers; /// - /// List of load balancer endpoints of the database instance. + /// List of Load Balancer endpoints of the Database Instance. /// public InputList LoadBalancers { @@ -519,13 +518,12 @@ public InputList LoadBalancers public Input? Name { get; set; } /// - /// The type of database instance you want to create (e.g. `db-dev-s`). + /// The type of Database Instance you want to create (e.g. `db-dev-s`). /// - /// > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + /// > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any /// interruption. /// - /// > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - /// and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. /// [Input("nodeType", required: true)] public Input NodeType { get; set; } = null!; @@ -534,7 +532,7 @@ public InputList LoadBalancers private Input? _password; /// - /// Password for the first user of the database instance. + /// Password for the first user of the Database Instance. /// public Input? Password { @@ -547,7 +545,7 @@ public Input? Password } /// - /// List of private networks endpoints of the database instance. + /// List of Private Networks endpoints of the Database Instance. /// [Input("privateNetwork")] public Input? PrivateNetwork { get; set; } @@ -591,9 +589,9 @@ public InputList Tags } /// - /// Identifier for the first user of the database instance. + /// Identifier for the first user of the Database Instance. /// - /// > **Important:** Updates to `user_name` will recreate the Database Instance. + /// > **Important** Updates to `user_name` will recreate the Database Instance. /// [Input("userName")] public Input? UserName { get; set; } @@ -601,7 +599,7 @@ public InputList Tags /// /// Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. /// - /// > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. /// [Input("volumeSizeInGb")] public Input? VolumeSizeInGb { get; set; } @@ -639,7 +637,7 @@ public sealed class DatabaseInstanceState : global::Pulumi.ResourceArgs public Input? BackupScheduleRetention { get; set; } /// - /// Certificate of the database instance. + /// Certificate of the Database Instance. /// [Input("certificate")] public Input? Certificate { get; set; } @@ -665,7 +663,7 @@ public sealed class DatabaseInstanceState : global::Pulumi.ResourceArgs /// /// Database Instance's engine version (e.g. `PostgreSQL-11`). /// - /// > **Important:** Updates to `engine` will recreate the Database Instance. + /// > **Important** Updates to `engine` will recreate the Database Instance. /// [Input("engine")] public Input? Engine { get; set; } @@ -683,9 +681,9 @@ public InputMap InitSettings } /// - /// Enable or disable high availability for the database instance. + /// Enable or disable high availability for the Database Instance. /// - /// > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + /// > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. /// [Input("isHaCluster")] public Input? IsHaCluster { get; set; } @@ -694,7 +692,7 @@ public InputMap InitSettings private InputList? _loadBalancers; /// - /// List of load balancer endpoints of the database instance. + /// List of Load Balancer endpoints of the Database Instance. /// public InputList LoadBalancers { @@ -715,13 +713,12 @@ public InputList LoadBalancers public Input? Name { get; set; } /// - /// The type of database instance you want to create (e.g. `db-dev-s`). + /// The type of Database Instance you want to create (e.g. `db-dev-s`). /// - /// > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + /// > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any /// interruption. /// - /// > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - /// and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. /// [Input("nodeType")] public Input? NodeType { get; set; } @@ -736,7 +733,7 @@ public InputList LoadBalancers private Input? _password; /// - /// Password for the first user of the database instance. + /// Password for the first user of the Database Instance. /// public Input? Password { @@ -749,7 +746,7 @@ public Input? Password } /// - /// List of private networks endpoints of the database instance. + /// List of Private Networks endpoints of the Database Instance. /// [Input("privateNetwork")] public Input? PrivateNetwork { get; set; } @@ -765,7 +762,7 @@ public Input? Password private InputList? _readReplicas; /// - /// List of read replicas of the database instance. + /// List of read replicas of the Database Instance. /// public InputList ReadReplicas { @@ -805,9 +802,9 @@ public InputList Tags } /// - /// Identifier for the first user of the database instance. + /// Identifier for the first user of the Database Instance. /// - /// > **Important:** Updates to `user_name` will recreate the Database Instance. + /// > **Important** Updates to `user_name` will recreate the Database Instance. /// [Input("userName")] public Input? UserName { get; set; } @@ -815,7 +812,7 @@ public InputList Tags /// /// Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. /// - /// > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + /// > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. /// [Input("volumeSizeInGb")] public Input? VolumeSizeInGb { get; set; } diff --git a/sdk/dotnet/DatabasePrivilege.cs b/sdk/dotnet/DatabasePrivilege.cs index f7ef7c53..dc15d484 100644 --- a/sdk/dotnet/DatabasePrivilege.cs +++ b/sdk/dotnet/DatabasePrivilege.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Create and manage Scaleway RDB database privilege. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). + /// Create and manage Scaleway database privileges. + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). /// /// ## Example Usage /// @@ -77,7 +77,7 @@ public partial class DatabasePrivilege : global::Pulumi.CustomResource public Output DatabaseName { get; private set; } = null!; /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// [Output("instanceId")] public Output InstanceId { get; private set; } = null!; @@ -154,7 +154,7 @@ public sealed class DatabasePrivilegeArgs : global::Pulumi.ResourceArgs public Input DatabaseName { get; set; } = null!; /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; @@ -192,7 +192,7 @@ public sealed class DatabasePrivilegeState : global::Pulumi.ResourceArgs public Input? DatabaseName { get; set; } /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// [Input("instanceId")] public Input? InstanceId { get; set; } diff --git a/sdk/dotnet/DatabaseReadReplica.cs b/sdk/dotnet/DatabaseReadReplica.cs index 86b008e6..995f13c4 100644 --- a/sdk/dotnet/DatabaseReadReplica.cs +++ b/sdk/dotnet/DatabaseReadReplica.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Database read replicas. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + /// Creates and manages Read Replicas. + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). /// /// ## Example Usage /// @@ -123,7 +123,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Database Read replica can be imported using the `{region}/{id}`, e.g. + /// Read Replicas can be imported using the `{region}/{id}`, e.g. /// /// bash /// @@ -143,20 +143,20 @@ public partial class DatabaseReadReplica : global::Pulumi.CustomResource /// /// UUID of the rdb instance. /// - /// > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + /// > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. /// [Output("instanceId")] public Output InstanceId { get; private set; } = null!; /// - /// Create an endpoint in a private network. + /// Create an endpoint in a Private Netork. /// [Output("privateNetwork")] public Output PrivateNetwork { get; private set; } = null!; /// /// `region`) The region - /// in which the Database read replica should be created. + /// in which the Read Replica should be created. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -223,20 +223,20 @@ public sealed class DatabaseReadReplicaArgs : global::Pulumi.ResourceArgs /// /// UUID of the rdb instance. /// - /// > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + /// > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; /// - /// Create an endpoint in a private network. + /// Create an endpoint in a Private Netork. /// [Input("privateNetwork")] public Input? PrivateNetwork { get; set; } /// /// `region`) The region - /// in which the Database read replica should be created. + /// in which the Read Replica should be created. /// [Input("region")] public Input? Region { get; set; } @@ -264,20 +264,20 @@ public sealed class DatabaseReadReplicaState : global::Pulumi.ResourceArgs /// /// UUID of the rdb instance. /// - /// > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + /// > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. /// [Input("instanceId")] public Input? InstanceId { get; set; } /// - /// Create an endpoint in a private network. + /// Create an endpoint in a Private Netork. /// [Input("privateNetwork")] public Input? PrivateNetwork { get; set; } /// /// `region`) The region - /// in which the Database read replica should be created. + /// in which the Read Replica should be created. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/DatabaseUser.cs b/sdk/dotnet/DatabaseUser.cs index d826097a..2070b744 100644 --- a/sdk/dotnet/DatabaseUser.cs +++ b/sdk/dotnet/DatabaseUser.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Database Users. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + /// Creates and manages database users. + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). /// /// ## Example Usage /// @@ -27,6 +27,16 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var main = new Scaleway.DatabaseInstance("main", new() + /// { + /// NodeType = "DB-DEV-S", + /// Engine = "PostgreSQL-15", + /// IsHaCluster = true, + /// DisableBackup = true, + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// }); + /// /// var dbPassword = new Random.RandomPassword("dbPassword", new() /// { /// Length = 16, @@ -35,7 +45,7 @@ namespace Pulumiverse.Scaleway /// /// var dbAdmin = new Scaleway.DatabaseUser("dbAdmin", new() /// { - /// InstanceId = scaleway_rdb_instance.Main.Id, + /// InstanceId = main.Id, /// Password = dbPassword.Result, /// IsAdmin = true, /// }); @@ -45,7 +55,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g. + /// Database users can be imported using `{region}/{instance_id}/{user_name}`, e.g. /// /// bash /// @@ -57,29 +67,29 @@ namespace Pulumiverse.Scaleway public partial class DatabaseUser : global::Pulumi.CustomResource { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database User. + /// > **Important:** Updates to `instance_id` will recreate the database user. /// [Output("instanceId")] public Output InstanceId { get; private set; } = null!; /// - /// Grant admin permissions to the Database User. + /// Grant admin permissions to the database user. /// [Output("isAdmin")] public Output IsAdmin { get; private set; } = null!; /// - /// Database User name. + /// database user name. /// - /// > **Important:** Updates to `name` will recreate the Database User. + /// > **Important:** Updates to `name` will recreate the database user. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// Database User password. + /// database user password. /// [Output("password")] public Output Password { get; private set; } = null!; @@ -142,23 +152,23 @@ public static DatabaseUser Get(string name, Input id, DatabaseUserState? public sealed class DatabaseUserArgs : global::Pulumi.ResourceArgs { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database User. + /// > **Important:** Updates to `instance_id` will recreate the database user. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; /// - /// Grant admin permissions to the Database User. + /// Grant admin permissions to the database user. /// [Input("isAdmin")] public Input? IsAdmin { get; set; } /// - /// Database User name. + /// database user name. /// - /// > **Important:** Updates to `name` will recreate the Database User. + /// > **Important:** Updates to `name` will recreate the database user. /// [Input("name")] public Input? Name { get; set; } @@ -167,7 +177,7 @@ public sealed class DatabaseUserArgs : global::Pulumi.ResourceArgs private Input? _password; /// - /// Database User password. + /// database user password. /// public Input? Password { @@ -194,23 +204,23 @@ public DatabaseUserArgs() public sealed class DatabaseUserState : global::Pulumi.ResourceArgs { /// - /// UUID of the rdb instance. + /// UUID of the Database Instance. /// - /// > **Important:** Updates to `instance_id` will recreate the Database User. + /// > **Important:** Updates to `instance_id` will recreate the database user. /// [Input("instanceId")] public Input? InstanceId { get; set; } /// - /// Grant admin permissions to the Database User. + /// Grant admin permissions to the database user. /// [Input("isAdmin")] public Input? IsAdmin { get; set; } /// - /// Database User name. + /// database user name. /// - /// > **Important:** Updates to `name` will recreate the Database User. + /// > **Important:** Updates to `name` will recreate the database user. /// [Input("name")] public Input? Name { get; set; } @@ -219,7 +229,7 @@ public sealed class DatabaseUserState : global::Pulumi.ResourceArgs private Input? _password; /// - /// Database User password. + /// database user password. /// public Input? Password { diff --git a/sdk/dotnet/DocumentdbDatabase.cs b/sdk/dotnet/DocumentdbDatabase.cs index 0feadc1c..7242aa13 100644 --- a/sdk/dotnet/DocumentdbDatabase.cs +++ b/sdk/dotnet/DocumentdbDatabase.cs @@ -25,9 +25,18 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var instance = new Scaleway.DocumentdbInstance("instance", new() + /// { + /// NodeType = "docdb-play2-pico", + /// Engine = "FerretDB-1", + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// VolumeSizeInGb = 20, + /// }); + /// /// var main = new Scaleway.DocumentdbDatabase("main", new() /// { - /// InstanceId = "11111111-1111-1111-1111-111111111111", + /// InstanceId = instance.Id, /// }); /// /// }); diff --git a/sdk/dotnet/DocumentdbPrivateNetworkEndpoint.cs b/sdk/dotnet/DocumentdbPrivateNetworkEndpoint.cs index 3982f3d6..2ae71c75 100644 --- a/sdk/dotnet/DocumentdbPrivateNetworkEndpoint.cs +++ b/sdk/dotnet/DocumentdbPrivateNetworkEndpoint.cs @@ -15,6 +15,46 @@ namespace Pulumiverse.Scaleway /// /// ## Example Usage /// + /// ### Example Basic + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumiverse.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var pn = new Scaleway.VpcPrivateNetwork("pn"); + /// + /// var instance = new Scaleway.DocumentdbInstance("instance", new() + /// { + /// NodeType = "docdb-play2-pico", + /// Engine = "FerretDB-1", + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// VolumeSizeInGb = 20, + /// }); + /// + /// var main = new Scaleway.DocumentdbPrivateNetworkEndpoint("main", new() + /// { + /// InstanceId = instance.Id, + /// PrivateNetwork = new Scaleway.Inputs.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs + /// { + /// IpNet = "172.16.32.3/22", + /// Id = pn.Id, + /// }, + /// }, new CustomResourceOptions + /// { + /// DependsOn = + /// { + /// pn, + /// }, + /// }); + /// + /// }); + /// ``` + /// /// ## Import /// /// Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g. @@ -28,12 +68,6 @@ namespace Pulumiverse.Scaleway [ScalewayResourceType("scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint")] public partial class DocumentdbPrivateNetworkEndpoint : global::Pulumi.CustomResource { - /// - /// Hostname of the endpoint. - /// - [Output("hostname")] - public Output Hostname { get; private set; } = null!; - /// /// UUID of the documentdb instance. /// @@ -41,49 +75,22 @@ public partial class DocumentdbPrivateNetworkEndpoint : global::Pulumi.CustomRes public Output InstanceId { get; private set; } = null!; /// - /// IPv4 address on the network. - /// - [Output("ip")] - public Output Ip { get; private set; } = null!; - - /// - /// The IP network address within the private subnet. This must be an IPv4 address with a - /// CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - /// service if not set. + /// The private network specs details. This is a list with maximum one element and supports the following attributes: /// - [Output("ipNet")] - public Output IpNet { get; private set; } = null!; + [Output("privateNetwork")] + public Output PrivateNetwork { get; private set; } = null!; /// - /// Name of the endpoint. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Port in the Private Network. - /// - [Output("port")] - public Output Port { get; private set; } = null!; - - /// - /// The ID of the private network. - /// - [Output("privateNetworkId")] - public Output PrivateNetworkId { get; private set; } = null!; - - /// - /// The region you want to attach the resource to + /// The region of the endpoint. + /// + /// + /// > **NOTE:** Please calculate your host IP. + /// using cirhost. Otherwise, lets IPAM service + /// handle the host IP on the network. /// [Output("region")] public Output Region { get; private set; } = null!; - /// - /// The zone you want to attach the resource to - /// - [Output("zone")] - public Output Zone { get; private set; } = null!; - /// /// Create a DocumentdbPrivateNetworkEndpoint resource with the given unique name, arguments, and options. @@ -138,37 +145,22 @@ public sealed class DocumentdbPrivateNetworkEndpointArgs : global::Pulumi.Resour public Input InstanceId { get; set; } = null!; /// - /// The IP network address within the private subnet. This must be an IPv4 address with a - /// CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - /// service if not set. - /// - [Input("ipNet")] - public Input? IpNet { get; set; } - - /// - /// Port in the Private Network. + /// The private network specs details. This is a list with maximum one element and supports the following attributes: /// - [Input("port")] - public Input? Port { get; set; } + [Input("privateNetwork")] + public Input? PrivateNetwork { get; set; } /// - /// The ID of the private network. - /// - [Input("privateNetworkId", required: true)] - public Input PrivateNetworkId { get; set; } = null!; - - /// - /// The region you want to attach the resource to + /// The region of the endpoint. + /// + /// + /// > **NOTE:** Please calculate your host IP. + /// using cirhost. Otherwise, lets IPAM service + /// handle the host IP on the network. /// [Input("region")] public Input? Region { get; set; } - /// - /// The zone you want to attach the resource to - /// - [Input("zone")] - public Input? Zone { get; set; } - public DocumentdbPrivateNetworkEndpointArgs() { } @@ -177,12 +169,6 @@ public DocumentdbPrivateNetworkEndpointArgs() public sealed class DocumentdbPrivateNetworkEndpointState : global::Pulumi.ResourceArgs { - /// - /// Hostname of the endpoint. - /// - [Input("hostname")] - public Input? Hostname { get; set; } - /// /// UUID of the documentdb instance. /// @@ -190,49 +176,22 @@ public sealed class DocumentdbPrivateNetworkEndpointState : global::Pulumi.Resou public Input? InstanceId { get; set; } /// - /// IPv4 address on the network. - /// - [Input("ip")] - public Input? Ip { get; set; } - - /// - /// The IP network address within the private subnet. This must be an IPv4 address with a - /// CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - /// service if not set. - /// - [Input("ipNet")] - public Input? IpNet { get; set; } - - /// - /// Name of the endpoint. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Port in the Private Network. + /// The private network specs details. This is a list with maximum one element and supports the following attributes: /// - [Input("port")] - public Input? Port { get; set; } + [Input("privateNetwork")] + public Input? PrivateNetwork { get; set; } /// - /// The ID of the private network. - /// - [Input("privateNetworkId")] - public Input? PrivateNetworkId { get; set; } - - /// - /// The region you want to attach the resource to + /// The region of the endpoint. + /// + /// + /// > **NOTE:** Please calculate your host IP. + /// using cirhost. Otherwise, lets IPAM service + /// handle the host IP on the network. /// [Input("region")] public Input? Region { get; set; } - /// - /// The zone you want to attach the resource to - /// - [Input("zone")] - public Input? Zone { get; set; } - public DocumentdbPrivateNetworkEndpointState() { } diff --git a/sdk/dotnet/DocumentdbPrivilege.cs b/sdk/dotnet/DocumentdbPrivilege.cs index b5e6ec66..8ae5a558 100644 --- a/sdk/dotnet/DocumentdbPrivilege.cs +++ b/sdk/dotnet/DocumentdbPrivilege.cs @@ -23,12 +23,21 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var instance = new Scaleway.DocumentdbInstance("instance", new() + /// { + /// NodeType = "docdb-play2-pico", + /// Engine = "FerretDB-1", + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// VolumeSizeInGb = 20, + /// }); + /// /// var main = new Scaleway.DocumentdbPrivilege("main", new() /// { + /// InstanceId = instance.Id, + /// UserName = "my-db-user", /// DatabaseName = "my-db-name", - /// InstanceId = "11111111-1111-1111-1111-111111111111", /// Permission = "all", - /// UserName = "my-db-user", /// }); /// /// }); diff --git a/sdk/dotnet/DocumentdbReadReplica.cs b/sdk/dotnet/DocumentdbReadReplica.cs index aa00c5b8..fb4e2f7d 100644 --- a/sdk/dotnet/DocumentdbReadReplica.cs +++ b/sdk/dotnet/DocumentdbReadReplica.cs @@ -46,9 +46,18 @@ namespace Pulumiverse.Scaleway /// { /// var pn = new Scaleway.VpcPrivateNetwork("pn"); /// + /// var instance = new Scaleway.DocumentdbInstance("instance", new() + /// { + /// NodeType = "docdb-play2-pico", + /// Engine = "FerretDB-1", + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// VolumeSizeInGb = 20, + /// }); + /// /// var replica = new Scaleway.DocumentdbReadReplica("replica", new() /// { - /// InstanceId = scaleway_rdb_instance.Instance.Id, + /// InstanceId = instance.Id, /// PrivateNetwork = new Scaleway.Inputs.DocumentdbReadReplicaPrivateNetworkArgs /// { /// PrivateNetworkId = pn.Id, diff --git a/sdk/dotnet/DocumentdbUser.cs b/sdk/dotnet/DocumentdbUser.cs index 906cfc53..462c357b 100644 --- a/sdk/dotnet/DocumentdbUser.cs +++ b/sdk/dotnet/DocumentdbUser.cs @@ -26,6 +26,15 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var instance = new Scaleway.DocumentdbInstance("instance", new() + /// { + /// NodeType = "docdb-play2-pico", + /// Engine = "FerretDB-1", + /// UserName = "my_initial_user", + /// Password = "thiZ_is_v&ry_s3cret", + /// VolumeSizeInGb = 20, + /// }); + /// /// var dbPassword = new Random.RandomPassword("dbPassword", new() /// { /// Length = 16, @@ -34,7 +43,7 @@ namespace Pulumiverse.Scaleway /// /// var dbAdmin = new Scaleway.DocumentdbUser("dbAdmin", new() /// { - /// InstanceId = "11111111-1111-1111-1111-111111111111", + /// InstanceId = instance.Id, /// Password = dbPassword.Result, /// IsAdmin = true, /// }); diff --git a/sdk/dotnet/Function.cs b/sdk/dotnet/Function.cs index 243671c7..e0e77605 100644 --- a/sdk/dotnet/Function.cs +++ b/sdk/dotnet/Function.cs @@ -121,7 +121,7 @@ public partial class Function : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// The namespace ID the function is associated with. + /// The function namespace ID of the function. /// [Output("namespaceId")] public Output NamespaceId { get; private set; } = null!; @@ -291,7 +291,7 @@ public InputMap EnvironmentVariables public Input? Name { get; set; } /// - /// The namespace ID the function is associated with. + /// The function namespace ID of the function. /// [Input("namespaceId", required: true)] public Input NamespaceId { get; set; } = null!; @@ -434,7 +434,7 @@ public InputMap EnvironmentVariables public Input? Name { get; set; } /// - /// The namespace ID the function is associated with. + /// The function namespace ID of the function. /// [Input("namespaceId")] public Input? NamespaceId { get; set; } diff --git a/sdk/dotnet/FunctionTrigger.cs b/sdk/dotnet/FunctionTrigger.cs index b6d5160d..4066cfc9 100644 --- a/sdk/dotnet/FunctionTrigger.cs +++ b/sdk/dotnet/FunctionTrigger.cs @@ -40,6 +40,30 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// + /// ### Nats + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumiverse.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var main = new Scaleway.FunctionTrigger("main", new() + /// { + /// FunctionId = scaleway_function.Main.Id, + /// Nats = new Scaleway.Inputs.FunctionTriggerNatsArgs + /// { + /// AccountId = scaleway_mnq_nats_account.Main.Id, + /// Subject = "MySubject", + /// Region = scaleway_mnq_nats_account.Main.Region, + /// }, + /// }); + /// + /// }); + /// ``` + /// /// ## Import /// /// Function Triggers can be imported using the `{region}/{id}`, e.g. diff --git a/sdk/dotnet/GetAccountSshKey.cs b/sdk/dotnet/GetAccountSshKey.cs index 951ce4b9..ddaeab31 100644 --- a/sdk/dotnet/GetAccountSshKey.cs +++ b/sdk/dotnet/GetAccountSshKey.cs @@ -65,7 +65,7 @@ public static Output Invoke(GetAccountSshKeyInvokeArgs? public sealed class GetAccountSshKeyArgs : global::Pulumi.InvokeArgs { /// - /// The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key name. /// [Input("name")] public string? Name { get; set; } @@ -77,7 +77,9 @@ public sealed class GetAccountSshKeyArgs : global::Pulumi.InvokeArgs public string? ProjectId { get; set; } /// - /// The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key id. + /// + /// > **Note** You must specify at least one: `name` and/or `ssh_key_id`. /// [Input("sshKeyId")] public string? SshKeyId { get; set; } @@ -91,7 +93,7 @@ public GetAccountSshKeyArgs() public sealed class GetAccountSshKeyInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key name. /// [Input("name")] public Input? Name { get; set; } @@ -103,7 +105,9 @@ public sealed class GetAccountSshKeyInvokeArgs : global::Pulumi.InvokeArgs public Input? ProjectId { get; set; } /// - /// The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key id. + /// + /// > **Note** You must specify at least one: `name` and/or `ssh_key_id`. /// [Input("sshKeyId")] public Input? SshKeyId { get; set; } diff --git a/sdk/dotnet/GetBillingConsumptions.cs b/sdk/dotnet/GetBillingConsumptions.cs index e6bcc1fb..6f835eb8 100644 --- a/sdk/dotnet/GetBillingConsumptions.cs +++ b/sdk/dotnet/GetBillingConsumptions.cs @@ -12,9 +12,15 @@ namespace Pulumiverse.Scaleway { public static class GetBillingConsumptions { + /// + /// Gets information about your Consumptions. + /// public static Task InvokeAsync(GetBillingConsumptionsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getBillingConsumptions:getBillingConsumptions", args ?? new GetBillingConsumptionsArgs(), options.WithDefaults()); + /// + /// Gets information about your Consumptions. + /// public static Output Invoke(GetBillingConsumptionsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("scaleway:index/getBillingConsumptions:getBillingConsumptions", args ?? new GetBillingConsumptionsInvokeArgs(), options.WithDefaults()); } @@ -22,6 +28,9 @@ public static Output Invoke(GetBillingConsumptions public sealed class GetBillingConsumptionsArgs : global::Pulumi.InvokeArgs { + /// + /// `project_id`) The ID of the project the consumption list is associated with. + /// [Input("projectId")] public string? ProjectId { get; set; } @@ -33,6 +42,9 @@ public GetBillingConsumptionsArgs() public sealed class GetBillingConsumptionsInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// `project_id`) The ID of the project the consumption list is associated with. + /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -46,13 +58,22 @@ public GetBillingConsumptionsInvokeArgs() [OutputType] public sealed class GetBillingConsumptionsResult { + /// + /// List of found consumptions + /// public readonly ImmutableArray Consumptions; /// /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; public readonly string OrganizationId; + /// + /// The project ID of the consumption. + /// public readonly string ProjectId; + /// + /// The last consumption update date. + /// public readonly string UpdatedAt; [OutputConstructor] diff --git a/sdk/dotnet/GetBillingInvoices.cs b/sdk/dotnet/GetBillingInvoices.cs index 5fb52aee..5e0646b6 100644 --- a/sdk/dotnet/GetBillingInvoices.cs +++ b/sdk/dotnet/GetBillingInvoices.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetBillingInvoices { /// - /// Gets information about your Invoices. + /// Gets information about your Scaleway invoices. /// /// ## Example Usage /// @@ -37,7 +37,7 @@ public static Task InvokeAsync(GetBillingInvoicesArgs? => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getBillingInvoices:getBillingInvoices", args ?? new GetBillingInvoicesArgs(), options.WithDefaults()); /// - /// Gets information about your Invoices. + /// Gets information about your Scaleway invoices. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetBlockSnapshot.cs b/sdk/dotnet/GetBlockSnapshot.cs index 290381f4..33373304 100644 --- a/sdk/dotnet/GetBlockSnapshot.cs +++ b/sdk/dotnet/GetBlockSnapshot.cs @@ -12,9 +12,51 @@ namespace Pulumiverse.Scaleway { public static class GetBlockSnapshot { + /// + /// Gets information about a Block Snapshot. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumi.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var mySnapshot = Scaleway.GetBlockSnapshot.Invoke(new() + /// { + /// SnapshotId = "11111111-1111-1111-1111-111111111111", + /// }); + /// + /// }); + /// ``` + /// public static Task InvokeAsync(GetBlockSnapshotArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getBlockSnapshot:getBlockSnapshot", args ?? new GetBlockSnapshotArgs(), options.WithDefaults()); + /// + /// Gets information about a Block Snapshot. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumi.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var mySnapshot = Scaleway.GetBlockSnapshot.Invoke(new() + /// { + /// SnapshotId = "11111111-1111-1111-1111-111111111111", + /// }); + /// + /// }); + /// ``` + /// public static Output Invoke(GetBlockSnapshotInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("scaleway:index/getBlockSnapshot:getBlockSnapshot", args ?? new GetBlockSnapshotInvokeArgs(), options.WithDefaults()); } @@ -22,18 +64,33 @@ public static Output Invoke(GetBlockSnapshotInvokeArgs? public sealed class GetBlockSnapshotArgs : global::Pulumi.InvokeArgs { + /// + /// The name of the snapshot. Only one of `name` and `snapshot_id` should be specified. + /// [Input("name")] public string? Name { get; set; } + /// + /// The ID of the project the snapshot is associated with. + /// [Input("projectId")] public string? ProjectId { get; set; } + /// + /// The ID of the snapshot. Only one of `name` and `snapshot_id` should be specified. + /// [Input("snapshotId")] public string? SnapshotId { get; set; } + /// + /// The ID of the volume from which the snapshot has been created. + /// [Input("volumeId")] public string? VolumeId { get; set; } + /// + /// `zone`) The zone in which the snapshot exists. + /// [Input("zone")] public string? Zone { get; set; } @@ -45,18 +102,33 @@ public GetBlockSnapshotArgs() public sealed class GetBlockSnapshotInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// The name of the snapshot. Only one of `name` and `snapshot_id` should be specified. + /// [Input("name")] public Input? Name { get; set; } + /// + /// The ID of the project the snapshot is associated with. + /// [Input("projectId")] public Input? ProjectId { get; set; } + /// + /// The ID of the snapshot. Only one of `name` and `snapshot_id` should be specified. + /// [Input("snapshotId")] public Input? SnapshotId { get; set; } + /// + /// The ID of the volume from which the snapshot has been created. + /// [Input("volumeId")] public Input? VolumeId { get; set; } + /// + /// `zone`) The zone in which the snapshot exists. + /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/GetConfig.cs b/sdk/dotnet/GetConfig.cs new file mode 100644 index 00000000..27b9e749 --- /dev/null +++ b/sdk/dotnet/GetConfig.cs @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Scaleway +{ + public static class GetConfig + { + public static Task InvokeAsync(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getConfig:getConfig", InvokeArgs.Empty, options.WithDefaults()); + + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("scaleway:index/getConfig:getConfig", InvokeArgs.Empty, options.WithDefaults()); + } + + + [OutputType] + public sealed class GetConfigResult + { + public readonly string AccessKey; + public readonly string AccessKeySource; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string ProjectId; + public readonly string ProjectIdSource; + public readonly string Region; + public readonly string RegionSource; + public readonly string SecretKey; + public readonly string SecretKeySource; + public readonly string Zone; + public readonly string ZoneSource; + + [OutputConstructor] + private GetConfigResult( + string accessKey, + + string accessKeySource, + + string id, + + string projectId, + + string projectIdSource, + + string region, + + string regionSource, + + string secretKey, + + string secretKeySource, + + string zone, + + string zoneSource) + { + AccessKey = accessKey; + AccessKeySource = accessKeySource; + Id = id; + ProjectId = projectId; + ProjectIdSource = projectIdSource; + Region = region; + RegionSource = regionSource; + SecretKey = secretKey; + SecretKeySource = secretKeySource; + Zone = zone; + ZoneSource = zoneSource; + } + } +} diff --git a/sdk/dotnet/GetDatabase.cs b/sdk/dotnet/GetDatabase.cs index fc5367ab..b8ad053a 100644 --- a/sdk/dotnet/GetDatabase.cs +++ b/sdk/dotnet/GetDatabase.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetDatabase { /// - /// Gets information about a RDB database. + /// Gets information about a database. /// /// ## Example Usage /// @@ -38,7 +38,7 @@ public static Task InvokeAsync(GetDatabaseArgs args, InvokeOp => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getDatabase:getDatabase", args ?? new GetDatabaseArgs(), options.WithDefaults()); /// - /// Gets information about a RDB database. + /// Gets information about a database. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetDatabaseAcl.cs b/sdk/dotnet/GetDatabaseAcl.cs index 28c40c21..cbe8adfb 100644 --- a/sdk/dotnet/GetDatabaseAcl.cs +++ b/sdk/dotnet/GetDatabaseAcl.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetDatabaseAcl { /// - /// Gets information about the RDB instance network Access Control List. + /// Gets information about the Database Instance network Access Control List. /// /// ## Example Usage /// @@ -37,7 +37,7 @@ public static Task InvokeAsync(GetDatabaseAclArgs args, In => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getDatabaseAcl:getDatabaseAcl", args ?? new GetDatabaseAclArgs(), options.WithDefaults()); /// - /// Gets information about the RDB instance network Access Control List. + /// Gets information about the Database Instance network Access Control List. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetDatabaseBackup.cs b/sdk/dotnet/GetDatabaseBackup.cs index 16526109..af34c200 100644 --- a/sdk/dotnet/GetDatabaseBackup.cs +++ b/sdk/dotnet/GetDatabaseBackup.cs @@ -87,21 +87,21 @@ public static Output Invoke(GetDatabaseBackupInvokeArgs public sealed class GetDatabaseBackupArgs : global::Pulumi.InvokeArgs { /// - /// The RDB backup ID. - /// Only one of the `name` and `backup_id` should be specified. + /// The backup ID. /// [Input("backupId")] public string? BackupId { get; set; } /// - /// The RDB instance ID. + /// The Database Instance ID. /// [Input("instanceId")] public string? InstanceId { get; set; } /// /// The name of the RDB instance. - /// Only one of the `name` and `backup_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `backup_id`. /// [Input("name")] public string? Name { get; set; } @@ -127,21 +127,21 @@ public GetDatabaseBackupArgs() public sealed class GetDatabaseBackupInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The RDB backup ID. - /// Only one of the `name` and `backup_id` should be specified. + /// The backup ID. /// [Input("backupId")] public Input? BackupId { get; set; } /// - /// The RDB instance ID. + /// The Database Instance ID. /// [Input("instanceId")] public Input? InstanceId { get; set; } /// /// The name of the RDB instance. - /// Only one of the `name` and `backup_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `backup_id`. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/GetDatabaseInstance.cs b/sdk/dotnet/GetDatabaseInstance.cs index 464759e5..5bafe43d 100644 --- a/sdk/dotnet/GetDatabaseInstance.cs +++ b/sdk/dotnet/GetDatabaseInstance.cs @@ -13,13 +13,17 @@ namespace Pulumiverse.Scaleway public static class GetDatabaseInstance { /// - /// Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + /// Gets information about an Database Instance. + /// + /// For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) /// public static Task InvokeAsync(GetDatabaseInstanceArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getDatabaseInstance:getDatabaseInstance", args ?? new GetDatabaseInstanceArgs(), options.WithDefaults()); /// - /// Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + /// Gets information about an Database Instance. + /// + /// For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) /// public static Output Invoke(GetDatabaseInstanceInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("scaleway:index/getDatabaseInstance:getDatabaseInstance", args ?? new GetDatabaseInstanceInvokeArgs(), options.WithDefaults()); @@ -30,26 +34,26 @@ public sealed class GetDatabaseInstanceArgs : global::Pulumi.InvokeArgs { /// /// The RDB instance ID. - /// Only one of `name` and `instance_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `instance_id`. /// [Input("instanceId")] public string? InstanceId { get; set; } /// /// The name of the RDB instance. - /// Only one of `name` and `instance_id` should be specified. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + /// The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// `region`) The region in which the RDB instance exists. + /// `region`) The region in which the Database Instance exists. /// [Input("region")] public string? Region { get; set; } @@ -64,26 +68,26 @@ public sealed class GetDatabaseInstanceInvokeArgs : global::Pulumi.InvokeArgs { /// /// The RDB instance ID. - /// Only one of `name` and `instance_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `instance_id`. /// [Input("instanceId")] public Input? InstanceId { get; set; } /// /// The name of the RDB instance. - /// Only one of `name` and `instance_id` should be specified. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + /// The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`) The region in which the RDB instance exists. + /// `region`) The region in which the Database Instance exists. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/GetDatabasePrivilege.cs b/sdk/dotnet/GetDatabasePrivilege.cs index b6e230be..b16704c3 100644 --- a/sdk/dotnet/GetDatabasePrivilege.cs +++ b/sdk/dotnet/GetDatabasePrivilege.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetDatabasePrivilege { /// - /// Gets information about the privilege on RDB database. + /// Gets information about the privileges in a database. /// /// ## Example Usage /// @@ -39,7 +39,7 @@ public static Task InvokeAsync(GetDatabasePrivilegeA => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getDatabasePrivilege:getDatabasePrivilege", args ?? new GetDatabasePrivilegeArgs(), options.WithDefaults()); /// - /// Gets information about the privilege on RDB database. + /// Gets information about the privileges in a database. /// /// ## Example Usage /// @@ -75,7 +75,7 @@ public sealed class GetDatabasePrivilegeArgs : global::Pulumi.InvokeArgs public string DatabaseName { get; set; } = null!; /// - /// The RDB instance ID. + /// The Database Instance ID. /// [Input("instanceId", required: true)] public string InstanceId { get; set; } = null!; @@ -107,7 +107,7 @@ public sealed class GetDatabasePrivilegeInvokeArgs : global::Pulumi.InvokeArgs public Input DatabaseName { get; set; } = null!; /// - /// The RDB instance ID. + /// The Database Instance ID. /// [Input("instanceId", required: true)] public Input InstanceId { get; set; } = null!; diff --git a/sdk/dotnet/GetIamApplication.cs b/sdk/dotnet/GetIamApplication.cs index c37b3920..c99df51f 100644 --- a/sdk/dotnet/GetIamApplication.cs +++ b/sdk/dotnet/GetIamApplication.cs @@ -76,21 +76,21 @@ public sealed class GetIamApplicationArgs : global::Pulumi.InvokeArgs { /// /// The ID of the IAM application. - /// Only one of the `name` and `application_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `application_id`. /// [Input("applicationId")] public string? ApplicationId { get; set; } /// /// The name of the IAM application. - /// Only one of the `name` and `application_id` should be specified. /// [Input("name")] public string? Name { get; set; } /// /// `organization_id`) The ID of the - /// organization the application is associated with. + /// Organization the application is associated with. /// [Input("organizationId")] public string? OrganizationId { get; set; } @@ -105,21 +105,21 @@ public sealed class GetIamApplicationInvokeArgs : global::Pulumi.InvokeArgs { /// /// The ID of the IAM application. - /// Only one of the `name` and `application_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `application_id`. /// [Input("applicationId")] public Input? ApplicationId { get; set; } /// /// The name of the IAM application. - /// Only one of the `name` and `application_id` should be specified. /// [Input("name")] public Input? Name { get; set; } /// /// `organization_id`) The ID of the - /// organization the application is associated with. + /// Organization the application is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } diff --git a/sdk/dotnet/GetIamGroup.cs b/sdk/dotnet/GetIamGroup.cs index f7d55940..4ad047d5 100644 --- a/sdk/dotnet/GetIamGroup.cs +++ b/sdk/dotnet/GetIamGroup.cs @@ -13,8 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetIamGroup { /// - /// Gets information about an existing IAM group. For more information, please - /// check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + /// Gets information about an existing IAM group. + /// + /// For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) /// /// ## Example Usage /// @@ -43,8 +44,9 @@ public static Task InvokeAsync(GetIamGroupArgs? args = null, => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getIamGroup:getIamGroup", args ?? new GetIamGroupArgs(), options.WithDefaults()); /// - /// Gets information about an existing IAM group. For more information, please - /// check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + /// Gets information about an existing IAM group. + /// + /// For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) /// /// ## Example Usage /// @@ -78,14 +80,14 @@ public sealed class GetIamGroupArgs : global::Pulumi.InvokeArgs { /// /// The ID of the IAM group. - /// Only one of the `name` and `group_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `group_id`. /// [Input("groupId")] public string? GroupId { get; set; } /// /// The name of the IAM group. - /// Only one of the `name` and `group_id` should be specified. /// [Input("name")] public string? Name { get; set; } @@ -107,14 +109,14 @@ public sealed class GetIamGroupInvokeArgs : global::Pulumi.InvokeArgs { /// /// The ID of the IAM group. - /// Only one of the `name` and `group_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `group_id`. /// [Input("groupId")] public Input? GroupId { get; set; } /// /// The name of the IAM group. - /// Only one of the `name` and `group_id` should be specified. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/GetIamSshKey.cs b/sdk/dotnet/GetIamSshKey.cs index e8bdfb14..05d1f4e2 100644 --- a/sdk/dotnet/GetIamSshKey.cs +++ b/sdk/dotnet/GetIamSshKey.cs @@ -65,7 +65,7 @@ public static Output Invoke(GetIamSshKeyInvokeArgs? args = n public sealed class GetIamSshKeyArgs : global::Pulumi.InvokeArgs { /// - /// The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key name. /// [Input("name")] public string? Name { get; set; } @@ -78,7 +78,9 @@ public sealed class GetIamSshKeyArgs : global::Pulumi.InvokeArgs public string? ProjectId { get; set; } /// - /// The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key id. + /// + /// > **Note** You must specify at least one: `name` and/or `ssh_key_id`. /// [Input("sshKeyId")] public string? SshKeyId { get; set; } @@ -92,7 +94,7 @@ public GetIamSshKeyArgs() public sealed class GetIamSshKeyInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key name. /// [Input("name")] public Input? Name { get; set; } @@ -105,7 +107,9 @@ public sealed class GetIamSshKeyInvokeArgs : global::Pulumi.InvokeArgs public Input? ProjectId { get; set; } /// - /// The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + /// The SSH key id. + /// + /// > **Note** You must specify at least one: `name` and/or `ssh_key_id`. /// [Input("sshKeyId")] public Input? SshKeyId { get; set; } diff --git a/sdk/dotnet/GetIamUser.cs b/sdk/dotnet/GetIamUser.cs index 1d6311e3..caf14fe2 100644 --- a/sdk/dotnet/GetIamUser.cs +++ b/sdk/dotnet/GetIamUser.cs @@ -14,8 +14,7 @@ public static class GetIamUser { /// /// Use this data source to get information on an existing IAM user based on its ID or email address. - /// For more information, - /// see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + /// For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). /// /// ## Example Usage /// @@ -45,8 +44,7 @@ public static Task InvokeAsync(GetIamUserArgs? args = null, In /// /// Use this data source to get information on an existing IAM user based on its ID or email address. - /// For more information, - /// see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + /// For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). /// /// ## Example Usage /// @@ -79,7 +77,7 @@ public static Output Invoke(GetIamUserInvokeArgs? args = null, public sealed class GetIamUserArgs : global::Pulumi.InvokeArgs { /// - /// The email address of the IAM user. Only one of the `email` and `user_id` should be specified. + /// The email address of the IAM user. /// [Input("email")] public string? Email { get; set; } @@ -92,7 +90,9 @@ public sealed class GetIamUserArgs : global::Pulumi.InvokeArgs public string? OrganizationId { get; set; } /// - /// The ID of the IAM user. Only one of the `email` and `user_id` should be specified. + /// The ID of the IAM user. + /// + /// > **Note** You must specify at least one: `name` and/or `user_id`. /// [Input("userId")] public string? UserId { get; set; } @@ -106,7 +106,7 @@ public GetIamUserArgs() public sealed class GetIamUserInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The email address of the IAM user. Only one of the `email` and `user_id` should be specified. + /// The email address of the IAM user. /// [Input("email")] public Input? Email { get; set; } @@ -119,7 +119,9 @@ public sealed class GetIamUserInvokeArgs : global::Pulumi.InvokeArgs public Input? OrganizationId { get; set; } /// - /// The ID of the IAM user. Only one of the `email` and `user_id` should be specified. + /// The ID of the IAM user. + /// + /// > **Note** You must specify at least one: `name` and/or `user_id`. /// [Input("userId")] public Input? UserId { get; set; } diff --git a/sdk/dotnet/GetIpamIp.cs b/sdk/dotnet/GetIpamIp.cs index 0c6aed30..b50e1c7c 100644 --- a/sdk/dotnet/GetIpamIp.cs +++ b/sdk/dotnet/GetIpamIp.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetIpamIp { /// - /// Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + /// Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Examples /// @@ -37,7 +39,7 @@ public static class GetIpamIp /// /// ### Instance Private Network IP /// - /// Get Instance IP in a private network. + /// Get an Instance's IP on a Private Network. /// /// ```csharp /// using System.Collections.Generic; @@ -119,7 +121,9 @@ public static Task InvokeAsync(GetIpamIpArgs? args = null, Invo => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getIpamIp:getIpamIp", args ?? new GetIpamIpArgs(), options.WithDefaults()); /// - /// Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + /// Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Examples /// @@ -143,7 +147,7 @@ public static Task InvokeAsync(GetIpamIpArgs? args = null, Invo /// /// ### Instance Private Network IP /// - /// Get Instance IP in a private network. + /// Get an Instance's IP on a Private Network. /// /// ```csharp /// using System.Collections.Generic; @@ -235,25 +239,25 @@ public sealed class GetIpamIpArgs : global::Pulumi.InvokeArgs public bool? Attached { get; set; } /// - /// The IPAM IP ID. Cannot be used with the rest of the arguments. + /// The IPAM IP ID. Cannot be used with any other arguments. /// [Input("ipamIpId")] public string? IpamIpId { get; set; } /// - /// The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`. + /// The MAC address linked to the IP. Cannot be used with `ipam_ip_id`. /// [Input("macAddress")] public string? MacAddress { get; set; } /// - /// The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`. + /// The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`. /// [Input("privateNetworkId")] public string? PrivateNetworkId { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -285,7 +289,7 @@ public List Tags } /// - /// The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`. + /// The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`. /// [Input("type")] public string? Type { get; set; } @@ -311,25 +315,25 @@ public sealed class GetIpamIpInvokeArgs : global::Pulumi.InvokeArgs public Input? Attached { get; set; } /// - /// The IPAM IP ID. Cannot be used with the rest of the arguments. + /// The IPAM IP ID. Cannot be used with any other arguments. /// [Input("ipamIpId")] public Input? IpamIpId { get; set; } /// - /// The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`. + /// The MAC address linked to the IP. Cannot be used with `ipam_ip_id`. /// [Input("macAddress")] public Input? MacAddress { get; set; } /// - /// The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`. + /// The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`. /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -361,7 +365,7 @@ public InputList Tags } /// - /// The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`. + /// The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`. /// [Input("type")] public Input? Type { get; set; } @@ -387,7 +391,7 @@ public sealed class GetIpamIpResult /// public readonly string Address; /// - /// the IP address with a CIDR notation. + /// the IP address in CIDR notation. /// public readonly string AddressCidr; public readonly bool? Attached; diff --git a/sdk/dotnet/GetIpamIps.cs b/sdk/dotnet/GetIpamIps.cs index cb1600aa..e9f92806 100644 --- a/sdk/dotnet/GetIpamIps.cs +++ b/sdk/dotnet/GetIpamIps.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetIpamIps { /// - /// Gets information about multiple IPs managed by IPAM service. + /// Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Examples /// @@ -93,7 +95,9 @@ public static Task InvokeAsync(GetIpamIpsArgs? args = null, In => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getIpamIps:getIpamIps", args ?? new GetIpamIpsArgs(), options.WithDefaults()); /// - /// Gets information about multiple IPs managed by IPAM service. + /// Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Examples /// @@ -183,31 +187,31 @@ public sealed class GetIpamIpsArgs : global::Pulumi.InvokeArgs public bool? Attached { get; set; } /// - /// The Mac Address used as filter. + /// The linked MAC address to filter for. /// [Input("macAddress")] public string? MacAddress { get; set; } /// - /// The ID of the private network used as filter. + /// The ID of the Private Network to filter for. /// [Input("privateNetworkId")] public string? PrivateNetworkId { get; set; } /// - /// The ID of the project used as filter. + /// The ID of the Project to filter for. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// The region used as filter. + /// The region to filter for. /// [Input("region")] public string? Region { get; set; } /// - /// Filter by resource ID, type or name. + /// Filter for a resource attached to the IP, using resource ID, type or name. /// [Input("resource")] public Inputs.GetIpamIpsResourceArgs? Resource { get; set; } @@ -216,7 +220,7 @@ public sealed class GetIpamIpsArgs : global::Pulumi.InvokeArgs private List? _tags; /// - /// The tags used as filter. + /// The IP tags to filter for. /// public List Tags { @@ -225,7 +229,7 @@ public List Tags } /// - /// The type of IP used as filter (ipv4, ipv6). + /// The type of IP to filter for (`ipv4` or `ipv6`). /// [Input("type")] public string? Type { get; set; } @@ -251,31 +255,31 @@ public sealed class GetIpamIpsInvokeArgs : global::Pulumi.InvokeArgs public Input? Attached { get; set; } /// - /// The Mac Address used as filter. + /// The linked MAC address to filter for. /// [Input("macAddress")] public Input? MacAddress { get; set; } /// - /// The ID of the private network used as filter. + /// The ID of the Private Network to filter for. /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// The ID of the project used as filter. + /// The ID of the Project to filter for. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// The region used as filter. + /// The region to filter for. /// [Input("region")] public Input? Region { get; set; } /// - /// Filter by resource ID, type or name. + /// Filter for a resource attached to the IP, using resource ID, type or name. /// [Input("resource")] public Input? Resource { get; set; } @@ -284,7 +288,7 @@ public sealed class GetIpamIpsInvokeArgs : global::Pulumi.InvokeArgs private InputList? _tags; /// - /// The tags used as filter. + /// The IP tags to filter for. /// public InputList Tags { @@ -293,7 +297,7 @@ public InputList Tags } /// - /// The type of IP used as filter (ipv4, ipv6). + /// The type of IP to filter for (`ipv4` or `ipv6`). /// [Input("type")] public Input? Type { get; set; } @@ -320,25 +324,25 @@ public sealed class GetIpamIpsResult /// public readonly string Id; /// - /// List of found IPs + /// List of found IPs. /// public readonly ImmutableArray Ips; /// - /// The mac address. + /// The associated MAC address. /// public readonly string? MacAddress; public readonly string OrganizationId; public readonly string? PrivateNetworkId; /// - /// The ID of the project the server is associated with. + /// The ID of the Project the resource is associated with. /// public readonly string ProjectId; /// - /// The region in which the IP is. + /// The region of the IP. /// public readonly string Region; /// - /// The list of public IPs of the server. + /// The list of public IPs attached to the resource. /// public readonly Outputs.GetIpamIpsResourceResult? Resource; /// diff --git a/sdk/dotnet/GetLbAcls.cs b/sdk/dotnet/GetLbAcls.cs index 5746f2f0..40fcc235 100644 --- a/sdk/dotnet/GetLbAcls.cs +++ b/sdk/dotnet/GetLbAcls.cs @@ -15,6 +15,8 @@ public static class GetLbAcls /// /// Gets information about multiple Load Balancer ACLs. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + /// /// ## Example Usage /// /// ```csharp @@ -45,6 +47,8 @@ public static Task InvokeAsync(GetLbAclsArgs args, InvokeOption /// /// Gets information about multiple Load Balancer ACLs. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + /// /// ## Example Usage /// /// ```csharp @@ -77,14 +81,14 @@ public static Output Invoke(GetLbAclsInvokeArgs args, InvokeOpt public sealed class GetLbAclsArgs : global::Pulumi.InvokeArgs { /// - /// The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - /// > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + /// The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + /// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` /// [Input("frontendId", required: true)] public string FrontendId { get; set; } = null!; /// - /// The ACL name used as filter. ACLs with a name like it are listed. + /// The ACL name to filter for. ACLs with a matching name are listed. /// [Input("name")] public string? Name { get; set; } @@ -93,7 +97,7 @@ public sealed class GetLbAclsArgs : global::Pulumi.InvokeArgs public string? ProjectId { get; set; } /// - /// `zone`) The zone in which ACLs exist. + /// `zone`) The zone in which the ACLs exist. /// [Input("zone")] public string? Zone { get; set; } @@ -107,14 +111,14 @@ public GetLbAclsArgs() public sealed class GetLbAclsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - /// > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + /// The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + /// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` /// [Input("frontendId", required: true)] public Input FrontendId { get; set; } = null!; /// - /// The ACL name used as filter. ACLs with a name like it are listed. + /// The ACL name to filter for. ACLs with a matching name are listed. /// [Input("name")] public Input? Name { get; set; } @@ -123,7 +127,7 @@ public sealed class GetLbAclsInvokeArgs : global::Pulumi.InvokeArgs public Input? ProjectId { get; set; } /// - /// `zone`) The zone in which ACLs exist. + /// `zone`) The zone in which the ACLs exist. /// [Input("zone")] public Input? Zone { get; set; } @@ -139,7 +143,7 @@ public GetLbAclsInvokeArgs() public sealed class GetLbAclsResult { /// - /// List of found ACLs + /// List of retrieved ACLs /// public readonly ImmutableArray Acls; public readonly string FrontendId; diff --git a/sdk/dotnet/GetLbBackend.cs b/sdk/dotnet/GetLbBackend.cs index 10b5cd32..c1e541d1 100644 --- a/sdk/dotnet/GetLbBackend.cs +++ b/sdk/dotnet/GetLbBackend.cs @@ -13,8 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbBackend { /// - /// Get information about Scaleway Load-Balancer Backends. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + /// Get information about Scaleway Load Balancer backends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). /// /// ## Example Usage /// @@ -60,8 +61,9 @@ public static Task InvokeAsync(GetLbBackendArgs? args = null => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbBackend:getLbBackend", args ?? new GetLbBackendArgs(), options.WithDefaults()); /// - /// Get information about Scaleway Load-Balancer Backends. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + /// Get information about Scaleway Load Balancer backends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). /// /// ## Example Usage /// @@ -111,21 +113,21 @@ public static Output Invoke(GetLbBackendInvokeArgs? args = n public sealed class GetLbBackendArgs : global::Pulumi.InvokeArgs { /// - /// The backend id. + /// The backend ID. /// - Only one of `name` and `backend_id` should be specified. /// [Input("backendId")] public string? BackendId { get; set; } /// - /// The load-balancer ID this backend is attached to. + /// Load Balancer ID this backend is attached to. /// [Input("lbId")] public string? LbId { get; set; } /// /// The name of the backend. - /// - When using the `name` you should specify the `lb-id` + /// - When using `name` you should specify the `lb-id` /// [Input("name")] public string? Name { get; set; } @@ -139,21 +141,21 @@ public GetLbBackendArgs() public sealed class GetLbBackendInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The backend id. + /// The backend ID. /// - Only one of `name` and `backend_id` should be specified. /// [Input("backendId")] public Input? BackendId { get; set; } /// - /// The load-balancer ID this backend is attached to. + /// Load Balancer ID this backend is attached to. /// [Input("lbId")] public Input? LbId { get; set; } /// /// The name of the backend. - /// - When using the `name` you should specify the `lb-id` + /// - When using `name` you should specify the `lb-id` /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/GetLbBackends.cs b/sdk/dotnet/GetLbBackends.cs index 1b691d2d..60de3a9c 100644 --- a/sdk/dotnet/GetLbBackends.cs +++ b/sdk/dotnet/GetLbBackends.cs @@ -15,6 +15,8 @@ public static class GetLbBackends /// /// Gets information about multiple Load Balancer Backends. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + /// /// ## Example Usage /// /// ```csharp @@ -45,6 +47,8 @@ public static Task InvokeAsync(GetLbBackendsArgs args, Invo /// /// Gets information about multiple Load Balancer Backends. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + /// /// ## Example Usage /// /// ```csharp @@ -77,13 +81,13 @@ public static Output Invoke(GetLbBackendsInvokeArgs args, I public sealed class GetLbBackendsArgs : global::Pulumi.InvokeArgs { /// - /// The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + /// The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. /// [Input("lbId", required: true)] public string LbId { get; set; } = null!; /// - /// The backend name used as filter. Backends with a name like it are listed. + /// The backend name to filter for. Backends with a matching name are listed. /// [Input("name")] public string? Name { get; set; } @@ -106,13 +110,13 @@ public GetLbBackendsArgs() public sealed class GetLbBackendsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + /// The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. /// [Input("lbId", required: true)] public Input LbId { get; set; } = null!; /// - /// The backend name used as filter. Backends with a name like it are listed. + /// The backend name to filter for. Backends with a matching name are listed. /// [Input("name")] public Input? Name { get; set; } @@ -137,7 +141,7 @@ public GetLbBackendsInvokeArgs() public sealed class GetLbBackendsResult { /// - /// List of found backends + /// List of retrieved backends /// public readonly ImmutableArray Backends; /// diff --git a/sdk/dotnet/GetLbFrontend.cs b/sdk/dotnet/GetLbFrontend.cs index f5233c60..8bcf0349 100644 --- a/sdk/dotnet/GetLbFrontend.cs +++ b/sdk/dotnet/GetLbFrontend.cs @@ -13,8 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbFrontend { /// - /// Get information about Scaleway Load-Balancer Frontends. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + /// Get information about Scaleway Load Balancer frontends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). /// /// ## Example Usage /// @@ -68,8 +69,9 @@ public static Task InvokeAsync(GetLbFrontendArgs? args = nu => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbFrontend:getLbFrontend", args ?? new GetLbFrontendArgs(), options.WithDefaults()); /// - /// Get information about Scaleway Load-Balancer Frontends. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + /// Get information about Scaleway Load Balancer frontends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). /// /// ## Example Usage /// @@ -127,14 +129,14 @@ public static Output Invoke(GetLbFrontendInvokeArgs? args = public sealed class GetLbFrontendArgs : global::Pulumi.InvokeArgs { /// - /// The frontend id. + /// The frontend ID. /// - Only one of `name` and `frontend_id` should be specified. /// [Input("frontendId")] public string? FrontendId { get; set; } /// - /// The load-balancer ID this frontend is attached to. + /// The Load Balancer ID this frontend is attached to. /// [Input("lbId")] public string? LbId { get; set; } @@ -155,14 +157,14 @@ public GetLbFrontendArgs() public sealed class GetLbFrontendInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The frontend id. + /// The frontend ID. /// - Only one of `name` and `frontend_id` should be specified. /// [Input("frontendId")] public Input? FrontendId { get; set; } /// - /// The load-balancer ID this frontend is attached to. + /// The Load Balancer ID this frontend is attached to. /// [Input("lbId")] public Input? LbId { get; set; } diff --git a/sdk/dotnet/GetLbFrontends.cs b/sdk/dotnet/GetLbFrontends.cs index e71b6414..4892472c 100644 --- a/sdk/dotnet/GetLbFrontends.cs +++ b/sdk/dotnet/GetLbFrontends.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbFrontends { /// - /// Gets information about multiple Load Balancer Frontends. + /// Gets information about multiple Load Balancer frontends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). /// /// ## Example Usage /// @@ -43,7 +45,9 @@ public static Task InvokeAsync(GetLbFrontendsArgs args, In => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbFrontends:getLbFrontends", args ?? new GetLbFrontendsArgs(), options.WithDefaults()); /// - /// Gets information about multiple Load Balancer Frontends. + /// Gets information about multiple Load Balancer frontends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). /// /// ## Example Usage /// @@ -77,13 +81,13 @@ public static Output Invoke(GetLbFrontendsInvokeArgs args, public sealed class GetLbFrontendsArgs : global::Pulumi.InvokeArgs { /// - /// The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + /// The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. /// [Input("lbId", required: true)] public string LbId { get; set; } = null!; /// - /// The frontend name used as filter. Frontends with a name like it are listed. + /// The frontend name to filter for. Frontends with a matching name are listed. /// [Input("name")] public string? Name { get; set; } @@ -92,7 +96,7 @@ public sealed class GetLbFrontendsArgs : global::Pulumi.InvokeArgs public string? ProjectId { get; set; } /// - /// `zone`) The zone in which frontends exist. + /// `zone`) The zone in which the frontends exist. /// [Input("zone")] public string? Zone { get; set; } @@ -106,13 +110,13 @@ public GetLbFrontendsArgs() public sealed class GetLbFrontendsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + /// The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. /// [Input("lbId", required: true)] public Input LbId { get; set; } = null!; /// - /// The frontend name used as filter. Frontends with a name like it are listed. + /// The frontend name to filter for. Frontends with a matching name are listed. /// [Input("name")] public Input? Name { get; set; } @@ -121,7 +125,7 @@ public sealed class GetLbFrontendsInvokeArgs : global::Pulumi.InvokeArgs public Input? ProjectId { get; set; } /// - /// `zone`) The zone in which frontends exist. + /// `zone`) The zone in which the frontends exist. /// [Input("zone")] public Input? Zone { get; set; } @@ -137,7 +141,7 @@ public GetLbFrontendsInvokeArgs() public sealed class GetLbFrontendsResult { /// - /// List of found frontends + /// List of retrieved frontends /// public readonly ImmutableArray Frontends; /// diff --git a/sdk/dotnet/GetLbIps.cs b/sdk/dotnet/GetLbIps.cs index d5e725e6..546120d9 100644 --- a/sdk/dotnet/GetLbIps.cs +++ b/sdk/dotnet/GetLbIps.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbIps { /// - /// Gets information about multiple Load Balancer IPs. + /// Gets information about multiple Load Balancer IP addresses. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). /// /// ## Example Usage /// @@ -38,7 +40,9 @@ public static Task InvokeAsync(GetLbIpsArgs? args = null, Invoke => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbIps:getLbIps", args ?? new GetLbIpsArgs(), options.WithDefaults()); /// - /// Gets information about multiple Load Balancer IPs. + /// Gets information about multiple Load Balancer IP addresses. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). /// /// ## Example Usage /// @@ -67,19 +71,19 @@ public static Output Invoke(GetLbIpsInvokeArgs? args = null, Inv public sealed class GetLbIpsArgs : global::Pulumi.InvokeArgs { /// - /// The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + /// The IP CIDR range to filter for. IPs within a matching CIDR block are listed. /// [Input("ipCidrRange")] public string? IpCidrRange { get; set; } /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// `zone`) The zone in which IPs exist. + /// `zone`) The zone in which the IPs exist. /// [Input("zone")] public string? Zone { get; set; } @@ -93,19 +97,19 @@ public GetLbIpsArgs() public sealed class GetLbIpsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + /// The IP CIDR range to filter for. IPs within a matching CIDR block are listed. /// [Input("ipCidrRange")] public Input? IpCidrRange { get; set; } /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `zone`) The zone in which IPs exist. + /// `zone`) The zone in which the IPs exist. /// [Input("zone")] public Input? Zone { get; set; } @@ -126,19 +130,19 @@ public sealed class GetLbIpsResult public readonly string Id; public readonly string? IpCidrRange; /// - /// List of found IPs + /// List of retrieved IPs /// public readonly ImmutableArray Ips; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization the Load Balancer is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// public readonly string ProjectId; /// - /// The zone in which the load-balancer is. + /// The zone of the Load Balancer. /// public readonly string Zone; diff --git a/sdk/dotnet/GetLbRoute.cs b/sdk/dotnet/GetLbRoute.cs index 3db959fd..152d340f 100644 --- a/sdk/dotnet/GetLbRoute.cs +++ b/sdk/dotnet/GetLbRoute.cs @@ -13,8 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbRoute { /// - /// Get information about Scaleway Load-Balancer Routes. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + /// Get information about Scaleway Load Balancer routes. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). /// /// ## Example Usage /// @@ -69,8 +70,9 @@ public static Task InvokeAsync(GetLbRouteArgs args, InvokeOpti => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbRoute:getLbRoute", args ?? new GetLbRouteArgs(), options.WithDefaults()); /// - /// Get information about Scaleway Load-Balancer Routes. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + /// Get information about Scaleway Load Balancer routes. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). /// /// ## Example Usage /// @@ -129,7 +131,7 @@ public static Output Invoke(GetLbRouteInvokeArgs args, InvokeO public sealed class GetLbRouteArgs : global::Pulumi.InvokeArgs { /// - /// The route id. + /// The route ID. /// [Input("routeId", required: true)] public string RouteId { get; set; } = null!; @@ -143,7 +145,7 @@ public GetLbRouteArgs() public sealed class GetLbRouteInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The route id. + /// The route ID. /// [Input("routeId", required: true)] public Input RouteId { get; set; } = null!; diff --git a/sdk/dotnet/GetLbRoutes.cs b/sdk/dotnet/GetLbRoutes.cs index abf5925d..e9a8556b 100644 --- a/sdk/dotnet/GetLbRoutes.cs +++ b/sdk/dotnet/GetLbRoutes.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetLbRoutes { /// - /// Gets information about multiple Load Balancer Routes. + /// Gets information about multiple Load Balancer routes. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). /// /// ## Example Usage /// @@ -43,7 +45,9 @@ public static Task InvokeAsync(GetLbRoutesArgs? args = null, => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLbRoutes:getLbRoutes", args ?? new GetLbRoutesArgs(), options.WithDefaults()); /// - /// Gets information about multiple Load Balancer Routes. + /// Gets information about multiple Load Balancer routes. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). /// /// ## Example Usage /// @@ -77,7 +81,7 @@ public static Output Invoke(GetLbRoutesInvokeArgs? args = nul public sealed class GetLbRoutesArgs : global::Pulumi.InvokeArgs { /// - /// The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + /// The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. /// [Input("frontendId")] public string? FrontendId { get; set; } @@ -86,7 +90,7 @@ public sealed class GetLbRoutesArgs : global::Pulumi.InvokeArgs public string? ProjectId { get; set; } /// - /// `zone`) The zone in which routes exist. + /// `zone`) The zone in which the routes exist. /// [Input("zone")] public string? Zone { get; set; } @@ -100,7 +104,7 @@ public GetLbRoutesArgs() public sealed class GetLbRoutesInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + /// The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. /// [Input("frontendId")] public Input? FrontendId { get; set; } @@ -109,7 +113,7 @@ public sealed class GetLbRoutesInvokeArgs : global::Pulumi.InvokeArgs public Input? ProjectId { get; set; } /// - /// `zone`) The zone in which routes exist. + /// `zone`) The zone in which the routes exist. /// [Input("zone")] public Input? Zone { get; set; } @@ -132,7 +136,7 @@ public sealed class GetLbRoutesResult public readonly string OrganizationId; public readonly string ProjectId; /// - /// List of found routes + /// List of retrieved routes /// public readonly ImmutableArray Routes; public readonly string Zone; diff --git a/sdk/dotnet/GetLbs.cs b/sdk/dotnet/GetLbs.cs index 36d8508c..d2c296f1 100644 --- a/sdk/dotnet/GetLbs.cs +++ b/sdk/dotnet/GetLbs.cs @@ -15,6 +15,8 @@ public static class GetLbs /// /// Gets information about multiple Load Balancers. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + /// /// ## Example Usage /// /// ```csharp @@ -48,6 +50,8 @@ public static Task InvokeAsync(GetLbsArgs? args = null, InvokeOpti /// /// Gets information about multiple Load Balancers. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + /// /// ## Example Usage /// /// ```csharp @@ -83,13 +87,13 @@ public static Output Invoke(GetLbsInvokeArgs? args = null, InvokeO public sealed class GetLbsArgs : global::Pulumi.InvokeArgs { /// - /// The load balancer name used as a filter. LBs with a name like it are listed. + /// The Load Balancer name to filter for. Load Balancers with a matching name are listed. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -98,7 +102,7 @@ public sealed class GetLbsArgs : global::Pulumi.InvokeArgs private List? _tags; /// - /// List of tags used as filter. LBs with these exact tags are listed. + /// List of tags to filter for. Load Balancers with these exact tags are listed. /// public List Tags { @@ -107,7 +111,7 @@ public List Tags } /// - /// `zone`) The zone in which LBs exist. + /// `zone`) The zone in which the Load Balancers exist. /// [Input("zone")] public string? Zone { get; set; } @@ -121,13 +125,13 @@ public GetLbsArgs() public sealed class GetLbsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The load balancer name used as a filter. LBs with a name like it are listed. + /// The Load Balancer name to filter for. Load Balancers with a matching name are listed. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -136,7 +140,7 @@ public sealed class GetLbsInvokeArgs : global::Pulumi.InvokeArgs private InputList? _tags; /// - /// List of tags used as filter. LBs with these exact tags are listed. + /// List of tags to filter for. Load Balancers with these exact tags are listed. /// public InputList Tags { @@ -145,7 +149,7 @@ public InputList Tags } /// - /// `zone`) The zone in which LBs exist. + /// `zone`) The zone in which the Load Balancers exist. /// [Input("zone")] public Input? Zone { get; set; } @@ -165,27 +169,27 @@ public sealed class GetLbsResult /// public readonly string Id; /// - /// List of found LBs + /// List of retrieved Load Balancers /// public readonly ImmutableArray Lbs; /// - /// The name of the load-balancer. + /// The name of the Load Balancer. /// public readonly string? Name; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization the Load Balancer is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// public readonly string ProjectId; /// - /// The tags associated with the load-balancer. + /// The tags associated with the Load Balancer. /// public readonly ImmutableArray Tags; /// - /// The zone in which the load-balancer is. + /// The zone of the Load Balancer. /// public readonly string Zone; diff --git a/sdk/dotnet/GetLoadbalancer.cs b/sdk/dotnet/GetLoadbalancer.cs index 72b29de2..c74ee357 100644 --- a/sdk/dotnet/GetLoadbalancer.cs +++ b/sdk/dotnet/GetLoadbalancer.cs @@ -15,6 +15,8 @@ public static class GetLoadbalancer /// /// Gets information about a Load Balancer. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + /// /// ## Example Usage /// /// ```csharp @@ -44,6 +46,8 @@ public static Task InvokeAsync(GetLoadbalancerArgs? args /// /// Gets information about a Load Balancer. /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + /// /// ## Example Usage /// /// ```csharp @@ -78,13 +82,13 @@ public sealed class GetLoadbalancerArgs : global::Pulumi.InvokeArgs public string? LbId { get; set; } /// - /// The load balancer name. + /// The Load Balancer name. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the project the LB is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -93,7 +97,7 @@ public sealed class GetLoadbalancerArgs : global::Pulumi.InvokeArgs public bool? ReleaseIp { get; set; } /// - /// (Defaults to provider `zone`) The zone in which the LB exists. + /// (Defaults to provider `zone`) The zone in which the Load Balancer exists. /// [Input("zone")] public string? Zone { get; set; } @@ -110,13 +114,13 @@ public sealed class GetLoadbalancerInvokeArgs : global::Pulumi.InvokeArgs public Input? LbId { get; set; } /// - /// The load balancer name. + /// The Load Balancer name. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the project the LB is associated with. + /// The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -125,7 +129,7 @@ public sealed class GetLoadbalancerInvokeArgs : global::Pulumi.InvokeArgs public Input? ReleaseIp { get; set; } /// - /// (Defaults to provider `zone`) The zone in which the LB exists. + /// (Defaults to provider `zone`) The zone in which the Load Balancer exists. /// [Input("zone")] public Input? Zone { get; set; } @@ -148,7 +152,7 @@ public sealed class GetLoadbalancerResult /// public readonly string Id; /// - /// The load-balancer public IP Address. + /// The Load Balancer public IP address. /// public readonly string IpAddress; public readonly string IpId; @@ -163,15 +167,15 @@ public sealed class GetLoadbalancerResult public readonly bool? ReleaseIp; public readonly string SslCompatibilityLevel; /// - /// The tags associated with the load-balancer. + /// The tags associated with the Load Balancer. /// public readonly ImmutableArray Tags; /// - /// The type of the load-balancer. + /// The Load Balancer type. /// public readonly string Type; /// - /// (Defaults to provider `zone`) The zone in which the LB exists. + /// (Defaults to provider `zone`) The zone in which the Load Balancer exists. /// public readonly string? Zone; diff --git a/sdk/dotnet/GetLoadbalancerCertificate.cs b/sdk/dotnet/GetLoadbalancerCertificate.cs index bd2eba1d..d1345e9c 100644 --- a/sdk/dotnet/GetLoadbalancerCertificate.cs +++ b/sdk/dotnet/GetLoadbalancerCertificate.cs @@ -13,11 +13,11 @@ namespace Pulumiverse.Scaleway public static class GetLoadbalancerCertificate { /// - /// Get information about Scaleway Load-Balancer Certificates. + /// Get information about Scaleway Load Balancer certificates. /// - /// This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + /// This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. /// - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). /// /// ## Examples /// @@ -25,11 +25,11 @@ public static Task InvokeAsync(GetLoadbalancer => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLoadbalancerCertificate:getLoadbalancerCertificate", args ?? new GetLoadbalancerCertificateArgs(), options.WithDefaults()); /// - /// Get information about Scaleway Load-Balancer Certificates. + /// Get information about Scaleway Load Balancer certificates. /// - /// This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + /// This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. /// - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). /// /// ## Examples /// @@ -41,20 +41,20 @@ public static Output Invoke(GetLoadbalancerCer public sealed class GetLoadbalancerCertificateArgs : global::Pulumi.InvokeArgs { /// - /// The certificate id. + /// The certificate ID. /// - Only one of `name` and `certificate_id` should be specified. /// [Input("certificateId")] public string? CertificateId { get; set; } /// - /// The load-balancer ID this certificate is attached to. + /// The Load Balancer ID this certificate is attached to. /// [Input("lbId")] public string? LbId { get; set; } /// - /// The name of the certificate backend. + /// The name of the Load Balancer certificate. /// - When using a certificate `name` you should specify the `lb-id` /// [Input("name")] @@ -69,20 +69,20 @@ public GetLoadbalancerCertificateArgs() public sealed class GetLoadbalancerCertificateInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The certificate id. + /// The certificate ID. /// - Only one of `name` and `certificate_id` should be specified. /// [Input("certificateId")] public Input? CertificateId { get; set; } /// - /// The load-balancer ID this certificate is attached to. + /// The Load Balancer ID this certificate is attached to. /// [Input("lbId")] public Input? LbId { get; set; } /// - /// The name of the certificate backend. + /// The name of the Load Balancer certificate. /// - When using a certificate `name` you should specify the `lb-id` /// [Input("name")] diff --git a/sdk/dotnet/GetLoadbalancerIp.cs b/sdk/dotnet/GetLoadbalancerIp.cs index 998bf280..0e0204fb 100644 --- a/sdk/dotnet/GetLoadbalancerIp.cs +++ b/sdk/dotnet/GetLoadbalancerIp.cs @@ -13,7 +13,10 @@ namespace Pulumiverse.Scaleway public static class GetLoadbalancerIp { /// - /// Gets information about a Load Balancer IP. + /// Gets information about a Load Balancer IP address. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). + /// /// /// ## Example Usage /// @@ -37,7 +40,10 @@ public static Task InvokeAsync(GetLoadbalancerIpArgs? a => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getLoadbalancerIp:getLoadbalancerIp", args ?? new GetLoadbalancerIpArgs(), options.WithDefaults()); /// - /// Gets information about a Load Balancer IP. + /// Gets information about a Load Balancer IP address. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). + /// /// /// ## Example Usage /// @@ -79,7 +85,7 @@ public sealed class GetLoadbalancerIpArgs : global::Pulumi.InvokeArgs public string? IpId { get; set; } /// - /// The ID of the project the LB IP associated with. + /// The ID of the Project the Load Balancer IP is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -107,7 +113,7 @@ public sealed class GetLoadbalancerIpInvokeArgs : global::Pulumi.InvokeArgs public Input? IpId { get; set; } /// - /// The ID of the project the LB IP associated with. + /// The ID of the Project the Load Balancer IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -130,11 +136,11 @@ public sealed class GetLoadbalancerIpResult public readonly string? IpId; public readonly bool IsIpv6; /// - /// The associated load-balancer ID if any + /// The ID of the associated Load Balancer, if any /// public readonly string LbId; /// - /// (Defaults to provider `organization_id`) The ID of the organization the LB IP is associated with. + /// (Defaults to provider `organization_id`) The ID of the Organization the Load Balancer IP is associated with. /// public readonly string OrganizationId; public readonly string ProjectId; diff --git a/sdk/dotnet/GetMnqSqs.cs b/sdk/dotnet/GetMnqSqs.cs index 3f48925c..849f94f3 100644 --- a/sdk/dotnet/GetMnqSqs.cs +++ b/sdk/dotnet/GetMnqSqs.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetMnqSqs { /// - /// Gets information about SQS for a project + /// Gets information about SQS for a Project /// /// ## Examples /// @@ -41,7 +41,7 @@ public static Task InvokeAsync(GetMnqSqsArgs? args = null, Invo => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getMnqSqs:getMnqSqs", args ?? new GetMnqSqsArgs(), options.WithDefaults()); /// - /// Gets information about SQS for a project + /// Gets information about SQS for a Project /// /// ## Examples /// @@ -73,13 +73,13 @@ public static Output Invoke(GetMnqSqsInvokeArgs? args = null, I public sealed class GetMnqSqsArgs : global::Pulumi.InvokeArgs { /// - /// `project_id`) The ID of the project for which sqs is enabled. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public string? Region { get; set; } @@ -93,13 +93,13 @@ public GetMnqSqsArgs() public sealed class GetMnqSqsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// `project_id`) The ID of the project for which sqs is enabled. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -115,7 +115,7 @@ public GetMnqSqsInvokeArgs() public sealed class GetMnqSqsResult { /// - /// The endpoint of the SQS service for this project. + /// The endpoint of the SQS service for this Project. /// public readonly string Endpoint; /// diff --git a/sdk/dotnet/GetRedisCluster.cs b/sdk/dotnet/GetRedisCluster.cs index 0973fe71..a0636bdf 100644 --- a/sdk/dotnet/GetRedisCluster.cs +++ b/sdk/dotnet/GetRedisCluster.cs @@ -13,7 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetRedisCluster { /// - /// Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + /// Gets information about a Redis™ cluster. + /// + /// For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). /// /// ## Example Usage /// @@ -37,7 +39,9 @@ public static Task InvokeAsync(GetRedisClusterArgs? args => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getRedisCluster:getRedisCluster", args ?? new GetRedisClusterArgs(), options.WithDefaults()); /// - /// Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + /// Gets information about a Redis™ cluster. + /// + /// For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). /// /// ## Example Usage /// @@ -66,14 +70,14 @@ public sealed class GetRedisClusterArgs : global::Pulumi.InvokeArgs { /// /// The Redis cluster ID. - /// Only one of the `name` and `cluster_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `cluster_id`. /// [Input("clusterId")] public string? ClusterId { get; set; } /// /// The name of the Redis cluster. - /// Only one of the `name` and `cluster_id` should be specified. /// [Input("name")] public string? Name { get; set; } @@ -100,14 +104,14 @@ public sealed class GetRedisClusterInvokeArgs : global::Pulumi.InvokeArgs { /// /// The Redis cluster ID. - /// Only one of the `name` and `cluster_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `cluster_id`. /// [Input("clusterId")] public Input? ClusterId { get; set; } /// /// The name of the Redis cluster. - /// Only one of the `name` and `cluster_id` should be specified. /// [Input("name")] public Input? Name { get; set; } @@ -134,26 +138,68 @@ public GetRedisClusterInvokeArgs() [OutputType] public sealed class GetRedisClusterResult { + /// + /// List of acl rules. + /// public readonly ImmutableArray Acls; + /// + /// The PEM of the certificate used by redis, only when `tls_enabled` is true. + /// public readonly string Certificate; public readonly string? ClusterId; + /// + /// The number of nodes in the Redis Cluster. + /// public readonly int ClusterSize; + /// + /// The date and time of creation of the Redis Cluster. + /// public readonly string CreatedAt; /// /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; public readonly string? Name; + /// + /// The type of Redis Cluster (e.g. `RED1-M`). + /// public readonly string NodeType; + /// + /// Password of the first user of the Redis Cluster. + /// public readonly string Password; + /// + /// List of private networks endpoints of the Redis Cluster. + /// public readonly ImmutableArray PrivateNetworks; public readonly string? ProjectId; + /// + /// Public network details. + /// public readonly ImmutableArray PublicNetworks; + /// + /// Map of settings for redis cluster. + /// public readonly ImmutableDictionary Settings; + /// + /// The tags associated with the Redis Cluster. + /// public readonly ImmutableArray Tags; + /// + /// Whether TLS is enabled or not. + /// public readonly bool TlsEnabled; + /// + /// The date and time of the last update of the Redis Cluster. + /// public readonly string UpdatedAt; + /// + /// The first user of the Redis Cluster. + /// public readonly string UserName; + /// + /// Redis's Cluster version (e.g. `6.2.7`). + /// public readonly string Version; public readonly string? Zone; diff --git a/sdk/dotnet/GetRegistryImage.cs b/sdk/dotnet/GetRegistryImage.cs index 8ccaacce..8ea45ec0 100644 --- a/sdk/dotnet/GetRegistryImage.cs +++ b/sdk/dotnet/GetRegistryImage.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetRegistryImage { /// - /// Gets information about a registry image. + /// Gets information about a Container Registry image. /// /// ## Example Usage /// @@ -38,7 +38,7 @@ public static Task InvokeAsync(GetRegistryImageArgs? arg => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getRegistryImage:getRegistryImage", args ?? new GetRegistryImageArgs(), options.WithDefaults()); /// - /// Gets information about a registry image. + /// Gets information about a Container Registry image. /// /// ## Example Usage /// @@ -68,14 +68,14 @@ public sealed class GetRegistryImageArgs : global::Pulumi.InvokeArgs { /// /// The image ID. - /// Only one of `name` and `image_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `image_id`. /// [Input("imageId")] public string? ImageId { get; set; } /// /// The image name. - /// Only one of `name` and `image_id` should be specified. /// [Input("name")] public string? Name { get; set; } @@ -120,14 +120,14 @@ public sealed class GetRegistryImageInvokeArgs : global::Pulumi.InvokeArgs { /// /// The image ID. - /// Only one of `name` and `image_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `image_id`. /// [Input("imageId")] public Input? ImageId { get; set; } /// /// The image name. - /// Only one of `name` and `image_id` should be specified. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/GetRegistryNamespace.cs b/sdk/dotnet/GetRegistryNamespace.cs index efcca838..27bebceb 100644 --- a/sdk/dotnet/GetRegistryNamespace.cs +++ b/sdk/dotnet/GetRegistryNamespace.cs @@ -66,14 +66,14 @@ public sealed class GetRegistryNamespaceArgs : global::Pulumi.InvokeArgs { /// /// The namespace name. - /// Only one of `name` and `namespace_id` should be specified. /// [Input("name")] public string? Name { get; set; } /// /// The namespace id. - /// Only one of `name` and `namespace_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `image_id`. /// [Input("namespaceId")] public string? NamespaceId { get; set; } @@ -100,14 +100,14 @@ public sealed class GetRegistryNamespaceInvokeArgs : global::Pulumi.InvokeArgs { /// /// The namespace name. - /// Only one of `name` and `namespace_id` should be specified. /// [Input("name")] public Input? Name { get; set; } /// /// The namespace id. - /// Only one of `name` and `namespace_id` should be specified. + /// + /// > **Note** You must specify at least one: `name` and/or `image_id`. /// [Input("namespaceId")] public Input? NamespaceId { get; set; } diff --git a/sdk/dotnet/GetVpc.cs b/sdk/dotnet/GetVpc.cs index 1032048a..052a09a7 100644 --- a/sdk/dotnet/GetVpc.cs +++ b/sdk/dotnet/GetVpc.cs @@ -85,25 +85,25 @@ public static Output Invoke(GetVpcInvokeArgs? args = null, InvokeO public sealed class GetVpcArgs : global::Pulumi.InvokeArgs { /// - /// To get default VPC's information. + /// Whether the targeted VPC is the default VPC. /// [Input("isDefault")] public bool? IsDefault { get; set; } /// - /// Name of the VPC. One of `name` and `vpc_id` should be specified. + /// Name of the VPC. A maximum of one of `name` and `vpc_id` should be specified. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the organization the VPC is associated with. + /// The ID of the Organization the VPC is associated with. /// [Input("organizationId")] public string? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the VPC is associated with. + /// `project_id`) The ID of the Project the VPC is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -112,7 +112,7 @@ public sealed class GetVpcArgs : global::Pulumi.InvokeArgs public string? Region { get; set; } /// - /// ID of the VPC. One of `name` and `vpc_id` should be specified. + /// ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified. /// [Input("vpcId")] public string? VpcId { get; set; } @@ -126,25 +126,25 @@ public GetVpcArgs() public sealed class GetVpcInvokeArgs : global::Pulumi.InvokeArgs { /// - /// To get default VPC's information. + /// Whether the targeted VPC is the default VPC. /// [Input("isDefault")] public Input? IsDefault { get; set; } /// - /// Name of the VPC. One of `name` and `vpc_id` should be specified. + /// Name of the VPC. A maximum of one of `name` and `vpc_id` should be specified. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the organization the VPC is associated with. + /// The ID of the Organization the VPC is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the VPC is associated with. + /// `project_id`) The ID of the Project the VPC is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -153,7 +153,7 @@ public sealed class GetVpcInvokeArgs : global::Pulumi.InvokeArgs public Input? Region { get; set; } /// - /// ID of the VPC. One of `name` and `vpc_id` should be specified. + /// ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified. /// [Input("vpcId")] public Input? VpcId { get; set; } diff --git a/sdk/dotnet/GetVpcGatewayNetwork.cs b/sdk/dotnet/GetVpcGatewayNetwork.cs index 16e25c54..9ad0d4e3 100644 --- a/sdk/dotnet/GetVpcGatewayNetwork.cs +++ b/sdk/dotnet/GetVpcGatewayNetwork.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetVpcGatewayNetwork { /// - /// Gets information about a gateway network. + /// Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). /// /// ## Example Usage /// @@ -53,7 +53,7 @@ public static Task InvokeAsync(GetVpcGatewayNetworkA => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcGatewayNetwork:getVpcGatewayNetwork", args ?? new GetVpcGatewayNetworkArgs(), options.WithDefaults()); /// - /// Gets information about a gateway network. + /// Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). /// /// ## Example Usage /// @@ -96,35 +96,21 @@ public static Output Invoke(GetVpcGatewayNetworkInvo public sealed class GetVpcGatewayNetworkArgs : global::Pulumi.InvokeArgs { - /// - /// ID of the public gateway DHCP config - /// [Input("dhcpId")] public string? DhcpId { get; set; } - /// - /// If masquerade is enabled on requested network - /// [Input("enableMasquerade")] public bool? EnableMasquerade { get; set; } - /// - /// ID of the public gateway the gateway network is linked to - /// [Input("gatewayId")] public string? GatewayId { get; set; } /// - /// ID of the gateway network. - /// - /// > Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want. + /// ID of the GatewayNetwork. /// [Input("gatewayNetworkId")] public string? GatewayNetworkId { get; set; } - /// - /// ID of the private network the gateway network is linked to - /// [Input("privateNetworkId")] public string? PrivateNetworkId { get; set; } @@ -136,35 +122,21 @@ public GetVpcGatewayNetworkArgs() public sealed class GetVpcGatewayNetworkInvokeArgs : global::Pulumi.InvokeArgs { - /// - /// ID of the public gateway DHCP config - /// [Input("dhcpId")] public Input? DhcpId { get; set; } - /// - /// If masquerade is enabled on requested network - /// [Input("enableMasquerade")] public Input? EnableMasquerade { get; set; } - /// - /// ID of the public gateway the gateway network is linked to - /// [Input("gatewayId")] public Input? GatewayId { get; set; } /// - /// ID of the gateway network. - /// - /// > Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want. + /// ID of the GatewayNetwork. /// [Input("gatewayNetworkId")] public Input? GatewayNetworkId { get; set; } - /// - /// ID of the private network the gateway network is linked to - /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } diff --git a/sdk/dotnet/GetVpcPrivateNetwork.cs b/sdk/dotnet/GetVpcPrivateNetwork.cs index 691a675a..d8da8e0b 100644 --- a/sdk/dotnet/GetVpcPrivateNetwork.cs +++ b/sdk/dotnet/GetVpcPrivateNetwork.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetVpcPrivateNetwork { /// - /// Gets information about a private network. + /// Gets information about a Private Network. /// /// ## Example Usage /// @@ -48,7 +48,7 @@ public static Task InvokeAsync(GetVpcPrivateNetworkA => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPrivateNetwork:getVpcPrivateNetwork", args ?? new GetVpcPrivateNetworkArgs(), options.WithDefaults()); /// - /// Gets information about a private network. + /// Gets information about a Private Network. /// /// ## Example Usage /// @@ -87,19 +87,19 @@ public static Output Invoke(GetVpcPrivateNetworkInvo public sealed class GetVpcPrivateNetworkArgs : global::Pulumi.InvokeArgs { /// - /// Name of the private network. Cannot be used with `private_network_id`. + /// Name of the Private Network. Cannot be used with `private_network_id`. /// [Input("name")] public string? Name { get; set; } /// - /// ID of the private network. Cannot be used with `name` and `vpc_id`. + /// ID of the Private Network. Cannot be used with `name` or `vpc_id`. /// [Input("privateNetworkId")] public string? PrivateNetworkId { get; set; } /// - /// The ID of the project the private network is associated with. + /// The ID of the Project the Private Network is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -108,7 +108,7 @@ public sealed class GetVpcPrivateNetworkArgs : global::Pulumi.InvokeArgs public string? Region { get; set; } /// - /// ID of the VPC in which the private network is. Cannot be used with `private_network_id`. + /// ID of the VPC the Private Network is in. Cannot be used with `private_network_id`. /// [Input("vpcId")] public string? VpcId { get; set; } @@ -122,19 +122,19 @@ public GetVpcPrivateNetworkArgs() public sealed class GetVpcPrivateNetworkInvokeArgs : global::Pulumi.InvokeArgs { /// - /// Name of the private network. Cannot be used with `private_network_id`. + /// Name of the Private Network. Cannot be used with `private_network_id`. /// [Input("name")] public Input? Name { get; set; } /// - /// ID of the private network. Cannot be used with `name` and `vpc_id`. + /// ID of the Private Network. Cannot be used with `name` or `vpc_id`. /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// The ID of the project the private network is associated with. + /// The ID of the Project the Private Network is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -143,7 +143,7 @@ public sealed class GetVpcPrivateNetworkInvokeArgs : global::Pulumi.InvokeArgs public Input? Region { get; set; } /// - /// ID of the VPC in which the private network is. Cannot be used with `private_network_id`. + /// ID of the VPC the Private Network is in. Cannot be used with `private_network_id`. /// [Input("vpcId")] public Input? VpcId { get; set; } @@ -164,11 +164,11 @@ public sealed class GetVpcPrivateNetworkResult /// public readonly string Id; /// - /// The IPv4 subnet associated with the private network. + /// The IPv4 subnet associated with the Private Network. /// public readonly ImmutableArray Ipv4Subnets; /// - /// The IPv6 subnets associated with the private network. + /// The IPv6 subnets associated with the Private Network. /// public readonly ImmutableArray Ipv6Subnets; public readonly bool IsRegional; diff --git a/sdk/dotnet/GetVpcPublicGateway.cs b/sdk/dotnet/GetVpcPublicGateway.cs index c17315b2..54510da1 100644 --- a/sdk/dotnet/GetVpcPublicGateway.cs +++ b/sdk/dotnet/GetVpcPublicGateway.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetVpcPublicGateway { /// - /// Gets information about a public gateway. + /// Gets information about a Public Gateway. /// /// ## Example Usage /// @@ -50,7 +50,7 @@ public static Task InvokeAsync(GetVpcPublicGatewayArg => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPublicGateway:getVpcPublicGateway", args ?? new GetVpcPublicGatewayArgs(), options.WithDefaults()); /// - /// Gets information about a public gateway. + /// Gets information about a Public Gateway. /// /// ## Example Usage /// @@ -91,13 +91,13 @@ public static Output Invoke(GetVpcPublicGatewayInvoke public sealed class GetVpcPublicGatewayArgs : global::Pulumi.InvokeArgs { /// - /// Exact name of the public gateway. + /// Exact name of the Public Gateway. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the project the public gateway is associated with. + /// The ID of the Project the Public Gateway is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } @@ -106,8 +106,7 @@ public sealed class GetVpcPublicGatewayArgs : global::Pulumi.InvokeArgs public string? PublicGatewayId { get; set; } /// - /// `zone`) The zone in which - /// the public gateway should be created. + /// `zone`) The Public Gateway's zone. /// [Input("zone")] public string? Zone { get; set; } @@ -121,13 +120,13 @@ public GetVpcPublicGatewayArgs() public sealed class GetVpcPublicGatewayInvokeArgs : global::Pulumi.InvokeArgs { /// - /// Exact name of the public gateway. + /// Exact name of the Public Gateway. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the project the public gateway is associated with. + /// The ID of the Project the Public Gateway is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -136,8 +135,7 @@ public sealed class GetVpcPublicGatewayInvokeArgs : global::Pulumi.InvokeArgs public Input? PublicGatewayId { get; set; } /// - /// `zone`) The zone in which - /// the public gateway should be created. + /// `zone`) The Public Gateway's zone. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/GetVpcPublicGatewayDhcp.cs b/sdk/dotnet/GetVpcPublicGatewayDhcp.cs index d13e51e0..617b82be 100644 --- a/sdk/dotnet/GetVpcPublicGatewayDhcp.cs +++ b/sdk/dotnet/GetVpcPublicGatewayDhcp.cs @@ -13,7 +13,7 @@ namespace Pulumiverse.Scaleway public static class GetVpcPublicGatewayDhcp { /// - /// Gets information about a public gateway DHCP. + /// Gets information about a Public Gateway DHCP configuration. /// /// ## Example Usage /// @@ -43,7 +43,7 @@ public static Task InvokeAsync(GetVpcPublicGatewa => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPublicGatewayDhcp:getVpcPublicGatewayDhcp", args ?? new GetVpcPublicGatewayDhcpArgs(), options.WithDefaults()); /// - /// Gets information about a public gateway DHCP. + /// Gets information about a Public Gateway DHCP configuration. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetVpcPublicGatewayDhcpReservation.cs b/sdk/dotnet/GetVpcPublicGatewayDhcpReservation.cs index 9285f8e3..5d263311 100644 --- a/sdk/dotnet/GetVpcPublicGatewayDhcpReservation.cs +++ b/sdk/dotnet/GetVpcPublicGatewayDhcpReservation.cs @@ -13,8 +13,8 @@ namespace Pulumiverse.Scaleway public static class GetVpcPublicGatewayDhcpReservation { /// - /// Gets information about a dhcp entries. For further information please check the - /// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + /// Gets information about a DHCP entry. For further information, please see the + /// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ /// /// ## Example Dynamic /// @@ -74,7 +74,7 @@ public static class GetVpcPublicGatewayDhcpReservation /// }); /// ``` /// - /// ## Example Static and PAT rule + /// ## Example Static and PAT Rule /// /// ```csharp /// using System.Collections.Generic; @@ -166,8 +166,8 @@ public static Task InvokeAsync(GetVpcP => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPublicGatewayDhcpReservation:getVpcPublicGatewayDhcpReservation", args ?? new GetVpcPublicGatewayDhcpReservationArgs(), options.WithDefaults()); /// - /// Gets information about a dhcp entries. For further information please check the - /// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + /// Gets information about a DHCP entry. For further information, please see the + /// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ /// /// ## Example Dynamic /// @@ -227,7 +227,7 @@ public static Task InvokeAsync(GetVpcP /// }); /// ``` /// - /// ## Example Static and PAT rule + /// ## Example Static and PAT Rule /// /// ```csharp /// using System.Collections.Generic; @@ -337,19 +337,19 @@ public sealed class GetVpcPublicGatewayDhcpReservationArgs : global::Pulumi.Invo public string? MacAddress { get; set; } /// - /// The ID of the Reservation to retrieve. + /// The ID of the reservation (DHCP entry) to retrieve. /// [Input("reservationId")] public string? ReservationId { get; set; } /// - /// Boolean to wait for mac_address to exist in dhcp. + /// Whether to wait for `mac_address` to exist in DHCP. /// [Input("waitForDhcp")] public bool? WaitForDhcp { get; set; } /// - /// `zone`) The zone in which the image exists. + /// `zone`). The zone in which the reservation exists. /// [Input("zone")] public string? Zone { get; set; } @@ -377,19 +377,19 @@ public sealed class GetVpcPublicGatewayDhcpReservationInvokeArgs : global::Pulum public Input? MacAddress { get; set; } /// - /// The ID of the Reservation to retrieve. + /// The ID of the reservation (DHCP entry) to retrieve. /// [Input("reservationId")] public Input? ReservationId { get; set; } /// - /// Boolean to wait for mac_address to exist in dhcp. + /// Whether to wait for `mac_address` to exist in DHCP. /// [Input("waitForDhcp")] public Input? WaitForDhcp { get; set; } /// - /// `zone`) The zone in which the image exists. + /// `zone`). The zone in which the reservation exists. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/GetVpcPublicGatewayIp.cs b/sdk/dotnet/GetVpcPublicGatewayIp.cs index cb610897..2b4e3638 100644 --- a/sdk/dotnet/GetVpcPublicGatewayIp.cs +++ b/sdk/dotnet/GetVpcPublicGatewayIp.cs @@ -13,9 +13,9 @@ namespace Pulumiverse.Scaleway public static class GetVpcPublicGatewayIp { /// - /// Gets information about a public gateway IP. + /// Gets information about a Public Gateway public flexible IP address. /// - /// For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + /// For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). /// /// ## Example Usage /// @@ -42,9 +42,9 @@ public static Task InvokeAsync(GetVpcPublicGatewayI => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPublicGatewayIp:getVpcPublicGatewayIp", args ?? new GetVpcPublicGatewayIpArgs(), options.WithDefaults()); /// - /// Gets information about a public gateway IP. + /// Gets information about a Public Gateway public flexible IP address. /// - /// For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + /// For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetVpcPublicPatRule.cs b/sdk/dotnet/GetVpcPublicPatRule.cs index b6f6cb77..4bf870d8 100644 --- a/sdk/dotnet/GetVpcPublicPatRule.cs +++ b/sdk/dotnet/GetVpcPublicPatRule.cs @@ -13,8 +13,8 @@ namespace Pulumiverse.Scaleway public static class GetVpcPublicPatRule { /// - /// Gets information about a public gateway PAT rule. For further information please check the - /// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + /// Gets information about a Public Gateway PAT rule. For further information, please see the + /// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). /// /// ## Example Usage /// @@ -107,8 +107,8 @@ public static Task InvokeAsync(GetVpcPublicPatRuleArg => global::Pulumi.Deployment.Instance.InvokeAsync("scaleway:index/getVpcPublicPatRule:getVpcPublicPatRule", args ?? new GetVpcPublicPatRuleArgs(), options.WithDefaults()); /// - /// Gets information about a public gateway PAT rule. For further information please check the - /// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + /// Gets information about a Public Gateway PAT rule. For further information, please see the + /// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). /// /// ## Example Usage /// @@ -212,7 +212,7 @@ public sealed class GetVpcPublicPatRuleArgs : global::Pulumi.InvokeArgs /// /// `zone`) The zone in which - /// the image exists. + /// the rule exists. /// [Input("zone")] public string? Zone { get; set; } @@ -233,7 +233,7 @@ public sealed class GetVpcPublicPatRuleInvokeArgs : global::Pulumi.InvokeArgs /// /// `zone`) The zone in which - /// the image exists. + /// the rule exists. /// [Input("zone")] public Input? Zone { get; set; } @@ -250,7 +250,7 @@ public sealed class GetVpcPublicPatRuleResult { public readonly string CreatedAt; /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// public readonly string GatewayId; /// @@ -260,19 +260,19 @@ public sealed class GetVpcPublicPatRuleResult public readonly string OrganizationId; public readonly string PatRuleId; /// - /// The Private IP to forward data to (IP address). + /// The private IP address to forward data to. /// public readonly string PrivateIp; /// - /// The Private port to translate to. + /// The private port to translate to. /// public readonly int PrivatePort; /// - /// The Protocol the rule should apply to. Possible values are both, tcp and udp. + /// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. /// public readonly string Protocol; /// - /// The Public port to listen on. + /// The public port to listen on. /// public readonly int PublicPort; public readonly string UpdatedAt; diff --git a/sdk/dotnet/GetVpcs.cs b/sdk/dotnet/GetVpcs.cs index 0d647b91..b53b39a2 100644 --- a/sdk/dotnet/GetVpcs.cs +++ b/sdk/dotnet/GetVpcs.cs @@ -67,19 +67,19 @@ public static Output Invoke(GetVpcsInvokeArgs? args = null, Invok public sealed class GetVpcsArgs : global::Pulumi.InvokeArgs { /// - /// The VPC name used as filter. VPCs with a name like it are listed. + /// The VPC name to filter for. VPCs with a similar name are listed. /// [Input("name")] public string? Name { get; set; } /// - /// The ID of the project the VPC is associated with. + /// The ID of the Project the VPC is associated with. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// `region`). The region in which vpcs exist. + /// `region`). The region in which the VPCs exist. /// [Input("region")] public string? Region { get; set; } @@ -88,7 +88,7 @@ public sealed class GetVpcsArgs : global::Pulumi.InvokeArgs private List? _tags; /// - /// List of tags used as filter. VPCs with these exact tags are listed. + /// List of tags to filter for. VPCs with these exact tags are listed. /// public List Tags { @@ -105,19 +105,19 @@ public GetVpcsArgs() public sealed class GetVpcsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The VPC name used as filter. VPCs with a name like it are listed. + /// The VPC name to filter for. VPCs with a similar name are listed. /// [Input("name")] public Input? Name { get; set; } /// - /// The ID of the project the VPC is associated with. + /// The ID of the Project the VPC is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which vpcs exist. + /// `region`). The region in which the VPCs exist. /// [Input("region")] public Input? Region { get; set; } @@ -126,7 +126,7 @@ public sealed class GetVpcsInvokeArgs : global::Pulumi.InvokeArgs private InputList? _tags; /// - /// List of tags used as filter. VPCs with these exact tags are listed. + /// List of tags to filter for. VPCs with these exact tags are listed. /// public InputList Tags { @@ -150,17 +150,17 @@ public sealed class GetVpcsResult public readonly string Id; public readonly string? Name; /// - /// The organization ID the VPC is associated with. + /// The Organization ID the VPC is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the VPC is associated with. + /// The ID of the Project the VPC is associated with. /// public readonly string ProjectId; public readonly string Region; public readonly ImmutableArray Tags; /// - /// List of found vpcs + /// List of retrieved VPCs /// public readonly ImmutableArray Vpcs; diff --git a/sdk/dotnet/IamApiKey.cs b/sdk/dotnet/IamApiKey.cs index e01ed915..0b3df20c 100644 --- a/sdk/dotnet/IamApiKey.cs +++ b/sdk/dotnet/IamApiKey.cs @@ -11,11 +11,12 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway IAM API Keys. For more information, please - /// check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae) + /// Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae). /// /// ## Example Usage /// + /// ### With application + /// /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -35,6 +36,30 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// + /// ### With user + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumiverse.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var mainIamUser = new Scaleway.IamUser("mainIamUser", new() + /// { + /// Email = "test@test.com", + /// }); + /// + /// var mainIamApiKey = new Scaleway.IamApiKey("mainIamApiKey", new() + /// { + /// UserId = mainIamUser.Id, + /// Description = "a description", + /// }); + /// + /// }); + /// ``` + /// /// ## Import /// /// Api keys can be imported using the `{id}`, e.g. @@ -49,20 +74,19 @@ namespace Pulumiverse.Scaleway public partial class IamApiKey : global::Pulumi.CustomResource { /// - /// The access key of the iam api key. + /// The access key of the IAM API key. /// [Output("accessKey")] public Output AccessKey { get; private set; } = null!; /// - /// ID of the application attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the application attached to the API key. /// [Output("applicationId")] public Output ApplicationId { get; private set; } = null!; /// - /// The date and time of the creation of the iam api key. + /// The date and time of the creation of the IAM API key. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; @@ -74,45 +98,45 @@ public partial class IamApiKey : global::Pulumi.CustomResource public Output CreationIp { get; private set; } = null!; /// - /// The default project ID to use with object storage. + /// The default Project ID to use with Object Storage. /// [Output("defaultProjectId")] public Output DefaultProjectId { get; private set; } = null!; /// - /// The description of the iam api key. + /// The description of the API key. /// [Output("description")] public Output Description { get; private set; } = null!; /// - /// Whether the iam api key is editable. + /// Whether the IAM API key is editable. /// [Output("editable")] public Output Editable { get; private set; } = null!; /// - /// The date and time of the expiration of the iam api key. Please note that in case of change, + /// The date and time of the expiration of the IAM API key. Please note that in case of any changes, /// the resource will be recreated. /// [Output("expiresAt")] public Output ExpiresAt { get; private set; } = null!; /// - /// The secret Key of the iam api key. + /// The secret Key of the IAM API key. /// [Output("secretKey")] public Output SecretKey { get; private set; } = null!; /// - /// The date and time of the last update of the iam api key. + /// The date and time of the last update of the IAM API key. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// ID of the user attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the user attached to the API key. + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Output("userId")] public Output UserId { get; private set; } = null!; @@ -169,34 +193,33 @@ public static IamApiKey Get(string name, Input id, IamApiKeyState? state public sealed class IamApiKeyArgs : global::Pulumi.ResourceArgs { /// - /// ID of the application attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the application attached to the API key. /// [Input("applicationId")] public Input? ApplicationId { get; set; } /// - /// The default project ID to use with object storage. + /// The default Project ID to use with Object Storage. /// [Input("defaultProjectId")] public Input? DefaultProjectId { get; set; } /// - /// The description of the iam api key. + /// The description of the API key. /// [Input("description")] public Input? Description { get; set; } /// - /// The date and time of the expiration of the iam api key. Please note that in case of change, + /// The date and time of the expiration of the IAM API key. Please note that in case of any changes, /// the resource will be recreated. /// [Input("expiresAt")] public Input? ExpiresAt { get; set; } /// - /// ID of the user attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the user attached to the API key. + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Input("userId")] public Input? UserId { get; set; } @@ -210,20 +233,19 @@ public IamApiKeyArgs() public sealed class IamApiKeyState : global::Pulumi.ResourceArgs { /// - /// The access key of the iam api key. + /// The access key of the IAM API key. /// [Input("accessKey")] public Input? AccessKey { get; set; } /// - /// ID of the application attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the application attached to the API key. /// [Input("applicationId")] public Input? ApplicationId { get; set; } /// - /// The date and time of the creation of the iam api key. + /// The date and time of the creation of the IAM API key. /// [Input("createdAt")] public Input? CreatedAt { get; set; } @@ -235,25 +257,25 @@ public sealed class IamApiKeyState : global::Pulumi.ResourceArgs public Input? CreationIp { get; set; } /// - /// The default project ID to use with object storage. + /// The default Project ID to use with Object Storage. /// [Input("defaultProjectId")] public Input? DefaultProjectId { get; set; } /// - /// The description of the iam api key. + /// The description of the API key. /// [Input("description")] public Input? Description { get; set; } /// - /// Whether the iam api key is editable. + /// Whether the IAM API key is editable. /// [Input("editable")] public Input? Editable { get; set; } /// - /// The date and time of the expiration of the iam api key. Please note that in case of change, + /// The date and time of the expiration of the IAM API key. Please note that in case of any changes, /// the resource will be recreated. /// [Input("expiresAt")] @@ -263,7 +285,7 @@ public sealed class IamApiKeyState : global::Pulumi.ResourceArgs private Input? _secretKey; /// - /// The secret Key of the iam api key. + /// The secret Key of the IAM API key. /// public Input? SecretKey { @@ -276,14 +298,14 @@ public Input? SecretKey } /// - /// The date and time of the last update of the iam api key. + /// The date and time of the last update of the IAM API key. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } /// - /// ID of the user attached to the api key. - /// Only one of the `application_id` and `user_id` should be specified. + /// ID of the user attached to the API key. + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Input("userId")] public Input? UserId { get; set; } diff --git a/sdk/dotnet/IamApplication.cs b/sdk/dotnet/IamApplication.cs index 91bf08cd..a12edb44 100644 --- a/sdk/dotnet/IamApplication.cs +++ b/sdk/dotnet/IamApplication.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). + /// Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). /// /// ## Example Usage /// diff --git a/sdk/dotnet/IamGroup.cs b/sdk/dotnet/IamGroup.cs index f1bc4b80..c276740a 100644 --- a/sdk/dotnet/IamGroup.cs +++ b/sdk/dotnet/IamGroup.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway IAM Groups. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + /// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). /// /// ## Example Usage /// diff --git a/sdk/dotnet/IamGroupMembership.cs b/sdk/dotnet/IamGroupMembership.cs index af825997..dd8ee422 100644 --- a/sdk/dotnet/IamGroupMembership.cs +++ b/sdk/dotnet/IamGroupMembership.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Add members to an IAM group. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + /// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). /// /// ## Example Usage /// @@ -74,7 +74,7 @@ public partial class IamGroupMembership : global::Pulumi.CustomResource /// /// The ID of the user that will be added to the group /// - /// - > Only one of `application_id` or `user_id` must be specified + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Output("userId")] public Output UserId { get; private set; } = null!; @@ -141,7 +141,7 @@ public sealed class IamGroupMembershipArgs : global::Pulumi.ResourceArgs /// /// The ID of the user that will be added to the group /// - /// - > Only one of `application_id` or `user_id` must be specified + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Input("userId")] public Input? UserId { get; set; } @@ -169,7 +169,7 @@ public sealed class IamGroupMembershipState : global::Pulumi.ResourceArgs /// /// The ID of the user that will be added to the group /// - /// - > Only one of `application_id` or `user_id` must be specified + /// > **Note** You must specify at least one: `application_id` and/or `user_id`. /// [Input("userId")] public Input? UserId { get; set; } diff --git a/sdk/dotnet/IamPolicy.cs b/sdk/dotnet/IamPolicy.cs index 06d71dbf..3526dd32 100644 --- a/sdk/dotnet/IamPolicy.cs +++ b/sdk/dotnet/IamPolicy.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7). + /// Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy). /// /// > You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/). /// @@ -104,7 +104,7 @@ namespace Pulumiverse.Scaleway public partial class IamPolicy : global::Pulumi.CustomResource { /// - /// ID of the Application the policy will be linked to + /// ID of the application the policy will be linked to /// [Output("applicationId")] public Output ApplicationId { get; private set; } = null!; @@ -116,7 +116,7 @@ public partial class IamPolicy : global::Pulumi.CustomResource public Output CreatedAt { get; private set; } = null!; /// - /// The description of the iam policy. + /// The description of the IAM policy. /// [Output("description")] public Output Description { get; private set; } = null!; @@ -128,13 +128,13 @@ public partial class IamPolicy : global::Pulumi.CustomResource public Output Editable { get; private set; } = null!; /// - /// ID of the Group the policy will be linked to + /// ID of the group the policy will be linked to /// [Output("groupId")] public Output GroupId { get; private set; } = null!; /// - /// The name of the iam policy. + /// The name of the IAM policy. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -142,7 +142,7 @@ public partial class IamPolicy : global::Pulumi.CustomResource /// /// If the policy doesn't apply to a principal. /// - /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. /// [Output("noPrincipal")] public Output NoPrincipal { get; private set; } = null!; @@ -160,7 +160,7 @@ public partial class IamPolicy : global::Pulumi.CustomResource public Output> Rules { get; private set; } = null!; /// - /// The tags associated with the iam policy. + /// The tags associated with the IAM policy. /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -172,7 +172,7 @@ public partial class IamPolicy : global::Pulumi.CustomResource public Output UpdatedAt { get; private set; } = null!; /// - /// ID of the User the policy will be linked to + /// ID of the user the policy will be linked to /// [Output("userId")] public Output UserId { get; private set; } = null!; @@ -225,25 +225,25 @@ public static IamPolicy Get(string name, Input id, IamPolicyState? state public sealed class IamPolicyArgs : global::Pulumi.ResourceArgs { /// - /// ID of the Application the policy will be linked to + /// ID of the application the policy will be linked to /// [Input("applicationId")] public Input? ApplicationId { get; set; } /// - /// The description of the iam policy. + /// The description of the IAM policy. /// [Input("description")] public Input? Description { get; set; } /// - /// ID of the Group the policy will be linked to + /// ID of the group the policy will be linked to /// [Input("groupId")] public Input? GroupId { get; set; } /// - /// The name of the iam policy. + /// The name of the IAM policy. /// [Input("name")] public Input? Name { get; set; } @@ -251,7 +251,7 @@ public sealed class IamPolicyArgs : global::Pulumi.ResourceArgs /// /// If the policy doesn't apply to a principal. /// - /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. /// [Input("noPrincipal")] public Input? NoPrincipal { get; set; } @@ -278,7 +278,7 @@ public InputList Rules private InputList? _tags; /// - /// The tags associated with the iam policy. + /// The tags associated with the IAM policy. /// public InputList Tags { @@ -287,7 +287,7 @@ public InputList Tags } /// - /// ID of the User the policy will be linked to + /// ID of the user the policy will be linked to /// [Input("userId")] public Input? UserId { get; set; } @@ -301,7 +301,7 @@ public IamPolicyArgs() public sealed class IamPolicyState : global::Pulumi.ResourceArgs { /// - /// ID of the Application the policy will be linked to + /// ID of the application the policy will be linked to /// [Input("applicationId")] public Input? ApplicationId { get; set; } @@ -313,7 +313,7 @@ public sealed class IamPolicyState : global::Pulumi.ResourceArgs public Input? CreatedAt { get; set; } /// - /// The description of the iam policy. + /// The description of the IAM policy. /// [Input("description")] public Input? Description { get; set; } @@ -325,13 +325,13 @@ public sealed class IamPolicyState : global::Pulumi.ResourceArgs public Input? Editable { get; set; } /// - /// ID of the Group the policy will be linked to + /// ID of the group the policy will be linked to /// [Input("groupId")] public Input? GroupId { get; set; } /// - /// The name of the iam policy. + /// The name of the IAM policy. /// [Input("name")] public Input? Name { get; set; } @@ -339,7 +339,7 @@ public sealed class IamPolicyState : global::Pulumi.ResourceArgs /// /// If the policy doesn't apply to a principal. /// - /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + /// > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. /// [Input("noPrincipal")] public Input? NoPrincipal { get; set; } @@ -366,7 +366,7 @@ public InputList Rules private InputList? _tags; /// - /// The tags associated with the iam policy. + /// The tags associated with the IAM policy. /// public InputList Tags { @@ -381,7 +381,7 @@ public InputList Tags public Input? UpdatedAt { get; set; } /// - /// ID of the User the policy will be linked to + /// ID of the user the policy will be linked to /// [Input("userId")] public Input? UserId { get; set; } diff --git a/sdk/dotnet/IamSshKey.cs b/sdk/dotnet/IamSshKey.cs index adc57d44..a4a925ad 100644 --- a/sdk/dotnet/IamSshKey.cs +++ b/sdk/dotnet/IamSshKey.cs @@ -12,8 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway IAM SSH Keys. - /// For more information, - /// see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). + /// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). /// /// ## Example Usage /// diff --git a/sdk/dotnet/IamUser.cs b/sdk/dotnet/IamUser.cs index 9328638b..b1036cdf 100644 --- a/sdk/dotnet/IamUser.cs +++ b/sdk/dotnet/IamUser.cs @@ -54,13 +54,13 @@ public partial class IamUser : global::Pulumi.CustomResource public Output AccountRootUserId { get; private set; } = null!; /// - /// The date and time of the creation of the iam user. + /// The date and time of the creation of the IAM user. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// Whether the iam user is deletable. + /// Whether the IAM user is deletable. /// [Output("deletable")] public Output Deletable { get; private set; } = null!; @@ -90,19 +90,19 @@ public partial class IamUser : global::Pulumi.CustomResource public Output OrganizationId { get; private set; } = null!; /// - /// The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + /// The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). /// [Output("status")] public Output Status { get; private set; } = null!; /// - /// The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + /// The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// The date and time of the last update of the iam user. + /// The date and time of the last update of the IAM user. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; @@ -181,13 +181,13 @@ public sealed class IamUserState : global::Pulumi.ResourceArgs public Input? AccountRootUserId { get; set; } /// - /// The date and time of the creation of the iam user. + /// The date and time of the creation of the IAM user. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// Whether the iam user is deletable. + /// Whether the IAM user is deletable. /// [Input("deletable")] public Input? Deletable { get; set; } @@ -217,19 +217,19 @@ public sealed class IamUserState : global::Pulumi.ResourceArgs public Input? OrganizationId { get; set; } /// - /// The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + /// The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). /// [Input("status")] public Input? Status { get; set; } /// - /// The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + /// The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). /// [Input("type")] public Input? Type { get; set; } /// - /// The date and time of the last update of the iam user. + /// The date and time of the last update of the IAM user. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } diff --git a/sdk/dotnet/Inputs/DatabaseAclAclRuleArgs.cs b/sdk/dotnet/Inputs/DatabaseAclAclRuleArgs.cs index f05935dc..38fdd0f2 100644 --- a/sdk/dotnet/Inputs/DatabaseAclAclRuleArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseAclAclRuleArgs.cs @@ -20,7 +20,7 @@ public sealed class DatabaseAclAclRuleArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + /// The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// [Input("ip", required: true)] public Input Ip { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DatabaseAclAclRuleGetArgs.cs b/sdk/dotnet/Inputs/DatabaseAclAclRuleGetArgs.cs index 1bd41f5b..2c761151 100644 --- a/sdk/dotnet/Inputs/DatabaseAclAclRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseAclAclRuleGetArgs.cs @@ -20,7 +20,7 @@ public sealed class DatabaseAclAclRuleGetArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + /// The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// [Input("ip", required: true)] public Input Ip { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessArgs.cs b/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessArgs.cs index 416d55ea..11281479 100644 --- a/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class DatabaseReadReplicaDirectAccessArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// [Input("endpointId")] public Input? EndpointId { get; set; } /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// [Input("hostname")] public Input? Hostname { get; set; } /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// [Input("ip")] public Input? Ip { get; set; } diff --git a/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessGetArgs.cs b/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessGetArgs.cs index 26fe65bb..f537b366 100644 --- a/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessGetArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseReadReplicaDirectAccessGetArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class DatabaseReadReplicaDirectAccessGetArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// [Input("endpointId")] public Input? EndpointId { get; set; } /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// [Input("hostname")] public Input? Hostname { get; set; } /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// [Input("ip")] public Input? Ip { get; set; } diff --git a/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkArgs.cs b/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkArgs.cs index b55c4bf4..d674f700 100644 --- a/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkArgs.cs @@ -22,19 +22,19 @@ public sealed class DatabaseReadReplicaPrivateNetworkArgs : global::Pulumi.Resou public Input? EnableIpam { get; set; } /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// [Input("endpointId")] public Input? EndpointId { get; set; } /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// [Input("hostname")] public Input? Hostname { get; set; } /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// [Input("ip")] public Input? Ip { get; set; } @@ -52,7 +52,7 @@ public sealed class DatabaseReadReplicaPrivateNetworkArgs : global::Pulumi.Resou public Input? Port { get; set; } /// - /// UUID of the private network to be connected to the read replica. + /// UUID of the Private Netork to be connected to the Read Replica. /// [Input("privateNetworkId", required: true)] public Input PrivateNetworkId { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkGetArgs.cs b/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkGetArgs.cs index 7d3b9f76..ea01f8ce 100644 --- a/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseReadReplicaPrivateNetworkGetArgs.cs @@ -22,19 +22,19 @@ public sealed class DatabaseReadReplicaPrivateNetworkGetArgs : global::Pulumi.Re public Input? EnableIpam { get; set; } /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// [Input("endpointId")] public Input? EndpointId { get; set; } /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// [Input("hostname")] public Input? Hostname { get; set; } /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// [Input("ip")] public Input? Ip { get; set; } @@ -52,7 +52,7 @@ public sealed class DatabaseReadReplicaPrivateNetworkGetArgs : global::Pulumi.Re public Input? Port { get; set; } /// - /// UUID of the private network to be connected to the read replica. + /// UUID of the Private Netork to be connected to the Read Replica. /// [Input("privateNetworkId", required: true)] public Input PrivateNetworkId { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkArgs.cs b/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkArgs.cs new file mode 100644 index 00000000..8bb194f0 --- /dev/null +++ b/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Scaleway.Inputs +{ + + public sealed class DocumentdbPrivateNetworkEndpointPrivateNetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// The hostname of your endpoint. + /// + [Input("hostname")] + public Input? Hostname { get; set; } + + /// + /// The private network ID. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The IP of your private network service. + /// + [Input("ip")] + public Input? Ip { get; set; } + + /// + /// The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + /// + [Input("ipNet")] + public Input? IpNet { get; set; } + + /// + /// The name of your private service. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The port of your private service. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The zone of your endpoint. + /// + [Input("zone")] + public Input? Zone { get; set; } + + public DocumentdbPrivateNetworkEndpointPrivateNetworkArgs() + { + } + public static new DocumentdbPrivateNetworkEndpointPrivateNetworkArgs Empty => new DocumentdbPrivateNetworkEndpointPrivateNetworkArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs.cs b/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs.cs new file mode 100644 index 00000000..05add152 --- /dev/null +++ b/sdk/dotnet/Inputs/DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Scaleway.Inputs +{ + + public sealed class DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The hostname of your endpoint. + /// + [Input("hostname")] + public Input? Hostname { get; set; } + + /// + /// The private network ID. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The IP of your private network service. + /// + [Input("ip")] + public Input? Ip { get; set; } + + /// + /// The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + /// + [Input("ipNet")] + public Input? IpNet { get; set; } + + /// + /// The name of your private service. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The port of your private service. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The zone of your endpoint. + /// + [Input("zone")] + public Input? Zone { get; set; } + + public DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs() + { + } + public static new DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs Empty => new DocumentdbPrivateNetworkEndpointPrivateNetworkGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetIpamIpResource.cs b/sdk/dotnet/Inputs/GetIpamIpResource.cs index 233f96b8..77c2ca27 100644 --- a/sdk/dotnet/Inputs/GetIpamIpResource.cs +++ b/sdk/dotnet/Inputs/GetIpamIpResource.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class GetIpamIpResourceArgs : global::Pulumi.InvokeArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// [Input("id")] public string? Id { get; set; } /// - /// The name of the resource to get the IP from. + /// The name of the resource the IP is attached to. /// [Input("name")] public string? Name { get; set; } /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// [Input("type", required: true)] public string Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/GetIpamIpResourceArgs.cs b/sdk/dotnet/Inputs/GetIpamIpResourceArgs.cs index c2625e56..d642f0be 100644 --- a/sdk/dotnet/Inputs/GetIpamIpResourceArgs.cs +++ b/sdk/dotnet/Inputs/GetIpamIpResourceArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class GetIpamIpResourceInputArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// [Input("id")] public Input? Id { get; set; } /// - /// The name of the resource to get the IP from. + /// The name of the resource the IP is attached to. /// [Input("name")] public Input? Name { get; set; } /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/GetIpamIpsResource.cs b/sdk/dotnet/Inputs/GetIpamIpsResource.cs index 0d121313..41c5ce0c 100644 --- a/sdk/dotnet/Inputs/GetIpamIpsResource.cs +++ b/sdk/dotnet/Inputs/GetIpamIpsResource.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class GetIpamIpsResourceArgs : global::Pulumi.InvokeArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the attached resource. /// [Input("id")] public string? Id { get; set; } /// - /// The name of the resource to get the IP from. + /// The name of the attached resource. /// [Input("name")] public string? Name { get; set; } /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// [Input("type", required: true)] public string Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/GetIpamIpsResourceArgs.cs b/sdk/dotnet/Inputs/GetIpamIpsResourceArgs.cs index 0398d50f..48a7e9df 100644 --- a/sdk/dotnet/Inputs/GetIpamIpsResourceArgs.cs +++ b/sdk/dotnet/Inputs/GetIpamIpsResourceArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class GetIpamIpsResourceInputArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the attached resource. /// [Input("id")] public Input? Id { get; set; } /// - /// The name of the resource to get the IP from. + /// The name of the attached resource. /// [Input("name")] public Input? Name { get; set; } /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/IamPolicyRuleArgs.cs b/sdk/dotnet/Inputs/IamPolicyRuleArgs.cs index 2c5c50a5..28b800a2 100644 --- a/sdk/dotnet/Inputs/IamPolicyRuleArgs.cs +++ b/sdk/dotnet/Inputs/IamPolicyRuleArgs.cs @@ -23,12 +23,12 @@ public sealed class IamPolicyRuleArgs : global::Pulumi.ResourceArgs private InputList? _permissionSetNames; /// - /// Names of permission sets bound to the rule. + /// Names of permission sets bind to the rule. /// - /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: /// /// ```shell - /// $ scw iam permission-set list + /// $ scw IAM permission-set list /// ``` /// public InputList PermissionSetNames @@ -43,7 +43,7 @@ public InputList PermissionSetNames /// /// List of project IDs scoped to the rule. /// - /// > **Important** One of `organization_id` or `project_ids` must be set per rule. + /// > **Important** One `organization_id` or `project_ids` must be set per rule. /// public InputList ProjectIds { diff --git a/sdk/dotnet/Inputs/IamPolicyRuleGetArgs.cs b/sdk/dotnet/Inputs/IamPolicyRuleGetArgs.cs index 9ba0aeda..086a282f 100644 --- a/sdk/dotnet/Inputs/IamPolicyRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/IamPolicyRuleGetArgs.cs @@ -23,12 +23,12 @@ public sealed class IamPolicyRuleGetArgs : global::Pulumi.ResourceArgs private InputList? _permissionSetNames; /// - /// Names of permission sets bound to the rule. + /// Names of permission sets bind to the rule. /// - /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: /// /// ```shell - /// $ scw iam permission-set list + /// $ scw IAM permission-set list /// ``` /// public InputList PermissionSetNames @@ -43,7 +43,7 @@ public InputList PermissionSetNames /// /// List of project IDs scoped to the rule. /// - /// > **Important** One of `organization_id` or `project_ids` must be set per rule. + /// > **Important** One `organization_id` or `project_ids` must be set per rule. /// public InputList ProjectIds { diff --git a/sdk/dotnet/Inputs/IpamIpResourceArgs.cs b/sdk/dotnet/Inputs/IpamIpResourceArgs.cs index 242e5a36..c2547e3e 100644 --- a/sdk/dotnet/Inputs/IpamIpResourceArgs.cs +++ b/sdk/dotnet/Inputs/IpamIpResourceArgs.cs @@ -14,13 +14,13 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class IpamIpResourceArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// [Input("id")] public Input? Id { get; set; } /// - /// The MAC Address of the resource the IP is attached to. + /// The MAC address of the resource the IP is attached to. /// [Input("macAddress")] public Input? MacAddress { get; set; } diff --git a/sdk/dotnet/Inputs/IpamIpResourceGetArgs.cs b/sdk/dotnet/Inputs/IpamIpResourceGetArgs.cs index d4d6c130..62413048 100644 --- a/sdk/dotnet/Inputs/IpamIpResourceGetArgs.cs +++ b/sdk/dotnet/Inputs/IpamIpResourceGetArgs.cs @@ -14,13 +14,13 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class IpamIpResourceGetArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// [Input("id")] public Input? Id { get; set; } /// - /// The MAC Address of the resource the IP is attached to. + /// The MAC address of the resource the IP is attached to. /// [Input("macAddress")] public Input? MacAddress { get; set; } diff --git a/sdk/dotnet/Inputs/IpamIpSourceArgs.cs b/sdk/dotnet/Inputs/IpamIpSourceArgs.cs index 9c43ecf3..e83971e1 100644 --- a/sdk/dotnet/Inputs/IpamIpSourceArgs.cs +++ b/sdk/dotnet/Inputs/IpamIpSourceArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class IpamIpSourceArgs : global::Pulumi.ResourceArgs { /// - /// The private network the IP lives in if the IP is a private IP. + /// The Private Network of the IP (if the IP is a private IP). /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// The private network subnet the IP lives in if the IP is a private IP in a private network. + /// The Private Network subnet of the IP (if the IP is a private IP). /// [Input("subnetId")] public Input? SubnetId { get; set; } /// - /// The zone the IP lives in if the IP is a public zoned one + /// The zone of the IP (if the IP is public and zoned, rather than private and/or regional) /// [Input("zonal")] public Input? Zonal { get; set; } diff --git a/sdk/dotnet/Inputs/IpamIpSourceGetArgs.cs b/sdk/dotnet/Inputs/IpamIpSourceGetArgs.cs index ed492632..085005bd 100644 --- a/sdk/dotnet/Inputs/IpamIpSourceGetArgs.cs +++ b/sdk/dotnet/Inputs/IpamIpSourceGetArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class IpamIpSourceGetArgs : global::Pulumi.ResourceArgs { /// - /// The private network the IP lives in if the IP is a private IP. + /// The Private Network of the IP (if the IP is a private IP). /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// The private network subnet the IP lives in if the IP is a private IP in a private network. + /// The Private Network subnet of the IP (if the IP is a private IP). /// [Input("subnetId")] public Input? SubnetId { get; set; } /// - /// The zone the IP lives in if the IP is a public zoned one + /// The zone of the IP (if the IP is public and zoned, rather than private and/or regional) /// [Input("zonal")] public Input? Zonal { get; set; } diff --git a/sdk/dotnet/Inputs/LoadbalancerAclMatchArgs.cs b/sdk/dotnet/Inputs/LoadbalancerAclMatchArgs.cs index 216e2b73..3c82238c 100644 --- a/sdk/dotnet/Inputs/LoadbalancerAclMatchArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerAclMatchArgs.cs @@ -32,7 +32,7 @@ public sealed class LoadbalancerAclMatchArgs : global::Pulumi.ResourceArgs /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public InputList HttpFilterValues { @@ -50,7 +50,7 @@ public InputList HttpFilterValues private InputList? _ipSubnets; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public InputList IpSubnets { diff --git a/sdk/dotnet/Inputs/LoadbalancerAclMatchGetArgs.cs b/sdk/dotnet/Inputs/LoadbalancerAclMatchGetArgs.cs index fa0d8a84..94badc07 100644 --- a/sdk/dotnet/Inputs/LoadbalancerAclMatchGetArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerAclMatchGetArgs.cs @@ -32,7 +32,7 @@ public sealed class LoadbalancerAclMatchGetArgs : global::Pulumi.ResourceArgs /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public InputList HttpFilterValues { @@ -50,7 +50,7 @@ public InputList HttpFilterValues private InputList? _ipSubnets; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public InputList IpSubnets { diff --git a/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs b/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs index 7e6d97bc..a2f4080e 100644 --- a/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs @@ -20,7 +20,7 @@ public sealed class LoadbalancerFrontendAclActionRedirectArgs : global::Pulumi.R public Input? Code { get; set; } /// - /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. /// [Input("target")] public Input? Target { get; set; } diff --git a/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs b/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs index fd355645..097854d1 100644 --- a/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs @@ -20,7 +20,7 @@ public sealed class LoadbalancerFrontendAclActionRedirectGetArgs : global::Pulum public Input? Code { get; set; } /// - /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. /// [Input("target")] public Input? Target { get; set; } diff --git a/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchArgs.cs b/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchArgs.cs index 35b2d4e0..f0d8d890 100644 --- a/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchArgs.cs @@ -32,7 +32,7 @@ public sealed class LoadbalancerFrontendAclMatchArgs : global::Pulumi.ResourceAr /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public InputList HttpFilterValues { @@ -50,7 +50,7 @@ public InputList HttpFilterValues private InputList? _ipSubnets; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public InputList IpSubnets { diff --git a/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchGetArgs.cs b/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchGetArgs.cs index 84ddc598..4edf774a 100644 --- a/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchGetArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerFrontendAclMatchGetArgs.cs @@ -32,7 +32,7 @@ public sealed class LoadbalancerFrontendAclMatchGetArgs : global::Pulumi.Resourc /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public InputList HttpFilterValues { @@ -50,7 +50,7 @@ public InputList HttpFilterValues private InputList? _ipSubnets; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public InputList IpSubnets { diff --git a/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkArgs.cs b/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkArgs.cs index e673638a..9e386d57 100644 --- a/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class LoadbalancerPrivateNetworkArgs : global::Pulumi.ResourceArgs { /// - /// (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + /// (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. /// [Input("dhcpConfig")] public Input? DhcpConfig { get; set; } /// - /// (Required) The ID of the Private Network to associate. + /// (Required) The ID of the Private Network to attach to. /// [Input("privateNetworkId", required: true)] public Input PrivateNetworkId { get; set; } = null!; /// - /// (Optional) Define a local ip address of your choice for the load balancer instance. See below. + /// (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. /// [Input("staticConfig")] public Input? StaticConfig { get; set; } @@ -38,7 +38,7 @@ public sealed class LoadbalancerPrivateNetworkArgs : global::Pulumi.ResourceArgs public Input? Status { get; set; } /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkGetArgs.cs b/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkGetArgs.cs index 380767ac..331a3feb 100644 --- a/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/LoadbalancerPrivateNetworkGetArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class LoadbalancerPrivateNetworkGetArgs : global::Pulumi.ResourceArgs { /// - /// (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + /// (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. /// [Input("dhcpConfig")] public Input? DhcpConfig { get; set; } /// - /// (Required) The ID of the Private Network to associate. + /// (Required) The ID of the Private Network to attach to. /// [Input("privateNetworkId", required: true)] public Input PrivateNetworkId { get; set; } = null!; /// - /// (Optional) Define a local ip address of your choice for the load balancer instance. See below. + /// (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. /// [Input("staticConfig")] public Input? StaticConfig { get; set; } @@ -38,7 +38,7 @@ public sealed class LoadbalancerPrivateNetworkGetArgs : global::Pulumi.ResourceA public Input? Status { get; set; } /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsArgs.cs b/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsArgs.cs index 6a62d3c4..f0dbcf22 100644 --- a/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsArgs.cs +++ b/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class MnqSnsCredentialsPermissionsArgs : global::Pulumi.ResourceArgs { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// [Input("canManage")] public Input? CanManage { get; set; } /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// [Input("canPublish")] public Input? CanPublish { get; set; } /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// [Input("canReceive")] public Input? CanReceive { get; set; } diff --git a/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsGetArgs.cs b/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsGetArgs.cs index 6794620b..0a43d602 100644 --- a/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsGetArgs.cs +++ b/sdk/dotnet/Inputs/MnqSnsCredentialsPermissionsGetArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class MnqSnsCredentialsPermissionsGetArgs : global::Pulumi.ResourceArgs { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// [Input("canManage")] public Input? CanManage { get; set; } /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// [Input("canPublish")] public Input? CanPublish { get; set; } /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// [Input("canReceive")] public Input? CanReceive { get; set; } diff --git a/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsArgs.cs b/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsArgs.cs index 8434eaef..6a78be31 100644 --- a/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsArgs.cs +++ b/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class MnqSqsCredentialsPermissionsArgs : global::Pulumi.ResourceArgs { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// [Input("canManage")] public Input? CanManage { get; set; } /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// [Input("canPublish")] public Input? CanPublish { get; set; } /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// [Input("canReceive")] public Input? CanReceive { get; set; } diff --git a/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsGetArgs.cs b/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsGetArgs.cs index 42aebf0b..668f9c71 100644 --- a/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsGetArgs.cs +++ b/sdk/dotnet/Inputs/MnqSqsCredentialsPermissionsGetArgs.cs @@ -14,19 +14,19 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class MnqSqsCredentialsPermissionsGetArgs : global::Pulumi.ResourceArgs { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// [Input("canManage")] public Input? CanManage { get; set; } /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// [Input("canPublish")] public Input? CanPublish { get; set; } /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// [Input("canReceive")] public Input? CanReceive { get; set; } diff --git a/sdk/dotnet/Inputs/RedisClusterAclArgs.cs b/sdk/dotnet/Inputs/RedisClusterAclArgs.cs index 4d30a8f8..1e9cf9d9 100644 --- a/sdk/dotnet/Inputs/RedisClusterAclArgs.cs +++ b/sdk/dotnet/Inputs/RedisClusterAclArgs.cs @@ -28,7 +28,7 @@ public sealed class RedisClusterAclArgs : global::Pulumi.ResourceArgs public Input? Id { get; set; } /// - /// The ip range to whitelist + /// The IP range to whitelist /// in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// [Input("ip", required: true)] diff --git a/sdk/dotnet/Inputs/RedisClusterAclGetArgs.cs b/sdk/dotnet/Inputs/RedisClusterAclGetArgs.cs index 56133829..7f7d4055 100644 --- a/sdk/dotnet/Inputs/RedisClusterAclGetArgs.cs +++ b/sdk/dotnet/Inputs/RedisClusterAclGetArgs.cs @@ -28,7 +28,7 @@ public sealed class RedisClusterAclGetArgs : global::Pulumi.ResourceArgs public Input? Id { get; set; } /// - /// The ip range to whitelist + /// The IP range to whitelist /// in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// [Input("ip", required: true)] diff --git a/sdk/dotnet/Inputs/RedisClusterPrivateNetworkArgs.cs b/sdk/dotnet/Inputs/RedisClusterPrivateNetworkArgs.cs index 9499d335..0948e9a3 100644 --- a/sdk/dotnet/Inputs/RedisClusterPrivateNetworkArgs.cs +++ b/sdk/dotnet/Inputs/RedisClusterPrivateNetworkArgs.cs @@ -30,23 +30,23 @@ public sealed class RedisClusterPrivateNetworkArgs : global::Pulumi.ResourceArgs /// /// Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - /// Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - /// scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + /// Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + /// scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. /// If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. /// /// > The `private_network` conflicts with `acl`. Only one should be specified. /// - /// > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + /// > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. /// /// - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - /// block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + /// block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or /// Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side /// by side. /// - /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - /// able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - /// configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - /// require updating the private network to add IPs. + /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + /// able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + /// configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + /// require updating the Private Network to add IPs. /// Your `service_ips` must be listed as follows: /// /// ```csharp @@ -67,7 +67,7 @@ public InputList ServiceIps /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/Inputs/RedisClusterPrivateNetworkGetArgs.cs b/sdk/dotnet/Inputs/RedisClusterPrivateNetworkGetArgs.cs index bd6ae22d..68772db7 100644 --- a/sdk/dotnet/Inputs/RedisClusterPrivateNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/RedisClusterPrivateNetworkGetArgs.cs @@ -30,23 +30,23 @@ public sealed class RedisClusterPrivateNetworkGetArgs : global::Pulumi.ResourceA /// /// Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - /// Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - /// scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + /// Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + /// scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. /// If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. /// /// > The `private_network` conflicts with `acl`. Only one should be specified. /// - /// > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + /// > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. /// /// - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - /// block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + /// block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or /// Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side /// by side. /// - /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - /// able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - /// configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - /// require updating the private network to add IPs. + /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + /// able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + /// configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + /// require updating the Private Network to add IPs. /// Your `service_ips` must be listed as follows: /// /// ```csharp @@ -67,7 +67,7 @@ public InputList ServiceIps /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigArgs.cs b/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigArgs.cs index dab1abad..92d022f7 100644 --- a/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigArgs.cs +++ b/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigArgs.cs @@ -20,7 +20,7 @@ public sealed class VpcGatewayNetworkIpamConfigArgs : global::Pulumi.ResourceArg public Input? IpamIpId { get; set; } /// - /// Defines whether the default route is enabled on that Gateway Network. + /// Defines whether to enable the default route on the GatewayNetwork. /// [Input("pushDefaultRoute")] public Input? PushDefaultRoute { get; set; } diff --git a/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigGetArgs.cs b/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigGetArgs.cs index 7b8e1e57..8461e57c 100644 --- a/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/VpcGatewayNetworkIpamConfigGetArgs.cs @@ -20,7 +20,7 @@ public sealed class VpcGatewayNetworkIpamConfigGetArgs : global::Pulumi.Resource public Input? IpamIpId { get; set; } /// - /// Defines whether the default route is enabled on that Gateway Network. + /// Defines whether to enable the default route on the GatewayNetwork. /// [Input("pushDefaultRoute")] public Input? PushDefaultRoute { get; set; } diff --git a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetArgs.cs b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetArgs.cs index 69d5271a..406d486a 100644 --- a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetArgs.cs +++ b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class VpcPrivateNetworkIpv4SubnetArgs : global::Pulumi.ResourceArgs { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// [Input("address")] public Input? Address { get; set; } @@ -32,7 +32,7 @@ public sealed class VpcPrivateNetworkIpv4SubnetArgs : global::Pulumi.ResourceArg public Input? Id { get; set; } /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// [Input("prefixLength")] public Input? PrefixLength { get; set; } diff --git a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetGetArgs.cs b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetGetArgs.cs index 073a2a82..24a43d5f 100644 --- a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetGetArgs.cs +++ b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv4SubnetGetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class VpcPrivateNetworkIpv4SubnetGetArgs : global::Pulumi.ResourceArgs { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// [Input("address")] public Input? Address { get; set; } @@ -32,7 +32,7 @@ public sealed class VpcPrivateNetworkIpv4SubnetGetArgs : global::Pulumi.Resource public Input? Id { get; set; } /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// [Input("prefixLength")] public Input? PrefixLength { get; set; } diff --git a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetArgs.cs b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetArgs.cs index f5c4c3e4..3666cde7 100644 --- a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetArgs.cs +++ b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class VpcPrivateNetworkIpv6SubnetArgs : global::Pulumi.ResourceArgs { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// [Input("address")] public Input? Address { get; set; } @@ -32,7 +32,7 @@ public sealed class VpcPrivateNetworkIpv6SubnetArgs : global::Pulumi.ResourceArg public Input? Id { get; set; } /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// [Input("prefixLength")] public Input? PrefixLength { get; set; } diff --git a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetGetArgs.cs b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetGetArgs.cs index b9ed6651..87a93014 100644 --- a/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetGetArgs.cs +++ b/sdk/dotnet/Inputs/VpcPrivateNetworkIpv6SubnetGetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Scaleway.Inputs public sealed class VpcPrivateNetworkIpv6SubnetGetArgs : global::Pulumi.ResourceArgs { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// [Input("address")] public Input? Address { get; set; } @@ -32,7 +32,7 @@ public sealed class VpcPrivateNetworkIpv6SubnetGetArgs : global::Pulumi.Resource public Input? Id { get; set; } /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// [Input("prefixLength")] public Input? PrefixLength { get; set; } diff --git a/sdk/dotnet/IpamIp.cs b/sdk/dotnet/IpamIp.cs index 110787fb..b1b6faac 100644 --- a/sdk/dotnet/IpamIp.cs +++ b/sdk/dotnet/IpamIp.cs @@ -11,7 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Books and manages Scaleway IPAM IPs. + /// Books and manages IPAM IPs. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Example Usage /// @@ -50,7 +52,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Request a specific IPv4 + /// ### Request a specific IPv4 address /// /// ```csharp /// using System.Collections.Generic; @@ -86,7 +88,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Request an IPv6 + /// ### Request an IPv6 address /// /// ```csharp /// using System.Collections.Generic; @@ -127,7 +129,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// IPAM IPs can be imported using the `{region}/{id}`, e.g. + /// IPAM IPs can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -151,13 +153,13 @@ public partial class IpamIp : global::Pulumi.CustomResource public Output CreatedAt { get; private set; } = null!; /// - /// Defines whether to request an IPv6 instead of an IPv4. + /// Defines whether to request an IPv6 address instead of IPv4. /// [Output("isIpv6")] public Output IsIpv6 { get; private set; } = null!; /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -175,7 +177,7 @@ public partial class IpamIp : global::Pulumi.CustomResource public Output> Resources { get; private set; } = null!; /// - /// The reverses DNS for this IP. + /// The reverse DNS for this IP. /// [Output("reverses")] public Output> Reverses { get; private set; } = null!; @@ -258,13 +260,13 @@ public sealed class IpamIpArgs : global::Pulumi.ResourceArgs public Input? Address { get; set; } /// - /// Defines whether to request an IPv6 instead of an IPv4. + /// Defines whether to request an IPv6 address instead of IPv4. /// [Input("isIpv6")] public Input? IsIpv6 { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -320,13 +322,13 @@ public sealed class IpamIpState : global::Pulumi.ResourceArgs public Input? CreatedAt { get; set; } /// - /// Defines whether to request an IPv6 instead of an IPv4. + /// Defines whether to request an IPv6 address instead of IPv4. /// [Input("isIpv6")] public Input? IsIpv6 { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -353,7 +355,7 @@ public InputList Resources private InputList? _reverses; /// - /// The reverses DNS for this IP. + /// The reverse DNS for this IP. /// public InputList Reverses { diff --git a/sdk/dotnet/IpamIpReverseDns.cs b/sdk/dotnet/IpamIpReverseDns.cs index 45bf692d..3e1a575b 100644 --- a/sdk/dotnet/IpamIpReverseDns.cs +++ b/sdk/dotnet/IpamIpReverseDns.cs @@ -11,11 +11,13 @@ namespace Pulumiverse.Scaleway { /// - /// Manages Scaleway IPAM IP Reverse DNS. + /// Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service. + /// + /// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). /// /// ## Import /// - /// IPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g. + /// IPAM IP reverse DNS can be imported using `{region}/{id}`, e.g. /// /// bash /// diff --git a/sdk/dotnet/KubernetesCluster.cs b/sdk/dotnet/KubernetesCluster.cs index 29676440..08a28ea2 100644 --- a/sdk/dotnet/KubernetesCluster.cs +++ b/sdk/dotnet/KubernetesCluster.cs @@ -25,19 +25,19 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var hedy = new Scaleway.VpcPrivateNetwork("hedy"); + /// var pn = new Scaleway.VpcPrivateNetwork("pn"); /// - /// var jack = new Scaleway.KubernetesCluster("jack", new() + /// var cluster = new Scaleway.KubernetesCluster("cluster", new() /// { - /// Version = "1.24.3", + /// Version = "1.29.1", /// Cni = "cilium", - /// PrivateNetworkId = hedy.Id, + /// PrivateNetworkId = pn.Id, /// DeleteAdditionalResources = false, /// }); /// - /// var john = new Scaleway.KubernetesNodePool("john", new() + /// var pool = new Scaleway.KubernetesNodePool("pool", new() /// { - /// ClusterId = jack.Id, + /// ClusterId = cluster.Id, /// NodeType = "DEV1-M", /// Size = 1, /// }); @@ -55,17 +55,17 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var henry = new Scaleway.KubernetesCluster("henry", new() + /// var cluster = new Scaleway.KubernetesCluster("cluster", new() /// { /// Type = "multicloud", - /// Version = "1.24.3", + /// Version = "1.29.1", /// Cni = "kilo", /// DeleteAdditionalResources = false, /// }); /// - /// var friendFromOuterSpace = new Scaleway.KubernetesNodePool("friendFromOuterSpace", new() + /// var pool = new Scaleway.KubernetesNodePool("pool", new() /// { - /// ClusterId = henry.Id, + /// ClusterId = cluster.Id, /// NodeType = "external", /// Size = 0, /// MinSize = 0, @@ -86,19 +86,18 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { - /// var hedy = new Scaleway.VpcPrivateNetwork("hedy"); + /// var pn = new Scaleway.VpcPrivateNetwork("pn"); /// - /// var johnKubernetesCluster = new Scaleway.KubernetesCluster("johnKubernetesCluster", new() + /// var cluster = new Scaleway.KubernetesCluster("cluster", new() /// { - /// Description = "my awesome cluster", - /// Version = "1.24.3", + /// Description = "cluster made in terraform", + /// Version = "1.29.1", /// Cni = "calico", /// Tags = new[] /// { - /// "i'm an awesome tag", - /// "yay", + /// "terraform", /// }, - /// PrivateNetworkId = hedy.Id, + /// PrivateNetworkId = pn.Id, /// DeleteAdditionalResources = false, /// AutoscalerConfig = new Scaleway.Inputs.KubernetesClusterAutoscalerConfigArgs /// { @@ -112,9 +111,9 @@ namespace Pulumiverse.Scaleway /// }, /// }); /// - /// var johnKubernetesNodePool = new Scaleway.KubernetesNodePool("johnKubernetesNodePool", new() + /// var pool = new Scaleway.KubernetesNodePool("pool", new() /// { - /// ClusterId = johnKubernetesCluster.Id, + /// ClusterId = cluster.Id, /// NodeType = "DEV1-M", /// Size = 3, /// Autoscaling = true, diff --git a/sdk/dotnet/Loadbalancer.cs b/sdk/dotnet/Loadbalancer.cs index 5b625a2b..37119ef3 100644 --- a/sdk/dotnet/Loadbalancer.cs +++ b/sdk/dotnet/Loadbalancer.cs @@ -11,8 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancers. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api). + /// Creates and manages Scaleway Load Balancers. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). /// /// ## Example Usage /// @@ -93,10 +94,101 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// + /// ### Multiple configurations + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Scaleway = Pulumiverse.Scaleway; + /// + /// return await Deployment.RunAsync(() => + /// { + /// //## IP for Public Gateway + /// var mainVpcPublicGatewayIp = new Scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp"); + /// + /// //## Scaleway Private Network + /// var mainVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork"); + /// + /// //## VPC Public Gateway Network + /// var mainVpcPublicGateway = new Scaleway.VpcPublicGateway("mainVpcPublicGateway", new() + /// { + /// Type = "VPC-GW-S", + /// IpId = mainVpcPublicGatewayIp.Id, + /// }); + /// + /// //## VPC Public Gateway Network DHCP config + /// var mainVpcPublicGatewayDhcp = new Scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", new() + /// { + /// Subnet = "10.0.0.0/24", + /// }); + /// + /// //## VPC Gateway Network + /// var mainVpcGatewayNetwork = new Scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", new() + /// { + /// GatewayId = mainVpcPublicGateway.Id, + /// PrivateNetworkId = mainVpcPrivateNetwork.Id, + /// DhcpId = mainVpcPublicGatewayDhcp.Id, + /// CleanupDhcp = true, + /// EnableMasquerade = true, + /// }); + /// + /// //## Scaleway Instance + /// var mainInstanceServer = new Scaleway.InstanceServer("mainInstanceServer", new() + /// { + /// Type = "DEV1-S", + /// Image = "debian_bullseye", + /// EnableIpv6 = false, + /// PrivateNetworks = new[] + /// { + /// new Scaleway.Inputs.InstanceServerPrivateNetworkArgs + /// { + /// PnId = mainVpcPrivateNetwork.Id, + /// }, + /// }, + /// }); + /// + /// //## IP for LB IP + /// var mainLoadbalancerIp = new Scaleway.LoadbalancerIp("mainLoadbalancerIp"); + /// + /// //## Scaleway Private Network + /// var mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new Scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork"); + /// + /// //## Scaleway Load Balancer + /// var mainLoadbalancer = new Scaleway.Loadbalancer("mainLoadbalancer", new() + /// { + /// IpId = mainLoadbalancerIp.Id, + /// Type = "LB-S", + /// PrivateNetworks = new[] + /// { + /// new Scaleway.Inputs.LoadbalancerPrivateNetworkArgs + /// { + /// PrivateNetworkId = mainVpcPrivateNetwork.Id, + /// DhcpConfig = true, + /// }, + /// }, + /// }, new CustomResourceOptions + /// { + /// DependsOn = + /// { + /// mainVpcPublicGateway, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Migration + /// + /// In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`. + /// This change will not recreate your Load Balancer. + /// + /// Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details + /// /// ## IP ID /// /// Since v1.15.0, `ip_id` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required. - /// When importing, the IP needs to be imported as well as the LB. + /// When importing, the IP needs to be imported as well as the Load Balancer. /// When upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it. /// /// For instance, if you had the following: @@ -143,7 +235,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Load-Balancer can be imported using the `{zone}/{id}`, e.g. + /// Load Balancers can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -157,33 +249,33 @@ namespace Pulumiverse.Scaleway public partial class Loadbalancer : global::Pulumi.CustomResource { /// - /// Defines whether to automatically assign a flexible public IP to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. /// [Output("assignFlexibleIp")] public Output AssignFlexibleIp { get; private set; } = null!; /// - /// Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. /// [Output("assignFlexibleIpv6")] public Output AssignFlexibleIpv6 { get; private set; } = null!; /// - /// The description of the load-balancer. + /// The description of the Load Balancer. /// [Output("description")] public Output Description { get; private set; } = null!; /// - /// The load-balancer public IPv4 Address. + /// The Load Balancer public IPv4 address. /// [Output("ipAddress")] public Output IpAddress { get; private set; } = null!; /// - /// The ID of the associated LB IP. See below. + /// The ID of the associated Load Balancer IP. See below. /// - /// > **Important:** Updates to `ip_id` will recreate the load-balancer. + /// > **Important:** Updates to `ip_id` will recreate the Load Balancer. /// [Output("ipId")] public Output IpId { get; private set; } = null!; @@ -195,19 +287,19 @@ public partial class Loadbalancer : global::Pulumi.CustomResource public Output> IpIds { get; private set; } = null!; /// - /// The load-balancer public IPv6 Address. + /// The Load Balancer public IPv6 address. /// [Output("ipv6Address")] public Output Ipv6Address { get; private set; } = null!; /// - /// The name of the load-balancer. + /// The name of the Load Balancer. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization ID the Load Balancer is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; @@ -219,7 +311,7 @@ public partial class Loadbalancer : global::Pulumi.CustomResource public Output> PrivateNetworks { get; private set; } = null!; /// - /// `project_id`) The ID of the project the load-balancer is associated with. + /// `project_id`) The ID of the Project the Load Balancer is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -231,7 +323,7 @@ public partial class Loadbalancer : global::Pulumi.CustomResource public Output Region { get; private set; } = null!; /// - /// The release_ip allow release the ip address associated with the load-balancers. + /// The `release_ip` allow the release of the IP address associated with the Load Balancer. /// [Output("releaseIp")] public Output ReleaseIp { get; private set; } = null!; @@ -243,19 +335,19 @@ public partial class Loadbalancer : global::Pulumi.CustomResource public Output SslCompatibilityLevel { get; private set; } = null!; /// - /// The tags associated with the load-balancers. + /// The tags associated with the Load Balancer. /// [Output("tags")] public Output> Tags { get; private set; } = null!; /// - /// The type of the load-balancer. Please check the migration section to upgrade the type. + /// The type of the Load Balancer. Please check the migration section to upgrade the type. /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -308,27 +400,27 @@ public static Loadbalancer Get(string name, Input id, LoadbalancerState? public sealed class LoadbalancerArgs : global::Pulumi.ResourceArgs { /// - /// Defines whether to automatically assign a flexible public IP to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. /// [Input("assignFlexibleIp")] public Input? AssignFlexibleIp { get; set; } /// - /// Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. /// [Input("assignFlexibleIpv6")] public Input? AssignFlexibleIpv6 { get; set; } /// - /// The description of the load-balancer. + /// The description of the Load Balancer. /// [Input("description")] public Input? Description { get; set; } /// - /// The ID of the associated LB IP. See below. + /// The ID of the associated Load Balancer IP. See below. /// - /// > **Important:** Updates to `ip_id` will recreate the load-balancer. + /// > **Important:** Updates to `ip_id` will recreate the Load Balancer. /// [Input("ipId")] public Input? IpId { get; set; } @@ -346,7 +438,7 @@ public InputList IpIds } /// - /// The name of the load-balancer. + /// The name of the Load Balancer. /// [Input("name")] public Input? Name { get; set; } @@ -364,13 +456,13 @@ public InputList PrivateNetworks } /// - /// `project_id`) The ID of the project the load-balancer is associated with. + /// `project_id`) The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// The release_ip allow release the ip address associated with the load-balancers. + /// The `release_ip` allow the release of the IP address associated with the Load Balancer. /// [Input("releaseIp")] public Input? ReleaseIp { get; set; } @@ -385,7 +477,7 @@ public InputList PrivateNetworks private InputList? _tags; /// - /// The tags associated with the load-balancers. + /// The tags associated with the Load Balancer. /// public InputList Tags { @@ -394,13 +486,13 @@ public InputList Tags } /// - /// The type of the load-balancer. Please check the migration section to upgrade the type. + /// The type of the Load Balancer. Please check the migration section to upgrade the type. /// [Input("type", required: true)] public Input Type { get; set; } = null!; /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// [Input("zone")] public Input? Zone { get; set; } @@ -414,33 +506,33 @@ public LoadbalancerArgs() public sealed class LoadbalancerState : global::Pulumi.ResourceArgs { /// - /// Defines whether to automatically assign a flexible public IP to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. /// [Input("assignFlexibleIp")] public Input? AssignFlexibleIp { get; set; } /// - /// Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + /// Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. /// [Input("assignFlexibleIpv6")] public Input? AssignFlexibleIpv6 { get; set; } /// - /// The description of the load-balancer. + /// The description of the Load Balancer. /// [Input("description")] public Input? Description { get; set; } /// - /// The load-balancer public IPv4 Address. + /// The Load Balancer public IPv4 address. /// [Input("ipAddress")] public Input? IpAddress { get; set; } /// - /// The ID of the associated LB IP. See below. + /// The ID of the associated Load Balancer IP. See below. /// - /// > **Important:** Updates to `ip_id` will recreate the load-balancer. + /// > **Important:** Updates to `ip_id` will recreate the Load Balancer. /// [Input("ipId")] public Input? IpId { get; set; } @@ -458,19 +550,19 @@ public InputList IpIds } /// - /// The load-balancer public IPv6 Address. + /// The Load Balancer public IPv6 address. /// [Input("ipv6Address")] public Input? Ipv6Address { get; set; } /// - /// The name of the load-balancer. + /// The name of the Load Balancer. /// [Input("name")] public Input? Name { get; set; } /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization ID the Load Balancer is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } @@ -488,7 +580,7 @@ public InputList PrivateNetworks } /// - /// `project_id`) The ID of the project the load-balancer is associated with. + /// `project_id`) The ID of the Project the Load Balancer is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -500,7 +592,7 @@ public InputList PrivateNetworks public Input? Region { get; set; } /// - /// The release_ip allow release the ip address associated with the load-balancers. + /// The `release_ip` allow the release of the IP address associated with the Load Balancer. /// [Input("releaseIp")] public Input? ReleaseIp { get; set; } @@ -515,7 +607,7 @@ public InputList PrivateNetworks private InputList? _tags; /// - /// The tags associated with the load-balancers. + /// The tags associated with the Load Balancer. /// public InputList Tags { @@ -524,13 +616,13 @@ public InputList Tags } /// - /// The type of the load-balancer. Please check the migration section to upgrade the type. + /// The type of the Load Balancer. Please check the migration section to upgrade the type. /// [Input("type")] public Input? Type { get; set; } /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/LoadbalancerAcl.cs b/sdk/dotnet/LoadbalancerAcl.cs index f235fa89..1f1f9ede 100644 --- a/sdk/dotnet/LoadbalancerAcl.cs +++ b/sdk/dotnet/LoadbalancerAcl.cs @@ -11,7 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls). + /// Creates and manages Scaleway Load Balancer ACLs. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). /// /// ## Example Usage /// @@ -50,7 +52,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. + /// Load Balancer ACLs can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -80,13 +82,13 @@ public partial class LoadbalancerAcl : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// The load-balancer Frontend ID to attach the ACL to. + /// The ID of the Load Balancer frontend to attach the ACL to. /// [Output("frontendId")] public Output FrontendId { get; private set; } = null!; /// - /// The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + /// The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). /// [Output("index")] public Output Index { get; private set; } = null!; @@ -169,13 +171,13 @@ public sealed class LoadbalancerAclArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// The load-balancer Frontend ID to attach the ACL to. + /// The ID of the Load Balancer frontend to attach the ACL to. /// [Input("frontendId", required: true)] public Input FrontendId { get; set; } = null!; /// - /// The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + /// The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). /// [Input("index", required: true)] public Input Index { get; set; } = null!; @@ -219,13 +221,13 @@ public sealed class LoadbalancerAclState : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// The load-balancer Frontend ID to attach the ACL to. + /// The ID of the Load Balancer frontend to attach the ACL to. /// [Input("frontendId")] public Input? FrontendId { get; set; } /// - /// The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + /// The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). /// [Input("index")] public Input? Index { get; set; } diff --git a/sdk/dotnet/LoadbalancerBackend.cs b/sdk/dotnet/LoadbalancerBackend.cs index ac86e9cb..5cffdd44 100644 --- a/sdk/dotnet/LoadbalancerBackend.cs +++ b/sdk/dotnet/LoadbalancerBackend.cs @@ -11,8 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancer Backends. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + /// Creates and manages Scaleway Load Balancer backends. + /// + /// or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). /// /// ## Example Usage /// @@ -62,7 +63,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Load-Balancer backend can be imported using the `{zone}/{id}`, e.g. + /// Load Balancer backends can be imported using `{zone}/{id}`, e.g. /// /// bash /// diff --git a/sdk/dotnet/LoadbalancerFrontend.cs b/sdk/dotnet/LoadbalancerFrontend.cs index bc2b60b0..26e4b392 100644 --- a/sdk/dotnet/LoadbalancerFrontend.cs +++ b/sdk/dotnet/LoadbalancerFrontend.cs @@ -11,7 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + /// Creates and manages Scaleway Load Balancer frontends. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). /// /// ## Example Usage /// @@ -170,7 +172,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + /// Load Balancer frontends can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -182,13 +184,13 @@ namespace Pulumiverse.Scaleway public partial class LoadbalancerFrontend : global::Pulumi.CustomResource { /// - /// A list of ACL rules to apply to the load-balancer frontend. Defined below. + /// A list of ACL rules to apply to the Load Balancer frontend. Defined below. /// [Output("acls")] public Output> Acls { get; private set; } = null!; /// - /// The load-balancer backend ID this frontend is attached to. + /// The ID of the Load Balancer backend this frontend is attached to. /// /// > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. /// @@ -196,13 +198,13 @@ public partial class LoadbalancerFrontend : global::Pulumi.CustomResource public Output BackendId { get; private set; } = null!; /// - /// (Deprecated) first certificate ID used by the frontend. + /// (Deprecated) First certificate ID used by the frontend. /// [Output("certificateId")] public Output CertificateId { get; private set; } = null!; /// - /// List of Certificate IDs that should be used by the frontend. + /// List of certificate IDs that should be used by the frontend. /// /// > **Important:** Certificates are not allowed on port 80. /// @@ -217,19 +219,19 @@ public partial class LoadbalancerFrontend : global::Pulumi.CustomResource /// /// A boolean to specify whether to use lb_acl. - /// If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + /// If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. /// [Output("externalAcls")] public Output ExternalAcls { get; private set; } = null!; /// - /// TCP port to listen on the front side. + /// TCP port to listen to on the front side. /// [Output("inboundPort")] public Output InboundPort { get; private set; } = null!; /// - /// The load-balancer ID this frontend is attached to. + /// The ID of the Load Balancer this frontend is attached to. /// [Output("lbId")] public Output LbId { get; private set; } = null!; @@ -241,7 +243,7 @@ public partial class LoadbalancerFrontend : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// Maximum inactivity time on the client side. (e.g.: `1s`) + /// Maximum inactivity time on the client side. (e.g. `1s`) /// [Output("timeoutClient")] public Output TimeoutClient { get; private set; } = null!; @@ -297,7 +299,7 @@ public sealed class LoadbalancerFrontendArgs : global::Pulumi.ResourceArgs private InputList? _acls; /// - /// A list of ACL rules to apply to the load-balancer frontend. Defined below. + /// A list of ACL rules to apply to the Load Balancer frontend. Defined below. /// public InputList Acls { @@ -306,7 +308,7 @@ public InputList Acls } /// - /// The load-balancer backend ID this frontend is attached to. + /// The ID of the Load Balancer backend this frontend is attached to. /// /// > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. /// @@ -317,7 +319,7 @@ public InputList Acls private InputList? _certificateIds; /// - /// List of Certificate IDs that should be used by the frontend. + /// List of certificate IDs that should be used by the frontend. /// /// > **Important:** Certificates are not allowed on port 80. /// @@ -335,19 +337,19 @@ public InputList CertificateIds /// /// A boolean to specify whether to use lb_acl. - /// If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + /// If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. /// [Input("externalAcls")] public Input? ExternalAcls { get; set; } /// - /// TCP port to listen on the front side. + /// TCP port to listen to on the front side. /// [Input("inboundPort", required: true)] public Input InboundPort { get; set; } = null!; /// - /// The load-balancer ID this frontend is attached to. + /// The ID of the Load Balancer this frontend is attached to. /// [Input("lbId", required: true)] public Input LbId { get; set; } = null!; @@ -359,7 +361,7 @@ public InputList CertificateIds public Input? Name { get; set; } /// - /// Maximum inactivity time on the client side. (e.g.: `1s`) + /// Maximum inactivity time on the client side. (e.g. `1s`) /// [Input("timeoutClient")] public Input? TimeoutClient { get; set; } @@ -376,7 +378,7 @@ public sealed class LoadbalancerFrontendState : global::Pulumi.ResourceArgs private InputList? _acls; /// - /// A list of ACL rules to apply to the load-balancer frontend. Defined below. + /// A list of ACL rules to apply to the Load Balancer frontend. Defined below. /// public InputList Acls { @@ -385,7 +387,7 @@ public InputList Acls } /// - /// The load-balancer backend ID this frontend is attached to. + /// The ID of the Load Balancer backend this frontend is attached to. /// /// > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. /// @@ -393,7 +395,7 @@ public InputList Acls public Input? BackendId { get; set; } /// - /// (Deprecated) first certificate ID used by the frontend. + /// (Deprecated) First certificate ID used by the frontend. /// [Input("certificateId")] public Input? CertificateId { get; set; } @@ -402,7 +404,7 @@ public InputList Acls private InputList? _certificateIds; /// - /// List of Certificate IDs that should be used by the frontend. + /// List of certificate IDs that should be used by the frontend. /// /// > **Important:** Certificates are not allowed on port 80. /// @@ -420,19 +422,19 @@ public InputList CertificateIds /// /// A boolean to specify whether to use lb_acl. - /// If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + /// If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. /// [Input("externalAcls")] public Input? ExternalAcls { get; set; } /// - /// TCP port to listen on the front side. + /// TCP port to listen to on the front side. /// [Input("inboundPort")] public Input? InboundPort { get; set; } /// - /// The load-balancer ID this frontend is attached to. + /// The ID of the Load Balancer this frontend is attached to. /// [Input("lbId")] public Input? LbId { get; set; } @@ -444,7 +446,7 @@ public InputList CertificateIds public Input? Name { get; set; } /// - /// Maximum inactivity time on the client side. (e.g.: `1s`) + /// Maximum inactivity time on the client side. (e.g. `1s`) /// [Input("timeoutClient")] public Input? TimeoutClient { get; set; } diff --git a/sdk/dotnet/LoadbalancerIp.cs b/sdk/dotnet/LoadbalancerIp.cs index 66e31fd6..093a2ee3 100644 --- a/sdk/dotnet/LoadbalancerIp.cs +++ b/sdk/dotnet/LoadbalancerIp.cs @@ -11,8 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancers IPs. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses). + /// Creates and manages Scaleway Load Balancer IP addresses. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). /// /// ## Example Usage /// @@ -54,7 +55,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// IPs can be imported using the `{zone}/{id}`, e.g. + /// IPs can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -66,19 +67,19 @@ namespace Pulumiverse.Scaleway public partial class LoadbalancerIp : global::Pulumi.CustomResource { /// - /// The IP Address + /// The IP address /// [Output("ipAddress")] public Output IpAddress { get; private set; } = null!; /// - /// If true, creates a Flexible IP with an IPv6 address. + /// If true, creates a flexible IP with an IPv6 address. /// [Output("isIpv6")] public Output IsIpv6 { get; private set; } = null!; /// - /// The associated load-balance ID if any + /// The associated Load Balancer ID if any /// [Output("lbId")] public Output LbId { get; private set; } = null!; @@ -90,7 +91,7 @@ public partial class LoadbalancerIp : global::Pulumi.CustomResource public Output OrganizationId { get; private set; } = null!; /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -161,13 +162,13 @@ public static LoadbalancerIp Get(string name, Input id, LoadbalancerIpSt public sealed class LoadbalancerIpArgs : global::Pulumi.ResourceArgs { /// - /// If true, creates a Flexible IP with an IPv6 address. + /// If true, creates a flexible IP with an IPv6 address. /// [Input("isIpv6")] public Input? IsIpv6 { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -193,19 +194,19 @@ public LoadbalancerIpArgs() public sealed class LoadbalancerIpState : global::Pulumi.ResourceArgs { /// - /// The IP Address + /// The IP address /// [Input("ipAddress")] public Input? IpAddress { get; set; } /// - /// If true, creates a Flexible IP with an IPv6 address. + /// If true, creates a flexible IP with an IPv6 address. /// [Input("isIpv6")] public Input? IsIpv6 { get; set; } /// - /// The associated load-balance ID if any + /// The associated Load Balancer ID if any /// [Input("lbId")] public Input? LbId { get; set; } @@ -217,7 +218,7 @@ public sealed class LoadbalancerIpState : global::Pulumi.ResourceArgs public Input? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the IP is associated with. + /// `project_id`) The ID of the Project the IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } diff --git a/sdk/dotnet/LoadbalancerRoute.cs b/sdk/dotnet/LoadbalancerRoute.cs index f88f2f3d..0d01452b 100644 --- a/sdk/dotnet/LoadbalancerRoute.cs +++ b/sdk/dotnet/LoadbalancerRoute.cs @@ -11,8 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Load-Balancer Routes. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + /// Creates and manages Scaleway Load Balancer routes. + /// + /// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). /// /// ## Example Usage /// @@ -104,7 +105,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + /// Load Balancer frontends can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -116,19 +117,19 @@ namespace Pulumiverse.Scaleway public partial class LoadbalancerRoute : global::Pulumi.CustomResource { /// - /// The ID of the backend to which the route is associated. + /// The ID of the backend the route is associated with. /// [Output("backendId")] public Output BackendId { get; private set; } = null!; /// - /// The date at which the route was created. + /// The date on which the route was created. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// The ID of the frontend to which the route is associated. + /// The ID of the frontend the route is associated with. /// [Output("frontendId")] public Output FrontendId { get; private set; } = null!; @@ -152,7 +153,7 @@ public partial class LoadbalancerRoute : global::Pulumi.CustomResource public Output MatchSni { get; private set; } = null!; /// - /// The date at which the route was last updated. + /// The date on which the route was last updated. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; @@ -205,13 +206,13 @@ public static LoadbalancerRoute Get(string name, Input id, LoadbalancerR public sealed class LoadbalancerRouteArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the backend to which the route is associated. + /// The ID of the backend the route is associated with. /// [Input("backendId", required: true)] public Input BackendId { get; set; } = null!; /// - /// The ID of the frontend to which the route is associated. + /// The ID of the frontend the route is associated with. /// [Input("frontendId", required: true)] public Input FrontendId { get; set; } = null!; @@ -243,19 +244,19 @@ public LoadbalancerRouteArgs() public sealed class LoadbalancerRouteState : global::Pulumi.ResourceArgs { /// - /// The ID of the backend to which the route is associated. + /// The ID of the backend the route is associated with. /// [Input("backendId")] public Input? BackendId { get; set; } /// - /// The date at which the route was created. + /// The date on which the route was created. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// The ID of the frontend to which the route is associated. + /// The ID of the frontend the route is associated with. /// [Input("frontendId")] public Input? FrontendId { get; set; } @@ -279,7 +280,7 @@ public sealed class LoadbalancerRouteState : global::Pulumi.ResourceArgs public Input? MatchSni { get; set; } /// - /// The date at which the route was last updated. + /// The date on which the route was last updated. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } diff --git a/sdk/dotnet/MnqNatsAccount.cs b/sdk/dotnet/MnqNatsAccount.cs index 2a736609..701d8e97 100644 --- a/sdk/dotnet/MnqNatsAccount.cs +++ b/sdk/dotnet/MnqNatsAccount.cs @@ -11,10 +11,10 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Messaging and queuing Nats Accounts. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) - /// To use Scaleway's provider with official nats jetstream provider, check out the corresponding guide + /// Creates and manages Scaleway Messaging and Queuing NATS accounts. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + /// To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide. /// /// ## Example Usage /// @@ -35,7 +35,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Namespaces can be imported using the `{region}/{id}`, e.g. + /// Namespaces can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -53,13 +53,13 @@ public partial class MnqNatsAccount : global::Pulumi.CustomResource public Output Endpoint { get; private set; } = null!; /// - /// The unique name of the nats account. + /// The unique name of the NATS account. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// `project_id`) The ID of the project the + /// `project_id`) The ID of the Project the /// account is associated with. /// [Output("projectId")] @@ -120,13 +120,13 @@ public static MnqNatsAccount Get(string name, Input id, MnqNatsAccountSt public sealed class MnqNatsAccountArgs : global::Pulumi.ResourceArgs { /// - /// The unique name of the nats account. + /// The unique name of the NATS account. /// [Input("name")] public Input? Name { get; set; } /// - /// `project_id`) The ID of the project the + /// `project_id`) The ID of the Project the /// account is associated with. /// [Input("projectId")] @@ -154,13 +154,13 @@ public sealed class MnqNatsAccountState : global::Pulumi.ResourceArgs public Input? Endpoint { get; set; } /// - /// The unique name of the nats account. + /// The unique name of the NATS account. /// [Input("name")] public Input? Name { get; set; } /// - /// `project_id`) The ID of the project the + /// `project_id`) The ID of the Project the /// account is associated with. /// [Input("projectId")] diff --git a/sdk/dotnet/MnqNatsCredentials.cs b/sdk/dotnet/MnqNatsCredentials.cs index 20a0e698..a8d08232 100644 --- a/sdk/dotnet/MnqNatsCredentials.cs +++ b/sdk/dotnet/MnqNatsCredentials.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Messaging and queuing Nats Credentials. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + /// Creates and manages Scaleway Messaging and Queuing NATS credentials. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/). /// /// ## Example Usage /// @@ -39,7 +39,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Namespaces can be imported using the `{region}/{id}`, e.g. + /// Namespaces can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -51,7 +51,7 @@ namespace Pulumiverse.Scaleway public partial class MnqNatsCredentials : global::Pulumi.CustomResource { /// - /// The ID of the nats account the credentials are generated from + /// The ID of the NATS account the credentials are generated from /// [Output("accountId")] public Output AccountId { get; private set; } = null!; @@ -63,7 +63,7 @@ public partial class MnqNatsCredentials : global::Pulumi.CustomResource public Output File { get; private set; } = null!; /// - /// The unique name of the nats credentials. + /// The unique name of the NATS credentials. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -123,13 +123,13 @@ public static MnqNatsCredentials Get(string name, Input id, MnqNatsCrede public sealed class MnqNatsCredentialsArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the nats account the credentials are generated from + /// The ID of the NATS account the credentials are generated from /// [Input("accountId", required: true)] public Input AccountId { get; set; } = null!; /// - /// The unique name of the nats credentials. + /// The unique name of the NATS credentials. /// [Input("name")] public Input? Name { get; set; } @@ -150,7 +150,7 @@ public MnqNatsCredentialsArgs() public sealed class MnqNatsCredentialsState : global::Pulumi.ResourceArgs { /// - /// The ID of the nats account the credentials are generated from + /// The ID of the NATS account the credentials are generated from /// [Input("accountId")] public Input? AccountId { get; set; } @@ -162,7 +162,7 @@ public sealed class MnqNatsCredentialsState : global::Pulumi.ResourceArgs public Input? File { get; set; } /// - /// The unique name of the nats credentials. + /// The unique name of the NATS credentials. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/MnqSns.cs b/sdk/dotnet/MnqSns.cs index 36688dac..bae1ff84 100644 --- a/sdk/dotnet/MnqSns.cs +++ b/sdk/dotnet/MnqSns.cs @@ -11,15 +11,15 @@ namespace Pulumiverse.Scaleway { /// - /// Activate Scaleway Messaging and queuing SNS for a project. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + /// Activates Scaleway Messaging and Queuing SNS in a Project. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). /// /// ## Example Usage /// /// ### Basic /// - /// Activate SNS for default project + /// Activate SNS in the default Project /// /// ```csharp /// using System.Collections.Generic; @@ -34,7 +34,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// Activate SNS for a specific project + /// Activate SNS in a specific Project /// /// ```csharp /// using System.Collections.Generic; @@ -50,7 +50,7 @@ namespace Pulumiverse.Scaleway /// Name = "default", /// }); /// - /// // For specific project in default region + /// // For specific Project in default region /// var forProject = new Scaleway.MnqSns("forProject", new() /// { /// ProjectId = project.Apply(getAccountProjectResult => getAccountProjectResult.Id), @@ -61,7 +61,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// SNS status can be imported using the `{region}/{project_id}`, e.g. + /// SNS status can be imported using `{region}/{project_id}`, e.g. /// /// bash /// @@ -73,20 +73,20 @@ namespace Pulumiverse.Scaleway public partial class MnqSns : global::Pulumi.CustomResource { /// - /// The endpoint of the SNS service for this project. + /// The endpoint of the SNS service for this Project. /// [Output("endpoint")] public Output Endpoint { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sns will be enabled for. + /// `project_id`) The ID of the project in which SNS will be enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// /// `region`). The region - /// in which sns will be enabled. + /// in which SNS will be enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -139,14 +139,14 @@ public static MnqSns Get(string name, Input id, MnqSnsState? state = nul public sealed class MnqSnsArgs : global::Pulumi.ResourceArgs { /// - /// `project_id`) The ID of the project the sns will be enabled for. + /// `project_id`) The ID of the project in which SNS will be enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sns will be enabled. + /// in which SNS will be enabled. /// [Input("region")] public Input? Region { get; set; } @@ -160,20 +160,20 @@ public MnqSnsArgs() public sealed class MnqSnsState : global::Pulumi.ResourceArgs { /// - /// The endpoint of the SNS service for this project. + /// The endpoint of the SNS service for this Project. /// [Input("endpoint")] public Input? Endpoint { get; set; } /// - /// `project_id`) The ID of the project the sns will be enabled for. + /// `project_id`) The ID of the project in which SNS will be enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sns will be enabled. + /// in which SNS will be enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSnsCredentials.cs b/sdk/dotnet/MnqSnsCredentials.cs index 66c33e73..6bed69cf 100644 --- a/sdk/dotnet/MnqSnsCredentials.cs +++ b/sdk/dotnet/MnqSnsCredentials.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Messaging and queuing SNS Credentials. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + /// Creates and manages Scaleway Messaging and Queuing SNS credentials. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) /// /// ## Example Usage /// @@ -45,7 +45,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// SNS credentials can be imported using the `{region}/{id}`, e.g. + /// SNS credentials can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -63,25 +63,25 @@ public partial class MnqSnsCredentials : global::Pulumi.CustomResource public Output AccessKey { get; private set; } = null!; /// - /// The unique name of the sns credentials. + /// The unique name of the SNS credentials. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Output("permissions")] public Output Permissions { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// - /// `region`). The region in which sns is enabled. + /// `region`). The region in which SNS is enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -145,25 +145,25 @@ public static MnqSnsCredentials Get(string name, Input id, MnqSnsCredent public sealed class MnqSnsCredentialsArgs : global::Pulumi.ResourceArgs { /// - /// The unique name of the sns credentials. + /// The unique name of the SNS credentials. /// [Input("name")] public Input? Name { get; set; } /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Input("permissions")] public Input? Permissions { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which sns is enabled. + /// `region`). The region in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -193,25 +193,25 @@ public Input? AccessKey } /// - /// The unique name of the sns credentials. + /// The unique name of the SNS credentials. /// [Input("name")] public Input? Name { get; set; } /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Input("permissions")] public Input? Permissions { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which sns is enabled. + /// `region`). The region in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSnsTopic.cs b/sdk/dotnet/MnqSnsTopic.cs index c49aca79..0831217f 100644 --- a/sdk/dotnet/MnqSnsTopic.cs +++ b/sdk/dotnet/MnqSnsTopic.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Manage Scaleway Messaging and queuing SNS Topics. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + /// Manage Scaleway Messaging and queuing SNS topics. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/). /// /// ## Example Usage /// @@ -50,7 +50,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// SNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g. + /// SNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g. /// /// bash /// @@ -80,13 +80,13 @@ public partial class MnqSnsTopic : global::Pulumi.CustomResource public Output ContentBasedDeduplication { get; private set; } = null!; /// - /// Whether the topic is a FIFO. If true, the topic name must end with .fifo. + /// Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. /// [Output("fifoTopic")] public Output FifoTopic { get; private set; } = null!; /// - /// The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -104,14 +104,14 @@ public partial class MnqSnsTopic : global::Pulumi.CustomResource public Output Owner { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -203,13 +203,13 @@ public Input? AccessKey public Input? ContentBasedDeduplication { get; set; } /// - /// Whether the topic is a FIFO. If true, the topic name must end with .fifo. + /// Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. /// [Input("fifoTopic")] public Input? FifoTopic { get; set; } /// - /// The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Input("name")] public Input? Name { get; set; } @@ -221,14 +221,14 @@ public Input? AccessKey public Input? NamePrefix { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -292,13 +292,13 @@ public Input? AccessKey public Input? ContentBasedDeduplication { get; set; } /// - /// Whether the topic is a FIFO. If true, the topic name must end with .fifo. + /// Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. /// [Input("fifoTopic")] public Input? FifoTopic { get; set; } /// - /// The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Input("name")] public Input? Name { get; set; } @@ -316,14 +316,14 @@ public Input? AccessKey public Input? Owner { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSnsTopicSubscription.cs b/sdk/dotnet/MnqSnsTopicSubscription.cs index 5baa32d7..745db9fe 100644 --- a/sdk/dotnet/MnqSnsTopicSubscription.cs +++ b/sdk/dotnet/MnqSnsTopicSubscription.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Manage Scaleway Messaging and queuing SNS Topic Subscriptions. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + /// Manages Scaleway Messaging and Queuing SNS topic subscriptions. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). /// /// ## Example Usage /// @@ -63,7 +63,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// SNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. + /// SNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. /// /// bash /// @@ -93,26 +93,26 @@ public partial class MnqSnsTopicSubscription : global::Pulumi.CustomResource public Output Endpoint { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// - /// Protocol of the SNS Topic Subscription. + /// Protocol of the SNS topic subscription. /// [Output("protocol")] public Output Protocol { get; private set; } = null!; /// - /// Activate JSON Redrive Policy. + /// Activate JSON redrive policy. /// [Output("redrivePolicy")] public Output RedrivePolicy { get; private set; } = null!; /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -216,26 +216,26 @@ public Input? AccessKey public Input? Endpoint { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// Protocol of the SNS Topic Subscription. + /// Protocol of the SNS topic subscription. /// [Input("protocol", required: true)] public Input Protocol { get; set; } = null!; /// - /// Activate JSON Redrive Policy. + /// Activate JSON redrive policy. /// [Input("redrivePolicy")] public Input? RedrivePolicy { get; set; } /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -311,26 +311,26 @@ public Input? AccessKey public Input? Endpoint { get; set; } /// - /// `project_id`) The ID of the project the sns is enabled for. + /// `project_id`) The ID of the Project in which SNS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// Protocol of the SNS Topic Subscription. + /// Protocol of the SNS topic subscription. /// [Input("protocol")] public Input? Protocol { get; set; } /// - /// Activate JSON Redrive Policy. + /// Activate JSON redrive policy. /// [Input("redrivePolicy")] public Input? RedrivePolicy { get; set; } /// /// `region`). The region - /// in which sns is enabled. + /// in which SNS is enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSqs.cs b/sdk/dotnet/MnqSqs.cs index 4f673c3f..d0175557 100644 --- a/sdk/dotnet/MnqSqs.cs +++ b/sdk/dotnet/MnqSqs.cs @@ -11,15 +11,15 @@ namespace Pulumiverse.Scaleway { /// - /// Activate Scaleway Messaging and queuing SQS for a project. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + /// Activate Scaleway Messaging and Queuing SQS in a Project. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/). /// /// ## Example Usage /// /// ### Basic /// - /// Activate SQS for default project + /// Activate SQS in the default Project /// /// ```csharp /// using System.Collections.Generic; @@ -72,20 +72,20 @@ namespace Pulumiverse.Scaleway public partial class MnqSqs : global::Pulumi.CustomResource { /// - /// The endpoint of the SQS service for this project. + /// The endpoint of the SQS service for this Project. /// [Output("endpoint")] public Output Endpoint { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sqs will be enabled for. + /// `project_id`) The ID of the Project in which SQS will be enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// /// `region`). The region - /// in which sqs will be enabled. + /// in which SQS will be enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -138,14 +138,14 @@ public static MnqSqs Get(string name, Input id, MnqSqsState? state = nul public sealed class MnqSqsArgs : global::Pulumi.ResourceArgs { /// - /// `project_id`) The ID of the project the sqs will be enabled for. + /// `project_id`) The ID of the Project in which SQS will be enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sqs will be enabled. + /// in which SQS will be enabled. /// [Input("region")] public Input? Region { get; set; } @@ -159,20 +159,20 @@ public MnqSqsArgs() public sealed class MnqSqsState : global::Pulumi.ResourceArgs { /// - /// The endpoint of the SQS service for this project. + /// The endpoint of the SQS service for this Project. /// [Input("endpoint")] public Input? Endpoint { get; set; } /// - /// `project_id`) The ID of the project the sqs will be enabled for. + /// `project_id`) The ID of the Project in which SQS will be enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// /// `region`). The region - /// in which sqs will be enabled. + /// in which SQS will be enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSqsCredentials.cs b/sdk/dotnet/MnqSqsCredentials.cs index 5bb9d5f2..29e4feb7 100644 --- a/sdk/dotnet/MnqSqsCredentials.cs +++ b/sdk/dotnet/MnqSqsCredentials.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Messaging and queuing SQS Credentials. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + /// Creates and manages Scaleway Messaging and Queuing SQS credentials. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) /// /// ## Example Usage /// @@ -45,7 +45,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// SQS credentials can be imported using the `{region}/{id}`, e.g. + /// SQS credentials can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -63,25 +63,25 @@ public partial class MnqSqsCredentials : global::Pulumi.CustomResource public Output AccessKey { get; private set; } = null!; /// - /// The unique name of the sqs credentials. + /// The unique name of the SQS credentials. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Output("permissions")] public Output Permissions { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -145,25 +145,25 @@ public static MnqSqsCredentials Get(string name, Input id, MnqSqsCredent public sealed class MnqSqsCredentialsArgs : global::Pulumi.ResourceArgs { /// - /// The unique name of the sqs credentials. + /// The unique name of the SQS credentials. /// [Input("name")] public Input? Name { get; set; } /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Input("permissions")] public Input? Permissions { get; set; } /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -193,25 +193,25 @@ public Input? AccessKey } /// - /// The unique name of the sqs credentials. + /// The unique name of the SQS credentials. /// [Input("name")] public Input? Name { get; set; } /// - /// . List of permissions associated to these credentials. Only one of permissions may be set. + /// . List of permissions associated with these credentials. Only one of the following permissions may be set: /// [Input("permissions")] public Input? Permissions { get; set; } /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/MnqSqsQueue.cs b/sdk/dotnet/MnqSqsQueue.cs index e04232eb..ac3071a2 100644 --- a/sdk/dotnet/MnqSqsQueue.cs +++ b/sdk/dotnet/MnqSqsQueue.cs @@ -11,9 +11,9 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Messaging and queuing SQS Queues. - /// For further information please check - /// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/) + /// Creates and manages Scaleway Messaging and Queuing SQS queues. + /// For further information, see + /// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/). /// /// ## Example Usage /// @@ -85,7 +85,7 @@ public partial class MnqSqsQueue : global::Pulumi.CustomResource public Output MessageMaxSize { get; private set; } = null!; /// - /// The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -97,7 +97,7 @@ public partial class MnqSqsQueue : global::Pulumi.CustomResource public Output NamePrefix { get; private set; } = null!; /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -109,7 +109,7 @@ public partial class MnqSqsQueue : global::Pulumi.CustomResource public Output ReceiveWaitTimeSeconds { get; private set; } = null!; /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Output("region")] public Output Region { get; private set; } = null!; @@ -231,7 +231,7 @@ public Input? AccessKey public Input? MessageMaxSize { get; set; } /// - /// The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Input("name")] public Input? Name { get; set; } @@ -243,7 +243,7 @@ public Input? AccessKey public Input? NamePrefix { get; set; } /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -255,7 +255,7 @@ public Input? AccessKey public Input? ReceiveWaitTimeSeconds { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public Input? Region { get; set; } @@ -337,7 +337,7 @@ public Input? AccessKey public Input? MessageMaxSize { get; set; } /// - /// The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + /// The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. /// [Input("name")] public Input? Name { get; set; } @@ -349,7 +349,7 @@ public Input? AccessKey public Input? NamePrefix { get; set; } /// - /// `project_id`) The ID of the project the sqs is enabled for. + /// `project_id`) The ID of the Project in which SQS is enabled. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -361,7 +361,7 @@ public Input? AccessKey public Input? ReceiveWaitTimeSeconds { get; set; } /// - /// `region`). The region in which sqs is enabled. + /// `region`). The region in which SQS is enabled. /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Outputs/DatabaseAclAclRule.cs b/sdk/dotnet/Outputs/DatabaseAclAclRule.cs index fff61de5..b29b20e0 100644 --- a/sdk/dotnet/Outputs/DatabaseAclAclRule.cs +++ b/sdk/dotnet/Outputs/DatabaseAclAclRule.cs @@ -19,7 +19,7 @@ public sealed class DatabaseAclAclRule /// public readonly string? Description; /// - /// The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + /// The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// public readonly string Ip; diff --git a/sdk/dotnet/Outputs/DatabaseReadReplicaDirectAccess.cs b/sdk/dotnet/Outputs/DatabaseReadReplicaDirectAccess.cs index 435f01b0..5d229165 100644 --- a/sdk/dotnet/Outputs/DatabaseReadReplicaDirectAccess.cs +++ b/sdk/dotnet/Outputs/DatabaseReadReplicaDirectAccess.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class DatabaseReadReplicaDirectAccess { /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// public readonly string? EndpointId; /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// public readonly string? Hostname; /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// public readonly string? Ip; /// diff --git a/sdk/dotnet/Outputs/DatabaseReadReplicaPrivateNetwork.cs b/sdk/dotnet/Outputs/DatabaseReadReplicaPrivateNetwork.cs index 3f1f526d..8aae7e5d 100644 --- a/sdk/dotnet/Outputs/DatabaseReadReplicaPrivateNetwork.cs +++ b/sdk/dotnet/Outputs/DatabaseReadReplicaPrivateNetwork.cs @@ -21,15 +21,15 @@ public sealed class DatabaseReadReplicaPrivateNetwork /// public readonly bool? EnableIpam; /// - /// The ID of the endpoint of the read replica. + /// The ID of the endpoint of the Read Replica. /// public readonly string? EndpointId; /// - /// Hostname of the endpoint. Only one of ip and hostname may be set. + /// Hostname of the endpoint. Only one of IP and hostname may be set. /// public readonly string? Hostname; /// - /// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + /// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. /// public readonly string? Ip; /// @@ -41,7 +41,7 @@ public sealed class DatabaseReadReplicaPrivateNetwork /// public readonly int? Port; /// - /// UUID of the private network to be connected to the read replica. + /// UUID of the Private Netork to be connected to the Read Replica. /// public readonly string PrivateNetworkId; /// diff --git a/sdk/dotnet/Outputs/DocumentdbPrivateNetworkEndpointPrivateNetwork.cs b/sdk/dotnet/Outputs/DocumentdbPrivateNetworkEndpointPrivateNetwork.cs new file mode 100644 index 00000000..5571ab10 --- /dev/null +++ b/sdk/dotnet/Outputs/DocumentdbPrivateNetworkEndpointPrivateNetwork.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Scaleway.Outputs +{ + + [OutputType] + public sealed class DocumentdbPrivateNetworkEndpointPrivateNetwork + { + /// + /// The hostname of your endpoint. + /// + public readonly string? Hostname; + /// + /// The private network ID. + /// + public readonly string Id; + /// + /// The IP of your private network service. + /// + public readonly string? Ip; + /// + /// The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + /// + public readonly string? IpNet; + /// + /// The name of your private service. + /// + public readonly string? Name; + /// + /// The port of your private service. + /// + public readonly int? Port; + /// + /// The zone of your endpoint. + /// + public readonly string? Zone; + + [OutputConstructor] + private DocumentdbPrivateNetworkEndpointPrivateNetwork( + string? hostname, + + string id, + + string? ip, + + string? ipNet, + + string? name, + + int? port, + + string? zone) + { + Hostname = hostname; + Id = id; + Ip = ip; + IpNet = ipNet; + Name = name; + Port = port; + Zone = zone; + } + } +} diff --git a/sdk/dotnet/Outputs/GetBillingConsumptionsConsumptionResult.cs b/sdk/dotnet/Outputs/GetBillingConsumptionsConsumptionResult.cs index c58042bd..bcb5f934 100644 --- a/sdk/dotnet/Outputs/GetBillingConsumptionsConsumptionResult.cs +++ b/sdk/dotnet/Outputs/GetBillingConsumptionsConsumptionResult.cs @@ -15,31 +15,31 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetBillingConsumptionsConsumptionResult { /// - /// Consumed quantity + /// The consumed quantity. /// public readonly string BilledQuantity; /// - /// Name of consumption category + /// The name of the consumption category. /// public readonly string CategoryName; /// - /// The product name + /// The product name. /// public readonly string ProductName; /// - /// Project ID of the consumption + /// `project_id`) The ID of the project the consumption list is associated with. /// public readonly string ProjectId; /// - /// Unique identifier of the product + /// The unique identifier of the product. /// public readonly string Sku; /// - /// Unit of consumed quantity + /// The unit of consumed quantity. /// public readonly string Unit; /// - /// Monetary value of the consumption + /// The monetary value of the consumption. /// public readonly string Value; diff --git a/sdk/dotnet/Outputs/GetDatabaseInstanceLoadBalancerResult.cs b/sdk/dotnet/Outputs/GetDatabaseInstanceLoadBalancerResult.cs index 8e8e84e3..ed3fe13c 100644 --- a/sdk/dotnet/Outputs/GetDatabaseInstanceLoadBalancerResult.cs +++ b/sdk/dotnet/Outputs/GetDatabaseInstanceLoadBalancerResult.cs @@ -28,7 +28,6 @@ public sealed class GetDatabaseInstanceLoadBalancerResult public readonly string Ip; /// /// The name of the RDB instance. - /// Only one of `name` and `instance_id` should be specified. /// public readonly string Name; /// diff --git a/sdk/dotnet/Outputs/GetDatabaseInstancePrivateNetworkResult.cs b/sdk/dotnet/Outputs/GetDatabaseInstancePrivateNetworkResult.cs index a98c8715..e59f96d0 100644 --- a/sdk/dotnet/Outputs/GetDatabaseInstancePrivateNetworkResult.cs +++ b/sdk/dotnet/Outputs/GetDatabaseInstancePrivateNetworkResult.cs @@ -36,7 +36,6 @@ public sealed class GetDatabaseInstancePrivateNetworkResult public readonly string IpNet; /// /// The name of the RDB instance. - /// Only one of `name` and `instance_id` should be specified. /// public readonly string Name; /// diff --git a/sdk/dotnet/Outputs/GetDatabaseInstanceReadReplicaResult.cs b/sdk/dotnet/Outputs/GetDatabaseInstanceReadReplicaResult.cs index 5884798f..0598b1d6 100644 --- a/sdk/dotnet/Outputs/GetDatabaseInstanceReadReplicaResult.cs +++ b/sdk/dotnet/Outputs/GetDatabaseInstanceReadReplicaResult.cs @@ -20,7 +20,6 @@ public sealed class GetDatabaseInstanceReadReplicaResult public readonly string Ip; /// /// The name of the RDB instance. - /// Only one of `name` and `instance_id` should be specified. /// public readonly string Name; /// diff --git a/sdk/dotnet/Outputs/GetIpamIpResourceResult.cs b/sdk/dotnet/Outputs/GetIpamIpResourceResult.cs index be0f57b1..b260e4e4 100644 --- a/sdk/dotnet/Outputs/GetIpamIpResourceResult.cs +++ b/sdk/dotnet/Outputs/GetIpamIpResourceResult.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetIpamIpResourceResult { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// public readonly string? Id; /// - /// The name of the resource to get the IP from. + /// The name of the resource the IP is attached to. /// public readonly string? Name; /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// public readonly string Type; diff --git a/sdk/dotnet/Outputs/GetIpamIpsIpResourceResult.cs b/sdk/dotnet/Outputs/GetIpamIpsIpResourceResult.cs index 51707c1d..51a5979e 100644 --- a/sdk/dotnet/Outputs/GetIpamIpsIpResourceResult.cs +++ b/sdk/dotnet/Outputs/GetIpamIpsIpResourceResult.cs @@ -15,19 +15,19 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetIpamIpsIpResourceResult { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the attached resource. /// public readonly string Id; /// - /// The Mac Address used as filter. + /// The linked MAC address to filter for. /// public readonly string MacAddress; /// - /// The name of the resource to get the IP from. + /// The name of the attached resource. /// public readonly string Name; /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// public readonly string Type; diff --git a/sdk/dotnet/Outputs/GetIpamIpsIpResult.cs b/sdk/dotnet/Outputs/GetIpamIpsIpResult.cs index 0f0eccb1..bed0df47 100644 --- a/sdk/dotnet/Outputs/GetIpamIpsIpResult.cs +++ b/sdk/dotnet/Outputs/GetIpamIpsIpResult.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetIpamIpsIpResult { /// - /// The Scaleway internal IP address of the server. + /// The Scaleway internal IP address of the resource. /// public readonly string Address; /// @@ -27,19 +27,19 @@ public sealed class GetIpamIpsIpResult /// public readonly string Id; /// - /// The ID of the project used as filter. + /// The ID of the Project to filter for. /// public readonly string ProjectId; /// - /// The region used as filter. + /// The region to filter for. /// public readonly string Region; /// - /// Filter by resource ID, type or name. + /// Filter for a resource attached to the IP, using resource ID, type or name. /// public readonly ImmutableArray Resources; /// - /// The tags used as filter. + /// The IP tags to filter for. /// public readonly ImmutableArray Tags; /// @@ -47,7 +47,7 @@ public sealed class GetIpamIpsIpResult /// public readonly string UpdatedAt; /// - /// The zone in which the IP is. + /// The zone of the IP. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetIpamIpsResourceResult.cs b/sdk/dotnet/Outputs/GetIpamIpsResourceResult.cs index 90e71e24..4109a062 100644 --- a/sdk/dotnet/Outputs/GetIpamIpsResourceResult.cs +++ b/sdk/dotnet/Outputs/GetIpamIpsResourceResult.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetIpamIpsResourceResult { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the attached resource. /// public readonly string? Id; /// - /// The name of the resource to get the IP from. + /// The name of the attached resource. /// public readonly string? Name; /// - /// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + /// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. /// public readonly string Type; diff --git a/sdk/dotnet/Outputs/GetLbAclsAclActionRedirectResult.cs b/sdk/dotnet/Outputs/GetLbAclsAclActionRedirectResult.cs index a80effb1..de4710c7 100644 --- a/sdk/dotnet/Outputs/GetLbAclsAclActionRedirectResult.cs +++ b/sdk/dotnet/Outputs/GetLbAclsAclActionRedirectResult.cs @@ -15,11 +15,11 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbAclsAclActionRedirectResult { /// - /// The HTTP redirect code used. + /// The HTTP redirect code to use. /// public readonly int Code; /// - /// The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + /// The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. /// public readonly string Target; /// diff --git a/sdk/dotnet/Outputs/GetLbAclsAclMatchResult.cs b/sdk/dotnet/Outputs/GetLbAclsAclMatchResult.cs index b2158a4d..a5cf41ce 100644 --- a/sdk/dotnet/Outputs/GetLbAclsAclMatchResult.cs +++ b/sdk/dotnet/Outputs/GetLbAclsAclMatchResult.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbAclsAclMatchResult { /// - /// The matched HTTP filter. + /// The HTTP filter to match. /// public readonly string HttpFilter; /// @@ -23,7 +23,7 @@ public sealed class GetLbAclsAclMatchResult /// public readonly string HttpFilterOption; /// - /// The possible values matched for a given HTTP filter. + /// The possible values to match for a given HTTP filter. /// public readonly ImmutableArray HttpFilterValues; /// @@ -31,7 +31,7 @@ public sealed class GetLbAclsAclMatchResult /// public readonly bool Invert; /// - /// A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public readonly ImmutableArray IpSubnets; diff --git a/sdk/dotnet/Outputs/GetLbAclsAclResult.cs b/sdk/dotnet/Outputs/GetLbAclsAclResult.cs index 2cfddd56..1e2b22f7 100644 --- a/sdk/dotnet/Outputs/GetLbAclsAclResult.cs +++ b/sdk/dotnet/Outputs/GetLbAclsAclResult.cs @@ -15,11 +15,11 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbAclsAclResult { /// - /// The action that has been undertaken when an ACL filter had matched. + /// The action to be undertaken when an ACL filter matches. /// public readonly ImmutableArray Actions; /// - /// The date at which the ACL was created (RFC 3339 format). + /// The date on which the ACL was created (RFC 3339 format). /// public readonly string CreatedAt; /// @@ -27,8 +27,8 @@ public sealed class GetLbAclsAclResult /// public readonly string Description; /// - /// The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - /// > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + /// The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + /// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` /// public readonly string FrontendId; /// @@ -37,7 +37,7 @@ public sealed class GetLbAclsAclResult /// public readonly string Id; /// - /// The order between the ACLs. + /// The priority of this ACL in the ordered list. /// public readonly int Index; /// @@ -45,11 +45,11 @@ public sealed class GetLbAclsAclResult /// public readonly ImmutableArray Matches; /// - /// The ACL name used as filter. ACLs with a name like it are listed. + /// The ACL name to filter for. ACLs with a matching name are listed. /// public readonly string Name; /// - /// The date at which the ACL was last updated (RFC 3339 format). + /// The date on which the ACL was last updated (RFC 3339 format). /// public readonly string UpdateAt; diff --git a/sdk/dotnet/Outputs/GetLbBackendsBackendHealthCheckHttpResult.cs b/sdk/dotnet/Outputs/GetLbBackendsBackendHealthCheckHttpResult.cs index c7535532..ed19ec31 100644 --- a/sdk/dotnet/Outputs/GetLbBackendsBackendHealthCheckHttpResult.cs +++ b/sdk/dotnet/Outputs/GetLbBackendsBackendHealthCheckHttpResult.cs @@ -19,11 +19,11 @@ public sealed class GetLbBackendsBackendHealthCheckHttpResult /// public readonly int Code; /// - /// The HTTP host header to use for HC requests. + /// The HTTP host header to use for health check requests. /// public readonly string HostHeader; /// - /// The HTTP method to use for HC requests. + /// The HTTP method to use for health check requests. /// public readonly string Method; /// @@ -31,7 +31,7 @@ public sealed class GetLbBackendsBackendHealthCheckHttpResult /// public readonly string Sni; /// - /// The HTTPS endpoint URL to call for HC requests. + /// The HTTPS endpoint URL to call for health check requests. /// public readonly string Uri; diff --git a/sdk/dotnet/Outputs/GetLbBackendsBackendResult.cs b/sdk/dotnet/Outputs/GetLbBackendsBackendResult.cs index ce8f637b..182503fe 100644 --- a/sdk/dotnet/Outputs/GetLbBackendsBackendResult.cs +++ b/sdk/dotnet/Outputs/GetLbBackendsBackendResult.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbBackendsBackendResult { /// - /// The date at which the backend was created (RFC 3339 format). + /// The date on which the backend was created (RFC 3339 format). /// public readonly string CreatedAt; /// - /// Scaleway S3 bucket website to be served in case all backend servers are down. + /// Scaleway S3 bucket website to be served if all backend servers are down. /// public readonly string FailoverHost; /// - /// User sessions will be forwarded to this port of backend servers. + /// User sessions will be forwarded to this backend server port. /// public readonly int ForwardPort; /// @@ -35,31 +35,31 @@ public sealed class GetLbBackendsBackendResult /// public readonly string ForwardProtocol; /// - /// Interval between two HC requests. + /// Interval between two health check requests. /// public readonly string HealthCheckDelay; /// - /// This block enable HTTP health check. + /// This block enables HTTP health checks. /// public readonly ImmutableArray HealthCheckHttp; /// - /// This block enable HTTPS health check. + /// This block enables HTTPS health checks. /// public readonly ImmutableArray HealthCheckHttps; /// - /// Number of allowed failed HC requests before the backend server is marked down. + /// Number of allowed failed health check requests before the backend server is marked as down. /// public readonly int HealthCheckMaxRetries; /// - /// Port the HC requests will be sent to. + /// Port the health check requests will be sent to. /// public readonly int HealthCheckPort; /// - /// This block enable TCP health check. + /// This block enables TCP health checks. /// public readonly ImmutableArray HealthCheckTcps; /// - /// Timeout before we consider a HC request failed. + /// Timeout before a health check request is considered failed. /// public readonly string HealthCheckTimeout; /// @@ -71,11 +71,11 @@ public sealed class GetLbBackendsBackendResult /// public readonly bool IgnoreSslServerVerify; /// - /// The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + /// The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. /// public readonly string LbId; /// - /// The backend name used as filter. Backends with a name like it are listed. + /// The backend name to filter for. Backends with a matching name are listed. /// public readonly string Name; /// @@ -91,7 +91,7 @@ public sealed class GetLbBackendsBackendResult /// public readonly ImmutableArray ServerIps; /// - /// Enables SSL between load balancer and backend servers. + /// Enables SSL between Load Balancer and backend servers. /// public readonly bool SslBridging; /// @@ -115,7 +115,7 @@ public sealed class GetLbBackendsBackendResult /// public readonly string TimeoutTunnel; /// - /// The date at which the backend was last updated (RFC 3339 format). + /// The date on which the backend was last updated (RFC 3339 format). /// public readonly string UpdateAt; diff --git a/sdk/dotnet/Outputs/GetLbFrontendsFrontendResult.cs b/sdk/dotnet/Outputs/GetLbFrontendsFrontendResult.cs index 70784764..37b6edd4 100644 --- a/sdk/dotnet/Outputs/GetLbFrontendsFrontendResult.cs +++ b/sdk/dotnet/Outputs/GetLbFrontendsFrontendResult.cs @@ -15,37 +15,37 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbFrontendsFrontendResult { /// - /// The load-balancer backend ID this frontend is attached to. - /// > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + /// The Load Balancer backend ID this frontend is attached to. + /// > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` /// public readonly string BackendId; /// - /// List of Certificate IDs that are used by the frontend. + /// List of certificate IDs that are used by the frontend. /// public readonly ImmutableArray CertificateIds; /// - /// The date at which the frontend was created (RFC 3339 format). + /// The date on which the frontend was created (RFC 3339 format). /// public readonly string CreatedAt; /// - /// If HTTP/3 protocol is activated. + /// Whether HTTP/3 protocol is activated. /// public readonly bool EnableHttp3; /// - /// The associated frontend ID. - /// > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + /// The ID of the associated frontend. + /// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` /// public readonly string Id; /// - /// TCP port the frontend listen to. + /// TCP port the frontend listens to. /// public readonly int InboundPort; /// - /// The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + /// The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. /// public readonly string LbId; /// - /// The frontend name used as filter. Frontends with a name like it are listed. + /// The frontend name to filter for. Frontends with a matching name are listed. /// public readonly string Name; /// @@ -53,7 +53,7 @@ public sealed class GetLbFrontendsFrontendResult /// public readonly string TimeoutClient; /// - /// The date at which the frontend was last updated (RFC 3339 format). + /// The date aont which the frontend was last updated (RFC 3339 format). /// public readonly string UpdateAt; diff --git a/sdk/dotnet/Outputs/GetLbIpsIpResult.cs b/sdk/dotnet/Outputs/GetLbIpsIpResult.cs index 1f9d0463..5695ca84 100644 --- a/sdk/dotnet/Outputs/GetLbIpsIpResult.cs +++ b/sdk/dotnet/Outputs/GetLbIpsIpResult.cs @@ -15,23 +15,23 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbIpsIpResult { /// - /// The associated IP ID. + /// The ID of the associated IP. /// public readonly string Id; /// - /// The IP Address + /// The IP address /// public readonly string IpAddress; /// - /// The associated load-balancer ID if any + /// The ID of the associated Load BalancerD, if any /// public readonly string LbId; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization the Load Balancer is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// public readonly string ProjectId; /// @@ -39,7 +39,7 @@ public sealed class GetLbIpsIpResult /// public readonly string Reverse; /// - /// `zone`) The zone in which IPs exist. + /// `zone`) The zone in which the IPs exist. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetLbRoutesRouteResult.cs b/sdk/dotnet/Outputs/GetLbRoutesRouteResult.cs index 2df24261..622160a0 100644 --- a/sdk/dotnet/Outputs/GetLbRoutesRouteResult.cs +++ b/sdk/dotnet/Outputs/GetLbRoutesRouteResult.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbRoutesRouteResult { /// - /// The backend ID destination of redirection + /// The backend ID to redirect to /// public readonly string BackendId; /// - /// The date at which the route was created (RFC 3339 format). + /// The date on which the route was created (RFC 3339 format). /// public readonly string CreatedAt; /// - /// The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + /// The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. /// public readonly string FrontendId; /// @@ -39,7 +39,7 @@ public sealed class GetLbRoutesRouteResult /// public readonly string MatchSni; /// - /// The date at which the route was last updated (RFC 3339 format). + /// The date on which the route was last updated (RFC 3339 format). /// public readonly string UpdateAt; diff --git a/sdk/dotnet/Outputs/GetLbsLbInstanceResult.cs b/sdk/dotnet/Outputs/GetLbsLbInstanceResult.cs index 0ba5f4dc..4139e8f8 100644 --- a/sdk/dotnet/Outputs/GetLbsLbInstanceResult.cs +++ b/sdk/dotnet/Outputs/GetLbsLbInstanceResult.cs @@ -15,24 +15,24 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbsLbInstanceResult { /// - /// Date at which the Load balancer was created. + /// Date on which the Load Balancer was created. /// public readonly string CreatedAt; /// - /// The ID of the load-balancer. + /// The ID of the Load Balancer. /// public readonly string Id; public readonly string IpAddress; /// - /// The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + /// The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. /// public readonly string Status; /// - /// Date at which the Load balancer was updated. + /// Date on which the Load Balancer was updated. /// public readonly string UpdatedAt; /// - /// `zone`) The zone in which LBs exist. + /// `zone`) The zone in which the Load Balancers exist. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetLbsLbIpResult.cs b/sdk/dotnet/Outputs/GetLbsLbIpResult.cs index 5f918312..a86d62c1 100644 --- a/sdk/dotnet/Outputs/GetLbsLbIpResult.cs +++ b/sdk/dotnet/Outputs/GetLbsLbIpResult.cs @@ -15,22 +15,22 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbsLbIpResult { /// - /// The ID of the load-balancer. + /// The ID of the Load Balancer. /// public readonly string Id; public readonly string IpAddress; public readonly string LbId; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization the Load Balancer is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// public readonly string ProjectId; public readonly string Reverse; /// - /// `zone`) The zone in which LBs exist. + /// `zone`) The zone in which the Load Balancers exist. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetLbsLbResult.cs b/sdk/dotnet/Outputs/GetLbsLbResult.cs index 80f7db9f..20c25333 100644 --- a/sdk/dotnet/Outputs/GetLbsLbResult.cs +++ b/sdk/dotnet/Outputs/GetLbsLbResult.cs @@ -15,47 +15,47 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetLbsLbResult { /// - /// Number of backends the Load balancer has. + /// Number of backends the Load Balancer has. /// public readonly int BackendCount; /// - /// Date at which the Load balancer was created. + /// Date on which the Load Balancer was created. /// public readonly string CreatedAt; /// - /// The description of the load-balancer. + /// The description of the Load Balancer. /// public readonly string Description; /// - /// Number of frontends the Load balancer has. + /// Number of frontends the Load Balancer has. /// public readonly int FrontendCount; /// - /// The ID of the load-balancer. + /// The ID of the Load Balancer. /// public readonly string Id; /// - /// List of underlying instances. + /// List of underlying Instances. /// public readonly ImmutableArray Instances; /// - /// List of IPs attached to the Load balancer. + /// List of IPs attached to the Load Balancer. /// public readonly ImmutableArray Ips; /// - /// The load balancer name used as a filter. LBs with a name like it are listed. + /// The Load Balancer name to filter for. Load Balancers with a matching name are listed. /// public readonly string Name; /// - /// The organization ID the load-balancer is associated with. + /// The ID of the Organization the Load Balancer is associated with. /// public readonly string OrganizationId; /// - /// Number of private networks attached to the Load balancer. + /// Number of Private Networks attached to the Load balancer. /// public readonly int PrivateNetworkCount; /// - /// The ID of the project the load-balancer is associated with. + /// The ID of the Project the Load Balancer is associated with. /// public readonly string ProjectId; /// @@ -63,11 +63,11 @@ public sealed class GetLbsLbResult /// public readonly int RouteCount; /// - /// Determines the minimal SSL version which needs to be supported on client side. + /// Determines the minimal SSL version which needs to be supported on the client side. /// public readonly string SslCompatibilityLevel; /// - /// The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + /// The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. /// public readonly string Status; /// @@ -75,19 +75,19 @@ public sealed class GetLbsLbResult /// public readonly string Subscriber; /// - /// List of tags used as filter. LBs with these exact tags are listed. + /// List of tags to filter for. Load Balancers with these exact tags are listed. /// public readonly ImmutableArray Tags; /// - /// The offer type of the load-balancer. + /// The offer type of the Load Balancer. /// public readonly string Type; /// - /// Date at which the Load balancer was updated. + /// Date on which the Load Balancer was updated. /// public readonly string UpdatedAt; /// - /// `zone`) The zone in which LBs exist. + /// `zone`) The zone in which the Load Balancers exist. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetLoadbalancerPrivateNetworkResult.cs b/sdk/dotnet/Outputs/GetLoadbalancerPrivateNetworkResult.cs index 9eb414a6..9f98fb3c 100644 --- a/sdk/dotnet/Outputs/GetLoadbalancerPrivateNetworkResult.cs +++ b/sdk/dotnet/Outputs/GetLoadbalancerPrivateNetworkResult.cs @@ -31,7 +31,7 @@ public sealed class GetLoadbalancerPrivateNetworkResult /// public readonly string Status; /// - /// (Defaults to provider `zone`) The zone in which the LB exists. + /// (Defaults to provider `zone`) The zone in which the Load Balancer exists. /// public readonly string Zone; diff --git a/sdk/dotnet/Outputs/GetRedisClusterPrivateNetworkResult.cs b/sdk/dotnet/Outputs/GetRedisClusterPrivateNetworkResult.cs index cb48061b..b3ef4382 100644 --- a/sdk/dotnet/Outputs/GetRedisClusterPrivateNetworkResult.cs +++ b/sdk/dotnet/Outputs/GetRedisClusterPrivateNetworkResult.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class GetRedisClusterPrivateNetworkResult { /// - /// UUID of the endpoint to be connected to the cluster + /// The ID of the endpoint. /// public readonly string EndpointId; /// diff --git a/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv4SubnetResult.cs b/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv4SubnetResult.cs index 49efe8f7..fe2f590e 100644 --- a/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv4SubnetResult.cs +++ b/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv4SubnetResult.cs @@ -23,7 +23,7 @@ public sealed class GetVpcPrivateNetworkIpv4SubnetResult /// public readonly string CreatedAt; /// - /// The ID of the private network. + /// The ID of the Private Network. /// public readonly string Id; /// diff --git a/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv6SubnetResult.cs b/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv6SubnetResult.cs index 78e84251..07f9e268 100644 --- a/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv6SubnetResult.cs +++ b/sdk/dotnet/Outputs/GetVpcPrivateNetworkIpv6SubnetResult.cs @@ -23,7 +23,7 @@ public sealed class GetVpcPrivateNetworkIpv6SubnetResult /// public readonly string CreatedAt; /// - /// The ID of the private network. + /// The ID of the Private Network. /// public readonly string Id; /// diff --git a/sdk/dotnet/Outputs/GetVpcsVpcResult.cs b/sdk/dotnet/Outputs/GetVpcsVpcResult.cs index cb6ee351..861f2ab0 100644 --- a/sdk/dotnet/Outputs/GetVpcsVpcResult.cs +++ b/sdk/dotnet/Outputs/GetVpcsVpcResult.cs @@ -20,7 +20,7 @@ public sealed class GetVpcsVpcResult public readonly string CreatedAt; /// /// The associated VPC ID. - /// > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + /// > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 /// public readonly string Id; /// @@ -28,23 +28,23 @@ public sealed class GetVpcsVpcResult /// public readonly bool IsDefault; /// - /// The VPC name used as filter. VPCs with a name like it are listed. + /// The VPC name to filter for. VPCs with a similar name are listed. /// public readonly string Name; /// - /// The organization ID the VPC is associated with. + /// The Organization ID the VPC is associated with. /// public readonly string OrganizationId; /// - /// The ID of the project the VPC is associated with. + /// The ID of the Project the VPC is associated with. /// public readonly string ProjectId; /// - /// `region`). The region in which vpcs exist. + /// `region`). The region in which the VPCs exist. /// public readonly string Region; /// - /// List of tags used as filter. VPCs with these exact tags are listed. + /// List of tags to filter for. VPCs with these exact tags are listed. /// public readonly ImmutableArray Tags; public readonly string UpdateAt; diff --git a/sdk/dotnet/Outputs/IamPolicyRule.cs b/sdk/dotnet/Outputs/IamPolicyRule.cs index d3999cae..17548f5b 100644 --- a/sdk/dotnet/Outputs/IamPolicyRule.cs +++ b/sdk/dotnet/Outputs/IamPolicyRule.cs @@ -19,19 +19,19 @@ public sealed class IamPolicyRule /// public readonly string? OrganizationId; /// - /// Names of permission sets bound to the rule. + /// Names of permission sets bind to the rule. /// - /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + /// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: /// /// ```shell - /// $ scw iam permission-set list + /// $ scw IAM permission-set list /// ``` /// public readonly ImmutableArray PermissionSetNames; /// /// List of project IDs scoped to the rule. /// - /// > **Important** One of `organization_id` or `project_ids` must be set per rule. + /// > **Important** One `organization_id` or `project_ids` must be set per rule. /// public readonly ImmutableArray ProjectIds; diff --git a/sdk/dotnet/Outputs/IpamIpResource.cs b/sdk/dotnet/Outputs/IpamIpResource.cs index 4f2f9f60..c26745e7 100644 --- a/sdk/dotnet/Outputs/IpamIpResource.cs +++ b/sdk/dotnet/Outputs/IpamIpResource.cs @@ -15,11 +15,11 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class IpamIpResource { /// - /// The ID of the resource that the IP is bound to. + /// The ID of the resource that the IP is attached to. /// public readonly string? Id; /// - /// The MAC Address of the resource the IP is attached to. + /// The MAC address of the resource the IP is attached to. /// public readonly string? MacAddress; /// diff --git a/sdk/dotnet/Outputs/IpamIpSource.cs b/sdk/dotnet/Outputs/IpamIpSource.cs index 8e2bcd1a..6ad08d59 100644 --- a/sdk/dotnet/Outputs/IpamIpSource.cs +++ b/sdk/dotnet/Outputs/IpamIpSource.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class IpamIpSource { /// - /// The private network the IP lives in if the IP is a private IP. + /// The Private Network of the IP (if the IP is a private IP). /// public readonly string? PrivateNetworkId; /// - /// The private network subnet the IP lives in if the IP is a private IP in a private network. + /// The Private Network subnet of the IP (if the IP is a private IP). /// public readonly string? SubnetId; /// - /// The zone the IP lives in if the IP is a public zoned one + /// The zone of the IP (if the IP is public and zoned, rather than private and/or regional) /// public readonly string? Zonal; diff --git a/sdk/dotnet/Outputs/LoadbalancerAclMatch.cs b/sdk/dotnet/Outputs/LoadbalancerAclMatch.cs index b76fad89..6ecd2c2e 100644 --- a/sdk/dotnet/Outputs/LoadbalancerAclMatch.cs +++ b/sdk/dotnet/Outputs/LoadbalancerAclMatch.cs @@ -26,7 +26,7 @@ public sealed class LoadbalancerAclMatch public readonly string? HttpFilterOption; /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public readonly ImmutableArray HttpFilterValues; /// @@ -34,7 +34,7 @@ public sealed class LoadbalancerAclMatch /// public readonly bool? Invert; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public readonly ImmutableArray IpSubnets; diff --git a/sdk/dotnet/Outputs/LoadbalancerFrontendAclActionRedirect.cs b/sdk/dotnet/Outputs/LoadbalancerFrontendAclActionRedirect.cs index 1a20b965..98e47fd8 100644 --- a/sdk/dotnet/Outputs/LoadbalancerFrontendAclActionRedirect.cs +++ b/sdk/dotnet/Outputs/LoadbalancerFrontendAclActionRedirect.cs @@ -19,7 +19,7 @@ public sealed class LoadbalancerFrontendAclActionRedirect /// public readonly int? Code; /// - /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. /// public readonly string? Target; /// diff --git a/sdk/dotnet/Outputs/LoadbalancerFrontendAclMatch.cs b/sdk/dotnet/Outputs/LoadbalancerFrontendAclMatch.cs index d7f7d17b..305c0009 100644 --- a/sdk/dotnet/Outputs/LoadbalancerFrontendAclMatch.cs +++ b/sdk/dotnet/Outputs/LoadbalancerFrontendAclMatch.cs @@ -26,7 +26,7 @@ public sealed class LoadbalancerFrontendAclMatch public readonly string? HttpFilterOption; /// /// A list of possible values to match for the given HTTP filter. - /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + /// Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. /// public readonly ImmutableArray HttpFilterValues; /// @@ -34,7 +34,7 @@ public sealed class LoadbalancerFrontendAclMatch /// public readonly bool? Invert; /// - /// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + /// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. /// public readonly ImmutableArray IpSubnets; diff --git a/sdk/dotnet/Outputs/LoadbalancerPrivateNetwork.cs b/sdk/dotnet/Outputs/LoadbalancerPrivateNetwork.cs index 1763f85d..9ccb5f91 100644 --- a/sdk/dotnet/Outputs/LoadbalancerPrivateNetwork.cs +++ b/sdk/dotnet/Outputs/LoadbalancerPrivateNetwork.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class LoadbalancerPrivateNetwork { /// - /// (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + /// (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. /// public readonly bool? DhcpConfig; /// - /// (Required) The ID of the Private Network to associate. + /// (Required) The ID of the Private Network to attach to. /// public readonly string PrivateNetworkId; /// - /// (Optional) Define a local ip address of your choice for the load balancer instance. See below. + /// (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. /// public readonly string? StaticConfig; /// @@ -31,7 +31,7 @@ public sealed class LoadbalancerPrivateNetwork /// public readonly string? Status; /// - /// `zone`) The zone of the load-balancer. + /// `zone`) The zone of the Load Balancer. /// public readonly string? Zone; diff --git a/sdk/dotnet/Outputs/MnqSnsCredentialsPermissions.cs b/sdk/dotnet/Outputs/MnqSnsCredentialsPermissions.cs index 4f367745..2d2e6d87 100644 --- a/sdk/dotnet/Outputs/MnqSnsCredentialsPermissions.cs +++ b/sdk/dotnet/Outputs/MnqSnsCredentialsPermissions.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class MnqSnsCredentialsPermissions { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// public readonly bool? CanManage; /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// public readonly bool? CanPublish; /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// public readonly bool? CanReceive; diff --git a/sdk/dotnet/Outputs/MnqSqsCredentialsPermissions.cs b/sdk/dotnet/Outputs/MnqSqsCredentialsPermissions.cs index 83c90c50..98f2bc73 100644 --- a/sdk/dotnet/Outputs/MnqSqsCredentialsPermissions.cs +++ b/sdk/dotnet/Outputs/MnqSqsCredentialsPermissions.cs @@ -15,15 +15,15 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class MnqSqsCredentialsPermissions { /// - /// . Defines if user can manage the associated resource(s). + /// . Defines whether the user can manage the associated resource(s). /// public readonly bool? CanManage; /// - /// . Defines if user can publish messages to the service. + /// . Defines whether the user can publish messages to the service. /// public readonly bool? CanPublish; /// - /// . Defines if user can receive messages from the service. + /// . Defines whether the user can receive messages from the service. /// public readonly bool? CanReceive; diff --git a/sdk/dotnet/Outputs/RedisClusterAcl.cs b/sdk/dotnet/Outputs/RedisClusterAcl.cs index 0469533b..8658dbbe 100644 --- a/sdk/dotnet/Outputs/RedisClusterAcl.cs +++ b/sdk/dotnet/Outputs/RedisClusterAcl.cs @@ -25,7 +25,7 @@ public sealed class RedisClusterAcl /// public readonly string? Id; /// - /// The ip range to whitelist + /// The IP range to whitelist /// in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) /// public readonly string Ip; diff --git a/sdk/dotnet/Outputs/RedisClusterPrivateNetwork.cs b/sdk/dotnet/Outputs/RedisClusterPrivateNetwork.cs index d886de25..79f67916 100644 --- a/sdk/dotnet/Outputs/RedisClusterPrivateNetwork.cs +++ b/sdk/dotnet/Outputs/RedisClusterPrivateNetwork.cs @@ -24,23 +24,23 @@ public sealed class RedisClusterPrivateNetwork public readonly string Id; /// /// Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - /// Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - /// scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + /// Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + /// scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. /// If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. /// /// > The `private_network` conflicts with `acl`. Only one should be specified. /// - /// > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + /// > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. /// /// - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - /// block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + /// block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or /// Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side /// by side. /// - /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - /// able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - /// configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - /// require updating the private network to add IPs. + /// - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + /// able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + /// configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + /// require updating the Private Network to add IPs. /// Your `service_ips` must be listed as follows: /// /// ```csharp @@ -56,7 +56,7 @@ public sealed class RedisClusterPrivateNetwork public readonly ImmutableArray ServiceIps; /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// public readonly string? Zone; diff --git a/sdk/dotnet/Outputs/VpcGatewayNetworkIpamConfig.cs b/sdk/dotnet/Outputs/VpcGatewayNetworkIpamConfig.cs index 428d07a6..2d925ed1 100644 --- a/sdk/dotnet/Outputs/VpcGatewayNetworkIpamConfig.cs +++ b/sdk/dotnet/Outputs/VpcGatewayNetworkIpamConfig.cs @@ -19,7 +19,7 @@ public sealed class VpcGatewayNetworkIpamConfig /// public readonly string? IpamIpId; /// - /// Defines whether the default route is enabled on that Gateway Network. + /// Defines whether to enable the default route on the GatewayNetwork. /// public readonly bool? PushDefaultRoute; diff --git a/sdk/dotnet/Outputs/VpcPrivateNetworkIpv4Subnet.cs b/sdk/dotnet/Outputs/VpcPrivateNetworkIpv4Subnet.cs index d1b5513e..c12e6d11 100644 --- a/sdk/dotnet/Outputs/VpcPrivateNetworkIpv4Subnet.cs +++ b/sdk/dotnet/Outputs/VpcPrivateNetworkIpv4Subnet.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class VpcPrivateNetworkIpv4Subnet { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// public readonly string? Address; /// @@ -27,7 +27,7 @@ public sealed class VpcPrivateNetworkIpv4Subnet /// public readonly string? Id; /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// public readonly int? PrefixLength; /// diff --git a/sdk/dotnet/Outputs/VpcPrivateNetworkIpv6Subnet.cs b/sdk/dotnet/Outputs/VpcPrivateNetworkIpv6Subnet.cs index 0c0b4e65..60c2b65c 100644 --- a/sdk/dotnet/Outputs/VpcPrivateNetworkIpv6Subnet.cs +++ b/sdk/dotnet/Outputs/VpcPrivateNetworkIpv6Subnet.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Scaleway.Outputs public sealed class VpcPrivateNetworkIpv6Subnet { /// - /// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + /// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. /// public readonly string? Address; /// @@ -27,7 +27,7 @@ public sealed class VpcPrivateNetworkIpv6Subnet /// public readonly string? Id; /// - /// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + /// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. /// public readonly int? PrefixLength; /// diff --git a/sdk/dotnet/RedisCluster.cs b/sdk/dotnet/RedisCluster.cs index 851c9352..9bd2f8cd 100644 --- a/sdk/dotnet/RedisCluster.cs +++ b/sdk/dotnet/RedisCluster.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway Redis Clusters. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). + /// Creates and manages Scaleway Redis™ clusters. + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). /// /// ## Example Usage /// @@ -78,7 +78,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### With a private network + /// ### With a Private Network /// /// ```csharp /// using System.Collections.Generic; @@ -121,7 +121,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Redis Cluster can be imported using the `{zone}/{id}`, e.g. + /// Redis™ cluster can be imported using the `{zone}/{id}`, e.g. /// /// bash /// @@ -145,57 +145,57 @@ public partial class RedisCluster : global::Pulumi.CustomResource public Output Certificate { get; private set; } = null!; /// - /// The number of nodes in the Redis Cluster. + /// The number of nodes in the Redis™ cluster. /// - /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode /// which is minimum 3 (1 main node + 2 secondary nodes) /// - /// > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - /// did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - /// `cluster_size` will destroy and recreate your Cluster. + /// > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + /// did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + /// `cluster_size` will destroy and recreate your cluster. /// /// > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - /// recreate your Cluster as you will be switching to the Cluster mode. + /// recreate your cluster as you will be switching to the cluster mode. /// [Output("clusterSize")] public Output ClusterSize { get; private set; } = null!; /// - /// The date and time of creation of the Redis Cluster. + /// The date and time of creation of the Redis™ cluster. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// The name of the Redis Cluster. + /// The name of the Redis™ cluster. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The type of Redis Cluster you want to create (e.g. `RED1-M`). + /// The type of Redis™ cluster you want to create (e.g. `RED1-M`). /// - /// > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - /// you cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + /// you cannot downgrade a Redis™ cluster. /// [Output("nodeType")] public Output NodeType { get; private set; } = null!; /// - /// Password for the first user of the Redis Cluster. + /// Password for the first user of the Redis™ cluster. /// [Output("password")] public Output Password { get; private set; } = null!; /// - /// Describes the private network you want to connect to your cluster. If not set, a public + /// Describes the Private Network you want to connect to your cluster. If not set, a public /// network will be provided. More details on the Private Network section /// [Output("privateNetworks")] public Output> PrivateNetworks { get; private set; } = null!; /// - /// `project_id`) The ID of the project the Redis Cluster is + /// `project_id`) The ID of the project the Redis™ cluster is /// associated with. /// [Output("projectId")] @@ -209,14 +209,14 @@ public partial class RedisCluster : global::Pulumi.CustomResource public Output PublicNetwork { get; private set; } = null!; /// - /// Map of settings for redis cluster. Available settings can be found by listing redis versions + /// Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions /// with scaleway API or CLI /// [Output("settings")] public Output?> Settings { get; private set; } = null!; /// - /// The tags associated with the Redis Cluster. + /// The tags associated with the Redis™ cluster. /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -230,29 +230,29 @@ public partial class RedisCluster : global::Pulumi.CustomResource public Output TlsEnabled { get; private set; } = null!; /// - /// The date and time of the last update of the Redis Cluster. + /// The date and time of the last update of the Redis™ cluster. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// Identifier for the first user of the Redis Cluster. + /// Identifier for the first user of the Redis™ cluster. /// [Output("userName")] public Output UserName { get; private set; } = null!; /// - /// Redis's Cluster version (e.g. `6.2.7`). + /// Redis™ cluster's version (e.g. `6.2.7`). /// - /// > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - /// cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + /// cannot downgrade a Redis™ cluster. /// [Output("version")] public Output Version { get; private set; } = null!; /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -321,32 +321,32 @@ public InputList Acls } /// - /// The number of nodes in the Redis Cluster. + /// The number of nodes in the Redis™ cluster. /// - /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode /// which is minimum 3 (1 main node + 2 secondary nodes) /// - /// > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - /// did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - /// `cluster_size` will destroy and recreate your Cluster. + /// > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + /// did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + /// `cluster_size` will destroy and recreate your cluster. /// /// > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - /// recreate your Cluster as you will be switching to the Cluster mode. + /// recreate your cluster as you will be switching to the cluster mode. /// [Input("clusterSize")] public Input? ClusterSize { get; set; } /// - /// The name of the Redis Cluster. + /// The name of the Redis™ cluster. /// [Input("name")] public Input? Name { get; set; } /// - /// The type of Redis Cluster you want to create (e.g. `RED1-M`). + /// The type of Redis™ cluster you want to create (e.g. `RED1-M`). /// - /// > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - /// you cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + /// you cannot downgrade a Redis™ cluster. /// [Input("nodeType", required: true)] public Input NodeType { get; set; } = null!; @@ -355,7 +355,7 @@ public InputList Acls private Input? _password; /// - /// Password for the first user of the Redis Cluster. + /// Password for the first user of the Redis™ cluster. /// public Input? Password { @@ -371,7 +371,7 @@ public Input? Password private InputList? _privateNetworks; /// - /// Describes the private network you want to connect to your cluster. If not set, a public + /// Describes the Private Network you want to connect to your cluster. If not set, a public /// network will be provided. More details on the Private Network section /// public InputList PrivateNetworks @@ -381,7 +381,7 @@ public InputList PrivateNetworks } /// - /// `project_id`) The ID of the project the Redis Cluster is + /// `project_id`) The ID of the project the Redis™ cluster is /// associated with. /// [Input("projectId")] @@ -398,7 +398,7 @@ public InputList PrivateNetworks private InputMap? _settings; /// - /// Map of settings for redis cluster. Available settings can be found by listing redis versions + /// Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions /// with scaleway API or CLI /// public InputMap Settings @@ -411,7 +411,7 @@ public InputMap Settings private InputList? _tags; /// - /// The tags associated with the Redis Cluster. + /// The tags associated with the Redis™ cluster. /// public InputList Tags { @@ -428,23 +428,23 @@ public InputList Tags public Input? TlsEnabled { get; set; } /// - /// Identifier for the first user of the Redis Cluster. + /// Identifier for the first user of the Redis™ cluster. /// [Input("userName", required: true)] public Input UserName { get; set; } = null!; /// - /// Redis's Cluster version (e.g. `6.2.7`). + /// Redis™ cluster's version (e.g. `6.2.7`). /// - /// > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - /// cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + /// cannot downgrade a Redis™ cluster. /// [Input("version", required: true)] public Input Version { get; set; } = null!; /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// [Input("zone")] public Input? Zone { get; set; } @@ -476,38 +476,38 @@ public InputList Acls public Input? Certificate { get; set; } /// - /// The number of nodes in the Redis Cluster. + /// The number of nodes in the Redis™ cluster. /// - /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + /// > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode /// which is minimum 3 (1 main node + 2 secondary nodes) /// - /// > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - /// did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - /// `cluster_size` will destroy and recreate your Cluster. + /// > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + /// did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + /// `cluster_size` will destroy and recreate your cluster. /// /// > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - /// recreate your Cluster as you will be switching to the Cluster mode. + /// recreate your cluster as you will be switching to the cluster mode. /// [Input("clusterSize")] public Input? ClusterSize { get; set; } /// - /// The date and time of creation of the Redis Cluster. + /// The date and time of creation of the Redis™ cluster. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// The name of the Redis Cluster. + /// The name of the Redis™ cluster. /// [Input("name")] public Input? Name { get; set; } /// - /// The type of Redis Cluster you want to create (e.g. `RED1-M`). + /// The type of Redis™ cluster you want to create (e.g. `RED1-M`). /// - /// > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - /// you cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + /// you cannot downgrade a Redis™ cluster. /// [Input("nodeType")] public Input? NodeType { get; set; } @@ -516,7 +516,7 @@ public InputList Acls private Input? _password; /// - /// Password for the first user of the Redis Cluster. + /// Password for the first user of the Redis™ cluster. /// public Input? Password { @@ -532,7 +532,7 @@ public Input? Password private InputList? _privateNetworks; /// - /// Describes the private network you want to connect to your cluster. If not set, a public + /// Describes the Private Network you want to connect to your cluster. If not set, a public /// network will be provided. More details on the Private Network section /// public InputList PrivateNetworks @@ -542,7 +542,7 @@ public InputList PrivateNetworks } /// - /// `project_id`) The ID of the project the Redis Cluster is + /// `project_id`) The ID of the project the Redis™ cluster is /// associated with. /// [Input("projectId")] @@ -559,7 +559,7 @@ public InputList PrivateNetworks private InputMap? _settings; /// - /// Map of settings for redis cluster. Available settings can be found by listing redis versions + /// Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions /// with scaleway API or CLI /// public InputMap Settings @@ -572,7 +572,7 @@ public InputMap Settings private InputList? _tags; /// - /// The tags associated with the Redis Cluster. + /// The tags associated with the Redis™ cluster. /// public InputList Tags { @@ -589,29 +589,29 @@ public InputList Tags public Input? TlsEnabled { get; set; } /// - /// The date and time of the last update of the Redis Cluster. + /// The date and time of the last update of the Redis™ cluster. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } /// - /// Identifier for the first user of the Redis Cluster. + /// Identifier for the first user of the Redis™ cluster. /// [Input("userName")] public Input? UserName { get; set; } /// - /// Redis's Cluster version (e.g. `6.2.7`). + /// Redis™ cluster's version (e.g. `6.2.7`). /// - /// > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - /// cannot downgrade a Redis Cluster. + /// > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + /// cannot downgrade a Redis™ cluster. /// [Input("version")] public Input? Version { get; set; } /// /// `zone`) The zone in which the - /// Redis Cluster should be created. + /// Redis™ cluster should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/RegistryNamespace.cs b/sdk/dotnet/RegistryNamespace.cs index 6be6861d..14204601 100644 --- a/sdk/dotnet/RegistryNamespace.cs +++ b/sdk/dotnet/RegistryNamespace.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway Container Registry. - /// For more information see [the documentation](https://www.scaleway.com/en/developers/api/registry). + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry). /// /// ## Example Usage /// @@ -75,7 +75,7 @@ public partial class RegistryNamespace : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// The organization ID the namespace is associated with. + /// The Organization ID the namespace is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; @@ -206,7 +206,7 @@ public sealed class RegistryNamespaceState : global::Pulumi.ResourceArgs public Input? Name { get; set; } /// - /// The organization ID the namespace is associated with. + /// The Organization ID the namespace is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } diff --git a/sdk/dotnet/TemDomain.cs b/sdk/dotnet/TemDomain.cs index 298599b4..fb9fce72 100644 --- a/sdk/dotnet/TemDomain.cs +++ b/sdk/dotnet/TemDomain.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway Transactional Email Domains. - /// For more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email). + /// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email). /// /// ## Example Usage /// @@ -97,7 +97,7 @@ public partial class TemDomain : global::Pulumi.CustomResource { /// /// Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - /// > **Important:** This attribute must be set to `true`. + /// > **Important:** This attribute must be set to `true`. /// [Output("acceptTos")] public Output AcceptTos { get; private set; } = null!; @@ -284,7 +284,7 @@ public sealed class TemDomainArgs : global::Pulumi.ResourceArgs { /// /// Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - /// > **Important:** This attribute must be set to `true`. + /// > **Important:** This attribute must be set to `true`. /// [Input("acceptTos", required: true)] public Input AcceptTos { get; set; } = null!; @@ -318,7 +318,7 @@ public sealed class TemDomainState : global::Pulumi.ResourceArgs { /// /// Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - /// > **Important:** This attribute must be set to `true`. + /// > **Important:** This attribute must be set to `true`. /// [Input("acceptTos")] public Input? AcceptTos { get; set; } diff --git a/sdk/dotnet/TemDomainValidation.cs b/sdk/dotnet/TemDomainValidation.cs index 519ebbc4..c00bdae5 100644 --- a/sdk/dotnet/TemDomainValidation.cs +++ b/sdk/dotnet/TemDomainValidation.cs @@ -23,9 +23,14 @@ namespace Pulumiverse.Scaleway /// /// return await Deployment.RunAsync(() => /// { + /// var main = new Scaleway.TemDomain("main", new() + /// { + /// AcceptTos = true, + /// }); + /// /// var example = new Scaleway.TemDomainValidation("example", new() /// { - /// DomainId = "your-domain-id", + /// DomainId = main.Id, /// Region = "fr-par", /// Timeout = 300, /// }); diff --git a/sdk/dotnet/Vpc.cs b/sdk/dotnet/Vpc.cs index e5b9f393..a862da3a 100644 --- a/sdk/dotnet/Vpc.cs +++ b/sdk/dotnet/Vpc.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway Virtual Private Clouds. - /// For more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). + /// For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). /// /// ## Example Usage /// @@ -64,7 +64,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// VPCs can be imported using the `{region}/{id}`, e.g. + /// VPCs can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -94,19 +94,19 @@ public partial class Vpc : global::Pulumi.CustomResource public Output IsDefault { get; private set; } = null!; /// - /// The name of the VPC. If not provided it will be randomly generated. + /// The name for the VPC. If not provided it will be randomly generated. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The organization ID the VPC is associated with. + /// The Organization ID the VPC is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; /// - /// `project_id`) The ID of the project the VPC is associated with. + /// `project_id`) The ID of the Project the VPC is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -118,7 +118,7 @@ public partial class Vpc : global::Pulumi.CustomResource public Output Region { get; private set; } = null!; /// - /// The tags associated with the VPC. + /// The tags to associate with the VPC. /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -183,13 +183,13 @@ public sealed class VpcArgs : global::Pulumi.ResourceArgs public Input? EnableRouting { get; set; } /// - /// The name of the VPC. If not provided it will be randomly generated. + /// The name for the VPC. If not provided it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } /// - /// `project_id`) The ID of the project the VPC is associated with. + /// `project_id`) The ID of the Project the VPC is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -204,7 +204,7 @@ public sealed class VpcArgs : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the VPC. + /// The tags to associate with the VPC. /// public InputList Tags { @@ -239,19 +239,19 @@ public sealed class VpcState : global::Pulumi.ResourceArgs public Input? IsDefault { get; set; } /// - /// The name of the VPC. If not provided it will be randomly generated. + /// The name for the VPC. If not provided it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } /// - /// The organization ID the VPC is associated with. + /// The Organization ID the VPC is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the VPC is associated with. + /// `project_id`) The ID of the Project the VPC is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -266,7 +266,7 @@ public sealed class VpcState : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the VPC. + /// The tags to associate with the VPC. /// public InputList Tags { diff --git a/sdk/dotnet/VpcGatewayNetwork.cs b/sdk/dotnet/VpcGatewayNetwork.cs index f0292dbf..216cb5b0 100644 --- a/sdk/dotnet/VpcGatewayNetwork.cs +++ b/sdk/dotnet/VpcGatewayNetwork.cs @@ -11,13 +11,14 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway VPC Public Gateway Network. - /// It allows attaching Private Networks to the VPC Public Gateway and your DHCP config - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). + /// Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network). + /// + /// It allows the attachment of Private Networks to Public Gateways and DHCP configurations. + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). /// /// ## Example Usage /// - /// ### Create a gateway network with IPAM config + /// ### Create a GatewayNetwork with IPAM configuration /// /// ```csharp /// using System.Collections.Generic; @@ -60,7 +61,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Create a gateway network with a booked IPAM IP + /// ### Create a GatewayNetwork with a booked IPAM IP /// /// ```csharp /// using System.Collections.Generic; @@ -116,7 +117,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Create a gateway network with DHCP + /// ### Create a GatewayNetwork with DHCP /// /// ```csharp /// using System.Collections.Generic; @@ -154,7 +155,7 @@ namespace Pulumiverse.Scaleway /// }); /// ``` /// - /// ### Create a gateway network with a static IP address + /// ### Create a GatewayNetwork with a static IP address /// /// ```csharp /// using System.Collections.Generic; @@ -185,7 +186,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Gateway network can be imported using the `{zone}/{id}`, e.g. + /// GatewayNetwork can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -197,61 +198,61 @@ namespace Pulumiverse.Scaleway public partial class VpcGatewayNetwork : global::Pulumi.CustomResource { /// - /// Remove DHCP config on this network on destroy. It requires DHCP id. + /// Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. /// [Output("cleanupDhcp")] public Output CleanupDhcp { get; private set; } = null!; /// - /// The date and time of the creation of the gateway network. + /// The date and time of the creation of the GatewayNetwork. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Output("dhcpId")] public Output DhcpId { get; private set; } = null!; /// - /// Enable DHCP config on this network. It requires DHCP id. + /// WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. /// [Output("enableDhcp")] public Output EnableDhcp { get; private set; } = null!; /// - /// Enable masquerade on this network + /// Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork /// [Output("enableMasquerade")] public Output EnableMasquerade { get; private set; } = null!; /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Output("gatewayId")] public Output GatewayId { get; private set; } = null!; /// - /// Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Output("ipamConfigs")] public Output> IpamConfigs { get; private set; } = null!; /// - /// The mac address of the creation of the gateway network. + /// The MAC address of the GatewayNetwork. /// [Output("macAddress")] public Output MacAddress { get; private set; } = null!; /// - /// The ID of the private network. + /// The ID of the Private Network. /// [Output("privateNetworkId")] public Output PrivateNetworkId { get; private set; } = null!; /// - /// Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Output("staticAddress")] public Output StaticAddress { get; private set; } = null!; @@ -263,7 +264,7 @@ public partial class VpcGatewayNetwork : global::Pulumi.CustomResource public Output Status { get; private set; } = null!; /// - /// The date and time of the last update of the gateway network. + /// The date and time of the last update of the GatewayNetwork. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; @@ -322,31 +323,31 @@ public static VpcGatewayNetwork Get(string name, Input id, VpcGatewayNet public sealed class VpcGatewayNetworkArgs : global::Pulumi.ResourceArgs { /// - /// Remove DHCP config on this network on destroy. It requires DHCP id. + /// Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. /// [Input("cleanupDhcp")] public Input? CleanupDhcp { get; set; } /// - /// The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Input("dhcpId")] public Input? DhcpId { get; set; } /// - /// Enable DHCP config on this network. It requires DHCP id. + /// WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. /// [Input("enableDhcp")] public Input? EnableDhcp { get; set; } /// - /// Enable masquerade on this network + /// Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork /// [Input("enableMasquerade")] public Input? EnableMasquerade { get; set; } /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Input("gatewayId", required: true)] public Input GatewayId { get; set; } = null!; @@ -355,7 +356,7 @@ public sealed class VpcGatewayNetworkArgs : global::Pulumi.ResourceArgs private InputList? _ipamConfigs; /// - /// Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// public InputList IpamConfigs { @@ -364,13 +365,13 @@ public InputList IpamConfigs } /// - /// The ID of the private network. + /// The ID of the Private Network. /// [Input("privateNetworkId", required: true)] public Input PrivateNetworkId { get; set; } = null!; /// - /// Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Input("staticAddress")] public Input? StaticAddress { get; set; } @@ -390,37 +391,37 @@ public VpcGatewayNetworkArgs() public sealed class VpcGatewayNetworkState : global::Pulumi.ResourceArgs { /// - /// Remove DHCP config on this network on destroy. It requires DHCP id. + /// Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. /// [Input("cleanupDhcp")] public Input? CleanupDhcp { get; set; } /// - /// The date and time of the creation of the gateway network. + /// The date and time of the creation of the GatewayNetwork. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Input("dhcpId")] public Input? DhcpId { get; set; } /// - /// Enable DHCP config on this network. It requires DHCP id. + /// WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. /// [Input("enableDhcp")] public Input? EnableDhcp { get; set; } /// - /// Enable masquerade on this network + /// Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork /// [Input("enableMasquerade")] public Input? EnableMasquerade { get; set; } /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Input("gatewayId")] public Input? GatewayId { get; set; } @@ -429,7 +430,7 @@ public sealed class VpcGatewayNetworkState : global::Pulumi.ResourceArgs private InputList? _ipamConfigs; /// - /// Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// public InputList IpamConfigs { @@ -438,19 +439,19 @@ public InputList IpamConfigs } /// - /// The mac address of the creation of the gateway network. + /// The MAC address of the GatewayNetwork. /// [Input("macAddress")] public Input? MacAddress { get; set; } /// - /// The ID of the private network. + /// The ID of the Private Network. /// [Input("privateNetworkId")] public Input? PrivateNetworkId { get; set; } /// - /// Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + /// Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. /// [Input("staticAddress")] public Input? StaticAddress { get; set; } @@ -462,7 +463,7 @@ public InputList IpamConfigs public Input? Status { get; set; } /// - /// The date and time of the last update of the gateway network. + /// The date and time of the last update of the GatewayNetwork. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } diff --git a/sdk/dotnet/VpcPrivateNetwork.cs b/sdk/dotnet/VpcPrivateNetwork.cs index 6f311daa..298b13ea 100644 --- a/sdk/dotnet/VpcPrivateNetwork.cs +++ b/sdk/dotnet/VpcPrivateNetwork.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Scaleway { /// /// Creates and manages Scaleway VPC Private Networks. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). /// /// ## Example Usage /// @@ -77,7 +77,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Private networks can be imported using the `{region}/{id}`, e.g. + /// Private Networks can be imported using `{region}/{id}`, e.g. /// /// bash /// @@ -95,7 +95,7 @@ public partial class VpcPrivateNetwork : global::Pulumi.CustomResource public Output CreatedAt { get; private set; } = null!; /// - /// The IPv4 subnet to associate with the private network. + /// The IPv4 subnet to associate with the Private Network. /// [Output("ipv4Subnet")] public Output Ipv4Subnet { get; private set; } = null!; @@ -107,37 +107,37 @@ public partial class VpcPrivateNetwork : global::Pulumi.CustomResource public Output> Ipv6Subnets { get; private set; } = null!; /// - /// The private networks are necessarily regional now. + /// Private Networks are now all necessarily regional. /// [Output("isRegional")] public Output IsRegional { get; private set; } = null!; /// - /// The name of the private network. If not provided it will be randomly generated. + /// The name of the Private Network. If not provided, it will be randomly generated. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The organization ID the private network is associated with. + /// The Organization ID the Private Network is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; /// - /// `project_id`) The ID of the project the private network is associated with. + /// `project_id`) The ID of the Project the private network is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; /// - /// `region`) The region of the private network. + /// `region`) The region of the Private Network. /// [Output("region")] public Output Region { get; private set; } = null!; /// - /// The tags associated with the private network. + /// The tags associated with the Private Network. /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -149,13 +149,13 @@ public partial class VpcPrivateNetwork : global::Pulumi.CustomResource public Output UpdatedAt { get; private set; } = null!; /// - /// The VPC in which to create the private network. + /// The VPC in which to create the Private Network. /// [Output("vpcId")] public Output VpcId { get; private set; } = null!; /// - /// please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + /// Use `region` instead. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -208,7 +208,7 @@ public static VpcPrivateNetwork Get(string name, Input id, VpcPrivateNet public sealed class VpcPrivateNetworkArgs : global::Pulumi.ResourceArgs { /// - /// The IPv4 subnet to associate with the private network. + /// The IPv4 subnet to associate with the Private Network. /// [Input("ipv4Subnet")] public Input? Ipv4Subnet { get; set; } @@ -226,25 +226,25 @@ public InputList Ipv6Subnets } /// - /// The private networks are necessarily regional now. + /// Private Networks are now all necessarily regional. /// [Input("isRegional")] public Input? IsRegional { get; set; } /// - /// The name of the private network. If not provided it will be randomly generated. + /// The name of the Private Network. If not provided, it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } /// - /// `project_id`) The ID of the project the private network is associated with. + /// `project_id`) The ID of the Project the private network is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`) The region of the private network. + /// `region`) The region of the Private Network. /// [Input("region")] public Input? Region { get; set; } @@ -253,7 +253,7 @@ public InputList Ipv6Subnets private InputList? _tags; /// - /// The tags associated with the private network. + /// The tags associated with the Private Network. /// public InputList Tags { @@ -262,13 +262,13 @@ public InputList Tags } /// - /// The VPC in which to create the private network. + /// The VPC in which to create the Private Network. /// [Input("vpcId")] public Input? VpcId { get; set; } /// - /// please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + /// Use `region` instead. /// [Input("zone")] public Input? Zone { get; set; } @@ -288,7 +288,7 @@ public sealed class VpcPrivateNetworkState : global::Pulumi.ResourceArgs public Input? CreatedAt { get; set; } /// - /// The IPv4 subnet to associate with the private network. + /// The IPv4 subnet to associate with the Private Network. /// [Input("ipv4Subnet")] public Input? Ipv4Subnet { get; set; } @@ -306,31 +306,31 @@ public InputList Ipv6Subnets } /// - /// The private networks are necessarily regional now. + /// Private Networks are now all necessarily regional. /// [Input("isRegional")] public Input? IsRegional { get; set; } /// - /// The name of the private network. If not provided it will be randomly generated. + /// The name of the Private Network. If not provided, it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } /// - /// The organization ID the private network is associated with. + /// The Organization ID the Private Network is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the private network is associated with. + /// `project_id`) The ID of the Project the private network is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// `region`) The region of the private network. + /// `region`) The region of the Private Network. /// [Input("region")] public Input? Region { get; set; } @@ -339,7 +339,7 @@ public InputList Ipv6Subnets private InputList? _tags; /// - /// The tags associated with the private network. + /// The tags associated with the Private Network. /// public InputList Tags { @@ -354,13 +354,13 @@ public InputList Tags public Input? UpdatedAt { get; set; } /// - /// The VPC in which to create the private network. + /// The VPC in which to create the Private Network. /// [Input("vpcId")] public Input? VpcId { get; set; } /// - /// please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + /// Use `region` instead. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/VpcPublicGateway.cs b/sdk/dotnet/VpcPublicGateway.cs index 28328b28..0e3cd879 100644 --- a/sdk/dotnet/VpcPublicGateway.cs +++ b/sdk/dotnet/VpcPublicGateway.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway VPC Public Gateway. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway). + /// Creates and manages Scaleway Public Gateways. + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway). /// /// ## Example Usage /// @@ -41,7 +41,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway can be imported using the `{zone}/{id}`, e.g. + /// Public Gateways can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -65,7 +65,7 @@ public partial class VpcPublicGateway : global::Pulumi.CustomResource public Output BastionPort { get; private set; } = null!; /// - /// The date and time of the creation of the public gateway. + /// The date and time of the creation of the Public Gateway. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; @@ -77,19 +77,19 @@ public partial class VpcPublicGateway : global::Pulumi.CustomResource public Output EnableSmtp { get; private set; } = null!; /// - /// attach an existing flexible IP to the gateway. + /// Attach an existing flexible IP to the gateway. /// [Output("ipId")] public Output IpId { get; private set; } = null!; /// - /// The name of the public gateway. If not provided it will be randomly generated. + /// The name for the Public Gateway. If not provided it will be randomly generated. /// [Output("name")] public Output Name { get; private set; } = null!; /// - /// The organization ID the public gateway is associated with. + /// The Organization ID the Public Gateway is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; @@ -101,7 +101,7 @@ public partial class VpcPublicGateway : global::Pulumi.CustomResource public Output ProjectId { get; private set; } = null!; /// - /// Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + /// Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. /// [Output("refreshSshKeys")] public Output RefreshSshKeys { get; private set; } = null!; @@ -113,7 +113,7 @@ public partial class VpcPublicGateway : global::Pulumi.CustomResource public Output Status { get; private set; } = null!; /// - /// The tags associated with the public gateway. + /// The tags to associate with the Public Gateway. /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -125,19 +125,19 @@ public partial class VpcPublicGateway : global::Pulumi.CustomResource public Output Type { get; private set; } = null!; /// - /// The date and time of the last update of the public gateway. + /// The date and time of the last update of the Public Gateway. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// override the gateway's default recursive DNS servers, if DNS features are enabled. + /// Override the gateway's default recursive DNS servers, if DNS features are enabled. /// [Output("upstreamDnsServers")] public Output> UpstreamDnsServers { get; private set; } = null!; /// - /// `zone`) The zone in which the public gateway should be created. + /// `zone`) The zone in which the Public Gateway should be created. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -208,13 +208,13 @@ public sealed class VpcPublicGatewayArgs : global::Pulumi.ResourceArgs public Input? EnableSmtp { get; set; } /// - /// attach an existing flexible IP to the gateway. + /// Attach an existing flexible IP to the gateway. /// [Input("ipId")] public Input? IpId { get; set; } /// - /// The name of the public gateway. If not provided it will be randomly generated. + /// The name for the Public Gateway. If not provided it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } @@ -226,7 +226,7 @@ public sealed class VpcPublicGatewayArgs : global::Pulumi.ResourceArgs public Input? ProjectId { get; set; } /// - /// Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + /// Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. /// [Input("refreshSshKeys")] public Input? RefreshSshKeys { get; set; } @@ -235,7 +235,7 @@ public sealed class VpcPublicGatewayArgs : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the public gateway. + /// The tags to associate with the Public Gateway. /// public InputList Tags { @@ -253,7 +253,7 @@ public InputList Tags private InputList? _upstreamDnsServers; /// - /// override the gateway's default recursive DNS servers, if DNS features are enabled. + /// Override the gateway's default recursive DNS servers, if DNS features are enabled. /// public InputList UpstreamDnsServers { @@ -262,7 +262,7 @@ public InputList UpstreamDnsServers } /// - /// `zone`) The zone in which the public gateway should be created. + /// `zone`) The zone in which the Public Gateway should be created. /// [Input("zone")] public Input? Zone { get; set; } @@ -288,7 +288,7 @@ public sealed class VpcPublicGatewayState : global::Pulumi.ResourceArgs public Input? BastionPort { get; set; } /// - /// The date and time of the creation of the public gateway. + /// The date and time of the creation of the Public Gateway. /// [Input("createdAt")] public Input? CreatedAt { get; set; } @@ -300,19 +300,19 @@ public sealed class VpcPublicGatewayState : global::Pulumi.ResourceArgs public Input? EnableSmtp { get; set; } /// - /// attach an existing flexible IP to the gateway. + /// Attach an existing flexible IP to the gateway. /// [Input("ipId")] public Input? IpId { get; set; } /// - /// The name of the public gateway. If not provided it will be randomly generated. + /// The name for the Public Gateway. If not provided it will be randomly generated. /// [Input("name")] public Input? Name { get; set; } /// - /// The organization ID the public gateway is associated with. + /// The Organization ID the Public Gateway is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } @@ -324,7 +324,7 @@ public sealed class VpcPublicGatewayState : global::Pulumi.ResourceArgs public Input? ProjectId { get; set; } /// - /// Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + /// Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. /// [Input("refreshSshKeys")] public Input? RefreshSshKeys { get; set; } @@ -339,7 +339,7 @@ public sealed class VpcPublicGatewayState : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the public gateway. + /// The tags to associate with the Public Gateway. /// public InputList Tags { @@ -354,7 +354,7 @@ public InputList Tags public Input? Type { get; set; } /// - /// The date and time of the last update of the public gateway. + /// The date and time of the last update of the Public Gateway. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } @@ -363,7 +363,7 @@ public InputList Tags private InputList? _upstreamDnsServers; /// - /// override the gateway's default recursive DNS servers, if DNS features are enabled. + /// Override the gateway's default recursive DNS servers, if DNS features are enabled. /// public InputList UpstreamDnsServers { @@ -372,7 +372,7 @@ public InputList UpstreamDnsServers } /// - /// `zone`) The zone in which the public gateway should be created. + /// `zone`) The zone in which the Public Gateway should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/VpcPublicGatewayDhcp.cs b/sdk/dotnet/VpcPublicGatewayDhcp.cs index 296eca27..4be1dae6 100644 --- a/sdk/dotnet/VpcPublicGatewayDhcp.cs +++ b/sdk/dotnet/VpcPublicGatewayDhcp.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway VPC Public Gateway DHCP. + /// Creates and manages Scaleway VPC Public Gateway DHCP configurations. /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). /// /// ## Example Usage @@ -34,7 +34,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway DHCP config can be imported using the `{zone}/{id}`, e.g. + /// Public Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -46,13 +46,13 @@ namespace Pulumiverse.Scaleway public partial class VpcPublicGatewayDhcp : global::Pulumi.CustomResource { /// - /// The IP address of the public gateway DHCP config. + /// The IP address of the DHCP server. This will be the gateway's address in the Private Network. /// [Output("address")] public Output Address { get; private set; } = null!; /// - /// The date and time of the creation of the public gateway DHCP config. + /// The date and time of the creation of the Public Gateway DHCP configuration. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; @@ -70,7 +70,7 @@ public partial class VpcPublicGatewayDhcp : global::Pulumi.CustomResource public Output> DnsSearches { get; private set; } = null!; /// - /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself + /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself. /// [Output("dnsServersOverrides")] public Output> DnsServersOverrides { get; private set; } = null!; @@ -82,7 +82,7 @@ public partial class VpcPublicGatewayDhcp : global::Pulumi.CustomResource public Output EnableDynamic { get; private set; } = null!; /// - /// The organization ID the public gateway DHCP config is associated with. + /// The Organization ID the Public Gateway DHCP config is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; @@ -100,7 +100,7 @@ public partial class VpcPublicGatewayDhcp : global::Pulumi.CustomResource public Output PoolLow { get; private set; } = null!; /// - /// `project_id`) The ID of the project the public gateway DHCP config is associated with. + /// `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -130,25 +130,25 @@ public partial class VpcPublicGatewayDhcp : global::Pulumi.CustomResource public Output RenewTimer { get; private set; } = null!; /// - /// The subnet to associate with the public gateway DHCP config. + /// The subnet to associate with the Public Gateway DHCP configuration. /// [Output("subnet")] public Output Subnet { get; private set; } = null!; /// - /// The date and time of the last update of the public gateway DHCP config. + /// The date and time of the last update of the Public Gateway DHCP configuration. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + /// How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). /// [Output("validLifetime")] public Output ValidLifetime { get; private set; } = null!; /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -201,7 +201,7 @@ public static VpcPublicGatewayDhcp Get(string name, Input id, VpcPublicG public sealed class VpcPublicGatewayDhcpArgs : global::Pulumi.ResourceArgs { /// - /// The IP address of the public gateway DHCP config. + /// The IP address of the DHCP server. This will be the gateway's address in the Private Network. /// [Input("address")] public Input? Address { get; set; } @@ -228,7 +228,7 @@ public InputList DnsSearches private InputList? _dnsServersOverrides; /// - /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself + /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself. /// public InputList DnsServersOverrides { @@ -255,7 +255,7 @@ public InputList DnsServersOverrides public Input? PoolLow { get; set; } /// - /// `project_id`) The ID of the project the public gateway DHCP config is associated with. + /// `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -285,19 +285,19 @@ public InputList DnsServersOverrides public Input? RenewTimer { get; set; } /// - /// The subnet to associate with the public gateway DHCP config. + /// The subnet to associate with the Public Gateway DHCP configuration. /// [Input("subnet", required: true)] public Input Subnet { get; set; } = null!; /// - /// For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + /// How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). /// [Input("validLifetime")] public Input? ValidLifetime { get; set; } /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Input("zone")] public Input? Zone { get; set; } @@ -311,13 +311,13 @@ public VpcPublicGatewayDhcpArgs() public sealed class VpcPublicGatewayDhcpState : global::Pulumi.ResourceArgs { /// - /// The IP address of the public gateway DHCP config. + /// The IP address of the DHCP server. This will be the gateway's address in the Private Network. /// [Input("address")] public Input? Address { get; set; } /// - /// The date and time of the creation of the public gateway DHCP config. + /// The date and time of the creation of the Public Gateway DHCP configuration. /// [Input("createdAt")] public Input? CreatedAt { get; set; } @@ -344,7 +344,7 @@ public InputList DnsSearches private InputList? _dnsServersOverrides; /// - /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself + /// Override the DNS server list pushed to DHCP clients, instead of the gateway itself. /// public InputList DnsServersOverrides { @@ -359,7 +359,7 @@ public InputList DnsServersOverrides public Input? EnableDynamic { get; set; } /// - /// The organization ID the public gateway DHCP config is associated with. + /// The Organization ID the Public Gateway DHCP config is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } @@ -377,7 +377,7 @@ public InputList DnsServersOverrides public Input? PoolLow { get; set; } /// - /// `project_id`) The ID of the project the public gateway DHCP config is associated with. + /// `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -407,25 +407,25 @@ public InputList DnsServersOverrides public Input? RenewTimer { get; set; } /// - /// The subnet to associate with the public gateway DHCP config. + /// The subnet to associate with the Public Gateway DHCP configuration. /// [Input("subnet")] public Input? Subnet { get; set; } /// - /// The date and time of the last update of the public gateway DHCP config. + /// The date and time of the last update of the Public Gateway DHCP configuration. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } /// - /// For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + /// How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). /// [Input("validLifetime")] public Input? ValidLifetime { get; set; } /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/VpcPublicGatewayDhcpReservation.cs b/sdk/dotnet/VpcPublicGatewayDhcpReservation.cs index 1297598d..1495bc9e 100644 --- a/sdk/dotnet/VpcPublicGatewayDhcpReservation.cs +++ b/sdk/dotnet/VpcPublicGatewayDhcpReservation.cs @@ -11,15 +11,15 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). + /// Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). /// - /// The static associations are used to assign IP addresses based on the MAC addresses of the Instance. + /// These static associations are used to assign IP addresses based on the MAC addresses of the resource. /// /// Statically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range. /// - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp). + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). /// - /// [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations. + /// [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations. /// /// ## Example Usage /// @@ -88,7 +88,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g. + /// Public Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -100,7 +100,7 @@ namespace Pulumiverse.Scaleway public partial class VpcPublicGatewayDhcpReservation : global::Pulumi.CustomResource { /// - /// The date and time of the creation of the public gateway DHCP config. + /// The date and time of the creation of the Public Gateway DHCP configuration. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; @@ -112,31 +112,31 @@ public partial class VpcPublicGatewayDhcpReservation : global::Pulumi.CustomReso public Output GatewayNetworkId { get; private set; } = null!; /// - /// The Hostname of the client machine. + /// The hostname of the client machine. /// [Output("hostname")] public Output Hostname { get; private set; } = null!; /// - /// The IP address to give to the machine (IP address). + /// The IP address to give to the machine. /// [Output("ipAddress")] public Output IpAddress { get; private set; } = null!; /// - /// The MAC address to give a static entry to. + /// The MAC address for the static entry. /// [Output("macAddress")] public Output MacAddress { get; private set; } = null!; /// - /// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + /// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// The date and time of the last update of the public gateway DHCP config. + /// The date and time of the last update of the Public Gateway DHCP configuration. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; @@ -201,13 +201,13 @@ public sealed class VpcPublicGatewayDhcpReservationArgs : global::Pulumi.Resourc public Input GatewayNetworkId { get; set; } = null!; /// - /// The IP address to give to the machine (IP address). + /// The IP address to give to the machine. /// [Input("ipAddress", required: true)] public Input IpAddress { get; set; } = null!; /// - /// The MAC address to give a static entry to. + /// The MAC address for the static entry. /// [Input("macAddress", required: true)] public Input MacAddress { get; set; } = null!; @@ -227,7 +227,7 @@ public VpcPublicGatewayDhcpReservationArgs() public sealed class VpcPublicGatewayDhcpReservationState : global::Pulumi.ResourceArgs { /// - /// The date and time of the creation of the public gateway DHCP config. + /// The date and time of the creation of the Public Gateway DHCP configuration. /// [Input("createdAt")] public Input? CreatedAt { get; set; } @@ -239,31 +239,31 @@ public sealed class VpcPublicGatewayDhcpReservationState : global::Pulumi.Resour public Input? GatewayNetworkId { get; set; } /// - /// The Hostname of the client machine. + /// The hostname of the client machine. /// [Input("hostname")] public Input? Hostname { get; set; } /// - /// The IP address to give to the machine (IP address). + /// The IP address to give to the machine. /// [Input("ipAddress")] public Input? IpAddress { get; set; } /// - /// The MAC address to give a static entry to. + /// The MAC address for the static entry. /// [Input("macAddress")] public Input? MacAddress { get; set; } /// - /// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + /// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. /// [Input("type")] public Input? Type { get; set; } /// - /// The date and time of the last update of the public gateway DHCP config. + /// The date and time of the last update of the Public Gateway DHCP configuration. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } diff --git a/sdk/dotnet/VpcPublicGatewayIp.cs b/sdk/dotnet/VpcPublicGatewayIp.cs index 058e502c..326de5d3 100644 --- a/sdk/dotnet/VpcPublicGatewayIp.cs +++ b/sdk/dotnet/VpcPublicGatewayIp.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway VPC Public Gateway IP. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + /// Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). /// /// ## Example Usage /// @@ -43,7 +43,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway can be imported using the `{zone}/{id}`, e.g. + /// Public Gateway IPs can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -61,19 +61,19 @@ public partial class VpcPublicGatewayIp : global::Pulumi.CustomResource public Output Address { get; private set; } = null!; /// - /// The date and time of the creation of the public gateway ip. + /// The date and time of the creation of the Public Gateway IP. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// The organization ID the public gateway ip is associated with. + /// The Organization ID the Public Gateway IP is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; /// - /// `project_id`) The ID of the project the public gateway ip is associated with. + /// `project_id`) The ID of the Project the Public Gateway IP is associated with. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -85,19 +85,19 @@ public partial class VpcPublicGatewayIp : global::Pulumi.CustomResource public Output Reverse { get; private set; } = null!; /// - /// The tags associated with the public gateway IP. + /// The tags associated with the Public Gateway IP. /// [Output("tags")] public Output> Tags { get; private set; } = null!; /// - /// The date and time of the last update of the public gateway ip. + /// The date and time of the last update of the Public Gateway IP. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// `zone`) The zone in which the public gateway ip should be created. + /// `zone`) The zone in which the Public Gateway IP should be created. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -150,7 +150,7 @@ public static VpcPublicGatewayIp Get(string name, Input id, VpcPublicGat public sealed class VpcPublicGatewayIpArgs : global::Pulumi.ResourceArgs { /// - /// `project_id`) The ID of the project the public gateway ip is associated with. + /// `project_id`) The ID of the Project the Public Gateway IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -165,7 +165,7 @@ public sealed class VpcPublicGatewayIpArgs : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the public gateway IP. + /// The tags associated with the Public Gateway IP. /// public InputList Tags { @@ -174,7 +174,7 @@ public InputList Tags } /// - /// `zone`) The zone in which the public gateway ip should be created. + /// `zone`) The zone in which the Public Gateway IP should be created. /// [Input("zone")] public Input? Zone { get; set; } @@ -194,19 +194,19 @@ public sealed class VpcPublicGatewayIpState : global::Pulumi.ResourceArgs public Input? Address { get; set; } /// - /// The date and time of the creation of the public gateway ip. + /// The date and time of the creation of the Public Gateway IP. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// The organization ID the public gateway ip is associated with. + /// The Organization ID the Public Gateway IP is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } /// - /// `project_id`) The ID of the project the public gateway ip is associated with. + /// `project_id`) The ID of the Project the Public Gateway IP is associated with. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -221,7 +221,7 @@ public sealed class VpcPublicGatewayIpState : global::Pulumi.ResourceArgs private InputList? _tags; /// - /// The tags associated with the public gateway IP. + /// The tags associated with the Public Gateway IP. /// public InputList Tags { @@ -230,13 +230,13 @@ public InputList Tags } /// - /// The date and time of the last update of the public gateway ip. + /// The date and time of the last update of the Public Gateway IP. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } /// - /// `zone`) The zone in which the public gateway ip should be created. + /// `zone`) The zone in which the Public Gateway IP should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/dotnet/VpcPublicGatewayIpReverseDns.cs b/sdk/dotnet/VpcPublicGatewayIpReverseDns.cs index 494fd7b1..8062c9e8 100644 --- a/sdk/dotnet/VpcPublicGatewayIpReverseDns.cs +++ b/sdk/dotnet/VpcPublicGatewayIpReverseDns.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Manages Scaleway VPC Public Gateways IPs reverse DNS. - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + /// Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS. + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). /// /// ## Example Usage /// @@ -46,7 +46,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. + /// Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -58,7 +58,7 @@ namespace Pulumiverse.Scaleway public partial class VpcPublicGatewayIpReverseDns : global::Pulumi.CustomResource { /// - /// The public gateway IP ID + /// The Public Gateway IP ID /// [Output("gatewayIpId")] public Output GatewayIpId { get; private set; } = null!; @@ -123,7 +123,7 @@ public static VpcPublicGatewayIpReverseDns Get(string name, Input id, Vp public sealed class VpcPublicGatewayIpReverseDnsArgs : global::Pulumi.ResourceArgs { /// - /// The public gateway IP ID + /// The Public Gateway IP ID /// [Input("gatewayIpId", required: true)] public Input GatewayIpId { get; set; } = null!; @@ -149,7 +149,7 @@ public VpcPublicGatewayIpReverseDnsArgs() public sealed class VpcPublicGatewayIpReverseDnsState : global::Pulumi.ResourceArgs { /// - /// The public gateway IP ID + /// The Public Gateway IP ID /// [Input("gatewayIpId")] public Input? GatewayIpId { get; set; } diff --git a/sdk/dotnet/VpcPublicGatewayPatRule.cs b/sdk/dotnet/VpcPublicGatewayPatRule.cs index 25ec6120..1abf5875 100644 --- a/sdk/dotnet/VpcPublicGatewayPatRule.cs +++ b/sdk/dotnet/VpcPublicGatewayPatRule.cs @@ -11,8 +11,8 @@ namespace Pulumiverse.Scaleway { /// - /// Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation). - /// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). + /// Creates and manages Scaleway Public Gateway PAT (Port Address Translation). + /// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). /// /// ## Example Usage /// @@ -98,7 +98,7 @@ namespace Pulumiverse.Scaleway /// /// ## Import /// - /// Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g. + /// Public Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g. /// /// bash /// @@ -110,55 +110,55 @@ namespace Pulumiverse.Scaleway public partial class VpcPublicGatewayPatRule : global::Pulumi.CustomResource { /// - /// The date and time of the creation of the pat rule config. + /// The date and time of the creation of the PAT rule configuration. /// [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Output("gatewayId")] public Output GatewayId { get; private set; } = null!; /// - /// The organization ID the pat rule config is associated with. + /// The Organization ID the PAT rule configuration is associated with. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; /// - /// The Private IP to forward data to (IP address). + /// The private IP address to forward data to. /// [Output("privateIp")] public Output PrivateIp { get; private set; } = null!; /// - /// The Private port to translate to. + /// The private port to translate to. /// [Output("privatePort")] public Output PrivatePort { get; private set; } = null!; /// - /// The Protocol the rule should apply to. Possible values are both, tcp and udp. + /// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. /// [Output("protocol")] public Output Protocol { get; private set; } = null!; /// - /// The Public port to listen on. + /// The public port to listen on. /// [Output("publicPort")] public Output PublicPort { get; private set; } = null!; /// - /// The date and time of the last update of the pat rule config. + /// The date and time of the last update of the PAT rule configuration. /// [Output("updatedAt")] public Output UpdatedAt { get; private set; } = null!; /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Output("zone")] public Output Zone { get; private set; } = null!; @@ -211,37 +211,37 @@ public static VpcPublicGatewayPatRule Get(string name, Input id, VpcPubl public sealed class VpcPublicGatewayPatRuleArgs : global::Pulumi.ResourceArgs { /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Input("gatewayId", required: true)] public Input GatewayId { get; set; } = null!; /// - /// The Private IP to forward data to (IP address). + /// The private IP address to forward data to. /// [Input("privateIp", required: true)] public Input PrivateIp { get; set; } = null!; /// - /// The Private port to translate to. + /// The private port to translate to. /// [Input("privatePort", required: true)] public Input PrivatePort { get; set; } = null!; /// - /// The Protocol the rule should apply to. Possible values are both, tcp and udp. + /// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. /// [Input("protocol")] public Input? Protocol { get; set; } /// - /// The Public port to listen on. + /// The public port to listen on. /// [Input("publicPort", required: true)] public Input PublicPort { get; set; } = null!; /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Input("zone")] public Input? Zone { get; set; } @@ -255,55 +255,55 @@ public VpcPublicGatewayPatRuleArgs() public sealed class VpcPublicGatewayPatRuleState : global::Pulumi.ResourceArgs { /// - /// The date and time of the creation of the pat rule config. + /// The date and time of the creation of the PAT rule configuration. /// [Input("createdAt")] public Input? CreatedAt { get; set; } /// - /// The ID of the public gateway. + /// The ID of the Public Gateway. /// [Input("gatewayId")] public Input? GatewayId { get; set; } /// - /// The organization ID the pat rule config is associated with. + /// The Organization ID the PAT rule configuration is associated with. /// [Input("organizationId")] public Input? OrganizationId { get; set; } /// - /// The Private IP to forward data to (IP address). + /// The private IP address to forward data to. /// [Input("privateIp")] public Input? PrivateIp { get; set; } /// - /// The Private port to translate to. + /// The private port to translate to. /// [Input("privatePort")] public Input? PrivatePort { get; set; } /// - /// The Protocol the rule should apply to. Possible values are both, tcp and udp. + /// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. /// [Input("protocol")] public Input? Protocol { get; set; } /// - /// The Public port to listen on. + /// The public port to listen on. /// [Input("publicPort")] public Input? PublicPort { get; set; } /// - /// The date and time of the last update of the pat rule config. + /// The date and time of the last update of the PAT rule configuration. /// [Input("updatedAt")] public Input? UpdatedAt { get; set; } /// - /// `zone`) The zone in which the public gateway DHCP config should be created. + /// `zone`) The zone in which the Public Gateway DHCP configuration should be created. /// [Input("zone")] public Input? Zone { get; set; } diff --git a/sdk/go/scaleway/appleSiliconServer.go b/sdk/go/scaleway/appleSiliconServer.go new file mode 100644 index 00000000..69a4553c --- /dev/null +++ b/sdk/go/scaleway/appleSiliconServer.go @@ -0,0 +1,404 @@ +// 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 scaleway + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" +) + +// Creates and manages Scaleway Apple silicon. For more information, +// see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/). +// +// ## Example Usage +// +// ### Basic +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := scaleway.NewAppleSiliconServer(ctx, "server", &scaleway.AppleSiliconServerArgs{ +// Type: pulumi.String("M1-M"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Instance servers can be imported using the `{zone}/{id}`, e.g. +// +// bash +// +// ```sh +// $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 +// ``` +type AppleSiliconServer struct { + pulumi.CustomResourceState + + // The date and time of the creation of the Apple Silicon server. + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // The minimal date and time on which you can delete this server due to Apple licence + DeletableAt pulumi.StringOutput `pulumi:"deletableAt"` + // IPv4 address of the server (IPv4 address). + Ip pulumi.StringOutput `pulumi:"ip"` + // The name of the server. + Name pulumi.StringOutput `pulumi:"name"` + // The organization ID the server is associated with. + OrganizationId pulumi.StringOutput `pulumi:"organizationId"` + // `projectId`) The ID of the project the server is + // associated with. + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // The state of the server. + State pulumi.StringOutput `pulumi:"state"` + // The commercial type of the server. You find all the available types on + // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + // resource. + Type pulumi.StringOutput `pulumi:"type"` + // The date and time of the last update of the Apple Silicon server. + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // URL of the VNC. + VncUrl pulumi.StringOutput `pulumi:"vncUrl"` + // `zone`) The zone in which + // the server should be created. + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewAppleSiliconServer registers a new resource with the given unique name, arguments, and options. +func NewAppleSiliconServer(ctx *pulumi.Context, + name string, args *AppleSiliconServerArgs, opts ...pulumi.ResourceOption) (*AppleSiliconServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AppleSiliconServer + err := ctx.RegisterResource("scaleway:index/appleSiliconServer:AppleSiliconServer", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAppleSiliconServer gets an existing AppleSiliconServer 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 GetAppleSiliconServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AppleSiliconServerState, opts ...pulumi.ResourceOption) (*AppleSiliconServer, error) { + var resource AppleSiliconServer + err := ctx.ReadResource("scaleway:index/appleSiliconServer:AppleSiliconServer", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AppleSiliconServer resources. +type appleSiliconServerState struct { + // The date and time of the creation of the Apple Silicon server. + CreatedAt *string `pulumi:"createdAt"` + // The minimal date and time on which you can delete this server due to Apple licence + DeletableAt *string `pulumi:"deletableAt"` + // IPv4 address of the server (IPv4 address). + Ip *string `pulumi:"ip"` + // The name of the server. + Name *string `pulumi:"name"` + // The organization ID the server is associated with. + OrganizationId *string `pulumi:"organizationId"` + // `projectId`) The ID of the project the server is + // associated with. + ProjectId *string `pulumi:"projectId"` + // The state of the server. + State *string `pulumi:"state"` + // The commercial type of the server. You find all the available types on + // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + // resource. + Type *string `pulumi:"type"` + // The date and time of the last update of the Apple Silicon server. + UpdatedAt *string `pulumi:"updatedAt"` + // URL of the VNC. + VncUrl *string `pulumi:"vncUrl"` + // `zone`) The zone in which + // the server should be created. + Zone *string `pulumi:"zone"` +} + +type AppleSiliconServerState struct { + // The date and time of the creation of the Apple Silicon server. + CreatedAt pulumi.StringPtrInput + // The minimal date and time on which you can delete this server due to Apple licence + DeletableAt pulumi.StringPtrInput + // IPv4 address of the server (IPv4 address). + Ip pulumi.StringPtrInput + // The name of the server. + Name pulumi.StringPtrInput + // The organization ID the server is associated with. + OrganizationId pulumi.StringPtrInput + // `projectId`) The ID of the project the server is + // associated with. + ProjectId pulumi.StringPtrInput + // The state of the server. + State pulumi.StringPtrInput + // The commercial type of the server. You find all the available types on + // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + // resource. + Type pulumi.StringPtrInput + // The date and time of the last update of the Apple Silicon server. + UpdatedAt pulumi.StringPtrInput + // URL of the VNC. + VncUrl pulumi.StringPtrInput + // `zone`) The zone in which + // the server should be created. + Zone pulumi.StringPtrInput +} + +func (AppleSiliconServerState) ElementType() reflect.Type { + return reflect.TypeOf((*appleSiliconServerState)(nil)).Elem() +} + +type appleSiliconServerArgs struct { + // The name of the server. + Name *string `pulumi:"name"` + // `projectId`) The ID of the project the server is + // associated with. + ProjectId *string `pulumi:"projectId"` + // The commercial type of the server. You find all the available types on + // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + // resource. + Type string `pulumi:"type"` + // `zone`) The zone in which + // the server should be created. + Zone *string `pulumi:"zone"` +} + +// The set of arguments for constructing a AppleSiliconServer resource. +type AppleSiliconServerArgs struct { + // The name of the server. + Name pulumi.StringPtrInput + // `projectId`) The ID of the project the server is + // associated with. + ProjectId pulumi.StringPtrInput + // The commercial type of the server. You find all the available types on + // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + // resource. + Type pulumi.StringInput + // `zone`) The zone in which + // the server should be created. + Zone pulumi.StringPtrInput +} + +func (AppleSiliconServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*appleSiliconServerArgs)(nil)).Elem() +} + +type AppleSiliconServerInput interface { + pulumi.Input + + ToAppleSiliconServerOutput() AppleSiliconServerOutput + ToAppleSiliconServerOutputWithContext(ctx context.Context) AppleSiliconServerOutput +} + +func (*AppleSiliconServer) ElementType() reflect.Type { + return reflect.TypeOf((**AppleSiliconServer)(nil)).Elem() +} + +func (i *AppleSiliconServer) ToAppleSiliconServerOutput() AppleSiliconServerOutput { + return i.ToAppleSiliconServerOutputWithContext(context.Background()) +} + +func (i *AppleSiliconServer) ToAppleSiliconServerOutputWithContext(ctx context.Context) AppleSiliconServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppleSiliconServerOutput) +} + +// AppleSiliconServerArrayInput is an input type that accepts AppleSiliconServerArray and AppleSiliconServerArrayOutput values. +// You can construct a concrete instance of `AppleSiliconServerArrayInput` via: +// +// AppleSiliconServerArray{ AppleSiliconServerArgs{...} } +type AppleSiliconServerArrayInput interface { + pulumi.Input + + ToAppleSiliconServerArrayOutput() AppleSiliconServerArrayOutput + ToAppleSiliconServerArrayOutputWithContext(context.Context) AppleSiliconServerArrayOutput +} + +type AppleSiliconServerArray []AppleSiliconServerInput + +func (AppleSiliconServerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AppleSiliconServer)(nil)).Elem() +} + +func (i AppleSiliconServerArray) ToAppleSiliconServerArrayOutput() AppleSiliconServerArrayOutput { + return i.ToAppleSiliconServerArrayOutputWithContext(context.Background()) +} + +func (i AppleSiliconServerArray) ToAppleSiliconServerArrayOutputWithContext(ctx context.Context) AppleSiliconServerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppleSiliconServerArrayOutput) +} + +// AppleSiliconServerMapInput is an input type that accepts AppleSiliconServerMap and AppleSiliconServerMapOutput values. +// You can construct a concrete instance of `AppleSiliconServerMapInput` via: +// +// AppleSiliconServerMap{ "key": AppleSiliconServerArgs{...} } +type AppleSiliconServerMapInput interface { + pulumi.Input + + ToAppleSiliconServerMapOutput() AppleSiliconServerMapOutput + ToAppleSiliconServerMapOutputWithContext(context.Context) AppleSiliconServerMapOutput +} + +type AppleSiliconServerMap map[string]AppleSiliconServerInput + +func (AppleSiliconServerMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AppleSiliconServer)(nil)).Elem() +} + +func (i AppleSiliconServerMap) ToAppleSiliconServerMapOutput() AppleSiliconServerMapOutput { + return i.ToAppleSiliconServerMapOutputWithContext(context.Background()) +} + +func (i AppleSiliconServerMap) ToAppleSiliconServerMapOutputWithContext(ctx context.Context) AppleSiliconServerMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppleSiliconServerMapOutput) +} + +type AppleSiliconServerOutput struct{ *pulumi.OutputState } + +func (AppleSiliconServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppleSiliconServer)(nil)).Elem() +} + +func (o AppleSiliconServerOutput) ToAppleSiliconServerOutput() AppleSiliconServerOutput { + return o +} + +func (o AppleSiliconServerOutput) ToAppleSiliconServerOutputWithContext(ctx context.Context) AppleSiliconServerOutput { + return o +} + +// The date and time of the creation of the Apple Silicon server. +func (o AppleSiliconServerOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// The minimal date and time on which you can delete this server due to Apple licence +func (o AppleSiliconServerOutput) DeletableAt() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.DeletableAt }).(pulumi.StringOutput) +} + +// IPv4 address of the server (IPv4 address). +func (o AppleSiliconServerOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// The name of the server. +func (o AppleSiliconServerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The organization ID the server is associated with. +func (o AppleSiliconServerOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) +} + +// `projectId`) The ID of the project the server is +// associated with. +func (o AppleSiliconServerOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The state of the server. +func (o AppleSiliconServerOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The commercial type of the server. You find all the available types on +// the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new +// resource. +func (o AppleSiliconServerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// The date and time of the last update of the Apple Silicon server. +func (o AppleSiliconServerOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// URL of the VNC. +func (o AppleSiliconServerOutput) VncUrl() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.VncUrl }).(pulumi.StringOutput) +} + +// `zone`) The zone in which +// the server should be created. +func (o AppleSiliconServerOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *AppleSiliconServer) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +type AppleSiliconServerArrayOutput struct{ *pulumi.OutputState } + +func (AppleSiliconServerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AppleSiliconServer)(nil)).Elem() +} + +func (o AppleSiliconServerArrayOutput) ToAppleSiliconServerArrayOutput() AppleSiliconServerArrayOutput { + return o +} + +func (o AppleSiliconServerArrayOutput) ToAppleSiliconServerArrayOutputWithContext(ctx context.Context) AppleSiliconServerArrayOutput { + return o +} + +func (o AppleSiliconServerArrayOutput) Index(i pulumi.IntInput) AppleSiliconServerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AppleSiliconServer { + return vs[0].([]*AppleSiliconServer)[vs[1].(int)] + }).(AppleSiliconServerOutput) +} + +type AppleSiliconServerMapOutput struct{ *pulumi.OutputState } + +func (AppleSiliconServerMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AppleSiliconServer)(nil)).Elem() +} + +func (o AppleSiliconServerMapOutput) ToAppleSiliconServerMapOutput() AppleSiliconServerMapOutput { + return o +} + +func (o AppleSiliconServerMapOutput) ToAppleSiliconServerMapOutputWithContext(ctx context.Context) AppleSiliconServerMapOutput { + return o +} + +func (o AppleSiliconServerMapOutput) MapIndex(k pulumi.StringInput) AppleSiliconServerOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AppleSiliconServer { + return vs[0].(map[string]*AppleSiliconServer)[vs[1].(string)] + }).(AppleSiliconServerOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AppleSiliconServerInput)(nil)).Elem(), &AppleSiliconServer{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppleSiliconServerArrayInput)(nil)).Elem(), AppleSiliconServerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppleSiliconServerMapInput)(nil)).Elem(), AppleSiliconServerMap{}) + pulumi.RegisterOutputType(AppleSiliconServerOutput{}) + pulumi.RegisterOutputType(AppleSiliconServerArrayOutput{}) + pulumi.RegisterOutputType(AppleSiliconServerMapOutput{}) +} diff --git a/sdk/go/scaleway/appleSliconValleyServer.go b/sdk/go/scaleway/appleSliconValleyServer.go deleted file mode 100644 index 4c4cfe0e..00000000 --- a/sdk/go/scaleway/appleSliconValleyServer.go +++ /dev/null @@ -1,404 +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 scaleway - -import ( - "context" - "reflect" - - "errors" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" -) - -// Creates and manages Scaleway Apple silicon. For more information, -// see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/). -// -// ## Example Usage -// -// ### Basic -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewAppleSliconValleyServer(ctx, "server", &scaleway.AppleSliconValleyServerArgs{ -// Type: pulumi.String("M1-M"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// Instance servers can be imported using the `{zone}/{id}`, e.g. -// -// bash -// -// ```sh -// $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111 -// ``` -type AppleSliconValleyServer struct { - pulumi.CustomResourceState - - // The date and time of the creation of the Apple Silicon server. - CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The minimal date and time on which you can delete this server due to Apple licence - DeletableAt pulumi.StringOutput `pulumi:"deletableAt"` - // IPv4 address of the server (IPv4 address). - Ip pulumi.StringOutput `pulumi:"ip"` - // The name of the server. - Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the server is associated with. - OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // `projectId`) The ID of the project the server is - // associated with. - ProjectId pulumi.StringOutput `pulumi:"projectId"` - // The state of the server. - State pulumi.StringOutput `pulumi:"state"` - // The commercial type of the server. You find all the available types on - // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new - // resource. - Type pulumi.StringOutput `pulumi:"type"` - // The date and time of the last update of the Apple Silicon server. - UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // URL of the VNC. - VncUrl pulumi.StringOutput `pulumi:"vncUrl"` - // `zone`) The zone in which - // the server should be created. - Zone pulumi.StringOutput `pulumi:"zone"` -} - -// NewAppleSliconValleyServer registers a new resource with the given unique name, arguments, and options. -func NewAppleSliconValleyServer(ctx *pulumi.Context, - name string, args *AppleSliconValleyServerArgs, opts ...pulumi.ResourceOption) (*AppleSliconValleyServer, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Type == nil { - return nil, errors.New("invalid value for required argument 'Type'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource AppleSliconValleyServer - err := ctx.RegisterResource("scaleway:index/appleSliconValleyServer:AppleSliconValleyServer", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetAppleSliconValleyServer gets an existing AppleSliconValleyServer 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 GetAppleSliconValleyServer(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AppleSliconValleyServerState, opts ...pulumi.ResourceOption) (*AppleSliconValleyServer, error) { - var resource AppleSliconValleyServer - err := ctx.ReadResource("scaleway:index/appleSliconValleyServer:AppleSliconValleyServer", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering AppleSliconValleyServer resources. -type appleSliconValleyServerState struct { - // The date and time of the creation of the Apple Silicon server. - CreatedAt *string `pulumi:"createdAt"` - // The minimal date and time on which you can delete this server due to Apple licence - DeletableAt *string `pulumi:"deletableAt"` - // IPv4 address of the server (IPv4 address). - Ip *string `pulumi:"ip"` - // The name of the server. - Name *string `pulumi:"name"` - // The organization ID the server is associated with. - OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the server is - // associated with. - ProjectId *string `pulumi:"projectId"` - // The state of the server. - State *string `pulumi:"state"` - // The commercial type of the server. You find all the available types on - // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new - // resource. - Type *string `pulumi:"type"` - // The date and time of the last update of the Apple Silicon server. - UpdatedAt *string `pulumi:"updatedAt"` - // URL of the VNC. - VncUrl *string `pulumi:"vncUrl"` - // `zone`) The zone in which - // the server should be created. - Zone *string `pulumi:"zone"` -} - -type AppleSliconValleyServerState struct { - // The date and time of the creation of the Apple Silicon server. - CreatedAt pulumi.StringPtrInput - // The minimal date and time on which you can delete this server due to Apple licence - DeletableAt pulumi.StringPtrInput - // IPv4 address of the server (IPv4 address). - Ip pulumi.StringPtrInput - // The name of the server. - Name pulumi.StringPtrInput - // The organization ID the server is associated with. - OrganizationId pulumi.StringPtrInput - // `projectId`) The ID of the project the server is - // associated with. - ProjectId pulumi.StringPtrInput - // The state of the server. - State pulumi.StringPtrInput - // The commercial type of the server. You find all the available types on - // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new - // resource. - Type pulumi.StringPtrInput - // The date and time of the last update of the Apple Silicon server. - UpdatedAt pulumi.StringPtrInput - // URL of the VNC. - VncUrl pulumi.StringPtrInput - // `zone`) The zone in which - // the server should be created. - Zone pulumi.StringPtrInput -} - -func (AppleSliconValleyServerState) ElementType() reflect.Type { - return reflect.TypeOf((*appleSliconValleyServerState)(nil)).Elem() -} - -type appleSliconValleyServerArgs struct { - // The name of the server. - Name *string `pulumi:"name"` - // `projectId`) The ID of the project the server is - // associated with. - ProjectId *string `pulumi:"projectId"` - // The commercial type of the server. You find all the available types on - // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new - // resource. - Type string `pulumi:"type"` - // `zone`) The zone in which - // the server should be created. - Zone *string `pulumi:"zone"` -} - -// The set of arguments for constructing a AppleSliconValleyServer resource. -type AppleSliconValleyServerArgs struct { - // The name of the server. - Name pulumi.StringPtrInput - // `projectId`) The ID of the project the server is - // associated with. - ProjectId pulumi.StringPtrInput - // The commercial type of the server. You find all the available types on - // the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new - // resource. - Type pulumi.StringInput - // `zone`) The zone in which - // the server should be created. - Zone pulumi.StringPtrInput -} - -func (AppleSliconValleyServerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*appleSliconValleyServerArgs)(nil)).Elem() -} - -type AppleSliconValleyServerInput interface { - pulumi.Input - - ToAppleSliconValleyServerOutput() AppleSliconValleyServerOutput - ToAppleSliconValleyServerOutputWithContext(ctx context.Context) AppleSliconValleyServerOutput -} - -func (*AppleSliconValleyServer) ElementType() reflect.Type { - return reflect.TypeOf((**AppleSliconValleyServer)(nil)).Elem() -} - -func (i *AppleSliconValleyServer) ToAppleSliconValleyServerOutput() AppleSliconValleyServerOutput { - return i.ToAppleSliconValleyServerOutputWithContext(context.Background()) -} - -func (i *AppleSliconValleyServer) ToAppleSliconValleyServerOutputWithContext(ctx context.Context) AppleSliconValleyServerOutput { - return pulumi.ToOutputWithContext(ctx, i).(AppleSliconValleyServerOutput) -} - -// AppleSliconValleyServerArrayInput is an input type that accepts AppleSliconValleyServerArray and AppleSliconValleyServerArrayOutput values. -// You can construct a concrete instance of `AppleSliconValleyServerArrayInput` via: -// -// AppleSliconValleyServerArray{ AppleSliconValleyServerArgs{...} } -type AppleSliconValleyServerArrayInput interface { - pulumi.Input - - ToAppleSliconValleyServerArrayOutput() AppleSliconValleyServerArrayOutput - ToAppleSliconValleyServerArrayOutputWithContext(context.Context) AppleSliconValleyServerArrayOutput -} - -type AppleSliconValleyServerArray []AppleSliconValleyServerInput - -func (AppleSliconValleyServerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*AppleSliconValleyServer)(nil)).Elem() -} - -func (i AppleSliconValleyServerArray) ToAppleSliconValleyServerArrayOutput() AppleSliconValleyServerArrayOutput { - return i.ToAppleSliconValleyServerArrayOutputWithContext(context.Background()) -} - -func (i AppleSliconValleyServerArray) ToAppleSliconValleyServerArrayOutputWithContext(ctx context.Context) AppleSliconValleyServerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(AppleSliconValleyServerArrayOutput) -} - -// AppleSliconValleyServerMapInput is an input type that accepts AppleSliconValleyServerMap and AppleSliconValleyServerMapOutput values. -// You can construct a concrete instance of `AppleSliconValleyServerMapInput` via: -// -// AppleSliconValleyServerMap{ "key": AppleSliconValleyServerArgs{...} } -type AppleSliconValleyServerMapInput interface { - pulumi.Input - - ToAppleSliconValleyServerMapOutput() AppleSliconValleyServerMapOutput - ToAppleSliconValleyServerMapOutputWithContext(context.Context) AppleSliconValleyServerMapOutput -} - -type AppleSliconValleyServerMap map[string]AppleSliconValleyServerInput - -func (AppleSliconValleyServerMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*AppleSliconValleyServer)(nil)).Elem() -} - -func (i AppleSliconValleyServerMap) ToAppleSliconValleyServerMapOutput() AppleSliconValleyServerMapOutput { - return i.ToAppleSliconValleyServerMapOutputWithContext(context.Background()) -} - -func (i AppleSliconValleyServerMap) ToAppleSliconValleyServerMapOutputWithContext(ctx context.Context) AppleSliconValleyServerMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(AppleSliconValleyServerMapOutput) -} - -type AppleSliconValleyServerOutput struct{ *pulumi.OutputState } - -func (AppleSliconValleyServerOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AppleSliconValleyServer)(nil)).Elem() -} - -func (o AppleSliconValleyServerOutput) ToAppleSliconValleyServerOutput() AppleSliconValleyServerOutput { - return o -} - -func (o AppleSliconValleyServerOutput) ToAppleSliconValleyServerOutputWithContext(ctx context.Context) AppleSliconValleyServerOutput { - return o -} - -// The date and time of the creation of the Apple Silicon server. -func (o AppleSliconValleyServerOutput) CreatedAt() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) -} - -// The minimal date and time on which you can delete this server due to Apple licence -func (o AppleSliconValleyServerOutput) DeletableAt() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.DeletableAt }).(pulumi.StringOutput) -} - -// IPv4 address of the server (IPv4 address). -func (o AppleSliconValleyServerOutput) Ip() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) -} - -// The name of the server. -func (o AppleSliconValleyServerOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -// The organization ID the server is associated with. -func (o AppleSliconValleyServerOutput) OrganizationId() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) -} - -// `projectId`) The ID of the project the server is -// associated with. -func (o AppleSliconValleyServerOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) -} - -// The state of the server. -func (o AppleSliconValleyServerOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The commercial type of the server. You find all the available types on -// the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new -// resource. -func (o AppleSliconValleyServerOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -// The date and time of the last update of the Apple Silicon server. -func (o AppleSliconValleyServerOutput) UpdatedAt() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) -} - -// URL of the VNC. -func (o AppleSliconValleyServerOutput) VncUrl() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.VncUrl }).(pulumi.StringOutput) -} - -// `zone`) The zone in which -// the server should be created. -func (o AppleSliconValleyServerOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v *AppleSliconValleyServer) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) -} - -type AppleSliconValleyServerArrayOutput struct{ *pulumi.OutputState } - -func (AppleSliconValleyServerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*AppleSliconValleyServer)(nil)).Elem() -} - -func (o AppleSliconValleyServerArrayOutput) ToAppleSliconValleyServerArrayOutput() AppleSliconValleyServerArrayOutput { - return o -} - -func (o AppleSliconValleyServerArrayOutput) ToAppleSliconValleyServerArrayOutputWithContext(ctx context.Context) AppleSliconValleyServerArrayOutput { - return o -} - -func (o AppleSliconValleyServerArrayOutput) Index(i pulumi.IntInput) AppleSliconValleyServerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AppleSliconValleyServer { - return vs[0].([]*AppleSliconValleyServer)[vs[1].(int)] - }).(AppleSliconValleyServerOutput) -} - -type AppleSliconValleyServerMapOutput struct{ *pulumi.OutputState } - -func (AppleSliconValleyServerMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*AppleSliconValleyServer)(nil)).Elem() -} - -func (o AppleSliconValleyServerMapOutput) ToAppleSliconValleyServerMapOutput() AppleSliconValleyServerMapOutput { - return o -} - -func (o AppleSliconValleyServerMapOutput) ToAppleSliconValleyServerMapOutputWithContext(ctx context.Context) AppleSliconValleyServerMapOutput { - return o -} - -func (o AppleSliconValleyServerMapOutput) MapIndex(k pulumi.StringInput) AppleSliconValleyServerOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AppleSliconValleyServer { - return vs[0].(map[string]*AppleSliconValleyServer)[vs[1].(string)] - }).(AppleSliconValleyServerOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*AppleSliconValleyServerInput)(nil)).Elem(), &AppleSliconValleyServer{}) - pulumi.RegisterInputType(reflect.TypeOf((*AppleSliconValleyServerArrayInput)(nil)).Elem(), AppleSliconValleyServerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*AppleSliconValleyServerMapInput)(nil)).Elem(), AppleSliconValleyServerMap{}) - pulumi.RegisterOutputType(AppleSliconValleyServerOutput{}) - pulumi.RegisterOutputType(AppleSliconValleyServerArrayOutput{}) - pulumi.RegisterOutputType(AppleSliconValleyServerMapOutput{}) -} diff --git a/sdk/go/scaleway/blockSnapshot.go b/sdk/go/scaleway/blockSnapshot.go index 0f60ef59..c6e69ec2 100644 --- a/sdk/go/scaleway/blockSnapshot.go +++ b/sdk/go/scaleway/blockSnapshot.go @@ -29,8 +29,15 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewBlockSnapshot(ctx, "blockSnapshot", &scaleway.BlockSnapshotArgs{ -// VolumeId: pulumi.String("11111111-1111-1111-1111-111111111111"), +// blockVolume, err := scaleway.NewBlockVolume(ctx, "blockVolume", &scaleway.BlockVolumeArgs{ +// Iops: pulumi.Int(5000), +// SizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewBlockSnapshot(ctx, "blockSnapshot", &scaleway.BlockSnapshotArgs{ +// VolumeId: blockVolume.ID(), // }) // if err != nil { // return err diff --git a/sdk/go/scaleway/blockVolume.go b/sdk/go/scaleway/blockVolume.go index 719c7033..d29b42a5 100644 --- a/sdk/go/scaleway/blockVolume.go +++ b/sdk/go/scaleway/blockVolume.go @@ -17,6 +17,8 @@ import ( // // ## Example Usage // +// ### Basic +// // ```go // package main // @@ -42,6 +44,46 @@ import ( // // ``` // +// ### With snapshot +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// base, err := scaleway.NewBlockVolume(ctx, "base", &scaleway.BlockVolumeArgs{ +// Iops: pulumi.Int(5000), +// SizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } +// mainBlockSnapshot, err := scaleway.NewBlockSnapshot(ctx, "mainBlockSnapshot", &scaleway.BlockSnapshotArgs{ +// VolumeId: base.ID(), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewBlockVolume(ctx, "mainBlockVolume", &scaleway.BlockVolumeArgs{ +// Iops: pulumi.Int(5000), +// SnapshotId: mainBlockSnapshot.ID(), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Block Volumes can be imported using the `{zone}/{id}`, e.g. diff --git a/sdk/go/scaleway/database.go b/sdk/go/scaleway/database.go index 5b484208..45265187 100644 --- a/sdk/go/scaleway/database.go +++ b/sdk/go/scaleway/database.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway RDB database. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). +// Creates and manages databases. +// For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). // // ## Example Usage // @@ -31,8 +31,19 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewDatabase(ctx, "main", &scaleway.DatabaseArgs{ -// InstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id), +// mainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, "mainDatabaseInstance", &scaleway.DatabaseInstanceArgs{ +// NodeType: pulumi.String("DB-DEV-S"), +// Engine: pulumi.String("PostgreSQL-15"), +// IsHaCluster: pulumi.Bool(true), +// DisableBackup: pulumi.Bool(true), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDatabase(ctx, "mainDatabase", &scaleway.DatabaseArgs{ +// InstanceId: mainDatabaseInstance.ID(), // }) // if err != nil { // return err @@ -55,9 +66,9 @@ import ( type Database struct { pulumi.CustomResourceState - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database. + // > **Important:** Updates to `instanceId` will recreate the database. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Whether the database is managed or not. Managed pulumi.BoolOutput `pulumi:"managed"` @@ -104,9 +115,9 @@ func GetDatabase(ctx *pulumi.Context, // Input properties used for looking up and filtering Database resources. type databaseState struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database. + // > **Important:** Updates to `instanceId` will recreate the database. InstanceId *string `pulumi:"instanceId"` // Whether the database is managed or not. Managed *bool `pulumi:"managed"` @@ -121,9 +132,9 @@ type databaseState struct { } type DatabaseState struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database. + // > **Important:** Updates to `instanceId` will recreate the database. InstanceId pulumi.StringPtrInput // Whether the database is managed or not. Managed pulumi.BoolPtrInput @@ -142,9 +153,9 @@ func (DatabaseState) ElementType() reflect.Type { } type databaseArgs struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database. + // > **Important:** Updates to `instanceId` will recreate the database. InstanceId string `pulumi:"instanceId"` // Name of the database (e.g. `my-new-database`). Name *string `pulumi:"name"` @@ -154,9 +165,9 @@ type databaseArgs struct { // The set of arguments for constructing a Database resource. type DatabaseArgs struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database. + // > **Important:** Updates to `instanceId` will recreate the database. InstanceId pulumi.StringInput // Name of the database (e.g. `my-new-database`). Name pulumi.StringPtrInput @@ -251,9 +262,9 @@ func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) Databas return o } -// UUID of the rdb instance. +// UUID of the Database Instance. // -// > **Important:** Updates to `instanceId` will recreate the Database. +// > **Important:** Updates to `instanceId` will recreate the database. func (o DatabaseOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/databaseAcl.go b/sdk/go/scaleway/databaseAcl.go index 33bd876f..a1875cbc 100644 --- a/sdk/go/scaleway/databaseAcl.go +++ b/sdk/go/scaleway/databaseAcl.go @@ -13,7 +13,7 @@ import ( ) // Creates and manages Scaleway Database instance authorized IPs. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). +// For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). // // ## Example Usage // @@ -31,8 +31,19 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewDatabaseAcl(ctx, "main", &scaleway.DatabaseAclArgs{ -// InstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id), +// mainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, "mainDatabaseInstance", &scaleway.DatabaseInstanceArgs{ +// NodeType: pulumi.String("DB-DEV-S"), +// Engine: pulumi.String("PostgreSQL-15"), +// IsHaCluster: pulumi.Bool(true), +// DisableBackup: pulumi.Bool(true), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDatabaseAcl(ctx, "mainDatabaseAcl", &scaleway.DatabaseAclArgs{ +// InstanceId: mainDatabaseInstance.ID(), // AclRules: scaleway.DatabaseAclAclRuleArray{ // &scaleway.DatabaseAclAclRuleArgs{ // Ip: pulumi.String("1.2.3.4/32"), @@ -63,7 +74,7 @@ type DatabaseAcl struct { // A list of ACLs (structure is described below) AclRules DatabaseAclAclRuleArrayOutput `pulumi:"aclRules"` - // UUID of the rdb instance. + // UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. InstanceId pulumi.StringOutput `pulumi:"instanceId"` @@ -109,7 +120,7 @@ func GetDatabaseAcl(ctx *pulumi.Context, type databaseAclState struct { // A list of ACLs (structure is described below) AclRules []DatabaseAclAclRule `pulumi:"aclRules"` - // UUID of the rdb instance. + // UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. InstanceId *string `pulumi:"instanceId"` @@ -120,7 +131,7 @@ type databaseAclState struct { type DatabaseAclState struct { // A list of ACLs (structure is described below) AclRules DatabaseAclAclRuleArrayInput - // UUID of the rdb instance. + // UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. InstanceId pulumi.StringPtrInput @@ -135,7 +146,7 @@ func (DatabaseAclState) ElementType() reflect.Type { type databaseAclArgs struct { // A list of ACLs (structure is described below) AclRules []DatabaseAclAclRule `pulumi:"aclRules"` - // UUID of the rdb instance. + // UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. InstanceId string `pulumi:"instanceId"` @@ -147,7 +158,7 @@ type databaseAclArgs struct { type DatabaseAclArgs struct { // A list of ACLs (structure is described below) AclRules DatabaseAclAclRuleArrayInput - // UUID of the rdb instance. + // UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. InstanceId pulumi.StringInput @@ -247,7 +258,7 @@ func (o DatabaseAclOutput) AclRules() DatabaseAclAclRuleArrayOutput { return o.ApplyT(func(v *DatabaseAcl) DatabaseAclAclRuleArrayOutput { return v.AclRules }).(DatabaseAclAclRuleArrayOutput) } -// UUID of the rdb instance. +// UUID of the Database Instance. // // > **Important:** Updates to `instanceId` will recreate the Database ACL. func (o DatabaseAclOutput) InstanceId() pulumi.StringOutput { diff --git a/sdk/go/scaleway/databaseBackup.go b/sdk/go/scaleway/databaseBackup.go index 3536cff8..b82175ee 100644 --- a/sdk/go/scaleway/databaseBackup.go +++ b/sdk/go/scaleway/databaseBackup.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway RDB database backup. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). +// Creates and manages database backups. +// For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). // // ## Example Usage // @@ -31,9 +31,26 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewDatabaseBackup(ctx, "main", &scaleway.DatabaseBackupArgs{ -// InstanceId: pulumi.Any(data.Scaleway_rdb_instance.Main.Id), -// DatabaseName: pulumi.Any(data.Scaleway_rdb_database.Main.Name), +// mainDatabaseInstance, err := scaleway.NewDatabaseInstance(ctx, "mainDatabaseInstance", &scaleway.DatabaseInstanceArgs{ +// NodeType: pulumi.String("DB-DEV-S"), +// Engine: pulumi.String("PostgreSQL-15"), +// IsHaCluster: pulumi.Bool(true), +// DisableBackup: pulumi.Bool(true), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// }) +// if err != nil { +// return err +// } +// mainDatabase, err := scaleway.NewDatabase(ctx, "mainDatabase", &scaleway.DatabaseArgs{ +// InstanceId: mainDatabaseInstance.ID(), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDatabaseBackup(ctx, "mainDatabaseBackup", &scaleway.DatabaseBackupArgs{ +// InstanceId: mainDatabaseInstance.ID(), +// DatabaseName: mainDatabase.Name, // }) // if err != nil { // return err @@ -74,7 +91,7 @@ import ( // // ## Import // -// RDB Database can be imported using the `{region}/{id}`, e.g. +// Databases can be imported using the `{region}/{id}`, e.g. // // bash // @@ -92,9 +109,9 @@ type DatabaseBackup struct { // // > **Important:** `expiresAt` cannot be removed after being set. ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"` - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Backup. + // > **Important:** Updates to `instanceId` will recreate the backup. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Name of the instance of the backup. InstanceName pulumi.StringOutput `pulumi:"instanceName"` @@ -152,9 +169,9 @@ type databaseBackupState struct { // // > **Important:** `expiresAt` cannot be removed after being set. ExpiresAt *string `pulumi:"expiresAt"` - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Backup. + // > **Important:** Updates to `instanceId` will recreate the backup. InstanceId *string `pulumi:"instanceId"` // Name of the instance of the backup. InstanceName *string `pulumi:"instanceName"` @@ -177,9 +194,9 @@ type DatabaseBackupState struct { // // > **Important:** `expiresAt` cannot be removed after being set. ExpiresAt pulumi.StringPtrInput - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Backup. + // > **Important:** Updates to `instanceId` will recreate the backup. InstanceId pulumi.StringPtrInput // Name of the instance of the backup. InstanceName pulumi.StringPtrInput @@ -204,9 +221,9 @@ type databaseBackupArgs struct { // // > **Important:** `expiresAt` cannot be removed after being set. ExpiresAt *string `pulumi:"expiresAt"` - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Backup. + // > **Important:** Updates to `instanceId` will recreate the backup. InstanceId string `pulumi:"instanceId"` // Name of the database (e.g. `my-database`). Name *string `pulumi:"name"` @@ -222,9 +239,9 @@ type DatabaseBackupArgs struct { // // > **Important:** `expiresAt` cannot be removed after being set. ExpiresAt pulumi.StringPtrInput - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Backup. + // > **Important:** Updates to `instanceId` will recreate the backup. InstanceId pulumi.StringInput // Name of the database (e.g. `my-database`). Name pulumi.StringPtrInput @@ -336,9 +353,9 @@ func (o DatabaseBackupOutput) ExpiresAt() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseBackup) pulumi.StringPtrOutput { return v.ExpiresAt }).(pulumi.StringPtrOutput) } -// UUID of the rdb instance. +// UUID of the Database Instance. // -// > **Important:** Updates to `instanceId` will recreate the Backup. +// > **Important:** Updates to `instanceId` will recreate the backup. func (o DatabaseBackupOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseBackup) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/databaseInstance.go b/sdk/go/scaleway/databaseInstance.go index 94d6b56e..a0cecb54 100644 --- a/sdk/go/scaleway/databaseInstance.go +++ b/sdk/go/scaleway/databaseInstance.go @@ -13,7 +13,7 @@ import ( ) // Creates and manages Scaleway Database Instances. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). +// For more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). // // ## Example Usage // @@ -150,11 +150,11 @@ import ( // // ``` // -// ### Examples of endpoints configuration +// ### Examples of endpoint configuration // -// RDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none. +// Database Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none. // -// ### 1 static private network endpoint +// ### 1 static Private Network endpoint // // ```go // package main @@ -193,7 +193,7 @@ import ( // // ``` // -// ### 1 IPAM private network endpoint + 1 public endpoint +// ### 1 IPAM Private Network endpoint + 1 public endpoint // // ```go // package main @@ -258,11 +258,11 @@ import ( // // ``` // -// > If nothing is defined, your instance will have a default public load-balancer endpoint +// > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint. // // ## Limitations // -// The Managed Database product is only compliant with the private network in the default availability zone (AZ). +// The Managed Database product is only compliant with the Private Network in the default availability zone (AZ). // i.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our // section [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/) // @@ -284,7 +284,7 @@ type DatabaseInstance struct { BackupScheduleFrequency pulumi.IntOutput `pulumi:"backupScheduleFrequency"` // Backup schedule retention in days BackupScheduleRetention pulumi.IntOutput `pulumi:"backupScheduleRetention"` - // Certificate of the database instance. + // Certificate of the Database Instance. Certificate pulumi.StringOutput `pulumi:"certificate"` // Disable automated backup for the database instance DisableBackup pulumi.BoolPtrOutput `pulumi:"disableBackup"` @@ -296,38 +296,37 @@ type DatabaseInstance struct { EndpointPort pulumi.IntOutput `pulumi:"endpointPort"` // Database Instance's engine version (e.g. `PostgreSQL-11`). // - // > **Important:** Updates to `engine` will recreate the Database Instance. + // > **Important** Updates to `engine` will recreate the Database Instance. Engine pulumi.StringOutput `pulumi:"engine"` // Map of engine settings to be set at database initialisation. InitSettings pulumi.StringMapOutput `pulumi:"initSettings"` - // Enable or disable high availability for the database instance. + // Enable or disable high availability for the Database Instance. // - // > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + // > **Important** Updates to `isHaCluster` will recreate the Database Instance. IsHaCluster pulumi.BoolPtrOutput `pulumi:"isHaCluster"` - // List of load balancer endpoints of the database instance. + // List of Load Balancer endpoints of the Database Instance. LoadBalancers DatabaseInstanceLoadBalancerArrayOutput `pulumi:"loadBalancers"` // Logs policy configuration LogsPolicy DatabaseInstanceLogsPolicyOutput `pulumi:"logsPolicy"` // The name of the Database Instance. Name pulumi.StringOutput `pulumi:"name"` - // The type of database instance you want to create (e.g. `db-dev-s`). + // The type of Database Instance you want to create (e.g. `db-dev-s`). // - // > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + // > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // - // > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - // and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. NodeType pulumi.StringOutput `pulumi:"nodeType"` // The organization ID the Database Instance is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // Password for the first user of the database instance. + // Password for the first user of the Database Instance. Password pulumi.StringPtrOutput `pulumi:"password"` - // List of private networks endpoints of the database instance. + // List of Private Networks endpoints of the Database Instance. PrivateNetwork DatabaseInstancePrivateNetworkPtrOutput `pulumi:"privateNetwork"` // `projectId`) The ID of the project the Database // Instance is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // List of read replicas of the database instance. + // List of read replicas of the Database Instance. ReadReplicas DatabaseInstanceReadReplicaArrayOutput `pulumi:"readReplicas"` // `region`) The region // in which the Database Instance should be created. @@ -336,13 +335,13 @@ type DatabaseInstance struct { Settings pulumi.StringMapOutput `pulumi:"settings"` // The tags associated with the Database Instance. Tags pulumi.StringArrayOutput `pulumi:"tags"` - // Identifier for the first user of the database instance. + // Identifier for the first user of the Database Instance. // - // > **Important:** Updates to `userName` will recreate the Database Instance. + // > **Important** Updates to `userName` will recreate the Database Instance. UserName pulumi.StringOutput `pulumi:"userName"` // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // - // > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. VolumeSizeInGb pulumi.IntOutput `pulumi:"volumeSizeInGb"` // Type of volume where data are stored (`bssd`, `lssd`, `sbs5k` or `sbs15k`). VolumeType pulumi.StringPtrOutput `pulumi:"volumeType"` @@ -397,7 +396,7 @@ type databaseInstanceState struct { BackupScheduleFrequency *int `pulumi:"backupScheduleFrequency"` // Backup schedule retention in days BackupScheduleRetention *int `pulumi:"backupScheduleRetention"` - // Certificate of the database instance. + // Certificate of the Database Instance. Certificate *string `pulumi:"certificate"` // Disable automated backup for the database instance DisableBackup *bool `pulumi:"disableBackup"` @@ -409,38 +408,37 @@ type databaseInstanceState struct { EndpointPort *int `pulumi:"endpointPort"` // Database Instance's engine version (e.g. `PostgreSQL-11`). // - // > **Important:** Updates to `engine` will recreate the Database Instance. + // > **Important** Updates to `engine` will recreate the Database Instance. Engine *string `pulumi:"engine"` // Map of engine settings to be set at database initialisation. InitSettings map[string]string `pulumi:"initSettings"` - // Enable or disable high availability for the database instance. + // Enable or disable high availability for the Database Instance. // - // > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + // > **Important** Updates to `isHaCluster` will recreate the Database Instance. IsHaCluster *bool `pulumi:"isHaCluster"` - // List of load balancer endpoints of the database instance. + // List of Load Balancer endpoints of the Database Instance. LoadBalancers []DatabaseInstanceLoadBalancer `pulumi:"loadBalancers"` // Logs policy configuration LogsPolicy *DatabaseInstanceLogsPolicy `pulumi:"logsPolicy"` // The name of the Database Instance. Name *string `pulumi:"name"` - // The type of database instance you want to create (e.g. `db-dev-s`). + // The type of Database Instance you want to create (e.g. `db-dev-s`). // - // > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + // > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // - // > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - // and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. NodeType *string `pulumi:"nodeType"` // The organization ID the Database Instance is associated with. OrganizationId *string `pulumi:"organizationId"` - // Password for the first user of the database instance. + // Password for the first user of the Database Instance. Password *string `pulumi:"password"` - // List of private networks endpoints of the database instance. + // List of Private Networks endpoints of the Database Instance. PrivateNetwork *DatabaseInstancePrivateNetwork `pulumi:"privateNetwork"` // `projectId`) The ID of the project the Database // Instance is associated with. ProjectId *string `pulumi:"projectId"` - // List of read replicas of the database instance. + // List of read replicas of the Database Instance. ReadReplicas []DatabaseInstanceReadReplica `pulumi:"readReplicas"` // `region`) The region // in which the Database Instance should be created. @@ -449,13 +447,13 @@ type databaseInstanceState struct { Settings map[string]string `pulumi:"settings"` // The tags associated with the Database Instance. Tags []string `pulumi:"tags"` - // Identifier for the first user of the database instance. + // Identifier for the first user of the Database Instance. // - // > **Important:** Updates to `userName` will recreate the Database Instance. + // > **Important** Updates to `userName` will recreate the Database Instance. UserName *string `pulumi:"userName"` // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // - // > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. VolumeSizeInGb *int `pulumi:"volumeSizeInGb"` // Type of volume where data are stored (`bssd`, `lssd`, `sbs5k` or `sbs15k`). VolumeType *string `pulumi:"volumeType"` @@ -468,7 +466,7 @@ type DatabaseInstanceState struct { BackupScheduleFrequency pulumi.IntPtrInput // Backup schedule retention in days BackupScheduleRetention pulumi.IntPtrInput - // Certificate of the database instance. + // Certificate of the Database Instance. Certificate pulumi.StringPtrInput // Disable automated backup for the database instance DisableBackup pulumi.BoolPtrInput @@ -480,38 +478,37 @@ type DatabaseInstanceState struct { EndpointPort pulumi.IntPtrInput // Database Instance's engine version (e.g. `PostgreSQL-11`). // - // > **Important:** Updates to `engine` will recreate the Database Instance. + // > **Important** Updates to `engine` will recreate the Database Instance. Engine pulumi.StringPtrInput // Map of engine settings to be set at database initialisation. InitSettings pulumi.StringMapInput - // Enable or disable high availability for the database instance. + // Enable or disable high availability for the Database Instance. // - // > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + // > **Important** Updates to `isHaCluster` will recreate the Database Instance. IsHaCluster pulumi.BoolPtrInput - // List of load balancer endpoints of the database instance. + // List of Load Balancer endpoints of the Database Instance. LoadBalancers DatabaseInstanceLoadBalancerArrayInput // Logs policy configuration LogsPolicy DatabaseInstanceLogsPolicyPtrInput // The name of the Database Instance. Name pulumi.StringPtrInput - // The type of database instance you want to create (e.g. `db-dev-s`). + // The type of Database Instance you want to create (e.g. `db-dev-s`). // - // > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + // > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // - // > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - // and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. NodeType pulumi.StringPtrInput // The organization ID the Database Instance is associated with. OrganizationId pulumi.StringPtrInput - // Password for the first user of the database instance. + // Password for the first user of the Database Instance. Password pulumi.StringPtrInput - // List of private networks endpoints of the database instance. + // List of Private Networks endpoints of the Database Instance. PrivateNetwork DatabaseInstancePrivateNetworkPtrInput // `projectId`) The ID of the project the Database // Instance is associated with. ProjectId pulumi.StringPtrInput - // List of read replicas of the database instance. + // List of read replicas of the Database Instance. ReadReplicas DatabaseInstanceReadReplicaArrayInput // `region`) The region // in which the Database Instance should be created. @@ -520,13 +517,13 @@ type DatabaseInstanceState struct { Settings pulumi.StringMapInput // The tags associated with the Database Instance. Tags pulumi.StringArrayInput - // Identifier for the first user of the database instance. + // Identifier for the first user of the Database Instance. // - // > **Important:** Updates to `userName` will recreate the Database Instance. + // > **Important** Updates to `userName` will recreate the Database Instance. UserName pulumi.StringPtrInput // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // - // > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. VolumeSizeInGb pulumi.IntPtrInput // Type of volume where data are stored (`bssd`, `lssd`, `sbs5k` or `sbs15k`). VolumeType pulumi.StringPtrInput @@ -547,31 +544,30 @@ type databaseInstanceArgs struct { DisableBackup *bool `pulumi:"disableBackup"` // Database Instance's engine version (e.g. `PostgreSQL-11`). // - // > **Important:** Updates to `engine` will recreate the Database Instance. + // > **Important** Updates to `engine` will recreate the Database Instance. Engine string `pulumi:"engine"` // Map of engine settings to be set at database initialisation. InitSettings map[string]string `pulumi:"initSettings"` - // Enable or disable high availability for the database instance. + // Enable or disable high availability for the Database Instance. // - // > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + // > **Important** Updates to `isHaCluster` will recreate the Database Instance. IsHaCluster *bool `pulumi:"isHaCluster"` - // List of load balancer endpoints of the database instance. + // List of Load Balancer endpoints of the Database Instance. LoadBalancers []DatabaseInstanceLoadBalancer `pulumi:"loadBalancers"` // Logs policy configuration LogsPolicy *DatabaseInstanceLogsPolicy `pulumi:"logsPolicy"` // The name of the Database Instance. Name *string `pulumi:"name"` - // The type of database instance you want to create (e.g. `db-dev-s`). + // The type of Database Instance you want to create (e.g. `db-dev-s`). // - // > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + // > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // - // > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - // and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. NodeType string `pulumi:"nodeType"` - // Password for the first user of the database instance. + // Password for the first user of the Database Instance. Password *string `pulumi:"password"` - // List of private networks endpoints of the database instance. + // List of Private Networks endpoints of the Database Instance. PrivateNetwork *DatabaseInstancePrivateNetwork `pulumi:"privateNetwork"` // `projectId`) The ID of the project the Database // Instance is associated with. @@ -583,13 +579,13 @@ type databaseInstanceArgs struct { Settings map[string]string `pulumi:"settings"` // The tags associated with the Database Instance. Tags []string `pulumi:"tags"` - // Identifier for the first user of the database instance. + // Identifier for the first user of the Database Instance. // - // > **Important:** Updates to `userName` will recreate the Database Instance. + // > **Important** Updates to `userName` will recreate the Database Instance. UserName *string `pulumi:"userName"` // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // - // > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. VolumeSizeInGb *int `pulumi:"volumeSizeInGb"` // Type of volume where data are stored (`bssd`, `lssd`, `sbs5k` or `sbs15k`). VolumeType *string `pulumi:"volumeType"` @@ -607,31 +603,30 @@ type DatabaseInstanceArgs struct { DisableBackup pulumi.BoolPtrInput // Database Instance's engine version (e.g. `PostgreSQL-11`). // - // > **Important:** Updates to `engine` will recreate the Database Instance. + // > **Important** Updates to `engine` will recreate the Database Instance. Engine pulumi.StringInput // Map of engine settings to be set at database initialisation. InitSettings pulumi.StringMapInput - // Enable or disable high availability for the database instance. + // Enable or disable high availability for the Database Instance. // - // > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + // > **Important** Updates to `isHaCluster` will recreate the Database Instance. IsHaCluster pulumi.BoolPtrInput - // List of load balancer endpoints of the database instance. + // List of Load Balancer endpoints of the Database Instance. LoadBalancers DatabaseInstanceLoadBalancerArrayInput // Logs policy configuration LogsPolicy DatabaseInstanceLogsPolicyPtrInput // The name of the Database Instance. Name pulumi.StringPtrInput - // The type of database instance you want to create (e.g. `db-dev-s`). + // The type of Database Instance you want to create (e.g. `db-dev-s`). // - // > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + // > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // - // > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - // and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. NodeType pulumi.StringInput - // Password for the first user of the database instance. + // Password for the first user of the Database Instance. Password pulumi.StringPtrInput - // List of private networks endpoints of the database instance. + // List of Private Networks endpoints of the Database Instance. PrivateNetwork DatabaseInstancePrivateNetworkPtrInput // `projectId`) The ID of the project the Database // Instance is associated with. @@ -643,13 +638,13 @@ type DatabaseInstanceArgs struct { Settings pulumi.StringMapInput // The tags associated with the Database Instance. Tags pulumi.StringArrayInput - // Identifier for the first user of the database instance. + // Identifier for the first user of the Database Instance. // - // > **Important:** Updates to `userName` will recreate the Database Instance. + // > **Important** Updates to `userName` will recreate the Database Instance. UserName pulumi.StringPtrInput // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // - // > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + // > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. VolumeSizeInGb pulumi.IntPtrInput // Type of volume where data are stored (`bssd`, `lssd`, `sbs5k` or `sbs15k`). VolumeType pulumi.StringPtrInput @@ -757,7 +752,7 @@ func (o DatabaseInstanceOutput) BackupScheduleRetention() pulumi.IntOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.IntOutput { return v.BackupScheduleRetention }).(pulumi.IntOutput) } -// Certificate of the database instance. +// Certificate of the Database Instance. func (o DatabaseInstanceOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) } @@ -781,7 +776,7 @@ func (o DatabaseInstanceOutput) EndpointPort() pulumi.IntOutput { // Database Instance's engine version (e.g. `PostgreSQL-11`). // -// > **Important:** Updates to `engine` will recreate the Database Instance. +// > **Important** Updates to `engine` will recreate the Database Instance. func (o DatabaseInstanceOutput) Engine() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) } @@ -791,14 +786,14 @@ func (o DatabaseInstanceOutput) InitSettings() pulumi.StringMapOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringMapOutput { return v.InitSettings }).(pulumi.StringMapOutput) } -// Enable or disable high availability for the database instance. +// Enable or disable high availability for the Database Instance. // -// > **Important:** Updates to `isHaCluster` will recreate the Database Instance. +// > **Important** Updates to `isHaCluster` will recreate the Database Instance. func (o DatabaseInstanceOutput) IsHaCluster() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.BoolPtrOutput { return v.IsHaCluster }).(pulumi.BoolPtrOutput) } -// List of load balancer endpoints of the database instance. +// List of Load Balancer endpoints of the Database Instance. func (o DatabaseInstanceOutput) LoadBalancers() DatabaseInstanceLoadBalancerArrayOutput { return o.ApplyT(func(v *DatabaseInstance) DatabaseInstanceLoadBalancerArrayOutput { return v.LoadBalancers }).(DatabaseInstanceLoadBalancerArrayOutput) } @@ -813,13 +808,12 @@ func (o DatabaseInstanceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The type of database instance you want to create (e.g. `db-dev-s`). +// The type of Database Instance you want to create (e.g. `db-dev-s`). // -// > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any +// > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any // interruption. // -// > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, -// and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. +// > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. func (o DatabaseInstanceOutput) NodeType() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.NodeType }).(pulumi.StringOutput) } @@ -829,12 +823,12 @@ func (o DatabaseInstanceOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// Password for the first user of the database instance. +// Password for the first user of the Database Instance. func (o DatabaseInstanceOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringPtrOutput { return v.Password }).(pulumi.StringPtrOutput) } -// List of private networks endpoints of the database instance. +// List of Private Networks endpoints of the Database Instance. func (o DatabaseInstanceOutput) PrivateNetwork() DatabaseInstancePrivateNetworkPtrOutput { return o.ApplyT(func(v *DatabaseInstance) DatabaseInstancePrivateNetworkPtrOutput { return v.PrivateNetwork }).(DatabaseInstancePrivateNetworkPtrOutput) } @@ -845,7 +839,7 @@ func (o DatabaseInstanceOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// List of read replicas of the database instance. +// List of read replicas of the Database Instance. func (o DatabaseInstanceOutput) ReadReplicas() DatabaseInstanceReadReplicaArrayOutput { return o.ApplyT(func(v *DatabaseInstance) DatabaseInstanceReadReplicaArrayOutput { return v.ReadReplicas }).(DatabaseInstanceReadReplicaArrayOutput) } @@ -866,16 +860,16 @@ func (o DatabaseInstanceOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } -// Identifier for the first user of the database instance. +// Identifier for the first user of the Database Instance. // -// > **Important:** Updates to `userName` will recreate the Database Instance. +// > **Important** Updates to `userName` will recreate the Database Instance. func (o DatabaseInstanceOutput) UserName() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.StringOutput { return v.UserName }).(pulumi.StringOutput) } // Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. // -// > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. +// > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. func (o DatabaseInstanceOutput) VolumeSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v *DatabaseInstance) pulumi.IntOutput { return v.VolumeSizeInGb }).(pulumi.IntOutput) } diff --git a/sdk/go/scaleway/databasePrivilege.go b/sdk/go/scaleway/databasePrivilege.go index 93941e9d..2aacb438 100644 --- a/sdk/go/scaleway/databasePrivilege.go +++ b/sdk/go/scaleway/databasePrivilege.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Create and manage Scaleway RDB database privilege. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). +// Create and manage Scaleway database privileges. +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). // // ## Example Usage // @@ -83,7 +83,7 @@ type DatabasePrivilege struct { // Name of the database (e.g. `my-db-name`). DatabaseName pulumi.StringOutput `pulumi:"databaseName"` - // UUID of the rdb instance. + // UUID of the Database Instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. Permission pulumi.StringOutput `pulumi:"permission"` @@ -137,7 +137,7 @@ func GetDatabasePrivilege(ctx *pulumi.Context, type databasePrivilegeState struct { // Name of the database (e.g. `my-db-name`). DatabaseName *string `pulumi:"databaseName"` - // UUID of the rdb instance. + // UUID of the Database Instance. InstanceId *string `pulumi:"instanceId"` // Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. Permission *string `pulumi:"permission"` @@ -150,7 +150,7 @@ type databasePrivilegeState struct { type DatabasePrivilegeState struct { // Name of the database (e.g. `my-db-name`). DatabaseName pulumi.StringPtrInput - // UUID of the rdb instance. + // UUID of the Database Instance. InstanceId pulumi.StringPtrInput // Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. Permission pulumi.StringPtrInput @@ -167,7 +167,7 @@ func (DatabasePrivilegeState) ElementType() reflect.Type { type databasePrivilegeArgs struct { // Name of the database (e.g. `my-db-name`). DatabaseName string `pulumi:"databaseName"` - // UUID of the rdb instance. + // UUID of the Database Instance. InstanceId string `pulumi:"instanceId"` // Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. Permission string `pulumi:"permission"` @@ -181,7 +181,7 @@ type databasePrivilegeArgs struct { type DatabasePrivilegeArgs struct { // Name of the database (e.g. `my-db-name`). DatabaseName pulumi.StringInput - // UUID of the rdb instance. + // UUID of the Database Instance. InstanceId pulumi.StringInput // Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. Permission pulumi.StringInput @@ -283,7 +283,7 @@ func (o DatabasePrivilegeOutput) DatabaseName() pulumi.StringOutput { return o.ApplyT(func(v *DatabasePrivilege) pulumi.StringOutput { return v.DatabaseName }).(pulumi.StringOutput) } -// UUID of the rdb instance. +// UUID of the Database Instance. func (o DatabasePrivilegeOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *DatabasePrivilege) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/databaseReadReplica.go b/sdk/go/scaleway/databaseReadReplica.go index d699067b..6f15389d 100644 --- a/sdk/go/scaleway/databaseReadReplica.go +++ b/sdk/go/scaleway/databaseReadReplica.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Database read replicas. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). +// Creates and manages Read Replicas. +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). // // ## Example Usage // @@ -152,7 +152,7 @@ import ( // // ## Import // -// Database Read replica can be imported using the `{region}/{id}`, e.g. +// Read Replicas can be imported using the `{region}/{id}`, e.g. // // bash // @@ -166,12 +166,12 @@ type DatabaseReadReplica struct { DirectAccess DatabaseReadReplicaDirectAccessPtrOutput `pulumi:"directAccess"` // UUID of the rdb instance. // - // > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + // > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. InstanceId pulumi.StringOutput `pulumi:"instanceId"` - // Create an endpoint in a private network. + // Create an endpoint in a Private Netork. PrivateNetwork DatabaseReadReplicaPrivateNetworkPtrOutput `pulumi:"privateNetwork"` // `region`) The region - // in which the Database read replica should be created. + // in which the Read Replica should be created. Region pulumi.StringOutput `pulumi:"region"` // Defines whether to create the replica in the same availability zone as the main instance nodes or not. SameZone pulumi.BoolPtrOutput `pulumi:"sameZone"` @@ -214,12 +214,12 @@ type databaseReadReplicaState struct { DirectAccess *DatabaseReadReplicaDirectAccess `pulumi:"directAccess"` // UUID of the rdb instance. // - // > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + // > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. InstanceId *string `pulumi:"instanceId"` - // Create an endpoint in a private network. + // Create an endpoint in a Private Netork. PrivateNetwork *DatabaseReadReplicaPrivateNetwork `pulumi:"privateNetwork"` // `region`) The region - // in which the Database read replica should be created. + // in which the Read Replica should be created. Region *string `pulumi:"region"` // Defines whether to create the replica in the same availability zone as the main instance nodes or not. SameZone *bool `pulumi:"sameZone"` @@ -230,12 +230,12 @@ type DatabaseReadReplicaState struct { DirectAccess DatabaseReadReplicaDirectAccessPtrInput // UUID of the rdb instance. // - // > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + // > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. InstanceId pulumi.StringPtrInput - // Create an endpoint in a private network. + // Create an endpoint in a Private Netork. PrivateNetwork DatabaseReadReplicaPrivateNetworkPtrInput // `region`) The region - // in which the Database read replica should be created. + // in which the Read Replica should be created. Region pulumi.StringPtrInput // Defines whether to create the replica in the same availability zone as the main instance nodes or not. SameZone pulumi.BoolPtrInput @@ -250,12 +250,12 @@ type databaseReadReplicaArgs struct { DirectAccess *DatabaseReadReplicaDirectAccess `pulumi:"directAccess"` // UUID of the rdb instance. // - // > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + // > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. InstanceId string `pulumi:"instanceId"` - // Create an endpoint in a private network. + // Create an endpoint in a Private Netork. PrivateNetwork *DatabaseReadReplicaPrivateNetwork `pulumi:"privateNetwork"` // `region`) The region - // in which the Database read replica should be created. + // in which the Read Replica should be created. Region *string `pulumi:"region"` // Defines whether to create the replica in the same availability zone as the main instance nodes or not. SameZone *bool `pulumi:"sameZone"` @@ -267,12 +267,12 @@ type DatabaseReadReplicaArgs struct { DirectAccess DatabaseReadReplicaDirectAccessPtrInput // UUID of the rdb instance. // - // > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + // > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. InstanceId pulumi.StringInput - // Create an endpoint in a private network. + // Create an endpoint in a Private Netork. PrivateNetwork DatabaseReadReplicaPrivateNetworkPtrInput // `region`) The region - // in which the Database read replica should be created. + // in which the Read Replica should be created. Region pulumi.StringPtrInput // Defines whether to create the replica in the same availability zone as the main instance nodes or not. SameZone pulumi.BoolPtrInput @@ -372,18 +372,18 @@ func (o DatabaseReadReplicaOutput) DirectAccess() DatabaseReadReplicaDirectAcces // UUID of the rdb instance. // -// > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. +// > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. func (o DatabaseReadReplicaOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseReadReplica) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } -// Create an endpoint in a private network. +// Create an endpoint in a Private Netork. func (o DatabaseReadReplicaOutput) PrivateNetwork() DatabaseReadReplicaPrivateNetworkPtrOutput { return o.ApplyT(func(v *DatabaseReadReplica) DatabaseReadReplicaPrivateNetworkPtrOutput { return v.PrivateNetwork }).(DatabaseReadReplicaPrivateNetworkPtrOutput) } // `region`) The region -// in which the Database read replica should be created. +// in which the Read Replica should be created. func (o DatabaseReadReplicaOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseReadReplica) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/databaseUser.go b/sdk/go/scaleway/databaseUser.go index 3515c8aa..36b2ac3b 100644 --- a/sdk/go/scaleway/databaseUser.go +++ b/sdk/go/scaleway/databaseUser.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Database Users. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). +// Creates and manages database users. +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). // // ## Example Usage // @@ -32,6 +32,17 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// main, err := scaleway.NewDatabaseInstance(ctx, "main", &scaleway.DatabaseInstanceArgs{ +// NodeType: pulumi.String("DB-DEV-S"), +// Engine: pulumi.String("PostgreSQL-15"), +// IsHaCluster: pulumi.Bool(true), +// DisableBackup: pulumi.Bool(true), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// }) +// if err != nil { +// return err +// } // dbPassword, err := random.NewRandomPassword(ctx, "dbPassword", &random.RandomPasswordArgs{ // Length: pulumi.Int(16), // Special: pulumi.Bool(true), @@ -40,7 +51,7 @@ import ( // return err // } // _, err = scaleway.NewDatabaseUser(ctx, "dbAdmin", &scaleway.DatabaseUserArgs{ -// InstanceId: pulumi.Any(scaleway_rdb_instance.Main.Id), +// InstanceId: main.ID(), // Password: dbPassword.Result, // IsAdmin: pulumi.Bool(true), // }) @@ -55,7 +66,7 @@ import ( // // ## Import // -// Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g. +// Database users can be imported using `{region}/{instance_id}/{user_name}`, e.g. // // bash // @@ -65,17 +76,17 @@ import ( type DatabaseUser struct { pulumi.CustomResourceState - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database User. + // > **Important:** Updates to `instanceId` will recreate the database user. InstanceId pulumi.StringOutput `pulumi:"instanceId"` - // Grant admin permissions to the Database User. + // Grant admin permissions to the database user. IsAdmin pulumi.BoolPtrOutput `pulumi:"isAdmin"` - // Database User name. + // database user name. // - // > **Important:** Updates to `name` will recreate the Database User. + // > **Important:** Updates to `name` will recreate the database user. Name pulumi.StringOutput `pulumi:"name"` - // Database User password. + // database user password. Password pulumi.StringOutput `pulumi:"password"` // The Scaleway region this resource resides in. Region pulumi.StringOutput `pulumi:"region"` @@ -124,34 +135,34 @@ func GetDatabaseUser(ctx *pulumi.Context, // Input properties used for looking up and filtering DatabaseUser resources. type databaseUserState struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database User. + // > **Important:** Updates to `instanceId` will recreate the database user. InstanceId *string `pulumi:"instanceId"` - // Grant admin permissions to the Database User. + // Grant admin permissions to the database user. IsAdmin *bool `pulumi:"isAdmin"` - // Database User name. + // database user name. // - // > **Important:** Updates to `name` will recreate the Database User. + // > **Important:** Updates to `name` will recreate the database user. Name *string `pulumi:"name"` - // Database User password. + // database user password. Password *string `pulumi:"password"` // The Scaleway region this resource resides in. Region *string `pulumi:"region"` } type DatabaseUserState struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database User. + // > **Important:** Updates to `instanceId` will recreate the database user. InstanceId pulumi.StringPtrInput - // Grant admin permissions to the Database User. + // Grant admin permissions to the database user. IsAdmin pulumi.BoolPtrInput - // Database User name. + // database user name. // - // > **Important:** Updates to `name` will recreate the Database User. + // > **Important:** Updates to `name` will recreate the database user. Name pulumi.StringPtrInput - // Database User password. + // database user password. Password pulumi.StringPtrInput // The Scaleway region this resource resides in. Region pulumi.StringPtrInput @@ -162,17 +173,17 @@ func (DatabaseUserState) ElementType() reflect.Type { } type databaseUserArgs struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database User. + // > **Important:** Updates to `instanceId` will recreate the database user. InstanceId string `pulumi:"instanceId"` - // Grant admin permissions to the Database User. + // Grant admin permissions to the database user. IsAdmin *bool `pulumi:"isAdmin"` - // Database User name. + // database user name. // - // > **Important:** Updates to `name` will recreate the Database User. + // > **Important:** Updates to `name` will recreate the database user. Name *string `pulumi:"name"` - // Database User password. + // database user password. Password string `pulumi:"password"` // The Scaleway region this resource resides in. Region *string `pulumi:"region"` @@ -180,17 +191,17 @@ type databaseUserArgs struct { // The set of arguments for constructing a DatabaseUser resource. type DatabaseUserArgs struct { - // UUID of the rdb instance. + // UUID of the Database Instance. // - // > **Important:** Updates to `instanceId` will recreate the Database User. + // > **Important:** Updates to `instanceId` will recreate the database user. InstanceId pulumi.StringInput - // Grant admin permissions to the Database User. + // Grant admin permissions to the database user. IsAdmin pulumi.BoolPtrInput - // Database User name. + // database user name. // - // > **Important:** Updates to `name` will recreate the Database User. + // > **Important:** Updates to `name` will recreate the database user. Name pulumi.StringPtrInput - // Database User password. + // database user password. Password pulumi.StringInput // The Scaleway region this resource resides in. Region pulumi.StringPtrInput @@ -283,26 +294,26 @@ func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) return o } -// UUID of the rdb instance. +// UUID of the Database Instance. // -// > **Important:** Updates to `instanceId` will recreate the Database User. +// > **Important:** Updates to `instanceId` will recreate the database user. func (o DatabaseUserOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseUser) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } -// Grant admin permissions to the Database User. +// Grant admin permissions to the database user. func (o DatabaseUserOutput) IsAdmin() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DatabaseUser) pulumi.BoolPtrOutput { return v.IsAdmin }).(pulumi.BoolPtrOutput) } -// Database User name. +// database user name. // -// > **Important:** Updates to `name` will recreate the Database User. +// > **Important:** Updates to `name` will recreate the database user. func (o DatabaseUserOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// Database User password. +// database user password. func (o DatabaseUserOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/documentdbDatabase.go b/sdk/go/scaleway/documentdbDatabase.go index 5acf8860..c36408c4 100644 --- a/sdk/go/scaleway/documentdbDatabase.go +++ b/sdk/go/scaleway/documentdbDatabase.go @@ -30,8 +30,18 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewDocumentdbDatabase(ctx, "main", &scaleway.DocumentdbDatabaseArgs{ -// InstanceId: pulumi.String("11111111-1111-1111-1111-111111111111"), +// instance, err := scaleway.NewDocumentdbInstance(ctx, "instance", &scaleway.DocumentdbInstanceArgs{ +// NodeType: pulumi.String("docdb-play2-pico"), +// Engine: pulumi.String("FerretDB-1"), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// VolumeSizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDocumentdbDatabase(ctx, "main", &scaleway.DocumentdbDatabaseArgs{ +// InstanceId: instance.ID(), // }) // if err != nil { // return err diff --git a/sdk/go/scaleway/documentdbPrivateNetworkEndpoint.go b/sdk/go/scaleway/documentdbPrivateNetworkEndpoint.go index 2b6e8e31..d6f27932 100644 --- a/sdk/go/scaleway/documentdbPrivateNetworkEndpoint.go +++ b/sdk/go/scaleway/documentdbPrivateNetworkEndpoint.go @@ -16,6 +16,52 @@ import ( // // ## Example Usage // +// ### Example Basic +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// pn, err := scaleway.NewVpcPrivateNetwork(ctx, "pn", nil) +// if err != nil { +// return err +// } +// instance, err := scaleway.NewDocumentdbInstance(ctx, "instance", &scaleway.DocumentdbInstanceArgs{ +// NodeType: pulumi.String("docdb-play2-pico"), +// Engine: pulumi.String("FerretDB-1"), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// VolumeSizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDocumentdbPrivateNetworkEndpoint(ctx, "main", &scaleway.DocumentdbPrivateNetworkEndpointArgs{ +// InstanceId: instance.ID(), +// PrivateNetwork: &scaleway.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{ +// IpNet: pulumi.String("172.16.32.3/22"), +// Id: pn.ID(), +// }, +// }, pulumi.DependsOn([]pulumi.Resource{ +// pn, +// })) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g. @@ -28,26 +74,16 @@ import ( type DocumentdbPrivateNetworkEndpoint struct { pulumi.CustomResourceState - // Hostname of the endpoint. - Hostname pulumi.StringOutput `pulumi:"hostname"` // UUID of the documentdb instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` - // IPv4 address on the network. - Ip pulumi.StringOutput `pulumi:"ip"` - // The IP network address within the private subnet. This must be an IPv4 address with a - // CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - // service if not set. - IpNet pulumi.StringOutput `pulumi:"ipNet"` - // Name of the endpoint. - Name pulumi.StringOutput `pulumi:"name"` - // Port in the Private Network. - Port pulumi.IntOutput `pulumi:"port"` - // The ID of the private network. - PrivateNetworkId pulumi.StringOutput `pulumi:"privateNetworkId"` - // The region you want to attach the resource to + // The private network specs details. This is a list with maximum one element and supports the following attributes: + PrivateNetwork DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput `pulumi:"privateNetwork"` + // The region of the endpoint. + // + // > **NOTE:** Please calculate your host IP. + // using cirhost. Otherwise, lets IPAM service + // handle the host IP on the network. Region pulumi.StringOutput `pulumi:"region"` - // The zone you want to attach the resource to - Zone pulumi.StringOutput `pulumi:"zone"` } // NewDocumentdbPrivateNetworkEndpoint registers a new resource with the given unique name, arguments, and options. @@ -60,9 +96,6 @@ func NewDocumentdbPrivateNetworkEndpoint(ctx *pulumi.Context, if args.InstanceId == nil { return nil, errors.New("invalid value for required argument 'InstanceId'") } - if args.PrivateNetworkId == nil { - return nil, errors.New("invalid value for required argument 'PrivateNetworkId'") - } opts = internal.PkgResourceDefaultOpts(opts) var resource DocumentdbPrivateNetworkEndpoint err := ctx.RegisterResource("scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint", name, args, &resource, opts...) @@ -86,49 +119,29 @@ func GetDocumentdbPrivateNetworkEndpoint(ctx *pulumi.Context, // Input properties used for looking up and filtering DocumentdbPrivateNetworkEndpoint resources. type documentdbPrivateNetworkEndpointState struct { - // Hostname of the endpoint. - Hostname *string `pulumi:"hostname"` // UUID of the documentdb instance. InstanceId *string `pulumi:"instanceId"` - // IPv4 address on the network. - Ip *string `pulumi:"ip"` - // The IP network address within the private subnet. This must be an IPv4 address with a - // CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - // service if not set. - IpNet *string `pulumi:"ipNet"` - // Name of the endpoint. - Name *string `pulumi:"name"` - // Port in the Private Network. - Port *int `pulumi:"port"` - // The ID of the private network. - PrivateNetworkId *string `pulumi:"privateNetworkId"` - // The region you want to attach the resource to + // The private network specs details. This is a list with maximum one element and supports the following attributes: + PrivateNetwork *DocumentdbPrivateNetworkEndpointPrivateNetwork `pulumi:"privateNetwork"` + // The region of the endpoint. + // + // > **NOTE:** Please calculate your host IP. + // using cirhost. Otherwise, lets IPAM service + // handle the host IP on the network. Region *string `pulumi:"region"` - // The zone you want to attach the resource to - Zone *string `pulumi:"zone"` } type DocumentdbPrivateNetworkEndpointState struct { - // Hostname of the endpoint. - Hostname pulumi.StringPtrInput // UUID of the documentdb instance. InstanceId pulumi.StringPtrInput - // IPv4 address on the network. - Ip pulumi.StringPtrInput - // The IP network address within the private subnet. This must be an IPv4 address with a - // CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - // service if not set. - IpNet pulumi.StringPtrInput - // Name of the endpoint. - Name pulumi.StringPtrInput - // Port in the Private Network. - Port pulumi.IntPtrInput - // The ID of the private network. - PrivateNetworkId pulumi.StringPtrInput - // The region you want to attach the resource to + // The private network specs details. This is a list with maximum one element and supports the following attributes: + PrivateNetwork DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput + // The region of the endpoint. + // + // > **NOTE:** Please calculate your host IP. + // using cirhost. Otherwise, lets IPAM service + // handle the host IP on the network. Region pulumi.StringPtrInput - // The zone you want to attach the resource to - Zone pulumi.StringPtrInput } func (DocumentdbPrivateNetworkEndpointState) ElementType() reflect.Type { @@ -138,36 +151,28 @@ func (DocumentdbPrivateNetworkEndpointState) ElementType() reflect.Type { type documentdbPrivateNetworkEndpointArgs struct { // UUID of the documentdb instance. InstanceId string `pulumi:"instanceId"` - // The IP network address within the private subnet. This must be an IPv4 address with a - // CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - // service if not set. - IpNet *string `pulumi:"ipNet"` - // Port in the Private Network. - Port *int `pulumi:"port"` - // The ID of the private network. - PrivateNetworkId string `pulumi:"privateNetworkId"` - // The region you want to attach the resource to + // The private network specs details. This is a list with maximum one element and supports the following attributes: + PrivateNetwork *DocumentdbPrivateNetworkEndpointPrivateNetwork `pulumi:"privateNetwork"` + // The region of the endpoint. + // + // > **NOTE:** Please calculate your host IP. + // using cirhost. Otherwise, lets IPAM service + // handle the host IP on the network. Region *string `pulumi:"region"` - // The zone you want to attach the resource to - Zone *string `pulumi:"zone"` } // The set of arguments for constructing a DocumentdbPrivateNetworkEndpoint resource. type DocumentdbPrivateNetworkEndpointArgs struct { // UUID of the documentdb instance. InstanceId pulumi.StringInput - // The IP network address within the private subnet. This must be an IPv4 address with a - // CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - // service if not set. - IpNet pulumi.StringPtrInput - // Port in the Private Network. - Port pulumi.IntPtrInput - // The ID of the private network. - PrivateNetworkId pulumi.StringInput - // The region you want to attach the resource to + // The private network specs details. This is a list with maximum one element and supports the following attributes: + PrivateNetwork DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput + // The region of the endpoint. + // + // > **NOTE:** Please calculate your host IP. + // using cirhost. Otherwise, lets IPAM service + // handle the host IP on the network. Region pulumi.StringPtrInput - // The zone you want to attach the resource to - Zone pulumi.StringPtrInput } func (DocumentdbPrivateNetworkEndpointArgs) ElementType() reflect.Type { @@ -257,53 +262,27 @@ func (o DocumentdbPrivateNetworkEndpointOutput) ToDocumentdbPrivateNetworkEndpoi return o } -// Hostname of the endpoint. -func (o DocumentdbPrivateNetworkEndpointOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.Hostname }).(pulumi.StringOutput) -} - // UUID of the documentdb instance. func (o DocumentdbPrivateNetworkEndpointOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } -// IPv4 address on the network. -func (o DocumentdbPrivateNetworkEndpointOutput) Ip() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +// The private network specs details. This is a list with maximum one element and supports the following attributes: +func (o DocumentdbPrivateNetworkEndpointOutput) PrivateNetwork() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return v.PrivateNetwork + }).(DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) } -// The IP network address within the private subnet. This must be an IPv4 address with a -// CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) -// service if not set. -func (o DocumentdbPrivateNetworkEndpointOutput) IpNet() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.IpNet }).(pulumi.StringOutput) -} - -// Name of the endpoint. -func (o DocumentdbPrivateNetworkEndpointOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -// Port in the Private Network. -func (o DocumentdbPrivateNetworkEndpointOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.IntOutput { return v.Port }).(pulumi.IntOutput) -} - -// The ID of the private network. -func (o DocumentdbPrivateNetworkEndpointOutput) PrivateNetworkId() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.PrivateNetworkId }).(pulumi.StringOutput) -} - -// The region you want to attach the resource to +// The region of the endpoint. +// +// > **NOTE:** Please calculate your host IP. +// using cirhost. Otherwise, lets IPAM service +// handle the host IP on the network. func (o DocumentdbPrivateNetworkEndpointOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } -// The zone you want to attach the resource to -func (o DocumentdbPrivateNetworkEndpointOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpoint) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) -} - type DocumentdbPrivateNetworkEndpointArrayOutput struct{ *pulumi.OutputState } func (DocumentdbPrivateNetworkEndpointArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/scaleway/documentdbPrivilege.go b/sdk/go/scaleway/documentdbPrivilege.go index 9472bbde..20c7fe8d 100644 --- a/sdk/go/scaleway/documentdbPrivilege.go +++ b/sdk/go/scaleway/documentdbPrivilege.go @@ -28,11 +28,21 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewDocumentdbPrivilege(ctx, "main", &scaleway.DocumentdbPrivilegeArgs{ +// instance, err := scaleway.NewDocumentdbInstance(ctx, "instance", &scaleway.DocumentdbInstanceArgs{ +// NodeType: pulumi.String("docdb-play2-pico"), +// Engine: pulumi.String("FerretDB-1"), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// VolumeSizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewDocumentdbPrivilege(ctx, "main", &scaleway.DocumentdbPrivilegeArgs{ +// InstanceId: instance.ID(), +// UserName: pulumi.String("my-db-user"), // DatabaseName: pulumi.String("my-db-name"), -// InstanceId: pulumi.String("11111111-1111-1111-1111-111111111111"), // Permission: pulumi.String("all"), -// UserName: pulumi.String("my-db-user"), // }) // if err != nil { // return err diff --git a/sdk/go/scaleway/documentdbReadReplica.go b/sdk/go/scaleway/documentdbReadReplica.go index 1b50e5a5..f5f107f3 100644 --- a/sdk/go/scaleway/documentdbReadReplica.go +++ b/sdk/go/scaleway/documentdbReadReplica.go @@ -61,8 +61,18 @@ import ( // if err != nil { // return err // } +// instance, err := scaleway.NewDocumentdbInstance(ctx, "instance", &scaleway.DocumentdbInstanceArgs{ +// NodeType: pulumi.String("docdb-play2-pico"), +// Engine: pulumi.String("FerretDB-1"), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// VolumeSizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } // _, err = scaleway.NewDocumentdbReadReplica(ctx, "replica", &scaleway.DocumentdbReadReplicaArgs{ -// InstanceId: pulumi.Any(scaleway_rdb_instance.Instance.Id), +// InstanceId: instance.ID(), // PrivateNetwork: &scaleway.DocumentdbReadReplicaPrivateNetworkArgs{ // PrivateNetworkId: pn.ID(), // ServiceIp: pulumi.String("192.168.1.254/24"), diff --git a/sdk/go/scaleway/documentdbUser.go b/sdk/go/scaleway/documentdbUser.go index aa03d97d..4a550460 100644 --- a/sdk/go/scaleway/documentdbUser.go +++ b/sdk/go/scaleway/documentdbUser.go @@ -31,6 +31,16 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// instance, err := scaleway.NewDocumentdbInstance(ctx, "instance", &scaleway.DocumentdbInstanceArgs{ +// NodeType: pulumi.String("docdb-play2-pico"), +// Engine: pulumi.String("FerretDB-1"), +// UserName: pulumi.String("my_initial_user"), +// Password: pulumi.String("thiZ_is_v&ry_s3cret"), +// VolumeSizeInGb: pulumi.Int(20), +// }) +// if err != nil { +// return err +// } // dbPassword, err := random.NewRandomPassword(ctx, "dbPassword", &random.RandomPasswordArgs{ // Length: pulumi.Int(16), // Special: pulumi.Bool(true), @@ -39,7 +49,7 @@ import ( // return err // } // _, err = scaleway.NewDocumentdbUser(ctx, "dbAdmin", &scaleway.DocumentdbUserArgs{ -// InstanceId: pulumi.String("11111111-1111-1111-1111-111111111111"), +// InstanceId: instance.ID(), // Password: dbPassword.Result, // IsAdmin: pulumi.Bool(true), // }) diff --git a/sdk/go/scaleway/function.go b/sdk/go/scaleway/function.go index ff7fecfa..bd08b755 100644 --- a/sdk/go/scaleway/function.go +++ b/sdk/go/scaleway/function.go @@ -87,7 +87,7 @@ type Function struct { // // > **Important** Updates to `name` will recreate the function. Name pulumi.StringOutput `pulumi:"name"` - // The namespace ID the function is associated with. + // The function namespace ID of the function. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // The organization ID the function is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` @@ -181,7 +181,7 @@ type functionState struct { // // > **Important** Updates to `name` will recreate the function. Name *string `pulumi:"name"` - // The namespace ID the function is associated with. + // The function namespace ID of the function. NamespaceId *string `pulumi:"namespaceId"` // The organization ID the function is associated with. OrganizationId *string `pulumi:"organizationId"` @@ -227,7 +227,7 @@ type FunctionState struct { // // > **Important** Updates to `name` will recreate the function. Name pulumi.StringPtrInput - // The namespace ID the function is associated with. + // The function namespace ID of the function. NamespaceId pulumi.StringPtrInput // The organization ID the function is associated with. OrganizationId pulumi.StringPtrInput @@ -273,7 +273,7 @@ type functionArgs struct { // // > **Important** Updates to `name` will recreate the function. Name *string `pulumi:"name"` - // The namespace ID the function is associated with. + // The function namespace ID of the function. NamespaceId string `pulumi:"namespaceId"` // Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) Privacy string `pulumi:"privacy"` @@ -314,7 +314,7 @@ type FunctionArgs struct { // // > **Important** Updates to `name` will recreate the function. Name pulumi.StringPtrInput - // The namespace ID the function is associated with. + // The function namespace ID of the function. NamespaceId pulumi.StringInput // Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) Privacy pulumi.StringInput @@ -477,7 +477,7 @@ func (o FunctionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Function) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The namespace ID the function is associated with. +// The function namespace ID of the function. func (o FunctionOutput) NamespaceId() pulumi.StringOutput { return o.ApplyT(func(v *Function) pulumi.StringOutput { return v.NamespaceId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/functionTrigger.go b/sdk/go/scaleway/functionTrigger.go index 6c7d39d7..53f75dee 100644 --- a/sdk/go/scaleway/functionTrigger.go +++ b/sdk/go/scaleway/functionTrigger.go @@ -48,6 +48,37 @@ import ( // // ``` // +// ### Nats +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := scaleway.NewFunctionTrigger(ctx, "main", &scaleway.FunctionTriggerArgs{ +// FunctionId: pulumi.Any(scaleway_function.Main.Id), +// Nats: &scaleway.FunctionTriggerNatsArgs{ +// AccountId: pulumi.Any(scaleway_mnq_nats_account.Main.Id), +// Subject: pulumi.String("MySubject"), +// Region: pulumi.Any(scaleway_mnq_nats_account.Main.Region), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Function Triggers can be imported using the `{region}/{id}`, e.g. diff --git a/sdk/go/scaleway/getAccountSshKey.go b/sdk/go/scaleway/getAccountSshKey.go index ba75dff0..cacfdf34 100644 --- a/sdk/go/scaleway/getAccountSshKey.go +++ b/sdk/go/scaleway/getAccountSshKey.go @@ -50,11 +50,13 @@ func LookupAccountSshKey(ctx *pulumi.Context, args *LookupAccountSshKeyArgs, opt // A collection of arguments for invoking getAccountSshKey. type LookupAccountSshKeyArgs struct { - // The SSH key name. Only one of `name` and `sshKeyId` should be specified. + // The SSH key name. Name *string `pulumi:"name"` // `projectId`) The ID of the project the SSH key is associated with. ProjectId *string `pulumi:"projectId"` - // The SSH key id. Only one of `name` and `sshKeyId` should be specified. + // The SSH key id. + // + // > **Note** You must specify at least one: `name` and/or `sshKeyId`. SshKeyId *string `pulumi:"sshKeyId"` } @@ -90,11 +92,13 @@ func LookupAccountSshKeyOutput(ctx *pulumi.Context, args LookupAccountSshKeyOutp // A collection of arguments for invoking getAccountSshKey. type LookupAccountSshKeyOutputArgs struct { - // The SSH key name. Only one of `name` and `sshKeyId` should be specified. + // The SSH key name. Name pulumi.StringPtrInput `pulumi:"name"` // `projectId`) The ID of the project the SSH key is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // The SSH key id. Only one of `name` and `sshKeyId` should be specified. + // The SSH key id. + // + // > **Note** You must specify at least one: `name` and/or `sshKeyId`. SshKeyId pulumi.StringPtrInput `pulumi:"sshKeyId"` } diff --git a/sdk/go/scaleway/getBillingConsumptions.go b/sdk/go/scaleway/getBillingConsumptions.go index 7e5371b2..9c3df776 100644 --- a/sdk/go/scaleway/getBillingConsumptions.go +++ b/sdk/go/scaleway/getBillingConsumptions.go @@ -11,6 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) +// Gets information about your Consumptions. func GetBillingConsumptions(ctx *pulumi.Context, args *GetBillingConsumptionsArgs, opts ...pulumi.InvokeOption) (*GetBillingConsumptionsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetBillingConsumptionsResult @@ -23,17 +24,21 @@ func GetBillingConsumptions(ctx *pulumi.Context, args *GetBillingConsumptionsArg // A collection of arguments for invoking getBillingConsumptions. type GetBillingConsumptionsArgs struct { + // `projectId`) The ID of the project the consumption list is associated with. ProjectId *string `pulumi:"projectId"` } // A collection of values returned by getBillingConsumptions. type GetBillingConsumptionsResult struct { + // List of found consumptions Consumptions []GetBillingConsumptionsConsumption `pulumi:"consumptions"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OrganizationId string `pulumi:"organizationId"` - ProjectId string `pulumi:"projectId"` - UpdatedAt string `pulumi:"updatedAt"` + // The project ID of the consumption. + ProjectId string `pulumi:"projectId"` + // The last consumption update date. + UpdatedAt string `pulumi:"updatedAt"` } func GetBillingConsumptionsOutput(ctx *pulumi.Context, args GetBillingConsumptionsOutputArgs, opts ...pulumi.InvokeOption) GetBillingConsumptionsResultOutput { @@ -51,6 +56,7 @@ func GetBillingConsumptionsOutput(ctx *pulumi.Context, args GetBillingConsumptio // A collection of arguments for invoking getBillingConsumptions. type GetBillingConsumptionsOutputArgs struct { + // `projectId`) The ID of the project the consumption list is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` } @@ -73,6 +79,7 @@ func (o GetBillingConsumptionsResultOutput) ToGetBillingConsumptionsResultOutput return o } +// List of found consumptions func (o GetBillingConsumptionsResultOutput) Consumptions() GetBillingConsumptionsConsumptionArrayOutput { return o.ApplyT(func(v GetBillingConsumptionsResult) []GetBillingConsumptionsConsumption { return v.Consumptions }).(GetBillingConsumptionsConsumptionArrayOutput) } @@ -86,10 +93,12 @@ func (o GetBillingConsumptionsResultOutput) OrganizationId() pulumi.StringOutput return o.ApplyT(func(v GetBillingConsumptionsResult) string { return v.OrganizationId }).(pulumi.StringOutput) } +// The project ID of the consumption. func (o GetBillingConsumptionsResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsResult) string { return v.ProjectId }).(pulumi.StringOutput) } +// The last consumption update date. func (o GetBillingConsumptionsResultOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsResult) string { return v.UpdatedAt }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getBillingInvoices.go b/sdk/go/scaleway/getBillingInvoices.go index 5fc700fb..0d085c8f 100644 --- a/sdk/go/scaleway/getBillingInvoices.go +++ b/sdk/go/scaleway/getBillingInvoices.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about your Invoices. +// Gets information about your Scaleway invoices. // // ## Example Usage // diff --git a/sdk/go/scaleway/getBlockSnapshot.go b/sdk/go/scaleway/getBlockSnapshot.go index f87c1c5f..4a447dae 100644 --- a/sdk/go/scaleway/getBlockSnapshot.go +++ b/sdk/go/scaleway/getBlockSnapshot.go @@ -11,6 +11,33 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) +// Gets information about a Block Snapshot. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := scaleway.LookupBlockSnapshot(ctx, &scaleway.LookupBlockSnapshotArgs{ +// SnapshotId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` func LookupBlockSnapshot(ctx *pulumi.Context, args *LookupBlockSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupBlockSnapshotResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupBlockSnapshotResult @@ -23,11 +50,16 @@ func LookupBlockSnapshot(ctx *pulumi.Context, args *LookupBlockSnapshotArgs, opt // A collection of arguments for invoking getBlockSnapshot. type LookupBlockSnapshotArgs struct { - Name *string `pulumi:"name"` - ProjectId *string `pulumi:"projectId"` + // The name of the snapshot. Only one of `name` and `snapshotId` should be specified. + Name *string `pulumi:"name"` + // The ID of the project the snapshot is associated with. + ProjectId *string `pulumi:"projectId"` + // The ID of the snapshot. Only one of `name` and `snapshotId` should be specified. SnapshotId *string `pulumi:"snapshotId"` - VolumeId *string `pulumi:"volumeId"` - Zone *string `pulumi:"zone"` + // The ID of the volume from which the snapshot has been created. + VolumeId *string `pulumi:"volumeId"` + // `zone`) The zone in which the snapshot exists. + Zone *string `pulumi:"zone"` } // A collection of values returned by getBlockSnapshot. @@ -57,11 +89,16 @@ func LookupBlockSnapshotOutput(ctx *pulumi.Context, args LookupBlockSnapshotOutp // A collection of arguments for invoking getBlockSnapshot. type LookupBlockSnapshotOutputArgs struct { - Name pulumi.StringPtrInput `pulumi:"name"` - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // The name of the snapshot. Only one of `name` and `snapshotId` should be specified. + Name pulumi.StringPtrInput `pulumi:"name"` + // The ID of the project the snapshot is associated with. + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // The ID of the snapshot. Only one of `name` and `snapshotId` should be specified. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` - Zone pulumi.StringPtrInput `pulumi:"zone"` + // The ID of the volume from which the snapshot has been created. + VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` + // `zone`) The zone in which the snapshot exists. + Zone pulumi.StringPtrInput `pulumi:"zone"` } func (LookupBlockSnapshotOutputArgs) ElementType() reflect.Type { diff --git a/sdk/go/scaleway/getConfig.go b/sdk/go/scaleway/getConfig.go new file mode 100644 index 00000000..c99420ed --- /dev/null +++ b/sdk/go/scaleway/getConfig.go @@ -0,0 +1,113 @@ +// 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 scaleway + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" +) + +func GetConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetConfigResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetConfigResult + err := ctx.Invoke("scaleway:index/getConfig:getConfig", nil, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of values returned by getConfig. +type GetConfigResult struct { + AccessKey string `pulumi:"accessKey"` + AccessKeySource string `pulumi:"accessKeySource"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + ProjectId string `pulumi:"projectId"` + ProjectIdSource string `pulumi:"projectIdSource"` + Region string `pulumi:"region"` + RegionSource string `pulumi:"regionSource"` + SecretKey string `pulumi:"secretKey"` + SecretKeySource string `pulumi:"secretKeySource"` + Zone string `pulumi:"zone"` + ZoneSource string `pulumi:"zoneSource"` +} + +func GetConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetConfigResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetConfigResult, error) { + r, err := GetConfig(ctx, opts...) + var s GetConfigResult + if r != nil { + s = *r + } + return s, err + }).(GetConfigResultOutput) +} + +// A collection of values returned by getConfig. +type GetConfigResultOutput struct{ *pulumi.OutputState } + +func (GetConfigResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigResult)(nil)).Elem() +} + +func (o GetConfigResultOutput) ToGetConfigResultOutput() GetConfigResultOutput { + return o +} + +func (o GetConfigResultOutput) ToGetConfigResultOutputWithContext(ctx context.Context) GetConfigResultOutput { + return o +} + +func (o GetConfigResultOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.AccessKey }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) AccessKeySource() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.AccessKeySource }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetConfigResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) ProjectIdSource() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.ProjectIdSource }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) RegionSource() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.RegionSource }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.SecretKey }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) SecretKeySource() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.SecretKeySource }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.Zone }).(pulumi.StringOutput) +} + +func (o GetConfigResultOutput) ZoneSource() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigResult) string { return v.ZoneSource }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetConfigResultOutput{}) +} diff --git a/sdk/go/scaleway/getDatabase.go b/sdk/go/scaleway/getDatabase.go index a9d55856..02068d2e 100644 --- a/sdk/go/scaleway/getDatabase.go +++ b/sdk/go/scaleway/getDatabase.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a RDB database. +// Gets information about a database. // // ## Example Usage // diff --git a/sdk/go/scaleway/getDatabaseAcl.go b/sdk/go/scaleway/getDatabaseAcl.go index 823cb56a..6ec93b6b 100644 --- a/sdk/go/scaleway/getDatabaseAcl.go +++ b/sdk/go/scaleway/getDatabaseAcl.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about the RDB instance network Access Control List. +// Gets information about the Database Instance network Access Control List. // // ## Example Usage // diff --git a/sdk/go/scaleway/getDatabaseBackup.go b/sdk/go/scaleway/getDatabaseBackup.go index 65d34454..94a4af28 100644 --- a/sdk/go/scaleway/getDatabaseBackup.go +++ b/sdk/go/scaleway/getDatabaseBackup.go @@ -63,13 +63,13 @@ func LookupDatabaseBackup(ctx *pulumi.Context, args *LookupDatabaseBackupArgs, o // A collection of arguments for invoking getDatabaseBackup. type LookupDatabaseBackupArgs struct { - // The RDB backup ID. - // Only one of the `name` and `backupId` should be specified. + // The backup ID. BackupId *string `pulumi:"backupId"` - // The RDB instance ID. + // The Database Instance ID. InstanceId *string `pulumi:"instanceId"` // The name of the RDB instance. - // Only one of the `name` and `backupId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `backupId`. Name *string `pulumi:"name"` // The ID of the project the Database Backup is associated with. ProjectId *string `pulumi:"projectId"` @@ -109,13 +109,13 @@ func LookupDatabaseBackupOutput(ctx *pulumi.Context, args LookupDatabaseBackupOu // A collection of arguments for invoking getDatabaseBackup. type LookupDatabaseBackupOutputArgs struct { - // The RDB backup ID. - // Only one of the `name` and `backupId` should be specified. + // The backup ID. BackupId pulumi.StringPtrInput `pulumi:"backupId"` - // The RDB instance ID. + // The Database Instance ID. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // The name of the RDB instance. - // Only one of the `name` and `backupId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `backupId`. Name pulumi.StringPtrInput `pulumi:"name"` // The ID of the project the Database Backup is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` diff --git a/sdk/go/scaleway/getDatabaseInstance.go b/sdk/go/scaleway/getDatabaseInstance.go index bd869625..3356334f 100644 --- a/sdk/go/scaleway/getDatabaseInstance.go +++ b/sdk/go/scaleway/getDatabaseInstance.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) +// Gets information about an Database Instance. +// +// For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) func LookupDatabaseInstance(ctx *pulumi.Context, args *LookupDatabaseInstanceArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseInstanceResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDatabaseInstanceResult @@ -25,14 +27,14 @@ func LookupDatabaseInstance(ctx *pulumi.Context, args *LookupDatabaseInstanceArg // A collection of arguments for invoking getDatabaseInstance. type LookupDatabaseInstanceArgs struct { // The RDB instance ID. - // Only one of `name` and `instanceId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `instanceId`. InstanceId *string `pulumi:"instanceId"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name *string `pulumi:"name"` - // The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + // The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. ProjectId *string `pulumi:"projectId"` - // `region`) The region in which the RDB instance exists. + // `region`) The region in which the Database Instance exists. Region *string `pulumi:"region"` } @@ -84,14 +86,14 @@ func LookupDatabaseInstanceOutput(ctx *pulumi.Context, args LookupDatabaseInstan // A collection of arguments for invoking getDatabaseInstance. type LookupDatabaseInstanceOutputArgs struct { // The RDB instance ID. - // Only one of `name` and `instanceId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `instanceId`. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + // The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `region`) The region in which the RDB instance exists. + // `region`) The region in which the Database Instance exists. Region pulumi.StringPtrInput `pulumi:"region"` } diff --git a/sdk/go/scaleway/getDatabasePrivilege.go b/sdk/go/scaleway/getDatabasePrivilege.go index 187f374d..d971484f 100644 --- a/sdk/go/scaleway/getDatabasePrivilege.go +++ b/sdk/go/scaleway/getDatabasePrivilege.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about the privilege on RDB database. +// Gets information about the privileges in a database. // // ## Example Usage // @@ -54,7 +54,7 @@ func LookupDatabasePrivilege(ctx *pulumi.Context, args *LookupDatabasePrivilegeA type LookupDatabasePrivilegeArgs struct { // The database name. DatabaseName string `pulumi:"databaseName"` - // The RDB instance ID. + // The Database Instance ID. InstanceId string `pulumi:"instanceId"` // `region`) The region in which the resource exists. Region *string `pulumi:"region"` @@ -92,7 +92,7 @@ func LookupDatabasePrivilegeOutput(ctx *pulumi.Context, args LookupDatabasePrivi type LookupDatabasePrivilegeOutputArgs struct { // The database name. DatabaseName pulumi.StringInput `pulumi:"databaseName"` - // The RDB instance ID. + // The Database Instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` // `region`) The region in which the resource exists. Region pulumi.StringPtrInput `pulumi:"region"` diff --git a/sdk/go/scaleway/getIamApplication.go b/sdk/go/scaleway/getIamApplication.go index 9ff4e23a..98fc71fb 100644 --- a/sdk/go/scaleway/getIamApplication.go +++ b/sdk/go/scaleway/getIamApplication.go @@ -57,13 +57,13 @@ func LookupIamApplication(ctx *pulumi.Context, args *LookupIamApplicationArgs, o // A collection of arguments for invoking getIamApplication. type LookupIamApplicationArgs struct { // The ID of the IAM application. - // Only one of the `name` and `applicationId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `applicationId`. ApplicationId *string `pulumi:"applicationId"` // The name of the IAM application. - // Only one of the `name` and `applicationId` should be specified. Name *string `pulumi:"name"` // `organizationId`) The ID of the - // organization the application is associated with. + // Organization the application is associated with. OrganizationId *string `pulumi:"organizationId"` } @@ -97,13 +97,13 @@ func LookupIamApplicationOutput(ctx *pulumi.Context, args LookupIamApplicationOu // A collection of arguments for invoking getIamApplication. type LookupIamApplicationOutputArgs struct { // The ID of the IAM application. - // Only one of the `name` and `applicationId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `applicationId`. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` // The name of the IAM application. - // Only one of the `name` and `applicationId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` // `organizationId`) The ID of the - // organization the application is associated with. + // Organization the application is associated with. OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` } diff --git a/sdk/go/scaleway/getIamGroup.go b/sdk/go/scaleway/getIamGroup.go index 5c2455e4..ead36f3b 100644 --- a/sdk/go/scaleway/getIamGroup.go +++ b/sdk/go/scaleway/getIamGroup.go @@ -11,8 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about an existing IAM group. For more information, please -// check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) +// Gets information about an existing IAM group. +// +// For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) // // ## Example Usage // @@ -58,10 +59,10 @@ func LookupIamGroup(ctx *pulumi.Context, args *LookupIamGroupArgs, opts ...pulum // A collection of arguments for invoking getIamGroup. type LookupIamGroupArgs struct { // The ID of the IAM group. - // Only one of the `name` and `groupId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `groupId`. GroupId *string `pulumi:"groupId"` // The name of the IAM group. - // Only one of the `name` and `groupId` should be specified. Name *string `pulumi:"name"` // `organizationId`) The ID of the // organization the group is associated with. @@ -100,10 +101,10 @@ func LookupIamGroupOutput(ctx *pulumi.Context, args LookupIamGroupOutputArgs, op // A collection of arguments for invoking getIamGroup. type LookupIamGroupOutputArgs struct { // The ID of the IAM group. - // Only one of the `name` and `groupId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `groupId`. GroupId pulumi.StringPtrInput `pulumi:"groupId"` // The name of the IAM group. - // Only one of the `name` and `groupId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` // `organizationId`) The ID of the // organization the group is associated with. diff --git a/sdk/go/scaleway/getIamSshKey.go b/sdk/go/scaleway/getIamSshKey.go index 4164e5bb..a5f5d404 100644 --- a/sdk/go/scaleway/getIamSshKey.go +++ b/sdk/go/scaleway/getIamSshKey.go @@ -50,12 +50,14 @@ func LookupIamSshKey(ctx *pulumi.Context, args *LookupIamSshKeyArgs, opts ...pul // A collection of arguments for invoking getIamSshKey. type LookupIamSshKeyArgs struct { - // The SSH key name. Only one of `name` and `sshKeyId` should be specified. + // The SSH key name. Name *string `pulumi:"name"` // `projectId`) The ID of the project the SSH // key is associated with. ProjectId *string `pulumi:"projectId"` - // The SSH key id. Only one of `name` and `sshKeyId` should be specified. + // The SSH key id. + // + // > **Note** You must specify at least one: `name` and/or `sshKeyId`. SshKeyId *string `pulumi:"sshKeyId"` } @@ -94,12 +96,14 @@ func LookupIamSshKeyOutput(ctx *pulumi.Context, args LookupIamSshKeyOutputArgs, // A collection of arguments for invoking getIamSshKey. type LookupIamSshKeyOutputArgs struct { - // The SSH key name. Only one of `name` and `sshKeyId` should be specified. + // The SSH key name. Name pulumi.StringPtrInput `pulumi:"name"` // `projectId`) The ID of the project the SSH // key is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // The SSH key id. Only one of `name` and `sshKeyId` should be specified. + // The SSH key id. + // + // > **Note** You must specify at least one: `name` and/or `sshKeyId`. SshKeyId pulumi.StringPtrInput `pulumi:"sshKeyId"` } diff --git a/sdk/go/scaleway/getIamUser.go b/sdk/go/scaleway/getIamUser.go index 6c1e80c7..20c02515 100644 --- a/sdk/go/scaleway/getIamUser.go +++ b/sdk/go/scaleway/getIamUser.go @@ -12,8 +12,7 @@ import ( ) // Use this data source to get information on an existing IAM user based on its ID or email address. -// For more information, -// see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). +// For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). // // ## Example Usage // @@ -58,12 +57,14 @@ func LookupIamUser(ctx *pulumi.Context, args *LookupIamUserArgs, opts ...pulumi. // A collection of arguments for invoking getIamUser. type LookupIamUserArgs struct { - // The email address of the IAM user. Only one of the `email` and `userId` should be specified. + // The email address of the IAM user. Email *string `pulumi:"email"` // `organizationId`) The ID of the // organization the user is associated with. OrganizationId *string `pulumi:"organizationId"` - // The ID of the IAM user. Only one of the `email` and `userId` should be specified. + // The ID of the IAM user. + // + // > **Note** You must specify at least one: `name` and/or `userId`. UserId *string `pulumi:"userId"` } @@ -91,12 +92,14 @@ func LookupIamUserOutput(ctx *pulumi.Context, args LookupIamUserOutputArgs, opts // A collection of arguments for invoking getIamUser. type LookupIamUserOutputArgs struct { - // The email address of the IAM user. Only one of the `email` and `userId` should be specified. + // The email address of the IAM user. Email pulumi.StringPtrInput `pulumi:"email"` // `organizationId`) The ID of the // organization the user is associated with. OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` - // The ID of the IAM user. Only one of the `email` and `userId` should be specified. + // The ID of the IAM user. + // + // > **Note** You must specify at least one: `name` and/or `userId`. UserId pulumi.StringPtrInput `pulumi:"userId"` } diff --git a/sdk/go/scaleway/getIpamIp.go b/sdk/go/scaleway/getIpamIp.go index eef5aef9..165255f5 100644 --- a/sdk/go/scaleway/getIpamIp.go +++ b/sdk/go/scaleway/getIpamIp.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. +// Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. +// +// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). // // ## Examples // @@ -43,7 +45,7 @@ import ( // // ### Instance Private Network IP // -// Get Instance IP in a private network. +// Get an Instance's IP on a Private Network. // // ```go // package main @@ -141,13 +143,13 @@ func LookupIpamIp(ctx *pulumi.Context, args *LookupIpamIpArgs, opts ...pulumi.In type LookupIpamIpArgs struct { // Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipamIpId`. Attached *bool `pulumi:"attached"` - // The IPAM IP ID. Cannot be used with the rest of the arguments. + // The IPAM IP ID. Cannot be used with any other arguments. IpamIpId *string `pulumi:"ipamIpId"` - // The Mac Address linked to the IP. Cannot be used with `ipamIpId`. + // The MAC address linked to the IP. Cannot be used with `ipamIpId`. MacAddress *string `pulumi:"macAddress"` - // The ID of the private network the IP belong to. Cannot be used with `ipamIpId`. + // The ID of the Private Network the IP belongs to. Cannot be used with `ipamIpId`. PrivateNetworkId *string `pulumi:"privateNetworkId"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId *string `pulumi:"projectId"` // `region`) The region in which the IP exists. Region *string `pulumi:"region"` @@ -157,7 +159,7 @@ type LookupIpamIpArgs struct { // The tags associated with the IP. Cannot be used with `ipamIpId`. // As datasource only returns one IP, the search with given tags must return only one result. Tags []string `pulumi:"tags"` - // The type of IP to search for (ipv4, ipv6). Cannot be used with `ipamIpId`. + // The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipamIpId`. Type *string `pulumi:"type"` // Only IPs that are zonal, and in this zone, will be returned. Zonal *string `pulumi:"zonal"` @@ -167,7 +169,7 @@ type LookupIpamIpArgs struct { type LookupIpamIpResult struct { // The IP address. Address string `pulumi:"address"` - // the IP address with a CIDR notation. + // the IP address in CIDR notation. AddressCidr string `pulumi:"addressCidr"` Attached *bool `pulumi:"attached"` // The provider-assigned unique ID for this managed resource. @@ -201,13 +203,13 @@ func LookupIpamIpOutput(ctx *pulumi.Context, args LookupIpamIpOutputArgs, opts . type LookupIpamIpOutputArgs struct { // Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipamIpId`. Attached pulumi.BoolPtrInput `pulumi:"attached"` - // The IPAM IP ID. Cannot be used with the rest of the arguments. + // The IPAM IP ID. Cannot be used with any other arguments. IpamIpId pulumi.StringPtrInput `pulumi:"ipamIpId"` - // The Mac Address linked to the IP. Cannot be used with `ipamIpId`. + // The MAC address linked to the IP. Cannot be used with `ipamIpId`. MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` - // The ID of the private network the IP belong to. Cannot be used with `ipamIpId`. + // The ID of the Private Network the IP belongs to. Cannot be used with `ipamIpId`. PrivateNetworkId pulumi.StringPtrInput `pulumi:"privateNetworkId"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // `region`) The region in which the IP exists. Region pulumi.StringPtrInput `pulumi:"region"` @@ -217,7 +219,7 @@ type LookupIpamIpOutputArgs struct { // The tags associated with the IP. Cannot be used with `ipamIpId`. // As datasource only returns one IP, the search with given tags must return only one result. Tags pulumi.StringArrayInput `pulumi:"tags"` - // The type of IP to search for (ipv4, ipv6). Cannot be used with `ipamIpId`. + // The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipamIpId`. Type pulumi.StringPtrInput `pulumi:"type"` // Only IPs that are zonal, and in this zone, will be returned. Zonal pulumi.StringPtrInput `pulumi:"zonal"` @@ -247,7 +249,7 @@ func (o LookupIpamIpResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupIpamIpResult) string { return v.Address }).(pulumi.StringOutput) } -// the IP address with a CIDR notation. +// the IP address in CIDR notation. func (o LookupIpamIpResultOutput) AddressCidr() pulumi.StringOutput { return o.ApplyT(func(v LookupIpamIpResult) string { return v.AddressCidr }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getIpamIps.go b/sdk/go/scaleway/getIpamIps.go index 60e868db..6d96c871 100644 --- a/sdk/go/scaleway/getIpamIps.go +++ b/sdk/go/scaleway/getIpamIps.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about multiple IPs managed by IPAM service. +// Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. +// +// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). // // ## Examples // @@ -111,19 +113,19 @@ func GetIpamIps(ctx *pulumi.Context, args *GetIpamIpsArgs, opts ...pulumi.Invoke type GetIpamIpsArgs struct { // Defines whether to filter only for IPs which are attached to a resource. Attached *bool `pulumi:"attached"` - // The Mac Address used as filter. + // The linked MAC address to filter for. MacAddress *string `pulumi:"macAddress"` - // The ID of the private network used as filter. + // The ID of the Private Network to filter for. PrivateNetworkId *string `pulumi:"privateNetworkId"` - // The ID of the project used as filter. + // The ID of the Project to filter for. ProjectId *string `pulumi:"projectId"` - // The region used as filter. + // The region to filter for. Region *string `pulumi:"region"` - // Filter by resource ID, type or name. + // Filter for a resource attached to the IP, using resource ID, type or name. Resource *GetIpamIpsResource `pulumi:"resource"` - // The tags used as filter. + // The IP tags to filter for. Tags []string `pulumi:"tags"` - // The type of IP used as filter (ipv4, ipv6). + // The type of IP to filter for (`ipv4` or `ipv6`). Type *string `pulumi:"type"` // Only IPs that are zonal, and in this zone, will be returned. Zonal *string `pulumi:"zonal"` @@ -134,17 +136,17 @@ type GetIpamIpsResult struct { Attached *bool `pulumi:"attached"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // List of found IPs + // List of found IPs. Ips []GetIpamIpsIp `pulumi:"ips"` - // The mac address. + // The associated MAC address. MacAddress *string `pulumi:"macAddress"` OrganizationId string `pulumi:"organizationId"` PrivateNetworkId *string `pulumi:"privateNetworkId"` - // The ID of the project the server is associated with. + // The ID of the Project the resource is associated with. ProjectId string `pulumi:"projectId"` - // The region in which the IP is. + // The region of the IP. Region string `pulumi:"region"` - // The list of public IPs of the server. + // The list of public IPs attached to the resource. Resource *GetIpamIpsResource `pulumi:"resource"` // The tags associated with the IP. Tags []string `pulumi:"tags"` @@ -170,19 +172,19 @@ func GetIpamIpsOutput(ctx *pulumi.Context, args GetIpamIpsOutputArgs, opts ...pu type GetIpamIpsOutputArgs struct { // Defines whether to filter only for IPs which are attached to a resource. Attached pulumi.BoolPtrInput `pulumi:"attached"` - // The Mac Address used as filter. + // The linked MAC address to filter for. MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` - // The ID of the private network used as filter. + // The ID of the Private Network to filter for. PrivateNetworkId pulumi.StringPtrInput `pulumi:"privateNetworkId"` - // The ID of the project used as filter. + // The ID of the Project to filter for. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // The region used as filter. + // The region to filter for. Region pulumi.StringPtrInput `pulumi:"region"` - // Filter by resource ID, type or name. + // Filter for a resource attached to the IP, using resource ID, type or name. Resource GetIpamIpsResourcePtrInput `pulumi:"resource"` - // The tags used as filter. + // The IP tags to filter for. Tags pulumi.StringArrayInput `pulumi:"tags"` - // The type of IP used as filter (ipv4, ipv6). + // The type of IP to filter for (`ipv4` or `ipv6`). Type pulumi.StringPtrInput `pulumi:"type"` // Only IPs that are zonal, and in this zone, will be returned. Zonal pulumi.StringPtrInput `pulumi:"zonal"` @@ -216,12 +218,12 @@ func (o GetIpamIpsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsResult) string { return v.Id }).(pulumi.StringOutput) } -// List of found IPs +// List of found IPs. func (o GetIpamIpsResultOutput) Ips() GetIpamIpsIpArrayOutput { return o.ApplyT(func(v GetIpamIpsResult) []GetIpamIpsIp { return v.Ips }).(GetIpamIpsIpArrayOutput) } -// The mac address. +// The associated MAC address. func (o GetIpamIpsResultOutput) MacAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpsResult) *string { return v.MacAddress }).(pulumi.StringPtrOutput) } @@ -234,17 +236,17 @@ func (o GetIpamIpsResultOutput) PrivateNetworkId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpsResult) *string { return v.PrivateNetworkId }).(pulumi.StringPtrOutput) } -// The ID of the project the server is associated with. +// The ID of the Project the resource is associated with. func (o GetIpamIpsResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsResult) string { return v.ProjectId }).(pulumi.StringOutput) } -// The region in which the IP is. +// The region of the IP. func (o GetIpamIpsResultOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsResult) string { return v.Region }).(pulumi.StringOutput) } -// The list of public IPs of the server. +// The list of public IPs attached to the resource. func (o GetIpamIpsResultOutput) Resource() GetIpamIpsResourcePtrOutput { return o.ApplyT(func(v GetIpamIpsResult) *GetIpamIpsResource { return v.Resource }).(GetIpamIpsResourcePtrOutput) } diff --git a/sdk/go/scaleway/getLbAcls.go b/sdk/go/scaleway/getLbAcls.go index 411009b2..88ed83c7 100644 --- a/sdk/go/scaleway/getLbAcls.go +++ b/sdk/go/scaleway/getLbAcls.go @@ -13,6 +13,8 @@ import ( // Gets information about multiple Load Balancer ACLs. // +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). +// // ## Example Usage // // ```go @@ -57,19 +59,19 @@ func GetLbAcls(ctx *pulumi.Context, args *GetLbAclsArgs, opts ...pulumi.InvokeOp // A collection of arguments for invoking getLbAcls. type GetLbAclsArgs struct { - // The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - // > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` FrontendId string `pulumi:"frontendId"` - // The ACL name used as filter. ACLs with a name like it are listed. + // The ACL name to filter for. ACLs with a matching name are listed. Name *string `pulumi:"name"` ProjectId *string `pulumi:"projectId"` - // `zone`) The zone in which ACLs exist. + // `zone`) The zone in which the ACLs exist. Zone *string `pulumi:"zone"` } // A collection of values returned by getLbAcls. type GetLbAclsResult struct { - // List of found ACLs + // List of retrieved ACLs Acls []GetLbAclsAcl `pulumi:"acls"` FrontendId string `pulumi:"frontendId"` // The provider-assigned unique ID for this managed resource. @@ -95,13 +97,13 @@ func GetLbAclsOutput(ctx *pulumi.Context, args GetLbAclsOutputArgs, opts ...pulu // A collection of arguments for invoking getLbAcls. type GetLbAclsOutputArgs struct { - // The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - // > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` FrontendId pulumi.StringInput `pulumi:"frontendId"` - // The ACL name used as filter. ACLs with a name like it are listed. + // The ACL name to filter for. ACLs with a matching name are listed. Name pulumi.StringPtrInput `pulumi:"name"` ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `zone`) The zone in which ACLs exist. + // `zone`) The zone in which the ACLs exist. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -124,7 +126,7 @@ func (o GetLbAclsResultOutput) ToGetLbAclsResultOutputWithContext(ctx context.Co return o } -// List of found ACLs +// List of retrieved ACLs func (o GetLbAclsResultOutput) Acls() GetLbAclsAclArrayOutput { return o.ApplyT(func(v GetLbAclsResult) []GetLbAclsAcl { return v.Acls }).(GetLbAclsAclArrayOutput) } diff --git a/sdk/go/scaleway/getLbBackend.go b/sdk/go/scaleway/getLbBackend.go index 0de61402..f92d008f 100644 --- a/sdk/go/scaleway/getLbBackend.go +++ b/sdk/go/scaleway/getLbBackend.go @@ -11,8 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Get information about Scaleway Load-Balancer Backends. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). +// Get information about Scaleway Load Balancer backends. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). // // ## Example Usage // @@ -71,13 +72,13 @@ func GetLbBackend(ctx *pulumi.Context, args *GetLbBackendArgs, opts ...pulumi.In // A collection of arguments for invoking getLbBackend. type GetLbBackendArgs struct { - // The backend id. + // The backend ID. // - Only one of `name` and `backendId` should be specified. BackendId *string `pulumi:"backendId"` - // The load-balancer ID this backend is attached to. + // Load Balancer ID this backend is attached to. LbId *string `pulumi:"lbId"` // The name of the backend. - // - When using the `name` you should specify the `lb-id` + // - When using `name` you should specify the `lb-id` Name *string `pulumi:"name"` } @@ -133,13 +134,13 @@ func GetLbBackendOutput(ctx *pulumi.Context, args GetLbBackendOutputArgs, opts . // A collection of arguments for invoking getLbBackend. type GetLbBackendOutputArgs struct { - // The backend id. + // The backend ID. // - Only one of `name` and `backendId` should be specified. BackendId pulumi.StringPtrInput `pulumi:"backendId"` - // The load-balancer ID this backend is attached to. + // Load Balancer ID this backend is attached to. LbId pulumi.StringPtrInput `pulumi:"lbId"` // The name of the backend. - // - When using the `name` you should specify the `lb-id` + // - When using `name` you should specify the `lb-id` Name pulumi.StringPtrInput `pulumi:"name"` } diff --git a/sdk/go/scaleway/getLbBackends.go b/sdk/go/scaleway/getLbBackends.go index 717e381d..a700071e 100644 --- a/sdk/go/scaleway/getLbBackends.go +++ b/sdk/go/scaleway/getLbBackends.go @@ -13,6 +13,8 @@ import ( // Gets information about multiple Load Balancer Backends. // +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). +// // ## Example Usage // // ```go @@ -57,9 +59,9 @@ func GetLbBackends(ctx *pulumi.Context, args *GetLbBackendsArgs, opts ...pulumi. // A collection of arguments for invoking getLbBackends. type GetLbBackendsArgs struct { - // The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + // The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. LbId string `pulumi:"lbId"` - // The backend name used as filter. Backends with a name like it are listed. + // The backend name to filter for. Backends with a matching name are listed. Name *string `pulumi:"name"` ProjectId *string `pulumi:"projectId"` // `zone`) The zone in which backends exist. @@ -68,7 +70,7 @@ type GetLbBackendsArgs struct { // A collection of values returned by getLbBackends. type GetLbBackendsResult struct { - // List of found backends + // List of retrieved backends Backends []GetLbBackendsBackend `pulumi:"backends"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` @@ -94,9 +96,9 @@ func GetLbBackendsOutput(ctx *pulumi.Context, args GetLbBackendsOutputArgs, opts // A collection of arguments for invoking getLbBackends. type GetLbBackendsOutputArgs struct { - // The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + // The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. LbId pulumi.StringInput `pulumi:"lbId"` - // The backend name used as filter. Backends with a name like it are listed. + // The backend name to filter for. Backends with a matching name are listed. Name pulumi.StringPtrInput `pulumi:"name"` ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // `zone`) The zone in which backends exist. @@ -122,7 +124,7 @@ func (o GetLbBackendsResultOutput) ToGetLbBackendsResultOutputWithContext(ctx co return o } -// List of found backends +// List of retrieved backends func (o GetLbBackendsResultOutput) Backends() GetLbBackendsBackendArrayOutput { return o.ApplyT(func(v GetLbBackendsResult) []GetLbBackendsBackend { return v.Backends }).(GetLbBackendsBackendArrayOutput) } diff --git a/sdk/go/scaleway/getLbFrontend.go b/sdk/go/scaleway/getLbFrontend.go index 4942a298..82b97cc6 100644 --- a/sdk/go/scaleway/getLbFrontend.go +++ b/sdk/go/scaleway/getLbFrontend.go @@ -11,8 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Get information about Scaleway Load-Balancer Frontends. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). +// Get information about Scaleway Load Balancer frontends. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). // // ## Example Usage // @@ -80,10 +81,10 @@ func GetLbFrontend(ctx *pulumi.Context, args *GetLbFrontendArgs, opts ...pulumi. // A collection of arguments for invoking getLbFrontend. type GetLbFrontendArgs struct { - // The frontend id. + // The frontend ID. // - Only one of `name` and `frontendId` should be specified. FrontendId *string `pulumi:"frontendId"` - // The load-balancer ID this frontend is attached to. + // The Load Balancer ID this frontend is attached to. LbId *string `pulumi:"lbId"` // The name of the frontend. // - When using the `name` you should specify the `lb-id` @@ -122,10 +123,10 @@ func GetLbFrontendOutput(ctx *pulumi.Context, args GetLbFrontendOutputArgs, opts // A collection of arguments for invoking getLbFrontend. type GetLbFrontendOutputArgs struct { - // The frontend id. + // The frontend ID. // - Only one of `name` and `frontendId` should be specified. FrontendId pulumi.StringPtrInput `pulumi:"frontendId"` - // The load-balancer ID this frontend is attached to. + // The Load Balancer ID this frontend is attached to. LbId pulumi.StringPtrInput `pulumi:"lbId"` // The name of the frontend. // - When using the `name` you should specify the `lb-id` diff --git a/sdk/go/scaleway/getLbFrontends.go b/sdk/go/scaleway/getLbFrontends.go index dfad679f..dad11ea3 100644 --- a/sdk/go/scaleway/getLbFrontends.go +++ b/sdk/go/scaleway/getLbFrontends.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about multiple Load Balancer Frontends. +// Gets information about multiple Load Balancer frontends. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). // // ## Example Usage // @@ -57,18 +59,18 @@ func GetLbFrontends(ctx *pulumi.Context, args *GetLbFrontendsArgs, opts ...pulum // A collection of arguments for invoking getLbFrontends. type GetLbFrontendsArgs struct { - // The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + // The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. LbId string `pulumi:"lbId"` - // The frontend name used as filter. Frontends with a name like it are listed. + // The frontend name to filter for. Frontends with a matching name are listed. Name *string `pulumi:"name"` ProjectId *string `pulumi:"projectId"` - // `zone`) The zone in which frontends exist. + // `zone`) The zone in which the frontends exist. Zone *string `pulumi:"zone"` } // A collection of values returned by getLbFrontends. type GetLbFrontendsResult struct { - // List of found frontends + // List of retrieved frontends Frontends []GetLbFrontendsFrontend `pulumi:"frontends"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` @@ -94,12 +96,12 @@ func GetLbFrontendsOutput(ctx *pulumi.Context, args GetLbFrontendsOutputArgs, op // A collection of arguments for invoking getLbFrontends. type GetLbFrontendsOutputArgs struct { - // The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + // The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. LbId pulumi.StringInput `pulumi:"lbId"` - // The frontend name used as filter. Frontends with a name like it are listed. + // The frontend name to filter for. Frontends with a matching name are listed. Name pulumi.StringPtrInput `pulumi:"name"` ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `zone`) The zone in which frontends exist. + // `zone`) The zone in which the frontends exist. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -122,7 +124,7 @@ func (o GetLbFrontendsResultOutput) ToGetLbFrontendsResultOutputWithContext(ctx return o } -// List of found frontends +// List of retrieved frontends func (o GetLbFrontendsResultOutput) Frontends() GetLbFrontendsFrontendArrayOutput { return o.ApplyT(func(v GetLbFrontendsResult) []GetLbFrontendsFrontend { return v.Frontends }).(GetLbFrontendsFrontendArrayOutput) } diff --git a/sdk/go/scaleway/getLbIps.go b/sdk/go/scaleway/getLbIps.go index e5bba306..af1fd084 100644 --- a/sdk/go/scaleway/getLbIps.go +++ b/sdk/go/scaleway/getLbIps.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about multiple Load Balancer IPs. +// Gets information about multiple Load Balancer IP addresses. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). // // ## Example Usage // @@ -51,11 +53,11 @@ func GetLbIps(ctx *pulumi.Context, args *GetLbIpsArgs, opts ...pulumi.InvokeOpti // A collection of arguments for invoking getLbIps. type GetLbIpsArgs struct { - // The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + // The IP CIDR range to filter for. IPs within a matching CIDR block are listed. IpCidrRange *string `pulumi:"ipCidrRange"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId *string `pulumi:"projectId"` - // `zone`) The zone in which IPs exist. + // `zone`) The zone in which the IPs exist. Zone *string `pulumi:"zone"` } @@ -64,13 +66,13 @@ type GetLbIpsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IpCidrRange *string `pulumi:"ipCidrRange"` - // List of found IPs + // List of retrieved IPs Ips []GetLbIpsIp `pulumi:"ips"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId string `pulumi:"projectId"` - // The zone in which the load-balancer is. + // The zone of the Load Balancer. Zone string `pulumi:"zone"` } @@ -89,11 +91,11 @@ func GetLbIpsOutput(ctx *pulumi.Context, args GetLbIpsOutputArgs, opts ...pulumi // A collection of arguments for invoking getLbIps. type GetLbIpsOutputArgs struct { - // The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + // The IP CIDR range to filter for. IPs within a matching CIDR block are listed. IpCidrRange pulumi.StringPtrInput `pulumi:"ipCidrRange"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `zone`) The zone in which IPs exist. + // `zone`) The zone in which the IPs exist. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -125,22 +127,22 @@ func (o GetLbIpsResultOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v GetLbIpsResult) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) } -// List of found IPs +// List of retrieved IPs func (o GetLbIpsResultOutput) Ips() GetLbIpsIpArrayOutput { return o.ApplyT(func(v GetLbIpsResult) []GetLbIpsIp { return v.Ips }).(GetLbIpsIpArrayOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization the Load Balancer is associated with. func (o GetLbIpsResultOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsResult) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the load-balancer is associated with. +// The ID of the Project the Load Balancer is associated with. func (o GetLbIpsResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsResult) string { return v.ProjectId }).(pulumi.StringOutput) } -// The zone in which the load-balancer is. +// The zone of the Load Balancer. func (o GetLbIpsResultOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsResult) string { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getLbRoute.go b/sdk/go/scaleway/getLbRoute.go index 60470579..bd649c9f 100644 --- a/sdk/go/scaleway/getLbRoute.go +++ b/sdk/go/scaleway/getLbRoute.go @@ -11,8 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Get information about Scaleway Load-Balancer Routes. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). +// Get information about Scaleway Load Balancer routes. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). // // ## Example Usage // @@ -84,7 +85,7 @@ func GetLbRoute(ctx *pulumi.Context, args *GetLbRouteArgs, opts ...pulumi.Invoke // A collection of arguments for invoking getLbRoute. type GetLbRouteArgs struct { - // The route id. + // The route ID. RouteId string `pulumi:"routeId"` } @@ -116,7 +117,7 @@ func GetLbRouteOutput(ctx *pulumi.Context, args GetLbRouteOutputArgs, opts ...pu // A collection of arguments for invoking getLbRoute. type GetLbRouteOutputArgs struct { - // The route id. + // The route ID. RouteId pulumi.StringInput `pulumi:"routeId"` } diff --git a/sdk/go/scaleway/getLbRoutes.go b/sdk/go/scaleway/getLbRoutes.go index 5c0fd388..a2bb0d98 100644 --- a/sdk/go/scaleway/getLbRoutes.go +++ b/sdk/go/scaleway/getLbRoutes.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about multiple Load Balancer Routes. +// Gets information about multiple Load Balancer routes. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). // // ## Example Usage // @@ -57,10 +59,10 @@ func GetLbRoutes(ctx *pulumi.Context, args *GetLbRoutesArgs, opts ...pulumi.Invo // A collection of arguments for invoking getLbRoutes. type GetLbRoutesArgs struct { - // The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + // The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. FrontendId *string `pulumi:"frontendId"` ProjectId *string `pulumi:"projectId"` - // `zone`) The zone in which routes exist. + // `zone`) The zone in which the routes exist. Zone *string `pulumi:"zone"` } @@ -71,7 +73,7 @@ type GetLbRoutesResult struct { Id string `pulumi:"id"` OrganizationId string `pulumi:"organizationId"` ProjectId string `pulumi:"projectId"` - // List of found routes + // List of retrieved routes Routes []GetLbRoutesRoute `pulumi:"routes"` Zone string `pulumi:"zone"` } @@ -91,10 +93,10 @@ func GetLbRoutesOutput(ctx *pulumi.Context, args GetLbRoutesOutputArgs, opts ... // A collection of arguments for invoking getLbRoutes. type GetLbRoutesOutputArgs struct { - // The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + // The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. FrontendId pulumi.StringPtrInput `pulumi:"frontendId"` ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `zone`) The zone in which routes exist. + // `zone`) The zone in which the routes exist. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -134,7 +136,7 @@ func (o GetLbRoutesResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesResult) string { return v.ProjectId }).(pulumi.StringOutput) } -// List of found routes +// List of retrieved routes func (o GetLbRoutesResultOutput) Routes() GetLbRoutesRouteArrayOutput { return o.ApplyT(func(v GetLbRoutesResult) []GetLbRoutesRoute { return v.Routes }).(GetLbRoutesRouteArrayOutput) } diff --git a/sdk/go/scaleway/getLbs.go b/sdk/go/scaleway/getLbs.go index f9a8e3ec..59be616a 100644 --- a/sdk/go/scaleway/getLbs.go +++ b/sdk/go/scaleway/getLbs.go @@ -13,6 +13,8 @@ import ( // Gets information about multiple Load Balancers. // +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). +// // ## Example Usage // // ```go @@ -59,13 +61,13 @@ func GetLbs(ctx *pulumi.Context, args *GetLbsArgs, opts ...pulumi.InvokeOption) // A collection of arguments for invoking getLbs. type GetLbsArgs struct { - // The load balancer name used as a filter. LBs with a name like it are listed. + // The Load Balancer name to filter for. Load Balancers with a matching name are listed. Name *string `pulumi:"name"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId *string `pulumi:"projectId"` - // List of tags used as filter. LBs with these exact tags are listed. + // List of tags to filter for. Load Balancers with these exact tags are listed. Tags []string `pulumi:"tags"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone *string `pulumi:"zone"` } @@ -73,17 +75,17 @@ type GetLbsArgs struct { type GetLbsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // List of found LBs + // List of retrieved Load Balancers Lbs []GetLbsLb `pulumi:"lbs"` - // The name of the load-balancer. + // The name of the Load Balancer. Name *string `pulumi:"name"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId string `pulumi:"projectId"` - // The tags associated with the load-balancer. + // The tags associated with the Load Balancer. Tags []string `pulumi:"tags"` - // The zone in which the load-balancer is. + // The zone of the Load Balancer. Zone string `pulumi:"zone"` } @@ -102,13 +104,13 @@ func GetLbsOutput(ctx *pulumi.Context, args GetLbsOutputArgs, opts ...pulumi.Inv // A collection of arguments for invoking getLbs. type GetLbsOutputArgs struct { - // The load balancer name used as a filter. LBs with a name like it are listed. + // The Load Balancer name to filter for. Load Balancers with a matching name are listed. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // List of tags used as filter. LBs with these exact tags are listed. + // List of tags to filter for. Load Balancers with these exact tags are listed. Tags pulumi.StringArrayInput `pulumi:"tags"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -136,32 +138,32 @@ func (o GetLbsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbsResult) string { return v.Id }).(pulumi.StringOutput) } -// List of found LBs +// List of retrieved Load Balancers func (o GetLbsResultOutput) Lbs() GetLbsLbArrayOutput { return o.ApplyT(func(v GetLbsResult) []GetLbsLb { return v.Lbs }).(GetLbsLbArrayOutput) } -// The name of the load-balancer. +// The name of the Load Balancer. func (o GetLbsResultOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GetLbsResult) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization the Load Balancer is associated with. func (o GetLbsResultOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsResult) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the load-balancer is associated with. +// The ID of the Project the Load Balancer is associated with. func (o GetLbsResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsResult) string { return v.ProjectId }).(pulumi.StringOutput) } -// The tags associated with the load-balancer. +// The tags associated with the Load Balancer. func (o GetLbsResultOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbsResult) []string { return v.Tags }).(pulumi.StringArrayOutput) } -// The zone in which the load-balancer is. +// The zone of the Load Balancer. func (o GetLbsResultOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbsResult) string { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getLoadbalancer.go b/sdk/go/scaleway/getLoadbalancer.go index aa857732..7bda87c7 100644 --- a/sdk/go/scaleway/getLoadbalancer.go +++ b/sdk/go/scaleway/getLoadbalancer.go @@ -13,6 +13,8 @@ import ( // Gets information about a Load Balancer. // +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). +// // ## Example Usage // // ```go @@ -57,12 +59,12 @@ func LookupLoadbalancer(ctx *pulumi.Context, args *LookupLoadbalancerArgs, opts // A collection of arguments for invoking getLoadbalancer. type LookupLoadbalancerArgs struct { LbId *string `pulumi:"lbId"` - // The load balancer name. + // The Load Balancer name. Name *string `pulumi:"name"` - // The ID of the project the LB is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId *string `pulumi:"projectId"` ReleaseIp *bool `pulumi:"releaseIp"` - // (Defaults to provider `zone`) The zone in which the LB exists. + // (Defaults to provider `zone`) The zone in which the Load Balancer exists. Zone *string `pulumi:"zone"` } @@ -73,7 +75,7 @@ type LookupLoadbalancerResult struct { Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // The load-balancer public IP Address. + // The Load Balancer public IP address. IpAddress string `pulumi:"ipAddress"` IpId string `pulumi:"ipId"` IpIds []string `pulumi:"ipIds"` @@ -86,11 +88,11 @@ type LookupLoadbalancerResult struct { Region string `pulumi:"region"` ReleaseIp *bool `pulumi:"releaseIp"` SslCompatibilityLevel string `pulumi:"sslCompatibilityLevel"` - // The tags associated with the load-balancer. + // The tags associated with the Load Balancer. Tags []string `pulumi:"tags"` - // The type of the load-balancer. + // The Load Balancer type. Type string `pulumi:"type"` - // (Defaults to provider `zone`) The zone in which the LB exists. + // (Defaults to provider `zone`) The zone in which the Load Balancer exists. Zone *string `pulumi:"zone"` } @@ -110,12 +112,12 @@ func LookupLoadbalancerOutput(ctx *pulumi.Context, args LookupLoadbalancerOutput // A collection of arguments for invoking getLoadbalancer. type LookupLoadbalancerOutputArgs struct { LbId pulumi.StringPtrInput `pulumi:"lbId"` - // The load balancer name. + // The Load Balancer name. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the project the LB is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` ReleaseIp pulumi.BoolPtrInput `pulumi:"releaseIp"` - // (Defaults to provider `zone`) The zone in which the LB exists. + // (Defaults to provider `zone`) The zone in which the Load Balancer exists. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -155,7 +157,7 @@ func (o LookupLoadbalancerResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.Id }).(pulumi.StringOutput) } -// The load-balancer public IP Address. +// The Load Balancer public IP address. func (o LookupLoadbalancerResultOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.IpAddress }).(pulumi.StringOutput) } @@ -204,17 +206,17 @@ func (o LookupLoadbalancerResultOutput) SslCompatibilityLevel() pulumi.StringOut return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.SslCompatibilityLevel }).(pulumi.StringOutput) } -// The tags associated with the load-balancer. +// The tags associated with the Load Balancer. func (o LookupLoadbalancerResultOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupLoadbalancerResult) []string { return v.Tags }).(pulumi.StringArrayOutput) } -// The type of the load-balancer. +// The Load Balancer type. func (o LookupLoadbalancerResultOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.Type }).(pulumi.StringOutput) } -// (Defaults to provider `zone`) The zone in which the LB exists. +// (Defaults to provider `zone`) The zone in which the Load Balancer exists. func (o LookupLoadbalancerResultOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupLoadbalancerResult) *string { return v.Zone }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/scaleway/getLoadbalancerCertificate.go b/sdk/go/scaleway/getLoadbalancerCertificate.go index 42d14bb0..7ec87e0b 100644 --- a/sdk/go/scaleway/getLoadbalancerCertificate.go +++ b/sdk/go/scaleway/getLoadbalancerCertificate.go @@ -11,11 +11,11 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Get information about Scaleway Load-Balancer Certificates. +// Get information about Scaleway Load Balancer certificates. // -// This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. +// This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. // -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). // // ## Examples func LookupLoadbalancerCertificate(ctx *pulumi.Context, args *LookupLoadbalancerCertificateArgs, opts ...pulumi.InvokeOption) (*LookupLoadbalancerCertificateResult, error) { @@ -30,12 +30,12 @@ func LookupLoadbalancerCertificate(ctx *pulumi.Context, args *LookupLoadbalancer // A collection of arguments for invoking getLoadbalancerCertificate. type LookupLoadbalancerCertificateArgs struct { - // The certificate id. + // The certificate ID. // - Only one of `name` and `certificateId` should be specified. CertificateId *string `pulumi:"certificateId"` - // The load-balancer ID this certificate is attached to. + // The Load Balancer ID this certificate is attached to. LbId *string `pulumi:"lbId"` - // The name of the certificate backend. + // The name of the Load Balancer certificate. // - When using a certificate `name` you should specify the `lb-id` Name *string `pulumi:"name"` } @@ -72,12 +72,12 @@ func LookupLoadbalancerCertificateOutput(ctx *pulumi.Context, args LookupLoadbal // A collection of arguments for invoking getLoadbalancerCertificate. type LookupLoadbalancerCertificateOutputArgs struct { - // The certificate id. + // The certificate ID. // - Only one of `name` and `certificateId` should be specified. CertificateId pulumi.StringPtrInput `pulumi:"certificateId"` - // The load-balancer ID this certificate is attached to. + // The Load Balancer ID this certificate is attached to. LbId pulumi.StringPtrInput `pulumi:"lbId"` - // The name of the certificate backend. + // The name of the Load Balancer certificate. // - When using a certificate `name` you should specify the `lb-id` Name pulumi.StringPtrInput `pulumi:"name"` } diff --git a/sdk/go/scaleway/getLoadbalancerIp.go b/sdk/go/scaleway/getLoadbalancerIp.go index 32631130..316d66f3 100644 --- a/sdk/go/scaleway/getLoadbalancerIp.go +++ b/sdk/go/scaleway/getLoadbalancerIp.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a Load Balancer IP. +// Gets information about a Load Balancer IP address. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). // // ## Example Usage // @@ -56,7 +58,7 @@ type LookupLoadbalancerIpArgs struct { // The IP ID. // Only one of `ipAddress` and `ipId` should be specified. IpId *string `pulumi:"ipId"` - // The ID of the project the LB IP associated with. + // The ID of the Project the Load Balancer IP is associated with. ProjectId *string `pulumi:"projectId"` } @@ -67,9 +69,9 @@ type LookupLoadbalancerIpResult struct { IpAddress *string `pulumi:"ipAddress"` IpId *string `pulumi:"ipId"` IsIpv6 bool `pulumi:"isIpv6"` - // The associated load-balancer ID if any + // The ID of the associated Load Balancer, if any LbId string `pulumi:"lbId"` - // (Defaults to provider `organizationId`) The ID of the organization the LB IP is associated with. + // (Defaults to provider `organizationId`) The ID of the Organization the Load Balancer IP is associated with. OrganizationId string `pulumi:"organizationId"` ProjectId string `pulumi:"projectId"` Region string `pulumi:"region"` @@ -99,7 +101,7 @@ type LookupLoadbalancerIpOutputArgs struct { // The IP ID. // Only one of `ipAddress` and `ipId` should be specified. IpId pulumi.StringPtrInput `pulumi:"ipId"` - // The ID of the project the LB IP associated with. + // The ID of the Project the Load Balancer IP is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` } @@ -139,12 +141,12 @@ func (o LookupLoadbalancerIpResultOutput) IsIpv6() pulumi.BoolOutput { return o.ApplyT(func(v LookupLoadbalancerIpResult) bool { return v.IsIpv6 }).(pulumi.BoolOutput) } -// The associated load-balancer ID if any +// The ID of the associated Load Balancer, if any func (o LookupLoadbalancerIpResultOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerIpResult) string { return v.LbId }).(pulumi.StringOutput) } -// (Defaults to provider `organizationId`) The ID of the organization the LB IP is associated with. +// (Defaults to provider `organizationId`) The ID of the Organization the Load Balancer IP is associated with. func (o LookupLoadbalancerIpResultOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerIpResult) string { return v.OrganizationId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getMnqSqs.go b/sdk/go/scaleway/getMnqSqs.go index 2321d725..d5332353 100644 --- a/sdk/go/scaleway/getMnqSqs.go +++ b/sdk/go/scaleway/getMnqSqs.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about SQS for a project +// Gets information about SQS for a Project // // ## Examples // @@ -56,15 +56,15 @@ func LookupMnqSqs(ctx *pulumi.Context, args *LookupMnqSqsArgs, opts ...pulumi.In // A collection of arguments for invoking getMnqSqs. type LookupMnqSqsArgs struct { - // `projectId`) The ID of the project for which sqs is enabled. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region *string `pulumi:"region"` } // A collection of values returned by getMnqSqs. type LookupMnqSqsResult struct { - // The endpoint of the SQS service for this project. + // The endpoint of the SQS service for this Project. Endpoint string `pulumi:"endpoint"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` @@ -87,9 +87,9 @@ func LookupMnqSqsOutput(ctx *pulumi.Context, args LookupMnqSqsOutputArgs, opts . // A collection of arguments for invoking getMnqSqs. type LookupMnqSqsOutputArgs struct { - // `projectId`) The ID of the project for which sqs is enabled. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringPtrInput `pulumi:"region"` } @@ -112,7 +112,7 @@ func (o LookupMnqSqsResultOutput) ToLookupMnqSqsResultOutputWithContext(ctx cont return o } -// The endpoint of the SQS service for this project. +// The endpoint of the SQS service for this Project. func (o LookupMnqSqsResultOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupMnqSqsResult) string { return v.Endpoint }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getRedisCluster.go b/sdk/go/scaleway/getRedisCluster.go index acb59ad2..6412bb02 100644 --- a/sdk/go/scaleway/getRedisCluster.go +++ b/sdk/go/scaleway/getRedisCluster.go @@ -11,7 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) +// Gets information about a Redis™ cluster. +// +// For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). // // ## Example Usage // @@ -51,10 +53,10 @@ func LookupRedisCluster(ctx *pulumi.Context, args *LookupRedisClusterArgs, opts // A collection of arguments for invoking getRedisCluster. type LookupRedisClusterArgs struct { // The Redis cluster ID. - // Only one of the `name` and `clusterId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `clusterId`. ClusterId *string `pulumi:"clusterId"` // The name of the Redis cluster. - // Only one of the `name` and `clusterId` should be specified. Name *string `pulumi:"name"` // The ID of the project the Redis cluster is associated with. ProjectId *string `pulumi:"projectId"` @@ -64,26 +66,40 @@ type LookupRedisClusterArgs struct { // A collection of values returned by getRedisCluster. type LookupRedisClusterResult struct { - Acls []GetRedisClusterAcl `pulumi:"acls"` - Certificate string `pulumi:"certificate"` - ClusterId *string `pulumi:"clusterId"` - ClusterSize int `pulumi:"clusterSize"` - CreatedAt string `pulumi:"createdAt"` + // List of acl rules. + Acls []GetRedisClusterAcl `pulumi:"acls"` + // The PEM of the certificate used by redis, only when `tlsEnabled` is true. + Certificate string `pulumi:"certificate"` + ClusterId *string `pulumi:"clusterId"` + // The number of nodes in the Redis Cluster. + ClusterSize int `pulumi:"clusterSize"` + // The date and time of creation of the Redis Cluster. + CreatedAt string `pulumi:"createdAt"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - Name *string `pulumi:"name"` - NodeType string `pulumi:"nodeType"` - Password string `pulumi:"password"` + Id string `pulumi:"id"` + Name *string `pulumi:"name"` + // The type of Redis Cluster (e.g. `RED1-M`). + NodeType string `pulumi:"nodeType"` + // Password of the first user of the Redis Cluster. + Password string `pulumi:"password"` + // List of private networks endpoints of the Redis Cluster. PrivateNetworks []GetRedisClusterPrivateNetwork `pulumi:"privateNetworks"` ProjectId *string `pulumi:"projectId"` - PublicNetworks []GetRedisClusterPublicNetwork `pulumi:"publicNetworks"` - Settings map[string]string `pulumi:"settings"` - Tags []string `pulumi:"tags"` - TlsEnabled bool `pulumi:"tlsEnabled"` - UpdatedAt string `pulumi:"updatedAt"` - UserName string `pulumi:"userName"` - Version string `pulumi:"version"` - Zone *string `pulumi:"zone"` + // Public network details. + PublicNetworks []GetRedisClusterPublicNetwork `pulumi:"publicNetworks"` + // Map of settings for redis cluster. + Settings map[string]string `pulumi:"settings"` + // The tags associated with the Redis Cluster. + Tags []string `pulumi:"tags"` + // Whether TLS is enabled or not. + TlsEnabled bool `pulumi:"tlsEnabled"` + // The date and time of the last update of the Redis Cluster. + UpdatedAt string `pulumi:"updatedAt"` + // The first user of the Redis Cluster. + UserName string `pulumi:"userName"` + // Redis's Cluster version (e.g. `6.2.7`). + Version string `pulumi:"version"` + Zone *string `pulumi:"zone"` } func LookupRedisClusterOutput(ctx *pulumi.Context, args LookupRedisClusterOutputArgs, opts ...pulumi.InvokeOption) LookupRedisClusterResultOutput { @@ -102,10 +118,10 @@ func LookupRedisClusterOutput(ctx *pulumi.Context, args LookupRedisClusterOutput // A collection of arguments for invoking getRedisCluster. type LookupRedisClusterOutputArgs struct { // The Redis cluster ID. - // Only one of the `name` and `clusterId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `clusterId`. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // The name of the Redis cluster. - // Only one of the `name` and `clusterId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` // The ID of the project the Redis cluster is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` @@ -132,10 +148,12 @@ func (o LookupRedisClusterResultOutput) ToLookupRedisClusterResultOutputWithCont return o } +// List of acl rules. func (o LookupRedisClusterResultOutput) Acls() GetRedisClusterAclArrayOutput { return o.ApplyT(func(v LookupRedisClusterResult) []GetRedisClusterAcl { return v.Acls }).(GetRedisClusterAclArrayOutput) } +// The PEM of the certificate used by redis, only when `tlsEnabled` is true. func (o LookupRedisClusterResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.Certificate }).(pulumi.StringOutput) } @@ -144,10 +162,12 @@ func (o LookupRedisClusterResultOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupRedisClusterResult) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } +// The number of nodes in the Redis Cluster. func (o LookupRedisClusterResultOutput) ClusterSize() pulumi.IntOutput { return o.ApplyT(func(v LookupRedisClusterResult) int { return v.ClusterSize }).(pulumi.IntOutput) } +// The date and time of creation of the Redis Cluster. func (o LookupRedisClusterResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.CreatedAt }).(pulumi.StringOutput) } @@ -161,14 +181,17 @@ func (o LookupRedisClusterResultOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupRedisClusterResult) *string { return v.Name }).(pulumi.StringPtrOutput) } +// The type of Redis Cluster (e.g. `RED1-M`). func (o LookupRedisClusterResultOutput) NodeType() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.NodeType }).(pulumi.StringOutput) } +// Password of the first user of the Redis Cluster. func (o LookupRedisClusterResultOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.Password }).(pulumi.StringOutput) } +// List of private networks endpoints of the Redis Cluster. func (o LookupRedisClusterResultOutput) PrivateNetworks() GetRedisClusterPrivateNetworkArrayOutput { return o.ApplyT(func(v LookupRedisClusterResult) []GetRedisClusterPrivateNetwork { return v.PrivateNetworks }).(GetRedisClusterPrivateNetworkArrayOutput) } @@ -177,30 +200,37 @@ func (o LookupRedisClusterResultOutput) ProjectId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupRedisClusterResult) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } +// Public network details. func (o LookupRedisClusterResultOutput) PublicNetworks() GetRedisClusterPublicNetworkArrayOutput { return o.ApplyT(func(v LookupRedisClusterResult) []GetRedisClusterPublicNetwork { return v.PublicNetworks }).(GetRedisClusterPublicNetworkArrayOutput) } +// Map of settings for redis cluster. func (o LookupRedisClusterResultOutput) Settings() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRedisClusterResult) map[string]string { return v.Settings }).(pulumi.StringMapOutput) } +// The tags associated with the Redis Cluster. func (o LookupRedisClusterResultOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupRedisClusterResult) []string { return v.Tags }).(pulumi.StringArrayOutput) } +// Whether TLS is enabled or not. func (o LookupRedisClusterResultOutput) TlsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupRedisClusterResult) bool { return v.TlsEnabled }).(pulumi.BoolOutput) } +// The date and time of the last update of the Redis Cluster. func (o LookupRedisClusterResultOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.UpdatedAt }).(pulumi.StringOutput) } +// The first user of the Redis Cluster. func (o LookupRedisClusterResultOutput) UserName() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.UserName }).(pulumi.StringOutput) } +// Redis's Cluster version (e.g. `6.2.7`). func (o LookupRedisClusterResultOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v LookupRedisClusterResult) string { return v.Version }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/getRegistryImage.go b/sdk/go/scaleway/getRegistryImage.go index ca42ee4b..b4aa7c59 100644 --- a/sdk/go/scaleway/getRegistryImage.go +++ b/sdk/go/scaleway/getRegistryImage.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a registry image. +// Gets information about a Container Registry image. // // ## Example Usage // @@ -52,10 +52,10 @@ func GetRegistryImage(ctx *pulumi.Context, args *GetRegistryImageArgs, opts ...p // A collection of arguments for invoking getRegistryImage. type GetRegistryImageArgs struct { // The image ID. - // Only one of `name` and `imageId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `imageId`. ImageId *string `pulumi:"imageId"` // The image name. - // Only one of `name` and `imageId` should be specified. Name *string `pulumi:"name"` // The namespace ID in which the image is. NamespaceId *string `pulumi:"namespaceId"` @@ -104,10 +104,10 @@ func GetRegistryImageOutput(ctx *pulumi.Context, args GetRegistryImageOutputArgs // A collection of arguments for invoking getRegistryImage. type GetRegistryImageOutputArgs struct { // The image ID. - // Only one of `name` and `imageId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `imageId`. ImageId pulumi.StringPtrInput `pulumi:"imageId"` // The image name. - // Only one of `name` and `imageId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` // The namespace ID in which the image is. NamespaceId pulumi.StringPtrInput `pulumi:"namespaceId"` diff --git a/sdk/go/scaleway/getRegistryNamespace.go b/sdk/go/scaleway/getRegistryNamespace.go index f65eb63f..4f0326a9 100644 --- a/sdk/go/scaleway/getRegistryNamespace.go +++ b/sdk/go/scaleway/getRegistryNamespace.go @@ -51,10 +51,10 @@ func LookupRegistryNamespace(ctx *pulumi.Context, args *LookupRegistryNamespaceA // A collection of arguments for invoking getRegistryNamespace. type LookupRegistryNamespaceArgs struct { // The namespace name. - // Only one of `name` and `namespaceId` should be specified. Name *string `pulumi:"name"` // The namespace id. - // Only one of `name` and `namespaceId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `imageId`. NamespaceId *string `pulumi:"namespaceId"` // `projectId`) The ID of the project the namespace is associated with. ProjectId *string `pulumi:"projectId"` @@ -95,10 +95,10 @@ func LookupRegistryNamespaceOutput(ctx *pulumi.Context, args LookupRegistryNames // A collection of arguments for invoking getRegistryNamespace. type LookupRegistryNamespaceOutputArgs struct { // The namespace name. - // Only one of `name` and `namespaceId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` // The namespace id. - // Only one of `name` and `namespaceId` should be specified. + // + // > **Note** You must specify at least one: `name` and/or `imageId`. NamespaceId pulumi.StringPtrInput `pulumi:"namespaceId"` // `projectId`) The ID of the project the namespace is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` diff --git a/sdk/go/scaleway/getVpc.go b/sdk/go/scaleway/getVpc.go index 0c767bb5..53728256 100644 --- a/sdk/go/scaleway/getVpc.go +++ b/sdk/go/scaleway/getVpc.go @@ -62,16 +62,16 @@ func LookupVpc(ctx *pulumi.Context, args *LookupVpcArgs, opts ...pulumi.InvokeOp // A collection of arguments for invoking getVpc. type LookupVpcArgs struct { - // To get default VPC's information. + // Whether the targeted VPC is the default VPC. IsDefault *bool `pulumi:"isDefault"` - // Name of the VPC. One of `name` and `vpcId` should be specified. + // Name of the VPC. A maximum of one of `name` and `vpcId` should be specified. Name *string `pulumi:"name"` - // The ID of the organization the VPC is associated with. + // The ID of the Organization the VPC is associated with. OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId *string `pulumi:"projectId"` Region *string `pulumi:"region"` - // ID of the VPC. One of `name` and `vpcId` should be specified. + // ID of the VPC. A maximum of one of `name` and `vpcId` should be specified. VpcId *string `pulumi:"vpcId"` } @@ -106,16 +106,16 @@ func LookupVpcOutput(ctx *pulumi.Context, args LookupVpcOutputArgs, opts ...pulu // A collection of arguments for invoking getVpc. type LookupVpcOutputArgs struct { - // To get default VPC's information. + // Whether the targeted VPC is the default VPC. IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - // Name of the VPC. One of `name` and `vpcId` should be specified. + // Name of the VPC. A maximum of one of `name` and `vpcId` should be specified. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the organization the VPC is associated with. + // The ID of the Organization the VPC is associated with. OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` Region pulumi.StringPtrInput `pulumi:"region"` - // ID of the VPC. One of `name` and `vpcId` should be specified. + // ID of the VPC. A maximum of one of `name` and `vpcId` should be specified. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` } diff --git a/sdk/go/scaleway/getVpcGatewayNetwork.go b/sdk/go/scaleway/getVpcGatewayNetwork.go index 3305880b..63dba215 100644 --- a/sdk/go/scaleway/getVpcGatewayNetwork.go +++ b/sdk/go/scaleway/getVpcGatewayNetwork.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a gateway network. +// Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). // // ## Example Usage // @@ -64,17 +64,11 @@ func LookupVpcGatewayNetwork(ctx *pulumi.Context, args *LookupVpcGatewayNetworkA // A collection of arguments for invoking getVpcGatewayNetwork. type LookupVpcGatewayNetworkArgs struct { - // ID of the public gateway DHCP config - DhcpId *string `pulumi:"dhcpId"` - // If masquerade is enabled on requested network - EnableMasquerade *bool `pulumi:"enableMasquerade"` - // ID of the public gateway the gateway network is linked to - GatewayId *string `pulumi:"gatewayId"` - // ID of the gateway network. - // - // > Only one of `gatewayNetworkId` or filters should be specified. You can use all the filters you want. + DhcpId *string `pulumi:"dhcpId"` + EnableMasquerade *bool `pulumi:"enableMasquerade"` + GatewayId *string `pulumi:"gatewayId"` + // ID of the GatewayNetwork. GatewayNetworkId *string `pulumi:"gatewayNetworkId"` - // ID of the private network the gateway network is linked to PrivateNetworkId *string `pulumi:"privateNetworkId"` } @@ -113,17 +107,11 @@ func LookupVpcGatewayNetworkOutput(ctx *pulumi.Context, args LookupVpcGatewayNet // A collection of arguments for invoking getVpcGatewayNetwork. type LookupVpcGatewayNetworkOutputArgs struct { - // ID of the public gateway DHCP config - DhcpId pulumi.StringPtrInput `pulumi:"dhcpId"` - // If masquerade is enabled on requested network - EnableMasquerade pulumi.BoolPtrInput `pulumi:"enableMasquerade"` - // ID of the public gateway the gateway network is linked to - GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"` - // ID of the gateway network. - // - // > Only one of `gatewayNetworkId` or filters should be specified. You can use all the filters you want. + DhcpId pulumi.StringPtrInput `pulumi:"dhcpId"` + EnableMasquerade pulumi.BoolPtrInput `pulumi:"enableMasquerade"` + GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"` + // ID of the GatewayNetwork. GatewayNetworkId pulumi.StringPtrInput `pulumi:"gatewayNetworkId"` - // ID of the private network the gateway network is linked to PrivateNetworkId pulumi.StringPtrInput `pulumi:"privateNetworkId"` } diff --git a/sdk/go/scaleway/getVpcPrivateNetwork.go b/sdk/go/scaleway/getVpcPrivateNetwork.go index 7aa78205..1012bad6 100644 --- a/sdk/go/scaleway/getVpcPrivateNetwork.go +++ b/sdk/go/scaleway/getVpcPrivateNetwork.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a private network. +// Gets information about a Private Network. // // ## Example Usage // @@ -63,14 +63,14 @@ func LookupVpcPrivateNetwork(ctx *pulumi.Context, args *LookupVpcPrivateNetworkA // A collection of arguments for invoking getVpcPrivateNetwork. type LookupVpcPrivateNetworkArgs struct { - // Name of the private network. Cannot be used with `privateNetworkId`. + // Name of the Private Network. Cannot be used with `privateNetworkId`. Name *string `pulumi:"name"` - // ID of the private network. Cannot be used with `name` and `vpcId`. + // ID of the Private Network. Cannot be used with `name` or `vpcId`. PrivateNetworkId *string `pulumi:"privateNetworkId"` - // The ID of the project the private network is associated with. + // The ID of the Project the Private Network is associated with. ProjectId *string `pulumi:"projectId"` Region *string `pulumi:"region"` - // ID of the VPC in which the private network is. Cannot be used with `privateNetworkId`. + // ID of the VPC the Private Network is in. Cannot be used with `privateNetworkId`. VpcId *string `pulumi:"vpcId"` } @@ -79,9 +79,9 @@ type LookupVpcPrivateNetworkResult struct { CreatedAt string `pulumi:"createdAt"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // The IPv4 subnet associated with the private network. + // The IPv4 subnet associated with the Private Network. Ipv4Subnets []GetVpcPrivateNetworkIpv4Subnet `pulumi:"ipv4Subnets"` - // The IPv6 subnets associated with the private network. + // The IPv6 subnets associated with the Private Network. Ipv6Subnets []GetVpcPrivateNetworkIpv6Subnet `pulumi:"ipv6Subnets"` IsRegional bool `pulumi:"isRegional"` Name *string `pulumi:"name"` @@ -110,14 +110,14 @@ func LookupVpcPrivateNetworkOutput(ctx *pulumi.Context, args LookupVpcPrivateNet // A collection of arguments for invoking getVpcPrivateNetwork. type LookupVpcPrivateNetworkOutputArgs struct { - // Name of the private network. Cannot be used with `privateNetworkId`. + // Name of the Private Network. Cannot be used with `privateNetworkId`. Name pulumi.StringPtrInput `pulumi:"name"` - // ID of the private network. Cannot be used with `name` and `vpcId`. + // ID of the Private Network. Cannot be used with `name` or `vpcId`. PrivateNetworkId pulumi.StringPtrInput `pulumi:"privateNetworkId"` - // The ID of the project the private network is associated with. + // The ID of the Project the Private Network is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` Region pulumi.StringPtrInput `pulumi:"region"` - // ID of the VPC in which the private network is. Cannot be used with `privateNetworkId`. + // ID of the VPC the Private Network is in. Cannot be used with `privateNetworkId`. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` } @@ -149,12 +149,12 @@ func (o LookupVpcPrivateNetworkResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupVpcPrivateNetworkResult) string { return v.Id }).(pulumi.StringOutput) } -// The IPv4 subnet associated with the private network. +// The IPv4 subnet associated with the Private Network. func (o LookupVpcPrivateNetworkResultOutput) Ipv4Subnets() GetVpcPrivateNetworkIpv4SubnetArrayOutput { return o.ApplyT(func(v LookupVpcPrivateNetworkResult) []GetVpcPrivateNetworkIpv4Subnet { return v.Ipv4Subnets }).(GetVpcPrivateNetworkIpv4SubnetArrayOutput) } -// The IPv6 subnets associated with the private network. +// The IPv6 subnets associated with the Private Network. func (o LookupVpcPrivateNetworkResultOutput) Ipv6Subnets() GetVpcPrivateNetworkIpv6SubnetArrayOutput { return o.ApplyT(func(v LookupVpcPrivateNetworkResult) []GetVpcPrivateNetworkIpv6Subnet { return v.Ipv6Subnets }).(GetVpcPrivateNetworkIpv6SubnetArrayOutput) } diff --git a/sdk/go/scaleway/getVpcPublicGateway.go b/sdk/go/scaleway/getVpcPublicGateway.go index 72d99a19..9d6b591a 100644 --- a/sdk/go/scaleway/getVpcPublicGateway.go +++ b/sdk/go/scaleway/getVpcPublicGateway.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a public gateway. +// Gets information about a Public Gateway. // // ## Example Usage // @@ -58,13 +58,12 @@ func LookupVpcPublicGateway(ctx *pulumi.Context, args *LookupVpcPublicGatewayArg // A collection of arguments for invoking getVpcPublicGateway. type LookupVpcPublicGatewayArgs struct { - // Exact name of the public gateway. + // Exact name of the Public Gateway. Name *string `pulumi:"name"` - // The ID of the project the public gateway is associated with. + // The ID of the Project the Public Gateway is associated with. ProjectId *string `pulumi:"projectId"` PublicGatewayId *string `pulumi:"publicGatewayId"` - // `zone`) The zone in which - // the public gateway should be created. + // `zone`) The Public Gateway's zone. Zone *string `pulumi:"zone"` } @@ -105,13 +104,12 @@ func LookupVpcPublicGatewayOutput(ctx *pulumi.Context, args LookupVpcPublicGatew // A collection of arguments for invoking getVpcPublicGateway. type LookupVpcPublicGatewayOutputArgs struct { - // Exact name of the public gateway. + // Exact name of the Public Gateway. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the project the public gateway is associated with. + // The ID of the Project the Public Gateway is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` PublicGatewayId pulumi.StringPtrInput `pulumi:"publicGatewayId"` - // `zone`) The zone in which - // the public gateway should be created. + // `zone`) The Public Gateway's zone. Zone pulumi.StringPtrInput `pulumi:"zone"` } diff --git a/sdk/go/scaleway/getVpcPublicGatewayDhcp.go b/sdk/go/scaleway/getVpcPublicGatewayDhcp.go index d816e436..8454a211 100644 --- a/sdk/go/scaleway/getVpcPublicGatewayDhcp.go +++ b/sdk/go/scaleway/getVpcPublicGatewayDhcp.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a public gateway DHCP. +// Gets information about a Public Gateway DHCP configuration. // // ## Example Usage // diff --git a/sdk/go/scaleway/getVpcPublicGatewayDhcpReservation.go b/sdk/go/scaleway/getVpcPublicGatewayDhcpReservation.go index 6acbd6d9..4d9f778c 100644 --- a/sdk/go/scaleway/getVpcPublicGatewayDhcpReservation.go +++ b/sdk/go/scaleway/getVpcPublicGatewayDhcpReservation.go @@ -11,8 +11,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a dhcp entries. For further information please check the -// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) +// Gets information about a DHCP entry. For further information, please see the +// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ // // ## Example Dynamic // @@ -84,7 +84,7 @@ import ( // // ``` // -// ## Example Static and PAT rule +// ## Example Static and PAT Rule // // ```go // package main @@ -203,11 +203,11 @@ type LookupVpcPublicGatewayDhcpReservationArgs struct { GatewayNetworkId *string `pulumi:"gatewayNetworkId"` // The MAC address of the reservation to retrieve. MacAddress *string `pulumi:"macAddress"` - // The ID of the Reservation to retrieve. + // The ID of the reservation (DHCP entry) to retrieve. ReservationId *string `pulumi:"reservationId"` - // Boolean to wait for macAddress to exist in dhcp. + // Whether to wait for `macAddress` to exist in DHCP. WaitForDhcp *bool `pulumi:"waitForDhcp"` - // `zone`) The zone in which the image exists. + // `zone`). The zone in which the reservation exists. Zone *string `pulumi:"zone"` } @@ -248,11 +248,11 @@ type LookupVpcPublicGatewayDhcpReservationOutputArgs struct { GatewayNetworkId pulumi.StringPtrInput `pulumi:"gatewayNetworkId"` // The MAC address of the reservation to retrieve. MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` - // The ID of the Reservation to retrieve. + // The ID of the reservation (DHCP entry) to retrieve. ReservationId pulumi.StringPtrInput `pulumi:"reservationId"` - // Boolean to wait for macAddress to exist in dhcp. + // Whether to wait for `macAddress` to exist in DHCP. WaitForDhcp pulumi.BoolPtrInput `pulumi:"waitForDhcp"` - // `zone`) The zone in which the image exists. + // `zone`). The zone in which the reservation exists. Zone pulumi.StringPtrInput `pulumi:"zone"` } diff --git a/sdk/go/scaleway/getVpcPublicGatewayIp.go b/sdk/go/scaleway/getVpcPublicGatewayIp.go index 890be520..376dae03 100644 --- a/sdk/go/scaleway/getVpcPublicGatewayIp.go +++ b/sdk/go/scaleway/getVpcPublicGatewayIp.go @@ -11,9 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a public gateway IP. +// Gets information about a Public Gateway public flexible IP address. // -// For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) +// For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). // // ## Example Usage // diff --git a/sdk/go/scaleway/getVpcPublicPatRule.go b/sdk/go/scaleway/getVpcPublicPatRule.go index 368b0b1e..aa66e5c3 100644 --- a/sdk/go/scaleway/getVpcPublicPatRule.go +++ b/sdk/go/scaleway/getVpcPublicPatRule.go @@ -11,8 +11,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Gets information about a public gateway PAT rule. For further information please check the -// API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) +// Gets information about a Public Gateway PAT rule. For further information, please see the +// API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). // // ## Example Usage // @@ -129,26 +129,26 @@ type GetVpcPublicPatRuleArgs struct { // The ID of the PAT rule to retrieve PatRuleId string `pulumi:"patRuleId"` // `zone`) The zone in which - // the image exists. + // the rule exists. Zone *string `pulumi:"zone"` } // A collection of values returned by getVpcPublicPatRule. type GetVpcPublicPatRuleResult struct { CreatedAt string `pulumi:"createdAt"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId string `pulumi:"gatewayId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OrganizationId string `pulumi:"organizationId"` PatRuleId string `pulumi:"patRuleId"` - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp string `pulumi:"privateIp"` - // The Private port to translate to. + // The private port to translate to. PrivatePort int `pulumi:"privatePort"` - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol string `pulumi:"protocol"` - // The Public port to listen on. + // The public port to listen on. PublicPort int `pulumi:"publicPort"` UpdatedAt string `pulumi:"updatedAt"` Zone *string `pulumi:"zone"` @@ -172,7 +172,7 @@ type GetVpcPublicPatRuleOutputArgs struct { // The ID of the PAT rule to retrieve PatRuleId pulumi.StringInput `pulumi:"patRuleId"` // `zone`) The zone in which - // the image exists. + // the rule exists. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -199,7 +199,7 @@ func (o GetVpcPublicPatRuleResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the public gateway. +// The ID of the Public Gateway. func (o GetVpcPublicPatRuleResultOutput) GatewayId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) string { return v.GatewayId }).(pulumi.StringOutput) } @@ -217,22 +217,22 @@ func (o GetVpcPublicPatRuleResultOutput) PatRuleId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) string { return v.PatRuleId }).(pulumi.StringOutput) } -// The Private IP to forward data to (IP address). +// The private IP address to forward data to. func (o GetVpcPublicPatRuleResultOutput) PrivateIp() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) string { return v.PrivateIp }).(pulumi.StringOutput) } -// The Private port to translate to. +// The private port to translate to. func (o GetVpcPublicPatRuleResultOutput) PrivatePort() pulumi.IntOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) int { return v.PrivatePort }).(pulumi.IntOutput) } -// The Protocol the rule should apply to. Possible values are both, tcp and udp. +// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. func (o GetVpcPublicPatRuleResultOutput) Protocol() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) string { return v.Protocol }).(pulumi.StringOutput) } -// The Public port to listen on. +// The public port to listen on. func (o GetVpcPublicPatRuleResultOutput) PublicPort() pulumi.IntOutput { return o.ApplyT(func(v GetVpcPublicPatRuleResult) int { return v.PublicPort }).(pulumi.IntOutput) } diff --git a/sdk/go/scaleway/getVpcs.go b/sdk/go/scaleway/getVpcs.go index 153b19b8..1e1a0964 100644 --- a/sdk/go/scaleway/getVpcs.go +++ b/sdk/go/scaleway/getVpcs.go @@ -51,13 +51,13 @@ func GetVpcs(ctx *pulumi.Context, args *GetVpcsArgs, opts ...pulumi.InvokeOption // A collection of arguments for invoking getVpcs. type GetVpcsArgs struct { - // The VPC name used as filter. VPCs with a name like it are listed. + // The VPC name to filter for. VPCs with a similar name are listed. Name *string `pulumi:"name"` - // The ID of the project the VPC is associated with. + // The ID of the Project the VPC is associated with. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which vpcs exist. + // `region`). The region in which the VPCs exist. Region *string `pulumi:"region"` - // List of tags used as filter. VPCs with these exact tags are listed. + // List of tags to filter for. VPCs with these exact tags are listed. Tags []string `pulumi:"tags"` } @@ -66,13 +66,13 @@ type GetVpcsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name *string `pulumi:"name"` - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the VPC is associated with. + // The ID of the Project the VPC is associated with. ProjectId string `pulumi:"projectId"` Region string `pulumi:"region"` Tags []string `pulumi:"tags"` - // List of found vpcs + // List of retrieved VPCs Vpcs []GetVpcsVpc `pulumi:"vpcs"` } @@ -91,13 +91,13 @@ func GetVpcsOutput(ctx *pulumi.Context, args GetVpcsOutputArgs, opts ...pulumi.I // A collection of arguments for invoking getVpcs. type GetVpcsOutputArgs struct { - // The VPC name used as filter. VPCs with a name like it are listed. + // The VPC name to filter for. VPCs with a similar name are listed. Name pulumi.StringPtrInput `pulumi:"name"` - // The ID of the project the VPC is associated with. + // The ID of the Project the VPC is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // `region`). The region in which vpcs exist. + // `region`). The region in which the VPCs exist. Region pulumi.StringPtrInput `pulumi:"region"` - // List of tags used as filter. VPCs with these exact tags are listed. + // List of tags to filter for. VPCs with these exact tags are listed. Tags pulumi.StringArrayInput `pulumi:"tags"` } @@ -129,12 +129,12 @@ func (o GetVpcsResultOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GetVpcsResult) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The organization ID the VPC is associated with. +// The Organization ID the VPC is associated with. func (o GetVpcsResultOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsResult) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the VPC is associated with. +// The ID of the Project the VPC is associated with. func (o GetVpcsResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsResult) string { return v.ProjectId }).(pulumi.StringOutput) } @@ -147,7 +147,7 @@ func (o GetVpcsResultOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v GetVpcsResult) []string { return v.Tags }).(pulumi.StringArrayOutput) } -// List of found vpcs +// List of retrieved VPCs func (o GetVpcsResultOutput) Vpcs() GetVpcsVpcArrayOutput { return o.ApplyT(func(v GetVpcsResult) []GetVpcsVpc { return v.Vpcs }).(GetVpcsVpcArrayOutput) } diff --git a/sdk/go/scaleway/iamApiKey.go b/sdk/go/scaleway/iamApiKey.go index 11c2950d..dc2b6d41 100644 --- a/sdk/go/scaleway/iamApiKey.go +++ b/sdk/go/scaleway/iamApiKey.go @@ -11,11 +11,12 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway IAM API Keys. For more information, please -// check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae) +// Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae). // // ## Example Usage // +// ### With application +// // ```go // package main // @@ -45,6 +46,39 @@ import ( // // ``` // +// ### With user +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// mainIamUser, err := scaleway.NewIamUser(ctx, "mainIamUser", &scaleway.IamUserArgs{ +// Email: pulumi.String("test@test.com"), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewIamApiKey(ctx, "mainIamApiKey", &scaleway.IamApiKeyArgs{ +// UserId: mainIamUser.ID(), +// Description: pulumi.String("a description"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Api keys can be imported using the `{id}`, e.g. @@ -57,30 +91,29 @@ import ( type IamApiKey struct { pulumi.CustomResourceState - // The access key of the iam api key. + // The access key of the IAM API key. AccessKey pulumi.StringOutput `pulumi:"accessKey"` - // ID of the application attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the application attached to the API key. ApplicationId pulumi.StringPtrOutput `pulumi:"applicationId"` - // The date and time of the creation of the iam api key. + // The date and time of the creation of the IAM API key. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The IP Address of the device which created the API key. CreationIp pulumi.StringOutput `pulumi:"creationIp"` - // The default project ID to use with object storage. + // The default Project ID to use with Object Storage. DefaultProjectId pulumi.StringOutput `pulumi:"defaultProjectId"` - // The description of the iam api key. + // The description of the API key. Description pulumi.StringPtrOutput `pulumi:"description"` - // Whether the iam api key is editable. + // Whether the IAM API key is editable. Editable pulumi.BoolOutput `pulumi:"editable"` - // The date and time of the expiration of the iam api key. Please note that in case of change, + // The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"` - // The secret Key of the iam api key. + // The secret Key of the IAM API key. SecretKey pulumi.StringOutput `pulumi:"secretKey"` - // The date and time of the last update of the iam api key. + // The date and time of the last update of the IAM API key. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // ID of the user attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the user attached to the API key. + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrOutput `pulumi:"userId"` } @@ -118,58 +151,56 @@ func GetIamApiKey(ctx *pulumi.Context, // Input properties used for looking up and filtering IamApiKey resources. type iamApiKeyState struct { - // The access key of the iam api key. + // The access key of the IAM API key. AccessKey *string `pulumi:"accessKey"` - // ID of the application attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the application attached to the API key. ApplicationId *string `pulumi:"applicationId"` - // The date and time of the creation of the iam api key. + // The date and time of the creation of the IAM API key. CreatedAt *string `pulumi:"createdAt"` // The IP Address of the device which created the API key. CreationIp *string `pulumi:"creationIp"` - // The default project ID to use with object storage. + // The default Project ID to use with Object Storage. DefaultProjectId *string `pulumi:"defaultProjectId"` - // The description of the iam api key. + // The description of the API key. Description *string `pulumi:"description"` - // Whether the iam api key is editable. + // Whether the IAM API key is editable. Editable *bool `pulumi:"editable"` - // The date and time of the expiration of the iam api key. Please note that in case of change, + // The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. ExpiresAt *string `pulumi:"expiresAt"` - // The secret Key of the iam api key. + // The secret Key of the IAM API key. SecretKey *string `pulumi:"secretKey"` - // The date and time of the last update of the iam api key. + // The date and time of the last update of the IAM API key. UpdatedAt *string `pulumi:"updatedAt"` - // ID of the user attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the user attached to the API key. + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId *string `pulumi:"userId"` } type IamApiKeyState struct { - // The access key of the iam api key. + // The access key of the IAM API key. AccessKey pulumi.StringPtrInput - // ID of the application attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the application attached to the API key. ApplicationId pulumi.StringPtrInput - // The date and time of the creation of the iam api key. + // The date and time of the creation of the IAM API key. CreatedAt pulumi.StringPtrInput // The IP Address of the device which created the API key. CreationIp pulumi.StringPtrInput - // The default project ID to use with object storage. + // The default Project ID to use with Object Storage. DefaultProjectId pulumi.StringPtrInput - // The description of the iam api key. + // The description of the API key. Description pulumi.StringPtrInput - // Whether the iam api key is editable. + // Whether the IAM API key is editable. Editable pulumi.BoolPtrInput - // The date and time of the expiration of the iam api key. Please note that in case of change, + // The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. ExpiresAt pulumi.StringPtrInput - // The secret Key of the iam api key. + // The secret Key of the IAM API key. SecretKey pulumi.StringPtrInput - // The date and time of the last update of the iam api key. + // The date and time of the last update of the IAM API key. UpdatedAt pulumi.StringPtrInput - // ID of the user attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the user attached to the API key. + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrInput } @@ -178,35 +209,33 @@ func (IamApiKeyState) ElementType() reflect.Type { } type iamApiKeyArgs struct { - // ID of the application attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the application attached to the API key. ApplicationId *string `pulumi:"applicationId"` - // The default project ID to use with object storage. + // The default Project ID to use with Object Storage. DefaultProjectId *string `pulumi:"defaultProjectId"` - // The description of the iam api key. + // The description of the API key. Description *string `pulumi:"description"` - // The date and time of the expiration of the iam api key. Please note that in case of change, + // The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. ExpiresAt *string `pulumi:"expiresAt"` - // ID of the user attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the user attached to the API key. + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId *string `pulumi:"userId"` } // The set of arguments for constructing a IamApiKey resource. type IamApiKeyArgs struct { - // ID of the application attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the application attached to the API key. ApplicationId pulumi.StringPtrInput - // The default project ID to use with object storage. + // The default Project ID to use with Object Storage. DefaultProjectId pulumi.StringPtrInput - // The description of the iam api key. + // The description of the API key. Description pulumi.StringPtrInput - // The date and time of the expiration of the iam api key. Please note that in case of change, + // The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. ExpiresAt pulumi.StringPtrInput - // ID of the user attached to the api key. - // Only one of the `applicationId` and `userId` should be specified. + // ID of the user attached to the API key. + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrInput } @@ -297,18 +326,17 @@ func (o IamApiKeyOutput) ToIamApiKeyOutputWithContext(ctx context.Context) IamAp return o } -// The access key of the iam api key. +// The access key of the IAM API key. func (o IamApiKeyOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.AccessKey }).(pulumi.StringOutput) } -// ID of the application attached to the api key. -// Only one of the `applicationId` and `userId` should be specified. +// ID of the application attached to the API key. func (o IamApiKeyOutput) ApplicationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringPtrOutput { return v.ApplicationId }).(pulumi.StringPtrOutput) } -// The date and time of the creation of the iam api key. +// The date and time of the creation of the IAM API key. func (o IamApiKeyOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } @@ -318,39 +346,39 @@ func (o IamApiKeyOutput) CreationIp() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.CreationIp }).(pulumi.StringOutput) } -// The default project ID to use with object storage. +// The default Project ID to use with Object Storage. func (o IamApiKeyOutput) DefaultProjectId() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.DefaultProjectId }).(pulumi.StringOutput) } -// The description of the iam api key. +// The description of the API key. func (o IamApiKeyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// Whether the iam api key is editable. +// Whether the IAM API key is editable. func (o IamApiKeyOutput) Editable() pulumi.BoolOutput { return o.ApplyT(func(v *IamApiKey) pulumi.BoolOutput { return v.Editable }).(pulumi.BoolOutput) } -// The date and time of the expiration of the iam api key. Please note that in case of change, +// The date and time of the expiration of the IAM API key. Please note that in case of any changes, // the resource will be recreated. func (o IamApiKeyOutput) ExpiresAt() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringPtrOutput { return v.ExpiresAt }).(pulumi.StringPtrOutput) } -// The secret Key of the iam api key. +// The secret Key of the IAM API key. func (o IamApiKeyOutput) SecretKey() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.SecretKey }).(pulumi.StringOutput) } -// The date and time of the last update of the iam api key. +// The date and time of the last update of the IAM API key. func (o IamApiKeyOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// ID of the user attached to the api key. -// Only one of the `applicationId` and `userId` should be specified. +// ID of the user attached to the API key. +// > **Note** You must specify at least one: `applicationId` and/or `userId`. func (o IamApiKeyOutput) UserId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamApiKey) pulumi.StringPtrOutput { return v.UserId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/scaleway/iamApplication.go b/sdk/go/scaleway/iamApplication.go index 1d4349cd..bd49a590 100644 --- a/sdk/go/scaleway/iamApplication.go +++ b/sdk/go/scaleway/iamApplication.go @@ -11,7 +11,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). +// Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). // // ## Example Usage // diff --git a/sdk/go/scaleway/iamGroup.go b/sdk/go/scaleway/iamGroup.go index c062c403..aaf1fba6 100644 --- a/sdk/go/scaleway/iamGroup.go +++ b/sdk/go/scaleway/iamGroup.go @@ -12,7 +12,7 @@ import ( ) // Creates and manages Scaleway IAM Groups. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). +// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). // // ## Example Usage // diff --git a/sdk/go/scaleway/iamGroupMembership.go b/sdk/go/scaleway/iamGroupMembership.go index 3dba166b..a4fc8cb0 100644 --- a/sdk/go/scaleway/iamGroupMembership.go +++ b/sdk/go/scaleway/iamGroupMembership.go @@ -13,7 +13,7 @@ import ( ) // Add members to an IAM group. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). +// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). // // ## Example Usage // @@ -76,7 +76,7 @@ type IamGroupMembership struct { GroupId pulumi.StringOutput `pulumi:"groupId"` // The ID of the user that will be added to the group // - // - > Only one of `applicationId` or `userId` must be specified + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrOutput `pulumi:"userId"` } @@ -119,7 +119,7 @@ type iamGroupMembershipState struct { GroupId *string `pulumi:"groupId"` // The ID of the user that will be added to the group // - // - > Only one of `applicationId` or `userId` must be specified + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId *string `pulumi:"userId"` } @@ -130,7 +130,7 @@ type IamGroupMembershipState struct { GroupId pulumi.StringPtrInput // The ID of the user that will be added to the group // - // - > Only one of `applicationId` or `userId` must be specified + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrInput } @@ -145,7 +145,7 @@ type iamGroupMembershipArgs struct { GroupId string `pulumi:"groupId"` // The ID of the user that will be added to the group // - // - > Only one of `applicationId` or `userId` must be specified + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId *string `pulumi:"userId"` } @@ -157,7 +157,7 @@ type IamGroupMembershipArgs struct { GroupId pulumi.StringInput // The ID of the user that will be added to the group // - // - > Only one of `applicationId` or `userId` must be specified + // > **Note** You must specify at least one: `applicationId` and/or `userId`. UserId pulumi.StringPtrInput } @@ -260,7 +260,7 @@ func (o IamGroupMembershipOutput) GroupId() pulumi.StringOutput { // The ID of the user that will be added to the group // -// - > Only one of `applicationId` or `userId` must be specified +// > **Note** You must specify at least one: `applicationId` and/or `userId`. func (o IamGroupMembershipOutput) UserId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamGroupMembership) pulumi.StringPtrOutput { return v.UserId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/scaleway/iamPolicy.go b/sdk/go/scaleway/iamPolicy.go index 93ebd987..e712a347 100644 --- a/sdk/go/scaleway/iamPolicy.go +++ b/sdk/go/scaleway/iamPolicy.go @@ -12,7 +12,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7). +// Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy). // // > You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/). // @@ -116,31 +116,31 @@ import ( type IamPolicy struct { pulumi.CustomResourceState - // ID of the Application the policy will be linked to + // ID of the application the policy will be linked to ApplicationId pulumi.StringPtrOutput `pulumi:"applicationId"` // The date and time of the creation of the policy. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The description of the iam policy. + // The description of the IAM policy. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether the policy is editable. Editable pulumi.BoolOutput `pulumi:"editable"` - // ID of the Group the policy will be linked to + // ID of the group the policy will be linked to GroupId pulumi.StringPtrOutput `pulumi:"groupId"` - // The name of the iam policy. + // The name of the IAM policy. Name pulumi.StringOutput `pulumi:"name"` // If the policy doesn't apply to a principal. // - // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. NoPrincipal pulumi.BoolPtrOutput `pulumi:"noPrincipal"` // `organizationId`) The ID of the organization the policy is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // List of rules in the policy. Rules IamPolicyRuleArrayOutput `pulumi:"rules"` - // The tags associated with the iam policy. + // The tags associated with the IAM policy. Tags pulumi.StringArrayOutput `pulumi:"tags"` // The date and time of the last update of the policy. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // ID of the User the policy will be linked to + // ID of the user the policy will be linked to UserId pulumi.StringPtrOutput `pulumi:"userId"` } @@ -177,60 +177,60 @@ func GetIamPolicy(ctx *pulumi.Context, // Input properties used for looking up and filtering IamPolicy resources. type iamPolicyState struct { - // ID of the Application the policy will be linked to + // ID of the application the policy will be linked to ApplicationId *string `pulumi:"applicationId"` // The date and time of the creation of the policy. CreatedAt *string `pulumi:"createdAt"` - // The description of the iam policy. + // The description of the IAM policy. Description *string `pulumi:"description"` // Whether the policy is editable. Editable *bool `pulumi:"editable"` - // ID of the Group the policy will be linked to + // ID of the group the policy will be linked to GroupId *string `pulumi:"groupId"` - // The name of the iam policy. + // The name of the IAM policy. Name *string `pulumi:"name"` // If the policy doesn't apply to a principal. // - // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. NoPrincipal *bool `pulumi:"noPrincipal"` // `organizationId`) The ID of the organization the policy is associated with. OrganizationId *string `pulumi:"organizationId"` // List of rules in the policy. Rules []IamPolicyRule `pulumi:"rules"` - // The tags associated with the iam policy. + // The tags associated with the IAM policy. Tags []string `pulumi:"tags"` // The date and time of the last update of the policy. UpdatedAt *string `pulumi:"updatedAt"` - // ID of the User the policy will be linked to + // ID of the user the policy will be linked to UserId *string `pulumi:"userId"` } type IamPolicyState struct { - // ID of the Application the policy will be linked to + // ID of the application the policy will be linked to ApplicationId pulumi.StringPtrInput // The date and time of the creation of the policy. CreatedAt pulumi.StringPtrInput - // The description of the iam policy. + // The description of the IAM policy. Description pulumi.StringPtrInput // Whether the policy is editable. Editable pulumi.BoolPtrInput - // ID of the Group the policy will be linked to + // ID of the group the policy will be linked to GroupId pulumi.StringPtrInput - // The name of the iam policy. + // The name of the IAM policy. Name pulumi.StringPtrInput // If the policy doesn't apply to a principal. // - // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. NoPrincipal pulumi.BoolPtrInput // `organizationId`) The ID of the organization the policy is associated with. OrganizationId pulumi.StringPtrInput // List of rules in the policy. Rules IamPolicyRuleArrayInput - // The tags associated with the iam policy. + // The tags associated with the IAM policy. Tags pulumi.StringArrayInput // The date and time of the last update of the policy. UpdatedAt pulumi.StringPtrInput - // ID of the User the policy will be linked to + // ID of the user the policy will be linked to UserId pulumi.StringPtrInput } @@ -239,49 +239,49 @@ func (IamPolicyState) ElementType() reflect.Type { } type iamPolicyArgs struct { - // ID of the Application the policy will be linked to + // ID of the application the policy will be linked to ApplicationId *string `pulumi:"applicationId"` - // The description of the iam policy. + // The description of the IAM policy. Description *string `pulumi:"description"` - // ID of the Group the policy will be linked to + // ID of the group the policy will be linked to GroupId *string `pulumi:"groupId"` - // The name of the iam policy. + // The name of the IAM policy. Name *string `pulumi:"name"` // If the policy doesn't apply to a principal. // - // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. NoPrincipal *bool `pulumi:"noPrincipal"` // `organizationId`) The ID of the organization the policy is associated with. OrganizationId *string `pulumi:"organizationId"` // List of rules in the policy. Rules []IamPolicyRule `pulumi:"rules"` - // The tags associated with the iam policy. + // The tags associated with the IAM policy. Tags []string `pulumi:"tags"` - // ID of the User the policy will be linked to + // ID of the user the policy will be linked to UserId *string `pulumi:"userId"` } // The set of arguments for constructing a IamPolicy resource. type IamPolicyArgs struct { - // ID of the Application the policy will be linked to + // ID of the application the policy will be linked to ApplicationId pulumi.StringPtrInput - // The description of the iam policy. + // The description of the IAM policy. Description pulumi.StringPtrInput - // ID of the Group the policy will be linked to + // ID of the group the policy will be linked to GroupId pulumi.StringPtrInput - // The name of the iam policy. + // The name of the IAM policy. Name pulumi.StringPtrInput // If the policy doesn't apply to a principal. // - // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + // > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. NoPrincipal pulumi.BoolPtrInput // `organizationId`) The ID of the organization the policy is associated with. OrganizationId pulumi.StringPtrInput // List of rules in the policy. Rules IamPolicyRuleArrayInput - // The tags associated with the iam policy. + // The tags associated with the IAM policy. Tags pulumi.StringArrayInput - // ID of the User the policy will be linked to + // ID of the user the policy will be linked to UserId pulumi.StringPtrInput } @@ -372,7 +372,7 @@ func (o IamPolicyOutput) ToIamPolicyOutputWithContext(ctx context.Context) IamPo return o } -// ID of the Application the policy will be linked to +// ID of the application the policy will be linked to func (o IamPolicyOutput) ApplicationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringPtrOutput { return v.ApplicationId }).(pulumi.StringPtrOutput) } @@ -382,7 +382,7 @@ func (o IamPolicyOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The description of the iam policy. +// The description of the IAM policy. func (o IamPolicyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } @@ -392,19 +392,19 @@ func (o IamPolicyOutput) Editable() pulumi.BoolOutput { return o.ApplyT(func(v *IamPolicy) pulumi.BoolOutput { return v.Editable }).(pulumi.BoolOutput) } -// ID of the Group the policy will be linked to +// ID of the group the policy will be linked to func (o IamPolicyOutput) GroupId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringPtrOutput { return v.GroupId }).(pulumi.StringPtrOutput) } -// The name of the iam policy. +// The name of the IAM policy. func (o IamPolicyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } // If the policy doesn't apply to a principal. // -// > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. +// > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. func (o IamPolicyOutput) NoPrincipal() pulumi.BoolPtrOutput { return o.ApplyT(func(v *IamPolicy) pulumi.BoolPtrOutput { return v.NoPrincipal }).(pulumi.BoolPtrOutput) } @@ -419,7 +419,7 @@ func (o IamPolicyOutput) Rules() IamPolicyRuleArrayOutput { return o.ApplyT(func(v *IamPolicy) IamPolicyRuleArrayOutput { return v.Rules }).(IamPolicyRuleArrayOutput) } -// The tags associated with the iam policy. +// The tags associated with the IAM policy. func (o IamPolicyOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } @@ -429,7 +429,7 @@ func (o IamPolicyOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// ID of the User the policy will be linked to +// ID of the user the policy will be linked to func (o IamPolicyOutput) UserId() pulumi.StringPtrOutput { return o.ApplyT(func(v *IamPolicy) pulumi.StringPtrOutput { return v.UserId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/scaleway/iamSshKey.go b/sdk/go/scaleway/iamSshKey.go index b135e03c..298af1b3 100644 --- a/sdk/go/scaleway/iamSshKey.go +++ b/sdk/go/scaleway/iamSshKey.go @@ -13,8 +13,7 @@ import ( ) // Creates and manages Scaleway IAM SSH Keys. -// For more information, -// see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). +// For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). // // ## Example Usage // diff --git a/sdk/go/scaleway/iamUser.go b/sdk/go/scaleway/iamUser.go index 5ae1a79c..5c8e82c6 100644 --- a/sdk/go/scaleway/iamUser.go +++ b/sdk/go/scaleway/iamUser.go @@ -57,9 +57,9 @@ type IamUser struct { // The ID of the account root user associated with the user. AccountRootUserId pulumi.StringOutput `pulumi:"accountRootUserId"` - // The date and time of the creation of the iam user. + // The date and time of the creation of the IAM user. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // Whether the iam user is deletable. + // Whether the IAM user is deletable. Deletable pulumi.BoolOutput `pulumi:"deletable"` // The email of the IAM user. Email pulumi.StringOutput `pulumi:"email"` @@ -69,11 +69,11 @@ type IamUser struct { Mfa pulumi.BoolOutput `pulumi:"mfa"` // `organizationId`) The ID of the organization the user is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Status pulumi.StringOutput `pulumi:"status"` - // The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Type pulumi.StringOutput `pulumi:"type"` - // The date and time of the last update of the iam user. + // The date and time of the last update of the IAM user. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` } @@ -112,9 +112,9 @@ func GetIamUser(ctx *pulumi.Context, type iamUserState struct { // The ID of the account root user associated with the user. AccountRootUserId *string `pulumi:"accountRootUserId"` - // The date and time of the creation of the iam user. + // The date and time of the creation of the IAM user. CreatedAt *string `pulumi:"createdAt"` - // Whether the iam user is deletable. + // Whether the IAM user is deletable. Deletable *bool `pulumi:"deletable"` // The email of the IAM user. Email *string `pulumi:"email"` @@ -124,20 +124,20 @@ type iamUserState struct { Mfa *bool `pulumi:"mfa"` // `organizationId`) The ID of the organization the user is associated with. OrganizationId *string `pulumi:"organizationId"` - // The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Status *string `pulumi:"status"` - // The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Type *string `pulumi:"type"` - // The date and time of the last update of the iam user. + // The date and time of the last update of the IAM user. UpdatedAt *string `pulumi:"updatedAt"` } type IamUserState struct { // The ID of the account root user associated with the user. AccountRootUserId pulumi.StringPtrInput - // The date and time of the creation of the iam user. + // The date and time of the creation of the IAM user. CreatedAt pulumi.StringPtrInput - // Whether the iam user is deletable. + // Whether the IAM user is deletable. Deletable pulumi.BoolPtrInput // The email of the IAM user. Email pulumi.StringPtrInput @@ -147,11 +147,11 @@ type IamUserState struct { Mfa pulumi.BoolPtrInput // `organizationId`) The ID of the organization the user is associated with. OrganizationId pulumi.StringPtrInput - // The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Status pulumi.StringPtrInput - // The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + // The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). Type pulumi.StringPtrInput - // The date and time of the last update of the iam user. + // The date and time of the last update of the IAM user. UpdatedAt pulumi.StringPtrInput } @@ -266,12 +266,12 @@ func (o IamUserOutput) AccountRootUserId() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.AccountRootUserId }).(pulumi.StringOutput) } -// The date and time of the creation of the iam user. +// The date and time of the creation of the IAM user. func (o IamUserOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// Whether the iam user is deletable. +// Whether the IAM user is deletable. func (o IamUserOutput) Deletable() pulumi.BoolOutput { return o.ApplyT(func(v *IamUser) pulumi.BoolOutput { return v.Deletable }).(pulumi.BoolOutput) } @@ -296,17 +296,17 @@ func (o IamUserOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). +// The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). func (o IamUserOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } -// The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). +// The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). func (o IamUserOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } -// The date and time of the last update of the iam user. +// The date and time of the last update of the IAM user. func (o IamUserOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IamUser) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/init.go b/sdk/go/scaleway/init.go index 6f0406ee..c815f388 100644 --- a/sdk/go/scaleway/init.go +++ b/sdk/go/scaleway/init.go @@ -25,8 +25,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &AccountProject{} case "scaleway:index/accountSshKey:AccountSshKey": r = &AccountSshKey{} - case "scaleway:index/appleSliconValleyServer:AppleSliconValleyServer": - r = &AppleSliconValleyServer{} + case "scaleway:index/appleSiliconServer:AppleSiliconServer": + r = &AppleSiliconServer{} case "scaleway:index/baremetalServer:BaremetalServer": r = &BaremetalServer{} case "scaleway:index/blockSnapshot:BlockSnapshot": @@ -276,7 +276,7 @@ func init() { ) pulumi.RegisterResourceModule( "scaleway", - "index/appleSliconValleyServer", + "index/appleSiliconServer", &module{version}, ) pulumi.RegisterResourceModule( diff --git a/sdk/go/scaleway/ipamIp.go b/sdk/go/scaleway/ipamIp.go index 8738d213..b4133ac2 100644 --- a/sdk/go/scaleway/ipamIp.go +++ b/sdk/go/scaleway/ipamIp.go @@ -12,7 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Books and manages Scaleway IPAM IPs. +// Books and manages IPAM IPs. +// +// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). // // ## Example Usage // @@ -59,7 +61,7 @@ import ( // // ``` // -// ### Request a specific IPv4 +// ### Request a specific IPv4 address // // ```go // package main @@ -103,7 +105,7 @@ import ( // // ``` // -// ### Request an IPv6 +// ### Request an IPv6 address // // ```go // package main @@ -151,7 +153,7 @@ import ( // // ## Import // -// IPAM IPs can be imported using the `{region}/{id}`, e.g. +// IPAM IPs can be imported using `{region}/{id}`, e.g. // // bash // @@ -165,15 +167,15 @@ type IpamIp struct { Address pulumi.StringOutput `pulumi:"address"` // Date and time of IP's creation (RFC 3339 format). CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // Defines whether to request an IPv6 instead of an IPv4. + // Defines whether to request an IPv6 address instead of IPv4. IsIpv6 pulumi.BoolPtrOutput `pulumi:"isIpv6"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`) The region of the IP. Region pulumi.StringOutput `pulumi:"region"` // The IP resource. Resources IpamIpResourceArrayOutput `pulumi:"resources"` - // The reverses DNS for this IP. + // The reverse DNS for this IP. Reverses IpamIpReverseArrayOutput `pulumi:"reverses"` // The source in which to book the IP. Sources IpamIpSourceArrayOutput `pulumi:"sources"` @@ -222,15 +224,15 @@ type ipamIpState struct { Address *string `pulumi:"address"` // Date and time of IP's creation (RFC 3339 format). CreatedAt *string `pulumi:"createdAt"` - // Defines whether to request an IPv6 instead of an IPv4. + // Defines whether to request an IPv6 address instead of IPv4. IsIpv6 *bool `pulumi:"isIpv6"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId *string `pulumi:"projectId"` // `region`) The region of the IP. Region *string `pulumi:"region"` // The IP resource. Resources []IpamIpResource `pulumi:"resources"` - // The reverses DNS for this IP. + // The reverse DNS for this IP. Reverses []IpamIpReverse `pulumi:"reverses"` // The source in which to book the IP. Sources []IpamIpSource `pulumi:"sources"` @@ -247,15 +249,15 @@ type IpamIpState struct { Address pulumi.StringPtrInput // Date and time of IP's creation (RFC 3339 format). CreatedAt pulumi.StringPtrInput - // Defines whether to request an IPv6 instead of an IPv4. + // Defines whether to request an IPv6 address instead of IPv4. IsIpv6 pulumi.BoolPtrInput - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringPtrInput // `region`) The region of the IP. Region pulumi.StringPtrInput // The IP resource. Resources IpamIpResourceArrayInput - // The reverses DNS for this IP. + // The reverse DNS for this IP. Reverses IpamIpReverseArrayInput // The source in which to book the IP. Sources IpamIpSourceArrayInput @@ -274,9 +276,9 @@ func (IpamIpState) ElementType() reflect.Type { type ipamIpArgs struct { // Request a specific IP in the requested source pool Address *string `pulumi:"address"` - // Defines whether to request an IPv6 instead of an IPv4. + // Defines whether to request an IPv6 address instead of IPv4. IsIpv6 *bool `pulumi:"isIpv6"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId *string `pulumi:"projectId"` // `region`) The region of the IP. Region *string `pulumi:"region"` @@ -290,9 +292,9 @@ type ipamIpArgs struct { type IpamIpArgs struct { // Request a specific IP in the requested source pool Address pulumi.StringPtrInput - // Defines whether to request an IPv6 instead of an IPv4. + // Defines whether to request an IPv6 address instead of IPv4. IsIpv6 pulumi.BoolPtrInput - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringPtrInput // `region`) The region of the IP. Region pulumi.StringPtrInput @@ -399,12 +401,12 @@ func (o IpamIpOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *IpamIp) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// Defines whether to request an IPv6 instead of an IPv4. +// Defines whether to request an IPv6 address instead of IPv4. func (o IpamIpOutput) IsIpv6() pulumi.BoolPtrOutput { return o.ApplyT(func(v *IpamIp) pulumi.BoolPtrOutput { return v.IsIpv6 }).(pulumi.BoolPtrOutput) } -// `projectId`) The ID of the project the IP is associated with. +// `projectId`) The ID of the Project the IP is associated with. func (o IpamIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *IpamIp) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -419,7 +421,7 @@ func (o IpamIpOutput) Resources() IpamIpResourceArrayOutput { return o.ApplyT(func(v *IpamIp) IpamIpResourceArrayOutput { return v.Resources }).(IpamIpResourceArrayOutput) } -// The reverses DNS for this IP. +// The reverse DNS for this IP. func (o IpamIpOutput) Reverses() IpamIpReverseArrayOutput { return o.ApplyT(func(v *IpamIp) IpamIpReverseArrayOutput { return v.Reverses }).(IpamIpReverseArrayOutput) } diff --git a/sdk/go/scaleway/ipamIpReverseDns.go b/sdk/go/scaleway/ipamIpReverseDns.go index 2fbe2e2f..a33c0f55 100644 --- a/sdk/go/scaleway/ipamIpReverseDns.go +++ b/sdk/go/scaleway/ipamIpReverseDns.go @@ -12,11 +12,13 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Manages Scaleway IPAM IP Reverse DNS. +// Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service. +// +// For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). // // ## Import // -// IPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g. +// IPAM IP reverse DNS can be imported using `{region}/{id}`, e.g. // // bash // diff --git a/sdk/go/scaleway/kubernetesCluster.go b/sdk/go/scaleway/kubernetesCluster.go index 63854ef0..6a83245e 100644 --- a/sdk/go/scaleway/kubernetesCluster.go +++ b/sdk/go/scaleway/kubernetesCluster.go @@ -30,21 +30,21 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// hedy, err := scaleway.NewVpcPrivateNetwork(ctx, "hedy", nil) +// pn, err := scaleway.NewVpcPrivateNetwork(ctx, "pn", nil) // if err != nil { // return err // } -// jack, err := scaleway.NewKubernetesCluster(ctx, "jack", &scaleway.KubernetesClusterArgs{ -// Version: pulumi.String("1.24.3"), +// cluster, err := scaleway.NewKubernetesCluster(ctx, "cluster", &scaleway.KubernetesClusterArgs{ +// Version: pulumi.String("1.29.1"), // Cni: pulumi.String("cilium"), -// PrivateNetworkId: hedy.ID(), +// PrivateNetworkId: pn.ID(), // DeleteAdditionalResources: pulumi.Bool(false), // }) // if err != nil { // return err // } -// _, err = scaleway.NewKubernetesNodePool(ctx, "john", &scaleway.KubernetesNodePoolArgs{ -// ClusterId: jack.ID(), +// _, err = scaleway.NewKubernetesNodePool(ctx, "pool", &scaleway.KubernetesNodePoolArgs{ +// ClusterId: cluster.ID(), // NodeType: pulumi.String("DEV1-M"), // Size: pulumi.Int(1), // }) @@ -71,17 +71,17 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// henry, err := scaleway.NewKubernetesCluster(ctx, "henry", &scaleway.KubernetesClusterArgs{ +// cluster, err := scaleway.NewKubernetesCluster(ctx, "cluster", &scaleway.KubernetesClusterArgs{ // Type: pulumi.String("multicloud"), -// Version: pulumi.String("1.24.3"), +// Version: pulumi.String("1.29.1"), // Cni: pulumi.String("kilo"), // DeleteAdditionalResources: pulumi.Bool(false), // }) // if err != nil { // return err // } -// _, err = scaleway.NewKubernetesNodePool(ctx, "friendFromOuterSpace", &scaleway.KubernetesNodePoolArgs{ -// ClusterId: henry.ID(), +// _, err = scaleway.NewKubernetesNodePool(ctx, "pool", &scaleway.KubernetesNodePoolArgs{ +// ClusterId: cluster.ID(), // NodeType: pulumi.String("external"), // Size: pulumi.Int(0), // MinSize: pulumi.Int(0), @@ -111,19 +111,18 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// hedy, err := scaleway.NewVpcPrivateNetwork(ctx, "hedy", nil) +// pn, err := scaleway.NewVpcPrivateNetwork(ctx, "pn", nil) // if err != nil { // return err // } -// johnKubernetesCluster, err := scaleway.NewKubernetesCluster(ctx, "johnKubernetesCluster", &scaleway.KubernetesClusterArgs{ -// Description: pulumi.String("my awesome cluster"), -// Version: pulumi.String("1.24.3"), +// cluster, err := scaleway.NewKubernetesCluster(ctx, "cluster", &scaleway.KubernetesClusterArgs{ +// Description: pulumi.String("cluster made in terraform"), +// Version: pulumi.String("1.29.1"), // Cni: pulumi.String("calico"), // Tags: pulumi.StringArray{ -// pulumi.String("i'm an awesome tag"), -// pulumi.String("yay"), +// pulumi.String("terraform"), // }, -// PrivateNetworkId: hedy.ID(), +// PrivateNetworkId: pn.ID(), // DeleteAdditionalResources: pulumi.Bool(false), // AutoscalerConfig: &scaleway.KubernetesClusterAutoscalerConfigArgs{ // DisableScaleDown: pulumi.Bool(false), @@ -138,8 +137,8 @@ import ( // if err != nil { // return err // } -// _, err = scaleway.NewKubernetesNodePool(ctx, "johnKubernetesNodePool", &scaleway.KubernetesNodePoolArgs{ -// ClusterId: johnKubernetesCluster.ID(), +// _, err = scaleway.NewKubernetesNodePool(ctx, "pool", &scaleway.KubernetesNodePoolArgs{ +// ClusterId: cluster.ID(), // NodeType: pulumi.String("DEV1-M"), // Size: pulumi.Int(3), // Autoscaling: pulumi.Bool(true), diff --git a/sdk/go/scaleway/loadbalancer.go b/sdk/go/scaleway/loadbalancer.go index 55eda4d9..390d22a3 100644 --- a/sdk/go/scaleway/loadbalancer.go +++ b/sdk/go/scaleway/loadbalancer.go @@ -12,8 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancers. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api). +// Creates and manages Scaleway Load Balancers. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). // // ## Example Usage // @@ -120,10 +121,113 @@ import ( // // ``` // +// ### Multiple configurations +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// // ## IP for Public Gateway +// mainVpcPublicGatewayIp, err := scaleway.NewVpcPublicGatewayIp(ctx, "mainVpcPublicGatewayIp", nil) +// if err != nil { +// return err +// } +// // ## Scaleway Private Network +// mainVpcPrivateNetwork, err := scaleway.NewVpcPrivateNetwork(ctx, "mainVpcPrivateNetwork", nil) +// if err != nil { +// return err +// } +// // ## VPC Public Gateway Network +// mainVpcPublicGateway, err := scaleway.NewVpcPublicGateway(ctx, "mainVpcPublicGateway", &scaleway.VpcPublicGatewayArgs{ +// Type: pulumi.String("VPC-GW-S"), +// IpId: mainVpcPublicGatewayIp.ID(), +// }) +// if err != nil { +// return err +// } +// // ## VPC Public Gateway Network DHCP config +// mainVpcPublicGatewayDhcp, err := scaleway.NewVpcPublicGatewayDhcp(ctx, "mainVpcPublicGatewayDhcp", &scaleway.VpcPublicGatewayDhcpArgs{ +// Subnet: pulumi.String("10.0.0.0/24"), +// }) +// if err != nil { +// return err +// } +// // ## VPC Gateway Network +// _, err = scaleway.NewVpcGatewayNetwork(ctx, "mainVpcGatewayNetwork", &scaleway.VpcGatewayNetworkArgs{ +// GatewayId: mainVpcPublicGateway.ID(), +// PrivateNetworkId: mainVpcPrivateNetwork.ID(), +// DhcpId: mainVpcPublicGatewayDhcp.ID(), +// CleanupDhcp: pulumi.Bool(true), +// EnableMasquerade: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// // ## Scaleway Instance +// _, err = scaleway.NewInstanceServer(ctx, "mainInstanceServer", &scaleway.InstanceServerArgs{ +// Type: pulumi.String("DEV1-S"), +// Image: pulumi.String("debian_bullseye"), +// EnableIpv6: pulumi.Bool(false), +// PrivateNetworks: scaleway.InstanceServerPrivateNetworkArray{ +// &scaleway.InstanceServerPrivateNetworkArgs{ +// PnId: mainVpcPrivateNetwork.ID(), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// // ## IP for LB IP +// mainLoadbalancerIp, err := scaleway.NewLoadbalancerIp(ctx, "mainLoadbalancerIp", nil) +// if err != nil { +// return err +// } +// // ## Scaleway Private Network +// _, err = scaleway.NewVpcPrivateNetwork(ctx, "mainIndex/vpcPrivateNetworkVpcPrivateNetwork", nil) +// if err != nil { +// return err +// } +// // ## Scaleway Load Balancer +// _, err = scaleway.NewLoadbalancer(ctx, "mainLoadbalancer", &scaleway.LoadbalancerArgs{ +// IpId: mainLoadbalancerIp.ID(), +// Type: pulumi.String("LB-S"), +// PrivateNetworks: scaleway.LoadbalancerPrivateNetworkArray{ +// &scaleway.LoadbalancerPrivateNetworkArgs{ +// PrivateNetworkId: mainVpcPrivateNetwork.ID(), +// DhcpConfig: pulumi.Bool(true), +// }, +// }, +// }, pulumi.DependsOn([]pulumi.Resource{ +// mainVpcPublicGateway, +// })) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Migration +// +// In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`. +// This change will not recreate your Load Balancer. +// +// Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details +// // ## IP ID // // Since v1.15.0, `ipId` is a required field. This means that now a separate `LoadbalancerIp` is required. -// When importing, the IP needs to be imported as well as the LB. +// When importing, the IP needs to be imported as well as the Load Balancer. // When upgrading to v1.15.0, you will need to create a new `LoadbalancerIp` resource and import it. // // For instance, if you had the following: @@ -188,7 +292,7 @@ import ( // // ## Import // -// Load-Balancer can be imported using the `{zone}/{id}`, e.g. +// Load Balancers can be imported using `{zone}/{id}`, e.g. // // bash // @@ -200,45 +304,45 @@ import ( type Loadbalancer struct { pulumi.CustomResourceState - // Defines whether to automatically assign a flexible public IP to the load-balancer. + // Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. AssignFlexibleIp pulumi.BoolPtrOutput `pulumi:"assignFlexibleIp"` - // Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + // Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. AssignFlexibleIpv6 pulumi.BoolPtrOutput `pulumi:"assignFlexibleIpv6"` - // The description of the load-balancer. + // The description of the Load Balancer. Description pulumi.StringPtrOutput `pulumi:"description"` - // The load-balancer public IPv4 Address. + // The Load Balancer public IPv4 address. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` - // The ID of the associated LB IP. See below. + // The ID of the associated Load Balancer IP. See below. // - // > **Important:** Updates to `ipId` will recreate the load-balancer. + // > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids IpId pulumi.StringOutput `pulumi:"ipId"` // The List of IP IDs to attach to the Load Balancer. IpIds pulumi.StringArrayOutput `pulumi:"ipIds"` - // The load-balancer public IPv6 Address. + // The Load Balancer public IPv6 address. Ipv6Address pulumi.StringOutput `pulumi:"ipv6Address"` - // The name of the load-balancer. + // The name of the Load Balancer. Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization ID the Load Balancer is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // List of private network to connect with your load balancer PrivateNetworks LoadbalancerPrivateNetworkArrayOutput `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the load-balancer is associated with. + // `projectId`) The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region of the resource Region pulumi.StringOutput `pulumi:"region"` - // The releaseIp allow release the ip address associated with the load-balancers. + // The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` ReleaseIp pulumi.BoolPtrOutput `pulumi:"releaseIp"` // Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). SslCompatibilityLevel pulumi.StringPtrOutput `pulumi:"sslCompatibilityLevel"` - // The tags associated with the load-balancers. + // The tags associated with the Load Balancer. Tags pulumi.StringArrayOutput `pulumi:"tags"` - // The type of the load-balancer. Please check the migration section to upgrade the type. + // The type of the Load Balancer. Please check the migration section to upgrade the type. Type pulumi.StringOutput `pulumi:"type"` - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -275,88 +379,88 @@ func GetLoadbalancer(ctx *pulumi.Context, // Input properties used for looking up and filtering Loadbalancer resources. type loadbalancerState struct { - // Defines whether to automatically assign a flexible public IP to the load-balancer. + // Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. AssignFlexibleIp *bool `pulumi:"assignFlexibleIp"` - // Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + // Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. AssignFlexibleIpv6 *bool `pulumi:"assignFlexibleIpv6"` - // The description of the load-balancer. + // The description of the Load Balancer. Description *string `pulumi:"description"` - // The load-balancer public IPv4 Address. + // The Load Balancer public IPv4 address. IpAddress *string `pulumi:"ipAddress"` - // The ID of the associated LB IP. See below. + // The ID of the associated Load Balancer IP. See below. // - // > **Important:** Updates to `ipId` will recreate the load-balancer. + // > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids IpId *string `pulumi:"ipId"` // The List of IP IDs to attach to the Load Balancer. IpIds []string `pulumi:"ipIds"` - // The load-balancer public IPv6 Address. + // The Load Balancer public IPv6 address. Ipv6Address *string `pulumi:"ipv6Address"` - // The name of the load-balancer. + // The name of the Load Balancer. Name *string `pulumi:"name"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization ID the Load Balancer is associated with. OrganizationId *string `pulumi:"organizationId"` // List of private network to connect with your load balancer PrivateNetworks []LoadbalancerPrivateNetwork `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the load-balancer is associated with. + // `projectId`) The ID of the Project the Load Balancer is associated with. ProjectId *string `pulumi:"projectId"` // The region of the resource Region *string `pulumi:"region"` - // The releaseIp allow release the ip address associated with the load-balancers. + // The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` ReleaseIp *bool `pulumi:"releaseIp"` // Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). SslCompatibilityLevel *string `pulumi:"sslCompatibilityLevel"` - // The tags associated with the load-balancers. + // The tags associated with the Load Balancer. Tags []string `pulumi:"tags"` - // The type of the load-balancer. Please check the migration section to upgrade the type. + // The type of the Load Balancer. Please check the migration section to upgrade the type. Type *string `pulumi:"type"` - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone *string `pulumi:"zone"` } type LoadbalancerState struct { - // Defines whether to automatically assign a flexible public IP to the load-balancer. + // Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. AssignFlexibleIp pulumi.BoolPtrInput - // Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + // Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. AssignFlexibleIpv6 pulumi.BoolPtrInput - // The description of the load-balancer. + // The description of the Load Balancer. Description pulumi.StringPtrInput - // The load-balancer public IPv4 Address. + // The Load Balancer public IPv4 address. IpAddress pulumi.StringPtrInput - // The ID of the associated LB IP. See below. + // The ID of the associated Load Balancer IP. See below. // - // > **Important:** Updates to `ipId` will recreate the load-balancer. + // > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids IpId pulumi.StringPtrInput // The List of IP IDs to attach to the Load Balancer. IpIds pulumi.StringArrayInput - // The load-balancer public IPv6 Address. + // The Load Balancer public IPv6 address. Ipv6Address pulumi.StringPtrInput - // The name of the load-balancer. + // The name of the Load Balancer. Name pulumi.StringPtrInput - // The organization ID the load-balancer is associated with. + // The ID of the Organization ID the Load Balancer is associated with. OrganizationId pulumi.StringPtrInput // List of private network to connect with your load balancer PrivateNetworks LoadbalancerPrivateNetworkArrayInput - // `projectId`) The ID of the project the load-balancer is associated with. + // `projectId`) The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringPtrInput // The region of the resource Region pulumi.StringPtrInput - // The releaseIp allow release the ip address associated with the load-balancers. + // The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` ReleaseIp pulumi.BoolPtrInput // Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). SslCompatibilityLevel pulumi.StringPtrInput - // The tags associated with the load-balancers. + // The tags associated with the Load Balancer. Tags pulumi.StringArrayInput - // The type of the load-balancer. Please check the migration section to upgrade the type. + // The type of the Load Balancer. Please check the migration section to upgrade the type. Type pulumi.StringPtrInput - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone pulumi.StringPtrInput } @@ -365,73 +469,73 @@ func (LoadbalancerState) ElementType() reflect.Type { } type loadbalancerArgs struct { - // Defines whether to automatically assign a flexible public IP to the load-balancer. + // Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. AssignFlexibleIp *bool `pulumi:"assignFlexibleIp"` - // Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + // Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. AssignFlexibleIpv6 *bool `pulumi:"assignFlexibleIpv6"` - // The description of the load-balancer. + // The description of the Load Balancer. Description *string `pulumi:"description"` - // The ID of the associated LB IP. See below. + // The ID of the associated Load Balancer IP. See below. // - // > **Important:** Updates to `ipId` will recreate the load-balancer. + // > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids IpId *string `pulumi:"ipId"` // The List of IP IDs to attach to the Load Balancer. IpIds []string `pulumi:"ipIds"` - // The name of the load-balancer. + // The name of the Load Balancer. Name *string `pulumi:"name"` // List of private network to connect with your load balancer PrivateNetworks []LoadbalancerPrivateNetwork `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the load-balancer is associated with. + // `projectId`) The ID of the Project the Load Balancer is associated with. ProjectId *string `pulumi:"projectId"` - // The releaseIp allow release the ip address associated with the load-balancers. + // The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` ReleaseIp *bool `pulumi:"releaseIp"` // Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). SslCompatibilityLevel *string `pulumi:"sslCompatibilityLevel"` - // The tags associated with the load-balancers. + // The tags associated with the Load Balancer. Tags []string `pulumi:"tags"` - // The type of the load-balancer. Please check the migration section to upgrade the type. + // The type of the Load Balancer. Please check the migration section to upgrade the type. Type string `pulumi:"type"` - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone *string `pulumi:"zone"` } // The set of arguments for constructing a Loadbalancer resource. type LoadbalancerArgs struct { - // Defines whether to automatically assign a flexible public IP to the load-balancer. + // Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. AssignFlexibleIp pulumi.BoolPtrInput - // Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + // Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. AssignFlexibleIpv6 pulumi.BoolPtrInput - // The description of the load-balancer. + // The description of the Load Balancer. Description pulumi.StringPtrInput - // The ID of the associated LB IP. See below. + // The ID of the associated Load Balancer IP. See below. // - // > **Important:** Updates to `ipId` will recreate the load-balancer. + // > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids IpId pulumi.StringPtrInput // The List of IP IDs to attach to the Load Balancer. IpIds pulumi.StringArrayInput - // The name of the load-balancer. + // The name of the Load Balancer. Name pulumi.StringPtrInput // List of private network to connect with your load balancer PrivateNetworks LoadbalancerPrivateNetworkArrayInput - // `projectId`) The ID of the project the load-balancer is associated with. + // `projectId`) The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringPtrInput - // The releaseIp allow release the ip address associated with the load-balancers. + // The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` ReleaseIp pulumi.BoolPtrInput // Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). SslCompatibilityLevel pulumi.StringPtrInput - // The tags associated with the load-balancers. + // The tags associated with the Load Balancer. Tags pulumi.StringArrayInput - // The type of the load-balancer. Please check the migration section to upgrade the type. + // The type of the Load Balancer. Please check the migration section to upgrade the type. Type pulumi.StringInput - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone pulumi.StringPtrInput } @@ -522,29 +626,29 @@ func (o LoadbalancerOutput) ToLoadbalancerOutputWithContext(ctx context.Context) return o } -// Defines whether to automatically assign a flexible public IP to the load-balancer. +// Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. func (o LoadbalancerOutput) AssignFlexibleIp() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.BoolPtrOutput { return v.AssignFlexibleIp }).(pulumi.BoolPtrOutput) } -// Defines whether to automatically assign a flexible public IPv6 to the load-balancer. +// Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. func (o LoadbalancerOutput) AssignFlexibleIpv6() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.BoolPtrOutput { return v.AssignFlexibleIpv6 }).(pulumi.BoolPtrOutput) } -// The description of the load-balancer. +// The description of the Load Balancer. func (o LoadbalancerOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// The load-balancer public IPv4 Address. +// The Load Balancer public IPv4 address. func (o LoadbalancerOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.IpAddress }).(pulumi.StringOutput) } -// The ID of the associated LB IP. See below. +// The ID of the associated Load Balancer IP. See below. // -// > **Important:** Updates to `ipId` will recreate the load-balancer. +// > **Important:** Updates to `ipId` will recreate the Load Balancer. // // Deprecated: Please use ip_ids func (o LoadbalancerOutput) IpId() pulumi.StringOutput { @@ -556,17 +660,17 @@ func (o LoadbalancerOutput) IpIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringArrayOutput { return v.IpIds }).(pulumi.StringArrayOutput) } -// The load-balancer public IPv6 Address. +// The Load Balancer public IPv6 address. func (o LoadbalancerOutput) Ipv6Address() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Ipv6Address }).(pulumi.StringOutput) } -// The name of the load-balancer. +// The name of the Load Balancer. func (o LoadbalancerOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization ID the Load Balancer is associated with. func (o LoadbalancerOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } @@ -576,7 +680,7 @@ func (o LoadbalancerOutput) PrivateNetworks() LoadbalancerPrivateNetworkArrayOut return o.ApplyT(func(v *Loadbalancer) LoadbalancerPrivateNetworkArrayOutput { return v.PrivateNetworks }).(LoadbalancerPrivateNetworkArrayOutput) } -// `projectId`) The ID of the project the load-balancer is associated with. +// `projectId`) The ID of the Project the Load Balancer is associated with. func (o LoadbalancerOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -586,7 +690,7 @@ func (o LoadbalancerOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } -// The releaseIp allow release the ip address associated with the load-balancers. +// The `releaseIp` allow the release of the IP address associated with the Load Balancer. // // Deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false` func (o LoadbalancerOutput) ReleaseIp() pulumi.BoolPtrOutput { @@ -598,17 +702,17 @@ func (o LoadbalancerOutput) SslCompatibilityLevel() pulumi.StringPtrOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringPtrOutput { return v.SslCompatibilityLevel }).(pulumi.StringPtrOutput) } -// The tags associated with the load-balancers. +// The tags associated with the Load Balancer. func (o LoadbalancerOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } -// The type of the load-balancer. Please check the migration section to upgrade the type. +// The type of the Load Balancer. Please check the migration section to upgrade the type. func (o LoadbalancerOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } -// `zone`) The zone of the load-balancer. +// `zone`) The zone of the Load Balancer. func (o LoadbalancerOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/loadbalancerAcl.go b/sdk/go/scaleway/loadbalancerAcl.go index 4023a36d..41afb0ed 100644 --- a/sdk/go/scaleway/loadbalancerAcl.go +++ b/sdk/go/scaleway/loadbalancerAcl.go @@ -12,7 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls). +// Creates and manages Scaleway Load Balancer ACLs. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). // // ## Example Usage // @@ -56,7 +58,7 @@ import ( // // ## Import // -// Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. +// Load Balancer ACLs can be imported using `{zone}/{id}`, e.g. // // bash // @@ -72,9 +74,9 @@ type LoadbalancerAcl struct { CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The ACL description. Description pulumi.StringPtrOutput `pulumi:"description"` - // The load-balancer Frontend ID to attach the ACL to. + // The ID of the Load Balancer frontend to attach the ACL to. FrontendId pulumi.StringOutput `pulumi:"frontendId"` - // The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + // The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). Index pulumi.IntOutput `pulumi:"index"` // The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required. Match LoadbalancerAclMatchPtrOutput `pulumi:"match"` @@ -129,9 +131,9 @@ type loadbalancerAclState struct { CreatedAt *string `pulumi:"createdAt"` // The ACL description. Description *string `pulumi:"description"` - // The load-balancer Frontend ID to attach the ACL to. + // The ID of the Load Balancer frontend to attach the ACL to. FrontendId *string `pulumi:"frontendId"` - // The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + // The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). Index *int `pulumi:"index"` // The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required. Match *LoadbalancerAclMatch `pulumi:"match"` @@ -148,9 +150,9 @@ type LoadbalancerAclState struct { CreatedAt pulumi.StringPtrInput // The ACL description. Description pulumi.StringPtrInput - // The load-balancer Frontend ID to attach the ACL to. + // The ID of the Load Balancer frontend to attach the ACL to. FrontendId pulumi.StringPtrInput - // The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + // The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). Index pulumi.IntPtrInput // The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required. Match LoadbalancerAclMatchPtrInput @@ -169,9 +171,9 @@ type loadbalancerAclArgs struct { Action LoadbalancerAclAction `pulumi:"action"` // The ACL description. Description *string `pulumi:"description"` - // The load-balancer Frontend ID to attach the ACL to. + // The ID of the Load Balancer frontend to attach the ACL to. FrontendId string `pulumi:"frontendId"` - // The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + // The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). Index int `pulumi:"index"` // The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required. Match *LoadbalancerAclMatch `pulumi:"match"` @@ -185,9 +187,9 @@ type LoadbalancerAclArgs struct { Action LoadbalancerAclActionInput // The ACL description. Description pulumi.StringPtrInput - // The load-balancer Frontend ID to attach the ACL to. + // The ID of the Load Balancer frontend to attach the ACL to. FrontendId pulumi.StringInput - // The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + // The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). Index pulumi.IntInput // The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required. Match LoadbalancerAclMatchPtrInput @@ -297,12 +299,12 @@ func (o LoadbalancerAclOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *LoadbalancerAcl) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// The load-balancer Frontend ID to attach the ACL to. +// The ID of the Load Balancer frontend to attach the ACL to. func (o LoadbalancerAclOutput) FrontendId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerAcl) pulumi.StringOutput { return v.FrontendId }).(pulumi.StringOutput) } -// The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). +// The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). func (o LoadbalancerAclOutput) Index() pulumi.IntOutput { return o.ApplyT(func(v *LoadbalancerAcl) pulumi.IntOutput { return v.Index }).(pulumi.IntOutput) } diff --git a/sdk/go/scaleway/loadbalancerBackend.go b/sdk/go/scaleway/loadbalancerBackend.go index 0bd28fca..2a20c603 100644 --- a/sdk/go/scaleway/loadbalancerBackend.go +++ b/sdk/go/scaleway/loadbalancerBackend.go @@ -12,8 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancer Backends. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). +// Creates and manages Scaleway Load Balancer backends. +// +// or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). // // ## Example Usage // @@ -78,7 +79,7 @@ import ( // // ## Import // -// Load-Balancer backend can be imported using the `{zone}/{id}`, e.g. +// Load Balancer backends can be imported using `{zone}/{id}`, e.g. // // bash // diff --git a/sdk/go/scaleway/loadbalancerFrontend.go b/sdk/go/scaleway/loadbalancerFrontend.go index 273cda7f..62bc8d1b 100644 --- a/sdk/go/scaleway/loadbalancerFrontend.go +++ b/sdk/go/scaleway/loadbalancerFrontend.go @@ -12,7 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). +// Creates and manages Scaleway Load Balancer frontends. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). // // ## Example Usage // @@ -159,7 +161,7 @@ import ( // // ## Import // -// Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. +// Load Balancer frontends can be imported using `{zone}/{id}`, e.g. // // bash // @@ -169,32 +171,32 @@ import ( type LoadbalancerFrontend struct { pulumi.CustomResourceState - // A list of ACL rules to apply to the load-balancer frontend. Defined below. + // A list of ACL rules to apply to the Load Balancer frontend. Defined below. Acls LoadbalancerFrontendAclArrayOutput `pulumi:"acls"` - // The load-balancer backend ID this frontend is attached to. + // The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. BackendId pulumi.StringOutput `pulumi:"backendId"` - // (Deprecated) first certificate ID used by the frontend. + // (Deprecated) First certificate ID used by the frontend. // // Deprecated: Please use certificate_ids CertificateId pulumi.StringOutput `pulumi:"certificateId"` - // List of Certificate IDs that should be used by the frontend. + // List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. CertificateIds pulumi.StringArrayOutput `pulumi:"certificateIds"` // Activates HTTP/3 protocol. EnableHttp3 pulumi.BoolPtrOutput `pulumi:"enableHttp3"` // A boolean to specify whether to use lb_acl. - // If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + // If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. ExternalAcls pulumi.BoolPtrOutput `pulumi:"externalAcls"` - // TCP port to listen on the front side. + // TCP port to listen to on the front side. InboundPort pulumi.IntOutput `pulumi:"inboundPort"` - // The load-balancer ID this frontend is attached to. + // The ID of the Load Balancer this frontend is attached to. LbId pulumi.StringOutput `pulumi:"lbId"` // The ACL name. If not provided it will be randomly generated. Name pulumi.StringOutput `pulumi:"name"` - // Maximum inactivity time on the client side. (e.g.: `1s`) + // Maximum inactivity time on the client side. (e.g. `1s`) TimeoutClient pulumi.StringPtrOutput `pulumi:"timeoutClient"` } @@ -237,62 +239,62 @@ func GetLoadbalancerFrontend(ctx *pulumi.Context, // Input properties used for looking up and filtering LoadbalancerFrontend resources. type loadbalancerFrontendState struct { - // A list of ACL rules to apply to the load-balancer frontend. Defined below. + // A list of ACL rules to apply to the Load Balancer frontend. Defined below. Acls []LoadbalancerFrontendAcl `pulumi:"acls"` - // The load-balancer backend ID this frontend is attached to. + // The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. BackendId *string `pulumi:"backendId"` - // (Deprecated) first certificate ID used by the frontend. + // (Deprecated) First certificate ID used by the frontend. // // Deprecated: Please use certificate_ids CertificateId *string `pulumi:"certificateId"` - // List of Certificate IDs that should be used by the frontend. + // List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. CertificateIds []string `pulumi:"certificateIds"` // Activates HTTP/3 protocol. EnableHttp3 *bool `pulumi:"enableHttp3"` // A boolean to specify whether to use lb_acl. - // If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + // If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. ExternalAcls *bool `pulumi:"externalAcls"` - // TCP port to listen on the front side. + // TCP port to listen to on the front side. InboundPort *int `pulumi:"inboundPort"` - // The load-balancer ID this frontend is attached to. + // The ID of the Load Balancer this frontend is attached to. LbId *string `pulumi:"lbId"` // The ACL name. If not provided it will be randomly generated. Name *string `pulumi:"name"` - // Maximum inactivity time on the client side. (e.g.: `1s`) + // Maximum inactivity time on the client side. (e.g. `1s`) TimeoutClient *string `pulumi:"timeoutClient"` } type LoadbalancerFrontendState struct { - // A list of ACL rules to apply to the load-balancer frontend. Defined below. + // A list of ACL rules to apply to the Load Balancer frontend. Defined below. Acls LoadbalancerFrontendAclArrayInput - // The load-balancer backend ID this frontend is attached to. + // The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. BackendId pulumi.StringPtrInput - // (Deprecated) first certificate ID used by the frontend. + // (Deprecated) First certificate ID used by the frontend. // // Deprecated: Please use certificate_ids CertificateId pulumi.StringPtrInput - // List of Certificate IDs that should be used by the frontend. + // List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. CertificateIds pulumi.StringArrayInput // Activates HTTP/3 protocol. EnableHttp3 pulumi.BoolPtrInput // A boolean to specify whether to use lb_acl. - // If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + // If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. ExternalAcls pulumi.BoolPtrInput - // TCP port to listen on the front side. + // TCP port to listen to on the front side. InboundPort pulumi.IntPtrInput - // The load-balancer ID this frontend is attached to. + // The ID of the Load Balancer this frontend is attached to. LbId pulumi.StringPtrInput // The ACL name. If not provided it will be randomly generated. Name pulumi.StringPtrInput - // Maximum inactivity time on the client side. (e.g.: `1s`) + // Maximum inactivity time on the client side. (e.g. `1s`) TimeoutClient pulumi.StringPtrInput } @@ -301,55 +303,55 @@ func (LoadbalancerFrontendState) ElementType() reflect.Type { } type loadbalancerFrontendArgs struct { - // A list of ACL rules to apply to the load-balancer frontend. Defined below. + // A list of ACL rules to apply to the Load Balancer frontend. Defined below. Acls []LoadbalancerFrontendAcl `pulumi:"acls"` - // The load-balancer backend ID this frontend is attached to. + // The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. BackendId string `pulumi:"backendId"` - // List of Certificate IDs that should be used by the frontend. + // List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. CertificateIds []string `pulumi:"certificateIds"` // Activates HTTP/3 protocol. EnableHttp3 *bool `pulumi:"enableHttp3"` // A boolean to specify whether to use lb_acl. - // If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + // If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. ExternalAcls *bool `pulumi:"externalAcls"` - // TCP port to listen on the front side. + // TCP port to listen to on the front side. InboundPort int `pulumi:"inboundPort"` - // The load-balancer ID this frontend is attached to. + // The ID of the Load Balancer this frontend is attached to. LbId string `pulumi:"lbId"` // The ACL name. If not provided it will be randomly generated. Name *string `pulumi:"name"` - // Maximum inactivity time on the client side. (e.g.: `1s`) + // Maximum inactivity time on the client side. (e.g. `1s`) TimeoutClient *string `pulumi:"timeoutClient"` } // The set of arguments for constructing a LoadbalancerFrontend resource. type LoadbalancerFrontendArgs struct { - // A list of ACL rules to apply to the load-balancer frontend. Defined below. + // A list of ACL rules to apply to the Load Balancer frontend. Defined below. Acls LoadbalancerFrontendAclArrayInput - // The load-balancer backend ID this frontend is attached to. + // The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. BackendId pulumi.StringInput - // List of Certificate IDs that should be used by the frontend. + // List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. CertificateIds pulumi.StringArrayInput // Activates HTTP/3 protocol. EnableHttp3 pulumi.BoolPtrInput // A boolean to specify whether to use lb_acl. - // If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + // If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. ExternalAcls pulumi.BoolPtrInput - // TCP port to listen on the front side. + // TCP port to listen to on the front side. InboundPort pulumi.IntInput - // The load-balancer ID this frontend is attached to. + // The ID of the Load Balancer this frontend is attached to. LbId pulumi.StringInput // The ACL name. If not provided it will be randomly generated. Name pulumi.StringPtrInput - // Maximum inactivity time on the client side. (e.g.: `1s`) + // Maximum inactivity time on the client side. (e.g. `1s`) TimeoutClient pulumi.StringPtrInput } @@ -440,26 +442,26 @@ func (o LoadbalancerFrontendOutput) ToLoadbalancerFrontendOutputWithContext(ctx return o } -// A list of ACL rules to apply to the load-balancer frontend. Defined below. +// A list of ACL rules to apply to the Load Balancer frontend. Defined below. func (o LoadbalancerFrontendOutput) Acls() LoadbalancerFrontendAclArrayOutput { return o.ApplyT(func(v *LoadbalancerFrontend) LoadbalancerFrontendAclArrayOutput { return v.Acls }).(LoadbalancerFrontendAclArrayOutput) } -// The load-balancer backend ID this frontend is attached to. +// The ID of the Load Balancer backend this frontend is attached to. // // > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. func (o LoadbalancerFrontendOutput) BackendId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.StringOutput { return v.BackendId }).(pulumi.StringOutput) } -// (Deprecated) first certificate ID used by the frontend. +// (Deprecated) First certificate ID used by the frontend. // // Deprecated: Please use certificate_ids func (o LoadbalancerFrontendOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.StringOutput { return v.CertificateId }).(pulumi.StringOutput) } -// List of Certificate IDs that should be used by the frontend. +// List of certificate IDs that should be used by the frontend. // // > **Important:** Certificates are not allowed on port 80. func (o LoadbalancerFrontendOutput) CertificateIds() pulumi.StringArrayOutput { @@ -472,17 +474,17 @@ func (o LoadbalancerFrontendOutput) EnableHttp3() pulumi.BoolPtrOutput { } // A boolean to specify whether to use lb_acl. -// If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. +// If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. func (o LoadbalancerFrontendOutput) ExternalAcls() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.BoolPtrOutput { return v.ExternalAcls }).(pulumi.BoolPtrOutput) } -// TCP port to listen on the front side. +// TCP port to listen to on the front side. func (o LoadbalancerFrontendOutput) InboundPort() pulumi.IntOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.IntOutput { return v.InboundPort }).(pulumi.IntOutput) } -// The load-balancer ID this frontend is attached to. +// The ID of the Load Balancer this frontend is attached to. func (o LoadbalancerFrontendOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.StringOutput { return v.LbId }).(pulumi.StringOutput) } @@ -492,7 +494,7 @@ func (o LoadbalancerFrontendOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// Maximum inactivity time on the client side. (e.g.: `1s`) +// Maximum inactivity time on the client side. (e.g. `1s`) func (o LoadbalancerFrontendOutput) TimeoutClient() pulumi.StringPtrOutput { return o.ApplyT(func(v *LoadbalancerFrontend) pulumi.StringPtrOutput { return v.TimeoutClient }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/scaleway/loadbalancerIp.go b/sdk/go/scaleway/loadbalancerIp.go index d2f41fea..c5e172ae 100644 --- a/sdk/go/scaleway/loadbalancerIp.go +++ b/sdk/go/scaleway/loadbalancerIp.go @@ -11,8 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancers IPs. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses). +// Creates and manages Scaleway Load Balancer IP addresses. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). // // ## Example Usage // @@ -70,7 +71,7 @@ import ( // // ## Import // -// IPs can be imported using the `{zone}/{id}`, e.g. +// IPs can be imported using `{zone}/{id}`, e.g. // // bash // @@ -80,15 +81,15 @@ import ( type LoadbalancerIp struct { pulumi.CustomResourceState - // The IP Address + // The IP address IpAddress pulumi.StringOutput `pulumi:"ipAddress"` - // If true, creates a Flexible IP with an IPv6 address. + // If true, creates a flexible IP with an IPv6 address. IsIpv6 pulumi.BoolPtrOutput `pulumi:"isIpv6"` - // The associated load-balance ID if any + // The associated Load Balancer ID if any LbId pulumi.StringOutput `pulumi:"lbId"` // The organizationId you want to attach the resource to OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region of the resource Region pulumi.StringOutput `pulumi:"region"` @@ -128,15 +129,15 @@ func GetLoadbalancerIp(ctx *pulumi.Context, // Input properties used for looking up and filtering LoadbalancerIp resources. type loadbalancerIpState struct { - // The IP Address + // The IP address IpAddress *string `pulumi:"ipAddress"` - // If true, creates a Flexible IP with an IPv6 address. + // If true, creates a flexible IP with an IPv6 address. IsIpv6 *bool `pulumi:"isIpv6"` - // The associated load-balance ID if any + // The associated Load Balancer ID if any LbId *string `pulumi:"lbId"` // The organizationId you want to attach the resource to OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId *string `pulumi:"projectId"` // The region of the resource Region *string `pulumi:"region"` @@ -147,15 +148,15 @@ type loadbalancerIpState struct { } type LoadbalancerIpState struct { - // The IP Address + // The IP address IpAddress pulumi.StringPtrInput - // If true, creates a Flexible IP with an IPv6 address. + // If true, creates a flexible IP with an IPv6 address. IsIpv6 pulumi.BoolPtrInput - // The associated load-balance ID if any + // The associated Load Balancer ID if any LbId pulumi.StringPtrInput // The organizationId you want to attach the resource to OrganizationId pulumi.StringPtrInput - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringPtrInput // The region of the resource Region pulumi.StringPtrInput @@ -170,9 +171,9 @@ func (LoadbalancerIpState) ElementType() reflect.Type { } type loadbalancerIpArgs struct { - // If true, creates a Flexible IP with an IPv6 address. + // If true, creates a flexible IP with an IPv6 address. IsIpv6 *bool `pulumi:"isIpv6"` - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId *string `pulumi:"projectId"` // The reverse domain associated with this IP. Reverse *string `pulumi:"reverse"` @@ -182,9 +183,9 @@ type loadbalancerIpArgs struct { // The set of arguments for constructing a LoadbalancerIp resource. type LoadbalancerIpArgs struct { - // If true, creates a Flexible IP with an IPv6 address. + // If true, creates a flexible IP with an IPv6 address. IsIpv6 pulumi.BoolPtrInput - // `projectId`) The ID of the project the IP is associated with. + // `projectId`) The ID of the Project the IP is associated with. ProjectId pulumi.StringPtrInput // The reverse domain associated with this IP. Reverse pulumi.StringPtrInput @@ -279,17 +280,17 @@ func (o LoadbalancerIpOutput) ToLoadbalancerIpOutputWithContext(ctx context.Cont return o } -// The IP Address +// The IP address func (o LoadbalancerIpOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerIp) pulumi.StringOutput { return v.IpAddress }).(pulumi.StringOutput) } -// If true, creates a Flexible IP with an IPv6 address. +// If true, creates a flexible IP with an IPv6 address. func (o LoadbalancerIpOutput) IsIpv6() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LoadbalancerIp) pulumi.BoolPtrOutput { return v.IsIpv6 }).(pulumi.BoolPtrOutput) } -// The associated load-balance ID if any +// The associated Load Balancer ID if any func (o LoadbalancerIpOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerIp) pulumi.StringOutput { return v.LbId }).(pulumi.StringOutput) } @@ -299,7 +300,7 @@ func (o LoadbalancerIpOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerIp) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the IP is associated with. +// `projectId`) The ID of the Project the IP is associated with. func (o LoadbalancerIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerIp) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/loadbalancerRoute.go b/sdk/go/scaleway/loadbalancerRoute.go index 236bfea8..f05ffb92 100644 --- a/sdk/go/scaleway/loadbalancerRoute.go +++ b/sdk/go/scaleway/loadbalancerRoute.go @@ -12,8 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Load-Balancer Routes. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). +// Creates and manages Scaleway Load Balancer routes. +// +// For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). // // ## Example Usage // @@ -131,7 +132,7 @@ import ( // // ## Import // -// Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. +// Load Balancer frontends can be imported using `{zone}/{id}`, e.g. // // bash // @@ -141,11 +142,11 @@ import ( type LoadbalancerRoute struct { pulumi.CustomResourceState - // The ID of the backend to which the route is associated. + // The ID of the backend the route is associated with. BackendId pulumi.StringOutput `pulumi:"backendId"` - // The date at which the route was created. + // The date on which the route was created. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The ID of the frontend to which the route is associated. + // The ID of the frontend the route is associated with. FrontendId pulumi.StringOutput `pulumi:"frontendId"` // The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. // Only one of `matchSni` and `matchHostHeader` should be specified. @@ -157,7 +158,7 @@ type LoadbalancerRoute struct { // // > **Important:** This field should be set for routes on TCP Load Balancers. MatchSni pulumi.StringPtrOutput `pulumi:"matchSni"` - // The date at which the route was last updated. + // The date on which the route was last updated. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` } @@ -197,11 +198,11 @@ func GetLoadbalancerRoute(ctx *pulumi.Context, // Input properties used for looking up and filtering LoadbalancerRoute resources. type loadbalancerRouteState struct { - // The ID of the backend to which the route is associated. + // The ID of the backend the route is associated with. BackendId *string `pulumi:"backendId"` - // The date at which the route was created. + // The date on which the route was created. CreatedAt *string `pulumi:"createdAt"` - // The ID of the frontend to which the route is associated. + // The ID of the frontend the route is associated with. FrontendId *string `pulumi:"frontendId"` // The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. // Only one of `matchSni` and `matchHostHeader` should be specified. @@ -213,16 +214,16 @@ type loadbalancerRouteState struct { // // > **Important:** This field should be set for routes on TCP Load Balancers. MatchSni *string `pulumi:"matchSni"` - // The date at which the route was last updated. + // The date on which the route was last updated. UpdatedAt *string `pulumi:"updatedAt"` } type LoadbalancerRouteState struct { - // The ID of the backend to which the route is associated. + // The ID of the backend the route is associated with. BackendId pulumi.StringPtrInput - // The date at which the route was created. + // The date on which the route was created. CreatedAt pulumi.StringPtrInput - // The ID of the frontend to which the route is associated. + // The ID of the frontend the route is associated with. FrontendId pulumi.StringPtrInput // The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. // Only one of `matchSni` and `matchHostHeader` should be specified. @@ -234,7 +235,7 @@ type LoadbalancerRouteState struct { // // > **Important:** This field should be set for routes on TCP Load Balancers. MatchSni pulumi.StringPtrInput - // The date at which the route was last updated. + // The date on which the route was last updated. UpdatedAt pulumi.StringPtrInput } @@ -243,9 +244,9 @@ func (LoadbalancerRouteState) ElementType() reflect.Type { } type loadbalancerRouteArgs struct { - // The ID of the backend to which the route is associated. + // The ID of the backend the route is associated with. BackendId string `pulumi:"backendId"` - // The ID of the frontend to which the route is associated. + // The ID of the frontend the route is associated with. FrontendId string `pulumi:"frontendId"` // The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. // Only one of `matchSni` and `matchHostHeader` should be specified. @@ -261,9 +262,9 @@ type loadbalancerRouteArgs struct { // The set of arguments for constructing a LoadbalancerRoute resource. type LoadbalancerRouteArgs struct { - // The ID of the backend to which the route is associated. + // The ID of the backend the route is associated with. BackendId pulumi.StringInput - // The ID of the frontend to which the route is associated. + // The ID of the frontend the route is associated with. FrontendId pulumi.StringInput // The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. // Only one of `matchSni` and `matchHostHeader` should be specified. @@ -364,17 +365,17 @@ func (o LoadbalancerRouteOutput) ToLoadbalancerRouteOutputWithContext(ctx contex return o } -// The ID of the backend to which the route is associated. +// The ID of the backend the route is associated with. func (o LoadbalancerRouteOutput) BackendId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerRoute) pulumi.StringOutput { return v.BackendId }).(pulumi.StringOutput) } -// The date at which the route was created. +// The date on which the route was created. func (o LoadbalancerRouteOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerRoute) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the frontend to which the route is associated. +// The ID of the frontend the route is associated with. func (o LoadbalancerRouteOutput) FrontendId() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerRoute) pulumi.StringOutput { return v.FrontendId }).(pulumi.StringOutput) } @@ -395,7 +396,7 @@ func (o LoadbalancerRouteOutput) MatchSni() pulumi.StringPtrOutput { return o.ApplyT(func(v *LoadbalancerRoute) pulumi.StringPtrOutput { return v.MatchSni }).(pulumi.StringPtrOutput) } -// The date at which the route was last updated. +// The date on which the route was last updated. func (o LoadbalancerRouteOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *LoadbalancerRoute) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqNatsAccount.go b/sdk/go/scaleway/mnqNatsAccount.go index 1415952e..c002cca8 100644 --- a/sdk/go/scaleway/mnqNatsAccount.go +++ b/sdk/go/scaleway/mnqNatsAccount.go @@ -11,10 +11,10 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Messaging and queuing Nats Accounts. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) -// To use Scaleway's provider with official nats jetstream provider, check out the corresponding guide +// Creates and manages Scaleway Messaging and Queuing NATS accounts. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) +// To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide. // // ## Example Usage // @@ -44,7 +44,7 @@ import ( // // ## Import // -// Namespaces can be imported using the `{region}/{id}`, e.g. +// Namespaces can be imported using `{region}/{id}`, e.g. // // bash // @@ -56,9 +56,9 @@ type MnqNatsAccount struct { // The endpoint of the NATS service for this account. Endpoint pulumi.StringOutput `pulumi:"endpoint"` - // The unique name of the nats account. + // The unique name of the NATS account. Name pulumi.StringOutput `pulumi:"name"` - // `projectId`) The ID of the project the + // `projectId`) The ID of the Project the // account is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`). The region @@ -98,9 +98,9 @@ func GetMnqNatsAccount(ctx *pulumi.Context, type mnqNatsAccountState struct { // The endpoint of the NATS service for this account. Endpoint *string `pulumi:"endpoint"` - // The unique name of the nats account. + // The unique name of the NATS account. Name *string `pulumi:"name"` - // `projectId`) The ID of the project the + // `projectId`) The ID of the Project the // account is associated with. ProjectId *string `pulumi:"projectId"` // `region`). The region @@ -111,9 +111,9 @@ type mnqNatsAccountState struct { type MnqNatsAccountState struct { // The endpoint of the NATS service for this account. Endpoint pulumi.StringPtrInput - // The unique name of the nats account. + // The unique name of the NATS account. Name pulumi.StringPtrInput - // `projectId`) The ID of the project the + // `projectId`) The ID of the Project the // account is associated with. ProjectId pulumi.StringPtrInput // `region`). The region @@ -126,9 +126,9 @@ func (MnqNatsAccountState) ElementType() reflect.Type { } type mnqNatsAccountArgs struct { - // The unique name of the nats account. + // The unique name of the NATS account. Name *string `pulumi:"name"` - // `projectId`) The ID of the project the + // `projectId`) The ID of the Project the // account is associated with. ProjectId *string `pulumi:"projectId"` // `region`). The region @@ -138,9 +138,9 @@ type mnqNatsAccountArgs struct { // The set of arguments for constructing a MnqNatsAccount resource. type MnqNatsAccountArgs struct { - // The unique name of the nats account. + // The unique name of the NATS account. Name pulumi.StringPtrInput - // `projectId`) The ID of the project the + // `projectId`) The ID of the Project the // account is associated with. ProjectId pulumi.StringPtrInput // `region`). The region @@ -240,12 +240,12 @@ func (o MnqNatsAccountOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsAccount) pulumi.StringOutput { return v.Endpoint }).(pulumi.StringOutput) } -// The unique name of the nats account. +// The unique name of the NATS account. func (o MnqNatsAccountOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the +// `projectId`) The ID of the Project the // account is associated with. func (o MnqNatsAccountOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsAccount) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) diff --git a/sdk/go/scaleway/mnqNatsCredentials.go b/sdk/go/scaleway/mnqNatsCredentials.go index 29106c9d..86fe7ce5 100644 --- a/sdk/go/scaleway/mnqNatsCredentials.go +++ b/sdk/go/scaleway/mnqNatsCredentials.go @@ -12,9 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Messaging and queuing Nats Credentials. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) +// Creates and manages Scaleway Messaging and Queuing NATS credentials. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/). // // ## Example Usage // @@ -50,7 +50,7 @@ import ( // // ## Import // -// Namespaces can be imported using the `{region}/{id}`, e.g. +// Namespaces can be imported using `{region}/{id}`, e.g. // // bash // @@ -60,11 +60,11 @@ import ( type MnqNatsCredentials struct { pulumi.CustomResourceState - // The ID of the nats account the credentials are generated from + // The ID of the NATS account the credentials are generated from AccountId pulumi.StringOutput `pulumi:"accountId"` // The content of the credentials file. File pulumi.StringOutput `pulumi:"file"` - // The unique name of the nats credentials. + // The unique name of the NATS credentials. Name pulumi.StringOutput `pulumi:"name"` // `region`). The region // in which the account exists. @@ -104,11 +104,11 @@ func GetMnqNatsCredentials(ctx *pulumi.Context, // Input properties used for looking up and filtering MnqNatsCredentials resources. type mnqNatsCredentialsState struct { - // The ID of the nats account the credentials are generated from + // The ID of the NATS account the credentials are generated from AccountId *string `pulumi:"accountId"` // The content of the credentials file. File *string `pulumi:"file"` - // The unique name of the nats credentials. + // The unique name of the NATS credentials. Name *string `pulumi:"name"` // `region`). The region // in which the account exists. @@ -116,11 +116,11 @@ type mnqNatsCredentialsState struct { } type MnqNatsCredentialsState struct { - // The ID of the nats account the credentials are generated from + // The ID of the NATS account the credentials are generated from AccountId pulumi.StringPtrInput // The content of the credentials file. File pulumi.StringPtrInput - // The unique name of the nats credentials. + // The unique name of the NATS credentials. Name pulumi.StringPtrInput // `region`). The region // in which the account exists. @@ -132,9 +132,9 @@ func (MnqNatsCredentialsState) ElementType() reflect.Type { } type mnqNatsCredentialsArgs struct { - // The ID of the nats account the credentials are generated from + // The ID of the NATS account the credentials are generated from AccountId string `pulumi:"accountId"` - // The unique name of the nats credentials. + // The unique name of the NATS credentials. Name *string `pulumi:"name"` // `region`). The region // in which the account exists. @@ -143,9 +143,9 @@ type mnqNatsCredentialsArgs struct { // The set of arguments for constructing a MnqNatsCredentials resource. type MnqNatsCredentialsArgs struct { - // The ID of the nats account the credentials are generated from + // The ID of the NATS account the credentials are generated from AccountId pulumi.StringInput - // The unique name of the nats credentials. + // The unique name of the NATS credentials. Name pulumi.StringPtrInput // `region`). The region // in which the account exists. @@ -239,7 +239,7 @@ func (o MnqNatsCredentialsOutput) ToMnqNatsCredentialsOutputWithContext(ctx cont return o } -// The ID of the nats account the credentials are generated from +// The ID of the NATS account the credentials are generated from func (o MnqNatsCredentialsOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsCredentials) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } @@ -249,7 +249,7 @@ func (o MnqNatsCredentialsOutput) File() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsCredentials) pulumi.StringOutput { return v.File }).(pulumi.StringOutput) } -// The unique name of the nats credentials. +// The unique name of the NATS credentials. func (o MnqNatsCredentialsOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqNatsCredentials) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSns.go b/sdk/go/scaleway/mnqSns.go index 305df9d9..0c012776 100644 --- a/sdk/go/scaleway/mnqSns.go +++ b/sdk/go/scaleway/mnqSns.go @@ -11,15 +11,15 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Activate Scaleway Messaging and queuing SNS for a project. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) +// Activates Scaleway Messaging and Queuing SNS in a Project. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). // // ## Example Usage // // ### Basic // -// # Activate SNS for default project +// # Activate SNS in the default Project // // ```go // package main @@ -43,7 +43,7 @@ import ( // // ``` // -// # Activate SNS for a specific project +// # Activate SNS in a specific Project // // ```go // package main @@ -63,7 +63,7 @@ import ( // if err != nil { // return err // } -// // For specific project in default region +// // For specific Project in default region // _, err = scaleway.NewMnqSns(ctx, "forProject", &scaleway.MnqSnsArgs{ // ProjectId: pulumi.String(project.Id), // }) @@ -78,7 +78,7 @@ import ( // // ## Import // -// SNS status can be imported using the `{region}/{project_id}`, e.g. +// SNS status can be imported using `{region}/{project_id}`, e.g. // // bash // @@ -88,12 +88,12 @@ import ( type MnqSns struct { pulumi.CustomResourceState - // The endpoint of the SNS service for this project. + // The endpoint of the SNS service for this Project. Endpoint pulumi.StringOutput `pulumi:"endpoint"` - // `projectId`) The ID of the project the sns will be enabled for. + // `projectId`) The ID of the project in which SNS will be enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`). The region - // in which sns will be enabled. + // in which SNS will be enabled. Region pulumi.StringOutput `pulumi:"region"` } @@ -127,22 +127,22 @@ func GetMnqSns(ctx *pulumi.Context, // Input properties used for looking up and filtering MnqSns resources. type mnqSnsState struct { - // The endpoint of the SNS service for this project. + // The endpoint of the SNS service for this Project. Endpoint *string `pulumi:"endpoint"` - // `projectId`) The ID of the project the sns will be enabled for. + // `projectId`) The ID of the project in which SNS will be enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sns will be enabled. + // in which SNS will be enabled. Region *string `pulumi:"region"` } type MnqSnsState struct { - // The endpoint of the SNS service for this project. + // The endpoint of the SNS service for this Project. Endpoint pulumi.StringPtrInput - // `projectId`) The ID of the project the sns will be enabled for. + // `projectId`) The ID of the project in which SNS will be enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sns will be enabled. + // in which SNS will be enabled. Region pulumi.StringPtrInput } @@ -151,19 +151,19 @@ func (MnqSnsState) ElementType() reflect.Type { } type mnqSnsArgs struct { - // `projectId`) The ID of the project the sns will be enabled for. + // `projectId`) The ID of the project in which SNS will be enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sns will be enabled. + // in which SNS will be enabled. Region *string `pulumi:"region"` } // The set of arguments for constructing a MnqSns resource. type MnqSnsArgs struct { - // `projectId`) The ID of the project the sns will be enabled for. + // `projectId`) The ID of the project in which SNS will be enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sns will be enabled. + // in which SNS will be enabled. Region pulumi.StringPtrInput } @@ -254,18 +254,18 @@ func (o MnqSnsOutput) ToMnqSnsOutputWithContext(ctx context.Context) MnqSnsOutpu return o } -// The endpoint of the SNS service for this project. +// The endpoint of the SNS service for this Project. func (o MnqSnsOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v *MnqSns) pulumi.StringOutput { return v.Endpoint }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the sns will be enabled for. +// `projectId`) The ID of the project in which SNS will be enabled. func (o MnqSnsOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSns) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } // `region`). The region -// in which sns will be enabled. +// in which SNS will be enabled. func (o MnqSnsOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSns) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSnsCredentials.go b/sdk/go/scaleway/mnqSnsCredentials.go index ecf92cfd..85672298 100644 --- a/sdk/go/scaleway/mnqSnsCredentials.go +++ b/sdk/go/scaleway/mnqSnsCredentials.go @@ -11,9 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Messaging and queuing SNS Credentials. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) +// Creates and manages Scaleway Messaging and Queuing SNS credentials. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) // // ## Example Usage // @@ -54,7 +54,7 @@ import ( // // ## Import // -// SNS credentials can be imported using the `{region}/{id}`, e.g. +// SNS credentials can be imported using `{region}/{id}`, e.g. // // bash // @@ -66,13 +66,13 @@ type MnqSnsCredentials struct { // The ID of the key. AccessKey pulumi.StringOutput `pulumi:"accessKey"` - // The unique name of the sns credentials. + // The unique name of the SNS credentials. Name pulumi.StringOutput `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSnsCredentialsPermissionsOutput `pulumi:"permissions"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // `region`). The region in which sns is enabled. + // `region`). The region in which SNS is enabled. Region pulumi.StringOutput `pulumi:"region"` // The secret value of the key. SecretKey pulumi.StringOutput `pulumi:"secretKey"` @@ -115,13 +115,13 @@ func GetMnqSnsCredentials(ctx *pulumi.Context, type mnqSnsCredentialsState struct { // The ID of the key. AccessKey *string `pulumi:"accessKey"` - // The unique name of the sns credentials. + // The unique name of the SNS credentials. Name *string `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions *MnqSnsCredentialsPermissions `pulumi:"permissions"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which sns is enabled. + // `region`). The region in which SNS is enabled. Region *string `pulumi:"region"` // The secret value of the key. SecretKey *string `pulumi:"secretKey"` @@ -130,13 +130,13 @@ type mnqSnsCredentialsState struct { type MnqSnsCredentialsState struct { // The ID of the key. AccessKey pulumi.StringPtrInput - // The unique name of the sns credentials. + // The unique name of the SNS credentials. Name pulumi.StringPtrInput - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSnsCredentialsPermissionsPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput - // `region`). The region in which sns is enabled. + // `region`). The region in which SNS is enabled. Region pulumi.StringPtrInput // The secret value of the key. SecretKey pulumi.StringPtrInput @@ -147,25 +147,25 @@ func (MnqSnsCredentialsState) ElementType() reflect.Type { } type mnqSnsCredentialsArgs struct { - // The unique name of the sns credentials. + // The unique name of the SNS credentials. Name *string `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions *MnqSnsCredentialsPermissions `pulumi:"permissions"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which sns is enabled. + // `region`). The region in which SNS is enabled. Region *string `pulumi:"region"` } // The set of arguments for constructing a MnqSnsCredentials resource. type MnqSnsCredentialsArgs struct { - // The unique name of the sns credentials. + // The unique name of the SNS credentials. Name pulumi.StringPtrInput - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSnsCredentialsPermissionsPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput - // `region`). The region in which sns is enabled. + // `region`). The region in which SNS is enabled. Region pulumi.StringPtrInput } @@ -261,22 +261,22 @@ func (o MnqSnsCredentialsOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsCredentials) pulumi.StringOutput { return v.AccessKey }).(pulumi.StringOutput) } -// The unique name of the sns credentials. +// The unique name of the SNS credentials. func (o MnqSnsCredentialsOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsCredentials) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// . List of permissions associated to these credentials. Only one of permissions may be set. +// . List of permissions associated with these credentials. Only one of the following permissions may be set: func (o MnqSnsCredentialsOutput) Permissions() MnqSnsCredentialsPermissionsOutput { return o.ApplyT(func(v *MnqSnsCredentials) MnqSnsCredentialsPermissionsOutput { return v.Permissions }).(MnqSnsCredentialsPermissionsOutput) } -// `projectId`) The ID of the project the sns is enabled for. +// `projectId`) The ID of the Project in which SNS is enabled. func (o MnqSnsCredentialsOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsCredentials) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// `region`). The region in which sns is enabled. +// `region`). The region in which SNS is enabled. func (o MnqSnsCredentialsOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsCredentials) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSnsTopic.go b/sdk/go/scaleway/mnqSnsTopic.go index e8faea19..d1dab93c 100644 --- a/sdk/go/scaleway/mnqSnsTopic.go +++ b/sdk/go/scaleway/mnqSnsTopic.go @@ -12,9 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Manage Scaleway Messaging and queuing SNS Topics. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) +// Manage Scaleway Messaging and queuing SNS topics. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/). // // ## Example Usage // @@ -61,7 +61,7 @@ import ( // // ## Import // -// SNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g. +// SNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g. // // bash // @@ -77,18 +77,18 @@ type MnqSnsTopic struct { Arn pulumi.StringOutput `pulumi:"arn"` // Specifies whether to enable content-based deduplication. ContentBasedDeduplication pulumi.BoolOutput `pulumi:"contentBasedDeduplication"` - // Whether the topic is a FIFO. If true, the topic name must end with .fifo. + // Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. FifoTopic pulumi.BoolOutput `pulumi:"fifoTopic"` - // The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Owner of the SNS topic, should have format 'project-${project_id}' Owner pulumi.StringOutput `pulumi:"owner"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringOutput `pulumi:"region"` // The secret key of the SNS credentials. SecretKey pulumi.StringOutput `pulumi:"secretKey"` @@ -149,18 +149,18 @@ type mnqSnsTopicState struct { Arn *string `pulumi:"arn"` // Specifies whether to enable content-based deduplication. ContentBasedDeduplication *bool `pulumi:"contentBasedDeduplication"` - // Whether the topic is a FIFO. If true, the topic name must end with .fifo. + // Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. FifoTopic *bool `pulumi:"fifoTopic"` - // The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix *string `pulumi:"namePrefix"` // Owner of the SNS topic, should have format 'project-${project_id}' Owner *string `pulumi:"owner"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region *string `pulumi:"region"` // The secret key of the SNS credentials. SecretKey *string `pulumi:"secretKey"` @@ -175,18 +175,18 @@ type MnqSnsTopicState struct { Arn pulumi.StringPtrInput // Specifies whether to enable content-based deduplication. ContentBasedDeduplication pulumi.BoolPtrInput - // Whether the topic is a FIFO. If true, the topic name must end with .fifo. + // Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. FifoTopic pulumi.BoolPtrInput - // The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Owner of the SNS topic, should have format 'project-${project_id}' Owner pulumi.StringPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringPtrInput // The secret key of the SNS credentials. SecretKey pulumi.StringPtrInput @@ -203,16 +203,16 @@ type mnqSnsTopicArgs struct { AccessKey string `pulumi:"accessKey"` // Specifies whether to enable content-based deduplication. ContentBasedDeduplication *bool `pulumi:"contentBasedDeduplication"` - // Whether the topic is a FIFO. If true, the topic name must end with .fifo. + // Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. FifoTopic *bool `pulumi:"fifoTopic"` - // The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix *string `pulumi:"namePrefix"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region *string `pulumi:"region"` // The secret key of the SNS credentials. SecretKey string `pulumi:"secretKey"` @@ -226,16 +226,16 @@ type MnqSnsTopicArgs struct { AccessKey pulumi.StringInput // Specifies whether to enable content-based deduplication. ContentBasedDeduplication pulumi.BoolPtrInput - // Whether the topic is a FIFO. If true, the topic name must end with .fifo. + // Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. FifoTopic pulumi.BoolPtrInput - // The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringPtrInput // The secret key of the SNS credentials. SecretKey pulumi.StringInput @@ -345,12 +345,12 @@ func (o MnqSnsTopicOutput) ContentBasedDeduplication() pulumi.BoolOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.BoolOutput { return v.ContentBasedDeduplication }).(pulumi.BoolOutput) } -// Whether the topic is a FIFO. If true, the topic name must end with .fifo. +// Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. func (o MnqSnsTopicOutput) FifoTopic() pulumi.BoolOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.BoolOutput { return v.FifoTopic }).(pulumi.BoolOutput) } -// The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. +// The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. func (o MnqSnsTopicOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -365,13 +365,13 @@ func (o MnqSnsTopicOutput) Owner() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the sns is enabled for. +// `projectId`) The ID of the Project in which SNS is enabled. func (o MnqSnsTopicOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } // `region`). The region -// in which sns is enabled. +// in which SNS is enabled. func (o MnqSnsTopicOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopic) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSnsTopicSubscription.go b/sdk/go/scaleway/mnqSnsTopicSubscription.go index 2d24de2d..aa4e027f 100644 --- a/sdk/go/scaleway/mnqSnsTopicSubscription.go +++ b/sdk/go/scaleway/mnqSnsTopicSubscription.go @@ -12,9 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Manage Scaleway Messaging and queuing SNS Topic Subscriptions. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) +// Manages Scaleway Messaging and Queuing SNS topic subscriptions. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). // // ## Example Usage // @@ -75,7 +75,7 @@ import ( // // ## Import // -// SNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. +// SNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. // // bash // @@ -91,14 +91,14 @@ type MnqSnsTopicSubscription struct { Arn pulumi.StringOutput `pulumi:"arn"` // Endpoint of the subscription Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // Protocol of the SNS Topic Subscription. + // Protocol of the SNS topic subscription. Protocol pulumi.StringOutput `pulumi:"protocol"` - // Activate JSON Redrive Policy. + // Activate JSON redrive policy. RedrivePolicy pulumi.BoolOutput `pulumi:"redrivePolicy"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringOutput `pulumi:"region"` // The secret key of the SNS credentials. SecretKey pulumi.StringOutput `pulumi:"secretKey"` @@ -166,14 +166,14 @@ type mnqSnsTopicSubscriptionState struct { Arn *string `pulumi:"arn"` // Endpoint of the subscription Endpoint *string `pulumi:"endpoint"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` - // Protocol of the SNS Topic Subscription. + // Protocol of the SNS topic subscription. Protocol *string `pulumi:"protocol"` - // Activate JSON Redrive Policy. + // Activate JSON redrive policy. RedrivePolicy *bool `pulumi:"redrivePolicy"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region *string `pulumi:"region"` // The secret key of the SNS credentials. SecretKey *string `pulumi:"secretKey"` @@ -192,14 +192,14 @@ type MnqSnsTopicSubscriptionState struct { Arn pulumi.StringPtrInput // Endpoint of the subscription Endpoint pulumi.StringPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput - // Protocol of the SNS Topic Subscription. + // Protocol of the SNS topic subscription. Protocol pulumi.StringPtrInput - // Activate JSON Redrive Policy. + // Activate JSON redrive policy. RedrivePolicy pulumi.BoolPtrInput // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringPtrInput // The secret key of the SNS credentials. SecretKey pulumi.StringPtrInput @@ -220,14 +220,14 @@ type mnqSnsTopicSubscriptionArgs struct { AccessKey string `pulumi:"accessKey"` // Endpoint of the subscription Endpoint *string `pulumi:"endpoint"` - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId *string `pulumi:"projectId"` - // Protocol of the SNS Topic Subscription. + // Protocol of the SNS topic subscription. Protocol string `pulumi:"protocol"` - // Activate JSON Redrive Policy. + // Activate JSON redrive policy. RedrivePolicy *bool `pulumi:"redrivePolicy"` // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region *string `pulumi:"region"` // The secret key of the SNS credentials. SecretKey string `pulumi:"secretKey"` @@ -245,14 +245,14 @@ type MnqSnsTopicSubscriptionArgs struct { AccessKey pulumi.StringInput // Endpoint of the subscription Endpoint pulumi.StringPtrInput - // `projectId`) The ID of the project the sns is enabled for. + // `projectId`) The ID of the Project in which SNS is enabled. ProjectId pulumi.StringPtrInput - // Protocol of the SNS Topic Subscription. + // Protocol of the SNS topic subscription. Protocol pulumi.StringInput - // Activate JSON Redrive Policy. + // Activate JSON redrive policy. RedrivePolicy pulumi.BoolPtrInput // `region`). The region - // in which sns is enabled. + // in which SNS is enabled. Region pulumi.StringPtrInput // The secret key of the SNS credentials. SecretKey pulumi.StringInput @@ -366,23 +366,23 @@ func (o MnqSnsTopicSubscriptionOutput) Endpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *MnqSnsTopicSubscription) pulumi.StringPtrOutput { return v.Endpoint }).(pulumi.StringPtrOutput) } -// `projectId`) The ID of the project the sns is enabled for. +// `projectId`) The ID of the Project in which SNS is enabled. func (o MnqSnsTopicSubscriptionOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopicSubscription) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// Protocol of the SNS Topic Subscription. +// Protocol of the SNS topic subscription. func (o MnqSnsTopicSubscriptionOutput) Protocol() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopicSubscription) pulumi.StringOutput { return v.Protocol }).(pulumi.StringOutput) } -// Activate JSON Redrive Policy. +// Activate JSON redrive policy. func (o MnqSnsTopicSubscriptionOutput) RedrivePolicy() pulumi.BoolOutput { return o.ApplyT(func(v *MnqSnsTopicSubscription) pulumi.BoolOutput { return v.RedrivePolicy }).(pulumi.BoolOutput) } // `region`). The region -// in which sns is enabled. +// in which SNS is enabled. func (o MnqSnsTopicSubscriptionOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSnsTopicSubscription) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSqs.go b/sdk/go/scaleway/mnqSqs.go index 016c8ea0..f3a6a9b7 100644 --- a/sdk/go/scaleway/mnqSqs.go +++ b/sdk/go/scaleway/mnqSqs.go @@ -11,15 +11,15 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Activate Scaleway Messaging and queuing SQS for a project. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) +// Activate Scaleway Messaging and Queuing SQS in a Project. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/). // // ## Example Usage // // ### Basic // -// # Activate SQS for default project +// # Activate SQS in the default Project // // ```go // package main @@ -87,12 +87,12 @@ import ( type MnqSqs struct { pulumi.CustomResourceState - // The endpoint of the SQS service for this project. + // The endpoint of the SQS service for this Project. Endpoint pulumi.StringOutput `pulumi:"endpoint"` - // `projectId`) The ID of the project the sqs will be enabled for. + // `projectId`) The ID of the Project in which SQS will be enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`). The region - // in which sqs will be enabled. + // in which SQS will be enabled. Region pulumi.StringOutput `pulumi:"region"` } @@ -126,22 +126,22 @@ func GetMnqSqs(ctx *pulumi.Context, // Input properties used for looking up and filtering MnqSqs resources. type mnqSqsState struct { - // The endpoint of the SQS service for this project. + // The endpoint of the SQS service for this Project. Endpoint *string `pulumi:"endpoint"` - // `projectId`) The ID of the project the sqs will be enabled for. + // `projectId`) The ID of the Project in which SQS will be enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sqs will be enabled. + // in which SQS will be enabled. Region *string `pulumi:"region"` } type MnqSqsState struct { - // The endpoint of the SQS service for this project. + // The endpoint of the SQS service for this Project. Endpoint pulumi.StringPtrInput - // `projectId`) The ID of the project the sqs will be enabled for. + // `projectId`) The ID of the Project in which SQS will be enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sqs will be enabled. + // in which SQS will be enabled. Region pulumi.StringPtrInput } @@ -150,19 +150,19 @@ func (MnqSqsState) ElementType() reflect.Type { } type mnqSqsArgs struct { - // `projectId`) The ID of the project the sqs will be enabled for. + // `projectId`) The ID of the Project in which SQS will be enabled. ProjectId *string `pulumi:"projectId"` // `region`). The region - // in which sqs will be enabled. + // in which SQS will be enabled. Region *string `pulumi:"region"` } // The set of arguments for constructing a MnqSqs resource. type MnqSqsArgs struct { - // `projectId`) The ID of the project the sqs will be enabled for. + // `projectId`) The ID of the Project in which SQS will be enabled. ProjectId pulumi.StringPtrInput // `region`). The region - // in which sqs will be enabled. + // in which SQS will be enabled. Region pulumi.StringPtrInput } @@ -253,18 +253,18 @@ func (o MnqSqsOutput) ToMnqSqsOutputWithContext(ctx context.Context) MnqSqsOutpu return o } -// The endpoint of the SQS service for this project. +// The endpoint of the SQS service for this Project. func (o MnqSqsOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqs) pulumi.StringOutput { return v.Endpoint }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the sqs will be enabled for. +// `projectId`) The ID of the Project in which SQS will be enabled. func (o MnqSqsOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqs) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } // `region`). The region -// in which sqs will be enabled. +// in which SQS will be enabled. func (o MnqSqsOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqs) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSqsCredentials.go b/sdk/go/scaleway/mnqSqsCredentials.go index 9e0fcc47..f629946e 100644 --- a/sdk/go/scaleway/mnqSqsCredentials.go +++ b/sdk/go/scaleway/mnqSqsCredentials.go @@ -11,9 +11,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Messaging and queuing SQS Credentials. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) +// Creates and manages Scaleway Messaging and Queuing SQS credentials. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) // // ## Example Usage // @@ -54,7 +54,7 @@ import ( // // ## Import // -// SQS credentials can be imported using the `{region}/{id}`, e.g. +// SQS credentials can be imported using `{region}/{id}`, e.g. // // bash // @@ -66,13 +66,13 @@ type MnqSqsCredentials struct { // The ID of the key. AccessKey pulumi.StringOutput `pulumi:"accessKey"` - // The unique name of the sqs credentials. + // The unique name of the SQS credentials. Name pulumi.StringOutput `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSqsCredentialsPermissionsOutput `pulumi:"permissions"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringOutput `pulumi:"region"` // The secret value of the key. SecretKey pulumi.StringOutput `pulumi:"secretKey"` @@ -115,13 +115,13 @@ func GetMnqSqsCredentials(ctx *pulumi.Context, type mnqSqsCredentialsState struct { // The ID of the key. AccessKey *string `pulumi:"accessKey"` - // The unique name of the sqs credentials. + // The unique name of the SQS credentials. Name *string `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions *MnqSqsCredentialsPermissions `pulumi:"permissions"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region *string `pulumi:"region"` // The secret value of the key. SecretKey *string `pulumi:"secretKey"` @@ -130,13 +130,13 @@ type mnqSqsCredentialsState struct { type MnqSqsCredentialsState struct { // The ID of the key. AccessKey pulumi.StringPtrInput - // The unique name of the sqs credentials. + // The unique name of the SQS credentials. Name pulumi.StringPtrInput - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSqsCredentialsPermissionsPtrInput - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringPtrInput - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringPtrInput // The secret value of the key. SecretKey pulumi.StringPtrInput @@ -147,25 +147,25 @@ func (MnqSqsCredentialsState) ElementType() reflect.Type { } type mnqSqsCredentialsArgs struct { - // The unique name of the sqs credentials. + // The unique name of the SQS credentials. Name *string `pulumi:"name"` - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions *MnqSqsCredentialsPermissions `pulumi:"permissions"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId *string `pulumi:"projectId"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region *string `pulumi:"region"` } // The set of arguments for constructing a MnqSqsCredentials resource. type MnqSqsCredentialsArgs struct { - // The unique name of the sqs credentials. + // The unique name of the SQS credentials. Name pulumi.StringPtrInput - // . List of permissions associated to these credentials. Only one of permissions may be set. + // . List of permissions associated with these credentials. Only one of the following permissions may be set: Permissions MnqSqsCredentialsPermissionsPtrInput - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringPtrInput - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringPtrInput } @@ -261,22 +261,22 @@ func (o MnqSqsCredentialsOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsCredentials) pulumi.StringOutput { return v.AccessKey }).(pulumi.StringOutput) } -// The unique name of the sqs credentials. +// The unique name of the SQS credentials. func (o MnqSqsCredentialsOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsCredentials) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// . List of permissions associated to these credentials. Only one of permissions may be set. +// . List of permissions associated with these credentials. Only one of the following permissions may be set: func (o MnqSqsCredentialsOutput) Permissions() MnqSqsCredentialsPermissionsOutput { return o.ApplyT(func(v *MnqSqsCredentials) MnqSqsCredentialsPermissionsOutput { return v.Permissions }).(MnqSqsCredentialsPermissionsOutput) } -// `projectId`) The ID of the project the sqs is enabled for. +// `projectId`) The ID of the Project in which SQS is enabled. func (o MnqSqsCredentialsOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsCredentials) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// `region`). The region in which sqs is enabled. +// `region`). The region in which SQS is enabled. func (o MnqSqsCredentialsOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsCredentials) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/mnqSqsQueue.go b/sdk/go/scaleway/mnqSqsQueue.go index 2064b82b..e7079a10 100644 --- a/sdk/go/scaleway/mnqSqsQueue.go +++ b/sdk/go/scaleway/mnqSqsQueue.go @@ -12,9 +12,9 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Messaging and queuing SQS Queues. -// For further information please check -// our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/) +// Creates and manages Scaleway Messaging and Queuing SQS queues. +// For further information, see +// our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/). // // ## Example Usage // @@ -74,15 +74,15 @@ type MnqSqsQueue struct { MessageMaxAge pulumi.IntPtrOutput `pulumi:"messageMaxAge"` // The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. MessageMaxSize pulumi.IntPtrOutput `pulumi:"messageMaxSize"` - // The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. ReceiveWaitTimeSeconds pulumi.IntPtrOutput `pulumi:"receiveWaitTimeSeconds"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringOutput `pulumi:"region"` // The secret key of the SQS queue. SecretKey pulumi.StringOutput `pulumi:"secretKey"` @@ -151,15 +151,15 @@ type mnqSqsQueueState struct { MessageMaxAge *int `pulumi:"messageMaxAge"` // The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. MessageMaxSize *int `pulumi:"messageMaxSize"` - // The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix *string `pulumi:"namePrefix"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId *string `pulumi:"projectId"` // The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. ReceiveWaitTimeSeconds *int `pulumi:"receiveWaitTimeSeconds"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region *string `pulumi:"region"` // The secret key of the SQS queue. SecretKey *string `pulumi:"secretKey"` @@ -182,15 +182,15 @@ type MnqSqsQueueState struct { MessageMaxAge pulumi.IntPtrInput // The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. MessageMaxSize pulumi.IntPtrInput - // The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringPtrInput // The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. ReceiveWaitTimeSeconds pulumi.IntPtrInput - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringPtrInput // The secret key of the SQS queue. SecretKey pulumi.StringPtrInput @@ -217,15 +217,15 @@ type mnqSqsQueueArgs struct { MessageMaxAge *int `pulumi:"messageMaxAge"` // The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. MessageMaxSize *int `pulumi:"messageMaxSize"` - // The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix *string `pulumi:"namePrefix"` - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId *string `pulumi:"projectId"` // The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. ReceiveWaitTimeSeconds *int `pulumi:"receiveWaitTimeSeconds"` - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region *string `pulumi:"region"` // The secret key of the SQS queue. SecretKey string `pulumi:"secretKey"` @@ -247,15 +247,15 @@ type MnqSqsQueueArgs struct { MessageMaxAge pulumi.IntPtrInput // The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. MessageMaxSize pulumi.IntPtrInput - // The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + // The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput - // `projectId`) The ID of the project the sqs is enabled for. + // `projectId`) The ID of the Project in which SQS is enabled. ProjectId pulumi.StringPtrInput // The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. ReceiveWaitTimeSeconds pulumi.IntPtrInput - // `region`). The region in which sqs is enabled. + // `region`). The region in which SQS is enabled. Region pulumi.StringPtrInput // The secret key of the SQS queue. SecretKey pulumi.StringInput @@ -377,7 +377,7 @@ func (o MnqSqsQueueOutput) MessageMaxSize() pulumi.IntPtrOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.IntPtrOutput { return v.MessageMaxSize }).(pulumi.IntPtrOutput) } -// The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. +// The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. func (o MnqSqsQueueOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -387,7 +387,7 @@ func (o MnqSqsQueueOutput) NamePrefix() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.StringOutput { return v.NamePrefix }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the sqs is enabled for. +// `projectId`) The ID of the Project in which SQS is enabled. func (o MnqSqsQueueOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -397,7 +397,7 @@ func (o MnqSqsQueueOutput) ReceiveWaitTimeSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.IntPtrOutput { return v.ReceiveWaitTimeSeconds }).(pulumi.IntPtrOutput) } -// `region`). The region in which sqs is enabled. +// `region`). The region in which SQS is enabled. func (o MnqSqsQueueOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *MnqSqsQueue) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/pulumiTypes.go b/sdk/go/scaleway/pulumiTypes.go index 3707d54f..ff5909e4 100644 --- a/sdk/go/scaleway/pulumiTypes.go +++ b/sdk/go/scaleway/pulumiTypes.go @@ -1657,7 +1657,7 @@ func (o ContainerTriggerSqsPtrOutput) Region() pulumi.StringPtrOutput { type DatabaseAclAclRule struct { // A text describing this rule. Default description: `IP allowed` Description *string `pulumi:"description"` - // The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + // The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) Ip string `pulumi:"ip"` } @@ -1675,7 +1675,7 @@ type DatabaseAclAclRuleInput interface { type DatabaseAclAclRuleArgs struct { // A text describing this rule. Default description: `IP allowed` Description pulumi.StringPtrInput `pulumi:"description"` - // The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + // The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) Ip pulumi.StringInput `pulumi:"ip"` } @@ -1735,7 +1735,7 @@ func (o DatabaseAclAclRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseAclAclRule) *string { return v.Description }).(pulumi.StringPtrOutput) } -// The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) +// The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) func (o DatabaseAclAclRuleOutput) Ip() pulumi.StringOutput { return o.ApplyT(func(v DatabaseAclAclRule) string { return v.Ip }).(pulumi.StringOutput) } @@ -2454,11 +2454,11 @@ func (o DatabaseInstanceReadReplicaArrayOutput) Index(i pulumi.IntInput) Databas } type DatabaseReadReplicaDirectAccess struct { - // The ID of the endpoint of the read replica. + // The ID of the endpoint of the Read Replica. EndpointId *string `pulumi:"endpointId"` - // Hostname of the endpoint. Only one of ip and hostname may be set. + // Hostname of the endpoint. Only one of IP and hostname may be set. Hostname *string `pulumi:"hostname"` - // IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + // IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. Ip *string `pulumi:"ip"` // Name of the endpoint. Name *string `pulumi:"name"` @@ -2478,11 +2478,11 @@ type DatabaseReadReplicaDirectAccessInput interface { } type DatabaseReadReplicaDirectAccessArgs struct { - // The ID of the endpoint of the read replica. + // The ID of the endpoint of the Read Replica. EndpointId pulumi.StringPtrInput `pulumi:"endpointId"` - // Hostname of the endpoint. Only one of ip and hostname may be set. + // Hostname of the endpoint. Only one of IP and hostname may be set. Hostname pulumi.StringPtrInput `pulumi:"hostname"` - // IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + // IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. Ip pulumi.StringPtrInput `pulumi:"ip"` // Name of the endpoint. Name pulumi.StringPtrInput `pulumi:"name"` @@ -2567,17 +2567,17 @@ func (o DatabaseReadReplicaDirectAccessOutput) ToDatabaseReadReplicaDirectAccess }).(DatabaseReadReplicaDirectAccessPtrOutput) } -// The ID of the endpoint of the read replica. +// The ID of the endpoint of the Read Replica. func (o DatabaseReadReplicaDirectAccessOutput) EndpointId() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaDirectAccess) *string { return v.EndpointId }).(pulumi.StringPtrOutput) } -// Hostname of the endpoint. Only one of ip and hostname may be set. +// Hostname of the endpoint. Only one of IP and hostname may be set. func (o DatabaseReadReplicaDirectAccessOutput) Hostname() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaDirectAccess) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. +// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. func (o DatabaseReadReplicaDirectAccessOutput) Ip() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaDirectAccess) *string { return v.Ip }).(pulumi.StringPtrOutput) } @@ -2616,7 +2616,7 @@ func (o DatabaseReadReplicaDirectAccessPtrOutput) Elem() DatabaseReadReplicaDire }).(DatabaseReadReplicaDirectAccessOutput) } -// The ID of the endpoint of the read replica. +// The ID of the endpoint of the Read Replica. func (o DatabaseReadReplicaDirectAccessPtrOutput) EndpointId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaDirectAccess) *string { if v == nil { @@ -2626,7 +2626,7 @@ func (o DatabaseReadReplicaDirectAccessPtrOutput) EndpointId() pulumi.StringPtrO }).(pulumi.StringPtrOutput) } -// Hostname of the endpoint. Only one of ip and hostname may be set. +// Hostname of the endpoint. Only one of IP and hostname may be set. func (o DatabaseReadReplicaDirectAccessPtrOutput) Hostname() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaDirectAccess) *string { if v == nil { @@ -2636,7 +2636,7 @@ func (o DatabaseReadReplicaDirectAccessPtrOutput) Hostname() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } -// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. +// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. func (o DatabaseReadReplicaDirectAccessPtrOutput) Ip() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaDirectAccess) *string { if v == nil { @@ -2671,17 +2671,17 @@ type DatabaseReadReplicaPrivateNetwork struct { // // > **Important:** One of `serviceIp` or `enable_ipam=true` must be set. EnableIpam *bool `pulumi:"enableIpam"` - // The ID of the endpoint of the read replica. + // The ID of the endpoint of the Read Replica. EndpointId *string `pulumi:"endpointId"` - // Hostname of the endpoint. Only one of ip and hostname may be set. + // Hostname of the endpoint. Only one of IP and hostname may be set. Hostname *string `pulumi:"hostname"` - // IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + // IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. Ip *string `pulumi:"ip"` // Name of the endpoint. Name *string `pulumi:"name"` // TCP port of the endpoint. Port *int `pulumi:"port"` - // UUID of the private network to be connected to the read replica. + // UUID of the Private Netork to be connected to the Read Replica. PrivateNetworkId string `pulumi:"privateNetworkId"` // The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. If not set, The IP network address within the private subnet is determined by the IP Address Management (IPAM) service. ServiceIp *string `pulumi:"serviceIp"` @@ -2705,17 +2705,17 @@ type DatabaseReadReplicaPrivateNetworkArgs struct { // // > **Important:** One of `serviceIp` or `enable_ipam=true` must be set. EnableIpam pulumi.BoolPtrInput `pulumi:"enableIpam"` - // The ID of the endpoint of the read replica. + // The ID of the endpoint of the Read Replica. EndpointId pulumi.StringPtrInput `pulumi:"endpointId"` - // Hostname of the endpoint. Only one of ip and hostname may be set. + // Hostname of the endpoint. Only one of IP and hostname may be set. Hostname pulumi.StringPtrInput `pulumi:"hostname"` - // IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + // IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. Ip pulumi.StringPtrInput `pulumi:"ip"` // Name of the endpoint. Name pulumi.StringPtrInput `pulumi:"name"` // TCP port of the endpoint. Port pulumi.IntPtrInput `pulumi:"port"` - // UUID of the private network to be connected to the read replica. + // UUID of the Private Netork to be connected to the Read Replica. PrivateNetworkId pulumi.StringInput `pulumi:"privateNetworkId"` // The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. If not set, The IP network address within the private subnet is determined by the IP Address Management (IPAM) service. ServiceIp pulumi.StringPtrInput `pulumi:"serviceIp"` @@ -2807,17 +2807,17 @@ func (o DatabaseReadReplicaPrivateNetworkOutput) EnableIpam() pulumi.BoolPtrOutp return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) *bool { return v.EnableIpam }).(pulumi.BoolPtrOutput) } -// The ID of the endpoint of the read replica. +// The ID of the endpoint of the Read Replica. func (o DatabaseReadReplicaPrivateNetworkOutput) EndpointId() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) *string { return v.EndpointId }).(pulumi.StringPtrOutput) } -// Hostname of the endpoint. Only one of ip and hostname may be set. +// Hostname of the endpoint. Only one of IP and hostname may be set. func (o DatabaseReadReplicaPrivateNetworkOutput) Hostname() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. +// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. func (o DatabaseReadReplicaPrivateNetworkOutput) Ip() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) *string { return v.Ip }).(pulumi.StringPtrOutput) } @@ -2832,7 +2832,7 @@ func (o DatabaseReadReplicaPrivateNetworkOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) *int { return v.Port }).(pulumi.IntPtrOutput) } -// UUID of the private network to be connected to the read replica. +// UUID of the Private Netork to be connected to the Read Replica. func (o DatabaseReadReplicaPrivateNetworkOutput) PrivateNetworkId() pulumi.StringOutput { return o.ApplyT(func(v DatabaseReadReplicaPrivateNetwork) string { return v.PrivateNetworkId }).(pulumi.StringOutput) } @@ -2883,7 +2883,7 @@ func (o DatabaseReadReplicaPrivateNetworkPtrOutput) EnableIpam() pulumi.BoolPtrO }).(pulumi.BoolPtrOutput) } -// The ID of the endpoint of the read replica. +// The ID of the endpoint of the Read Replica. func (o DatabaseReadReplicaPrivateNetworkPtrOutput) EndpointId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaPrivateNetwork) *string { if v == nil { @@ -2893,7 +2893,7 @@ func (o DatabaseReadReplicaPrivateNetworkPtrOutput) EndpointId() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// Hostname of the endpoint. Only one of ip and hostname may be set. +// Hostname of the endpoint. Only one of IP and hostname may be set. func (o DatabaseReadReplicaPrivateNetworkPtrOutput) Hostname() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaPrivateNetwork) *string { if v == nil { @@ -2903,7 +2903,7 @@ func (o DatabaseReadReplicaPrivateNetworkPtrOutput) Hostname() pulumi.StringPtrO }).(pulumi.StringPtrOutput) } -// IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. +// IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. func (o DatabaseReadReplicaPrivateNetworkPtrOutput) Ip() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaPrivateNetwork) *string { if v == nil { @@ -2933,7 +2933,7 @@ func (o DatabaseReadReplicaPrivateNetworkPtrOutput) Port() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -// UUID of the private network to be connected to the read replica. +// UUID of the Private Netork to be connected to the Read Replica. func (o DatabaseReadReplicaPrivateNetworkPtrOutput) PrivateNetworkId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseReadReplicaPrivateNetwork) *string { if v == nil { @@ -2963,6 +2963,257 @@ func (o DatabaseReadReplicaPrivateNetworkPtrOutput) Zone() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } +type DocumentdbPrivateNetworkEndpointPrivateNetwork struct { + // The hostname of your endpoint. + Hostname *string `pulumi:"hostname"` + // The private network ID. + Id string `pulumi:"id"` + // The IP of your private network service. + Ip *string `pulumi:"ip"` + // The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + IpNet *string `pulumi:"ipNet"` + // The name of your private service. + Name *string `pulumi:"name"` + // The port of your private service. + Port *int `pulumi:"port"` + // The zone of your endpoint. + Zone *string `pulumi:"zone"` +} + +// DocumentdbPrivateNetworkEndpointPrivateNetworkInput is an input type that accepts DocumentdbPrivateNetworkEndpointPrivateNetworkArgs and DocumentdbPrivateNetworkEndpointPrivateNetworkOutput values. +// You can construct a concrete instance of `DocumentdbPrivateNetworkEndpointPrivateNetworkInput` via: +// +// DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{...} +type DocumentdbPrivateNetworkEndpointPrivateNetworkInput interface { + pulumi.Input + + ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkOutput + ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutputWithContext(context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkOutput +} + +type DocumentdbPrivateNetworkEndpointPrivateNetworkArgs struct { + // The hostname of your endpoint. + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + // The private network ID. + Id pulumi.StringInput `pulumi:"id"` + // The IP of your private network service. + Ip pulumi.StringPtrInput `pulumi:"ip"` + // The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + IpNet pulumi.StringPtrInput `pulumi:"ipNet"` + // The name of your private service. + Name pulumi.StringPtrInput `pulumi:"name"` + // The port of your private service. + Port pulumi.IntPtrInput `pulumi:"port"` + // The zone of your endpoint. + Zone pulumi.StringPtrInput `pulumi:"zone"` +} + +func (DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DocumentdbPrivateNetworkEndpointPrivateNetwork)(nil)).Elem() +} + +func (i DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkOutput { + return i.ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutputWithContext(context.Background()) +} + +func (i DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) +} + +func (i DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return i.ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(context.Background()) +} + +func (i DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DocumentdbPrivateNetworkEndpointPrivateNetworkOutput).ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(ctx) +} + +// DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput is an input type that accepts DocumentdbPrivateNetworkEndpointPrivateNetworkArgs, DocumentdbPrivateNetworkEndpointPrivateNetworkPtr and DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput values. +// You can construct a concrete instance of `DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput` via: +// +// DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{...} +// +// or: +// +// nil +type DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput interface { + pulumi.Input + + ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput + ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput +} + +type documentdbPrivateNetworkEndpointPrivateNetworkPtrType DocumentdbPrivateNetworkEndpointPrivateNetworkArgs + +func DocumentdbPrivateNetworkEndpointPrivateNetworkPtr(v *DocumentdbPrivateNetworkEndpointPrivateNetworkArgs) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput { + return (*documentdbPrivateNetworkEndpointPrivateNetworkPtrType)(v) +} + +func (*documentdbPrivateNetworkEndpointPrivateNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DocumentdbPrivateNetworkEndpointPrivateNetwork)(nil)).Elem() +} + +func (i *documentdbPrivateNetworkEndpointPrivateNetworkPtrType) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return i.ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(context.Background()) +} + +func (i *documentdbPrivateNetworkEndpointPrivateNetworkPtrType) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) +} + +type DocumentdbPrivateNetworkEndpointPrivateNetworkOutput struct{ *pulumi.OutputState } + +func (DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DocumentdbPrivateNetworkEndpointPrivateNetwork)(nil)).Elem() +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkOutput { + return o +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkOutput { + return o +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return o.ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(context.Background()) +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DocumentdbPrivateNetworkEndpointPrivateNetwork) *DocumentdbPrivateNetworkEndpointPrivateNetwork { + return &v + }).(DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) +} + +// The hostname of your endpoint. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { return v.Hostname }).(pulumi.StringPtrOutput) +} + +// The private network ID. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) string { return v.Id }).(pulumi.StringOutput) +} + +// The IP of your private network service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { return v.Ip }).(pulumi.StringPtrOutput) +} + +// The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) IpNet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { return v.IpNet }).(pulumi.StringPtrOutput) +} + +// The name of your private service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The port of your private service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *int { return v.Port }).(pulumi.IntPtrOutput) +} + +// The zone of your endpoint. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { return v.Zone }).(pulumi.StringPtrOutput) +} + +type DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput struct{ *pulumi.OutputState } + +func (DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DocumentdbPrivateNetworkEndpointPrivateNetwork)(nil)).Elem() +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput() DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return o +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) ToDocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutputWithContext(ctx context.Context) DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput { + return o +} + +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Elem() DocumentdbPrivateNetworkEndpointPrivateNetworkOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) DocumentdbPrivateNetworkEndpointPrivateNetwork { + if v != nil { + return *v + } + var ret DocumentdbPrivateNetworkEndpointPrivateNetwork + return ret + }).(DocumentdbPrivateNetworkEndpointPrivateNetworkOutput) +} + +// The hostname of your endpoint. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return v.Hostname + }).(pulumi.StringPtrOutput) +} + +// The private network ID. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +// The IP of your private network service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return v.Ip + }).(pulumi.StringPtrOutput) +} + +// The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) IpNet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return v.IpNet + }).(pulumi.StringPtrOutput) +} + +// The name of your private service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The port of your private service. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *int { + if v == nil { + return nil + } + return v.Port + }).(pulumi.IntPtrOutput) +} + +// The zone of your endpoint. +func (o DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DocumentdbPrivateNetworkEndpointPrivateNetwork) *string { + if v == nil { + return nil + } + return v.Zone + }).(pulumi.StringPtrOutput) +} + type DocumentdbReadReplicaDirectAccess struct { // The ID of the endpoint of the read replica. EndpointId *string `pulumi:"endpointId"` @@ -4530,13 +4781,13 @@ func (o FunctionTriggerSqsPtrOutput) Region() pulumi.StringPtrOutput { type IamPolicyRule struct { // ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization. OrganizationId *string `pulumi:"organizationId"` - // Names of permission sets bound to the rule. + // Names of permission sets bind to the rule. // - // **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + // **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: PermissionSetNames []string `pulumi:"permissionSetNames"` // List of project IDs scoped to the rule. // - // > **Important** One of `organizationId` or `projectIds` must be set per rule. + // > **Important** One `organizationId` or `projectIds` must be set per rule. ProjectIds []string `pulumi:"projectIds"` } @@ -4554,13 +4805,13 @@ type IamPolicyRuleInput interface { type IamPolicyRuleArgs struct { // ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization. OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` - // Names of permission sets bound to the rule. + // Names of permission sets bind to the rule. // - // **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + // **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: PermissionSetNames pulumi.StringArrayInput `pulumi:"permissionSetNames"` // List of project IDs scoped to the rule. // - // > **Important** One of `organizationId` or `projectIds` must be set per rule. + // > **Important** One `organizationId` or `projectIds` must be set per rule. ProjectIds pulumi.StringArrayInput `pulumi:"projectIds"` } @@ -4620,16 +4871,16 @@ func (o IamPolicyRuleOutput) OrganizationId() pulumi.StringPtrOutput { return o.ApplyT(func(v IamPolicyRule) *string { return v.OrganizationId }).(pulumi.StringPtrOutput) } -// Names of permission sets bound to the rule. +// Names of permission sets bind to the rule. // -// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: +// **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: func (o IamPolicyRuleOutput) PermissionSetNames() pulumi.StringArrayOutput { return o.ApplyT(func(v IamPolicyRule) []string { return v.PermissionSetNames }).(pulumi.StringArrayOutput) } // List of project IDs scoped to the rule. // -// > **Important** One of `organizationId` or `projectIds` must be set per rule. +// > **Important** One `organizationId` or `projectIds` must be set per rule. func (o IamPolicyRuleOutput) ProjectIds() pulumi.StringArrayOutput { return o.ApplyT(func(v IamPolicyRule) []string { return v.ProjectIds }).(pulumi.StringArrayOutput) } @@ -7348,9 +7599,9 @@ func (o IotRouteS3PtrOutput) Strategy() pulumi.StringPtrOutput { } type IpamIpResource struct { - // The ID of the resource that the IP is bound to. + // The ID of the resource that the IP is attached to. Id *string `pulumi:"id"` - // The MAC Address of the resource the IP is attached to. + // The MAC address of the resource the IP is attached to. MacAddress *string `pulumi:"macAddress"` // The name of the resource the IP is attached to. Name *string `pulumi:"name"` @@ -7370,9 +7621,9 @@ type IpamIpResourceInput interface { } type IpamIpResourceArgs struct { - // The ID of the resource that the IP is bound to. + // The ID of the resource that the IP is attached to. Id pulumi.StringPtrInput `pulumi:"id"` - // The MAC Address of the resource the IP is attached to. + // The MAC address of the resource the IP is attached to. MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` // The name of the resource the IP is attached to. Name pulumi.StringPtrInput `pulumi:"name"` @@ -7431,12 +7682,12 @@ func (o IpamIpResourceOutput) ToIpamIpResourceOutputWithContext(ctx context.Cont return o } -// The ID of the resource that the IP is bound to. +// The ID of the resource that the IP is attached to. func (o IpamIpResourceOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v IpamIpResource) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The MAC Address of the resource the IP is attached to. +// The MAC address of the resource the IP is attached to. func (o IpamIpResourceOutput) MacAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v IpamIpResource) *string { return v.MacAddress }).(pulumi.StringPtrOutput) } @@ -7578,11 +7829,11 @@ func (o IpamIpReverseArrayOutput) Index(i pulumi.IntInput) IpamIpReverseOutput { } type IpamIpSource struct { - // The private network the IP lives in if the IP is a private IP. + // The Private Network of the IP (if the IP is a private IP). PrivateNetworkId *string `pulumi:"privateNetworkId"` - // The private network subnet the IP lives in if the IP is a private IP in a private network. + // The Private Network subnet of the IP (if the IP is a private IP). SubnetId *string `pulumi:"subnetId"` - // The zone the IP lives in if the IP is a public zoned one + // The zone of the IP (if the IP is public and zoned, rather than private and/or regional) Zonal *string `pulumi:"zonal"` } @@ -7598,11 +7849,11 @@ type IpamIpSourceInput interface { } type IpamIpSourceArgs struct { - // The private network the IP lives in if the IP is a private IP. + // The Private Network of the IP (if the IP is a private IP). PrivateNetworkId pulumi.StringPtrInput `pulumi:"privateNetworkId"` - // The private network subnet the IP lives in if the IP is a private IP in a private network. + // The Private Network subnet of the IP (if the IP is a private IP). SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` - // The zone the IP lives in if the IP is a public zoned one + // The zone of the IP (if the IP is public and zoned, rather than private and/or regional) Zonal pulumi.StringPtrInput `pulumi:"zonal"` } @@ -7657,17 +7908,17 @@ func (o IpamIpSourceOutput) ToIpamIpSourceOutputWithContext(ctx context.Context) return o } -// The private network the IP lives in if the IP is a private IP. +// The Private Network of the IP (if the IP is a private IP). func (o IpamIpSourceOutput) PrivateNetworkId() pulumi.StringPtrOutput { return o.ApplyT(func(v IpamIpSource) *string { return v.PrivateNetworkId }).(pulumi.StringPtrOutput) } -// The private network subnet the IP lives in if the IP is a private IP in a private network. +// The Private Network subnet of the IP (if the IP is a private IP). func (o IpamIpSourceOutput) SubnetId() pulumi.StringPtrOutput { return o.ApplyT(func(v IpamIpSource) *string { return v.SubnetId }).(pulumi.StringPtrOutput) } -// The zone the IP lives in if the IP is a public zoned one +// The zone of the IP (if the IP is public and zoned, rather than private and/or regional) func (o IpamIpSourceOutput) Zonal() pulumi.StringPtrOutput { return o.ApplyT(func(v IpamIpSource) *string { return v.Zonal }).(pulumi.StringPtrOutput) } @@ -9272,11 +9523,11 @@ type LoadbalancerAclMatch struct { // If you have `httpFilter` at `httpHeaderMatch`, you can use this field to filter on the HTTP header's value. HttpFilterOption *string `pulumi:"httpFilterOption"` // A list of possible values to match for the given HTTP filter. - // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. HttpFilterValues []string `pulumi:"httpFilterValues"` // If set to `true`, the condition will be of type "unless". Invert *bool `pulumi:"invert"` - // A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets []string `pulumi:"ipSubnets"` } @@ -9299,11 +9550,11 @@ type LoadbalancerAclMatchArgs struct { // If you have `httpFilter` at `httpHeaderMatch`, you can use this field to filter on the HTTP header's value. HttpFilterOption pulumi.StringPtrInput `pulumi:"httpFilterOption"` // A list of possible values to match for the given HTTP filter. - // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. HttpFilterValues pulumi.StringArrayInput `pulumi:"httpFilterValues"` // If set to `true`, the condition will be of type "unless". Invert pulumi.BoolPtrInput `pulumi:"invert"` - // A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets pulumi.StringArrayInput `pulumi:"ipSubnets"` } @@ -9397,7 +9648,7 @@ func (o LoadbalancerAclMatchOutput) HttpFilterOption() pulumi.StringPtrOutput { } // A list of possible values to match for the given HTTP filter. -// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. +// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. func (o LoadbalancerAclMatchOutput) HttpFilterValues() pulumi.StringArrayOutput { return o.ApplyT(func(v LoadbalancerAclMatch) []string { return v.HttpFilterValues }).(pulumi.StringArrayOutput) } @@ -9407,7 +9658,7 @@ func (o LoadbalancerAclMatchOutput) Invert() pulumi.BoolPtrOutput { return o.ApplyT(func(v LoadbalancerAclMatch) *bool { return v.Invert }).(pulumi.BoolPtrOutput) } -// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. +// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. func (o LoadbalancerAclMatchOutput) IpSubnets() pulumi.StringArrayOutput { return o.ApplyT(func(v LoadbalancerAclMatch) []string { return v.IpSubnets }).(pulumi.StringArrayOutput) } @@ -9459,7 +9710,7 @@ func (o LoadbalancerAclMatchPtrOutput) HttpFilterOption() pulumi.StringPtrOutput } // A list of possible values to match for the given HTTP filter. -// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. +// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. func (o LoadbalancerAclMatchPtrOutput) HttpFilterValues() pulumi.StringArrayOutput { return o.ApplyT(func(v *LoadbalancerAclMatch) []string { if v == nil { @@ -9479,7 +9730,7 @@ func (o LoadbalancerAclMatchPtrOutput) Invert() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } -// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. +// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. func (o LoadbalancerAclMatchPtrOutput) IpSubnets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LoadbalancerAclMatch) []string { if v == nil { @@ -10513,7 +10764,7 @@ func (o LoadbalancerFrontendAclActionOutput) Type() pulumi.StringOutput { type LoadbalancerFrontendAclActionRedirect struct { // The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. Code *int `pulumi:"code"` - // An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + // A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. Target *string `pulumi:"target"` // The redirect type. Possible values are: `location` or `scheme`. Type *string `pulumi:"type"` @@ -10533,7 +10784,7 @@ type LoadbalancerFrontendAclActionRedirectInput interface { type LoadbalancerFrontendAclActionRedirectArgs struct { // The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. Code pulumi.IntPtrInput `pulumi:"code"` - // An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + // A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. Target pulumi.StringPtrInput `pulumi:"target"` // The redirect type. Possible values are: `location` or `scheme`. Type pulumi.StringPtrInput `pulumi:"type"` @@ -10595,7 +10846,7 @@ func (o LoadbalancerFrontendAclActionRedirectOutput) Code() pulumi.IntPtrOutput return o.ApplyT(func(v LoadbalancerFrontendAclActionRedirect) *int { return v.Code }).(pulumi.IntPtrOutput) } -// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. +// A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. func (o LoadbalancerFrontendAclActionRedirectOutput) Target() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadbalancerFrontendAclActionRedirect) *string { return v.Target }).(pulumi.StringPtrOutput) } @@ -10633,11 +10884,11 @@ type LoadbalancerFrontendAclMatch struct { // If you have `httpFilter` at `httpHeaderMatch`, you can use this field to filter on the HTTP header's value. HttpFilterOption *string `pulumi:"httpFilterOption"` // A list of possible values to match for the given HTTP filter. - // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. HttpFilterValues []string `pulumi:"httpFilterValues"` // If set to `true`, the condition will be of type "unless". Invert *bool `pulumi:"invert"` - // A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets []string `pulumi:"ipSubnets"` } @@ -10660,11 +10911,11 @@ type LoadbalancerFrontendAclMatchArgs struct { // If you have `httpFilter` at `httpHeaderMatch`, you can use this field to filter on the HTTP header's value. HttpFilterOption pulumi.StringPtrInput `pulumi:"httpFilterOption"` // A list of possible values to match for the given HTTP filter. - // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + // Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. HttpFilterValues pulumi.StringArrayInput `pulumi:"httpFilterValues"` // If set to `true`, the condition will be of type "unless". Invert pulumi.BoolPtrInput `pulumi:"invert"` - // A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets pulumi.StringArrayInput `pulumi:"ipSubnets"` } @@ -10707,7 +10958,7 @@ func (o LoadbalancerFrontendAclMatchOutput) HttpFilterOption() pulumi.StringPtrO } // A list of possible values to match for the given HTTP filter. -// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. +// Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. func (o LoadbalancerFrontendAclMatchOutput) HttpFilterValues() pulumi.StringArrayOutput { return o.ApplyT(func(v LoadbalancerFrontendAclMatch) []string { return v.HttpFilterValues }).(pulumi.StringArrayOutput) } @@ -10717,21 +10968,23 @@ func (o LoadbalancerFrontendAclMatchOutput) Invert() pulumi.BoolPtrOutput { return o.ApplyT(func(v LoadbalancerFrontendAclMatch) *bool { return v.Invert }).(pulumi.BoolPtrOutput) } -// A list of IPs or CIDR v4/v6 addresses of the client of the session to match. +// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. func (o LoadbalancerFrontendAclMatchOutput) IpSubnets() pulumi.StringArrayOutput { return o.ApplyT(func(v LoadbalancerFrontendAclMatch) []string { return v.IpSubnets }).(pulumi.StringArrayOutput) } type LoadbalancerPrivateNetwork struct { - // (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + // (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. DhcpConfig *bool `pulumi:"dhcpConfig"` - // (Required) The ID of the Private Network to associate. + // (Required) The ID of the Private Network to attach to. PrivateNetworkId string `pulumi:"privateNetworkId"` - // (Optional) Define a local ip address of your choice for the load balancer instance. See below. + // (Deprecated) Please use `dhcpConfig`. Define a local ip address of your choice for the load balancer instance. + // + // Deprecated: static_config field is deprecated, please use dhcpConfig instead StaticConfig *string `pulumi:"staticConfig"` // The status of private network connection Status *string `pulumi:"status"` - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone *string `pulumi:"zone"` } @@ -10747,15 +11000,17 @@ type LoadbalancerPrivateNetworkInput interface { } type LoadbalancerPrivateNetworkArgs struct { - // (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + // (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. DhcpConfig pulumi.BoolPtrInput `pulumi:"dhcpConfig"` - // (Required) The ID of the Private Network to associate. + // (Required) The ID of the Private Network to attach to. PrivateNetworkId pulumi.StringInput `pulumi:"privateNetworkId"` - // (Optional) Define a local ip address of your choice for the load balancer instance. See below. + // (Deprecated) Please use `dhcpConfig`. Define a local ip address of your choice for the load balancer instance. + // + // Deprecated: static_config field is deprecated, please use dhcpConfig instead StaticConfig pulumi.StringPtrInput `pulumi:"staticConfig"` // The status of private network connection Status pulumi.StringPtrInput `pulumi:"status"` - // `zone`) The zone of the load-balancer. + // `zone`) The zone of the Load Balancer. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -10810,17 +11065,19 @@ func (o LoadbalancerPrivateNetworkOutput) ToLoadbalancerPrivateNetworkOutputWith return o } -// (Optional) Set to true if you want to let DHCP assign IP addresses. See below. +// (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. func (o LoadbalancerPrivateNetworkOutput) DhcpConfig() pulumi.BoolPtrOutput { return o.ApplyT(func(v LoadbalancerPrivateNetwork) *bool { return v.DhcpConfig }).(pulumi.BoolPtrOutput) } -// (Required) The ID of the Private Network to associate. +// (Required) The ID of the Private Network to attach to. func (o LoadbalancerPrivateNetworkOutput) PrivateNetworkId() pulumi.StringOutput { return o.ApplyT(func(v LoadbalancerPrivateNetwork) string { return v.PrivateNetworkId }).(pulumi.StringOutput) } -// (Optional) Define a local ip address of your choice for the load balancer instance. See below. +// (Deprecated) Please use `dhcpConfig`. Define a local ip address of your choice for the load balancer instance. +// +// Deprecated: static_config field is deprecated, please use dhcpConfig instead func (o LoadbalancerPrivateNetworkOutput) StaticConfig() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadbalancerPrivateNetwork) *string { return v.StaticConfig }).(pulumi.StringPtrOutput) } @@ -10830,7 +11087,7 @@ func (o LoadbalancerPrivateNetworkOutput) Status() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadbalancerPrivateNetwork) *string { return v.Status }).(pulumi.StringPtrOutput) } -// `zone`) The zone of the load-balancer. +// `zone`) The zone of the Load Balancer. func (o LoadbalancerPrivateNetworkOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadbalancerPrivateNetwork) *string { return v.Zone }).(pulumi.StringPtrOutput) } @@ -10856,11 +11113,11 @@ func (o LoadbalancerPrivateNetworkArrayOutput) Index(i pulumi.IntInput) Loadbala } type MnqSnsCredentialsPermissions struct { - // . Defines if user can manage the associated resource(s). + // . Defines whether the user can manage the associated resource(s). CanManage *bool `pulumi:"canManage"` - // . Defines if user can publish messages to the service. + // . Defines whether the user can publish messages to the service. CanPublish *bool `pulumi:"canPublish"` - // . Defines if user can receive messages from the service. + // . Defines whether the user can receive messages from the service. CanReceive *bool `pulumi:"canReceive"` } @@ -10876,11 +11133,11 @@ type MnqSnsCredentialsPermissionsInput interface { } type MnqSnsCredentialsPermissionsArgs struct { - // . Defines if user can manage the associated resource(s). + // . Defines whether the user can manage the associated resource(s). CanManage pulumi.BoolPtrInput `pulumi:"canManage"` - // . Defines if user can publish messages to the service. + // . Defines whether the user can publish messages to the service. CanPublish pulumi.BoolPtrInput `pulumi:"canPublish"` - // . Defines if user can receive messages from the service. + // . Defines whether the user can receive messages from the service. CanReceive pulumi.BoolPtrInput `pulumi:"canReceive"` } @@ -10961,17 +11218,17 @@ func (o MnqSnsCredentialsPermissionsOutput) ToMnqSnsCredentialsPermissionsPtrOut }).(MnqSnsCredentialsPermissionsPtrOutput) } -// . Defines if user can manage the associated resource(s). +// . Defines whether the user can manage the associated resource(s). func (o MnqSnsCredentialsPermissionsOutput) CanManage() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSnsCredentialsPermissions) *bool { return v.CanManage }).(pulumi.BoolPtrOutput) } -// . Defines if user can publish messages to the service. +// . Defines whether the user can publish messages to the service. func (o MnqSnsCredentialsPermissionsOutput) CanPublish() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSnsCredentialsPermissions) *bool { return v.CanPublish }).(pulumi.BoolPtrOutput) } -// . Defines if user can receive messages from the service. +// . Defines whether the user can receive messages from the service. func (o MnqSnsCredentialsPermissionsOutput) CanReceive() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSnsCredentialsPermissions) *bool { return v.CanReceive }).(pulumi.BoolPtrOutput) } @@ -11000,7 +11257,7 @@ func (o MnqSnsCredentialsPermissionsPtrOutput) Elem() MnqSnsCredentialsPermissio }).(MnqSnsCredentialsPermissionsOutput) } -// . Defines if user can manage the associated resource(s). +// . Defines whether the user can manage the associated resource(s). func (o MnqSnsCredentialsPermissionsPtrOutput) CanManage() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSnsCredentialsPermissions) *bool { if v == nil { @@ -11010,7 +11267,7 @@ func (o MnqSnsCredentialsPermissionsPtrOutput) CanManage() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// . Defines if user can publish messages to the service. +// . Defines whether the user can publish messages to the service. func (o MnqSnsCredentialsPermissionsPtrOutput) CanPublish() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSnsCredentialsPermissions) *bool { if v == nil { @@ -11020,7 +11277,7 @@ func (o MnqSnsCredentialsPermissionsPtrOutput) CanPublish() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// . Defines if user can receive messages from the service. +// . Defines whether the user can receive messages from the service. func (o MnqSnsCredentialsPermissionsPtrOutput) CanReceive() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSnsCredentialsPermissions) *bool { if v == nil { @@ -11031,11 +11288,11 @@ func (o MnqSnsCredentialsPermissionsPtrOutput) CanReceive() pulumi.BoolPtrOutput } type MnqSqsCredentialsPermissions struct { - // . Defines if user can manage the associated resource(s). + // . Defines whether the user can manage the associated resource(s). CanManage *bool `pulumi:"canManage"` - // . Defines if user can publish messages to the service. + // . Defines whether the user can publish messages to the service. CanPublish *bool `pulumi:"canPublish"` - // . Defines if user can receive messages from the service. + // . Defines whether the user can receive messages from the service. CanReceive *bool `pulumi:"canReceive"` } @@ -11051,11 +11308,11 @@ type MnqSqsCredentialsPermissionsInput interface { } type MnqSqsCredentialsPermissionsArgs struct { - // . Defines if user can manage the associated resource(s). + // . Defines whether the user can manage the associated resource(s). CanManage pulumi.BoolPtrInput `pulumi:"canManage"` - // . Defines if user can publish messages to the service. + // . Defines whether the user can publish messages to the service. CanPublish pulumi.BoolPtrInput `pulumi:"canPublish"` - // . Defines if user can receive messages from the service. + // . Defines whether the user can receive messages from the service. CanReceive pulumi.BoolPtrInput `pulumi:"canReceive"` } @@ -11136,17 +11393,17 @@ func (o MnqSqsCredentialsPermissionsOutput) ToMnqSqsCredentialsPermissionsPtrOut }).(MnqSqsCredentialsPermissionsPtrOutput) } -// . Defines if user can manage the associated resource(s). +// . Defines whether the user can manage the associated resource(s). func (o MnqSqsCredentialsPermissionsOutput) CanManage() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSqsCredentialsPermissions) *bool { return v.CanManage }).(pulumi.BoolPtrOutput) } -// . Defines if user can publish messages to the service. +// . Defines whether the user can publish messages to the service. func (o MnqSqsCredentialsPermissionsOutput) CanPublish() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSqsCredentialsPermissions) *bool { return v.CanPublish }).(pulumi.BoolPtrOutput) } -// . Defines if user can receive messages from the service. +// . Defines whether the user can receive messages from the service. func (o MnqSqsCredentialsPermissionsOutput) CanReceive() pulumi.BoolPtrOutput { return o.ApplyT(func(v MnqSqsCredentialsPermissions) *bool { return v.CanReceive }).(pulumi.BoolPtrOutput) } @@ -11175,7 +11432,7 @@ func (o MnqSqsCredentialsPermissionsPtrOutput) Elem() MnqSqsCredentialsPermissio }).(MnqSqsCredentialsPermissionsOutput) } -// . Defines if user can manage the associated resource(s). +// . Defines whether the user can manage the associated resource(s). func (o MnqSqsCredentialsPermissionsPtrOutput) CanManage() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSqsCredentialsPermissions) *bool { if v == nil { @@ -11185,7 +11442,7 @@ func (o MnqSqsCredentialsPermissionsPtrOutput) CanManage() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// . Defines if user can publish messages to the service. +// . Defines whether the user can publish messages to the service. func (o MnqSqsCredentialsPermissionsPtrOutput) CanPublish() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSqsCredentialsPermissions) *bool { if v == nil { @@ -11195,7 +11452,7 @@ func (o MnqSqsCredentialsPermissionsPtrOutput) CanPublish() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// . Defines if user can receive messages from the service. +// . Defines whether the user can receive messages from the service. func (o MnqSqsCredentialsPermissionsPtrOutput) CanReceive() pulumi.BoolPtrOutput { return o.ApplyT(func(v *MnqSqsCredentialsPermissions) *bool { if v == nil { @@ -13085,7 +13342,7 @@ type RedisClusterAcl struct { Description *string `pulumi:"description"` // (Required) The UUID of the endpoint. Id *string `pulumi:"id"` - // The ip range to whitelist + // The IP range to whitelist // in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) Ip string `pulumi:"ip"` } @@ -13108,7 +13365,7 @@ type RedisClusterAclArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // (Required) The UUID of the endpoint. Id pulumi.StringPtrInput `pulumi:"id"` - // The ip range to whitelist + // The IP range to whitelist // in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) Ip pulumi.StringInput `pulumi:"ip"` } @@ -13176,7 +13433,7 @@ func (o RedisClusterAclOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v RedisClusterAcl) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The ip range to whitelist +// The IP range to whitelist // in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) func (o RedisClusterAclOutput) Ip() pulumi.StringOutput { return o.ApplyT(func(v RedisClusterAcl) string { return v.Ip }).(pulumi.StringOutput) @@ -13208,23 +13465,23 @@ type RedisClusterPrivateNetwork struct { // The UUID of the Private Network resource. Id string `pulumi:"id"` // Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - // Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - // scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + // Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + // scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. // If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. // // > The `privateNetwork` conflicts with `acl`. Only one should be specified. // - // > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + // > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. // // - Standalone mode (`clusterSize` = 1) : you can attach as many Private Networks as you want (each must be a separate - // block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + // block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or // Public Network. You can modify your `privateNetwork` and its specs, you can have both a Private and Public Network side // by side. // - // - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your Cluster, you won't be - // able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - // configuration (`serviceIps`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - // require updating the private network to add IPs. + // - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your cluster, you won't be + // able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + // configuration (`serviceIps`), you won't be able to scale your cluster horizontally (add more nodes) since it would + // require updating the Private Network to add IPs. // Your `serviceIps` must be listed as follows: // // ```go @@ -13242,7 +13499,7 @@ type RedisClusterPrivateNetwork struct { // ``` ServiceIps []string `pulumi:"serviceIps"` // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone *string `pulumi:"zone"` } @@ -13263,23 +13520,23 @@ type RedisClusterPrivateNetworkArgs struct { // The UUID of the Private Network resource. Id pulumi.StringInput `pulumi:"id"` // Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - // Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - // scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + // Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + // scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. // If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. // // > The `privateNetwork` conflicts with `acl`. Only one should be specified. // - // > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + // > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. // // - Standalone mode (`clusterSize` = 1) : you can attach as many Private Networks as you want (each must be a separate - // block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + // block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or // Public Network. You can modify your `privateNetwork` and its specs, you can have both a Private and Public Network side // by side. // - // - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your Cluster, you won't be - // able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - // configuration (`serviceIps`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - // require updating the private network to add IPs. + // - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your cluster, you won't be + // able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + // configuration (`serviceIps`), you won't be able to scale your cluster horizontally (add more nodes) since it would + // require updating the Private Network to add IPs. // Your `serviceIps` must be listed as follows: // // ```go @@ -13297,7 +13554,7 @@ type RedisClusterPrivateNetworkArgs struct { // ``` ServiceIps pulumi.StringArrayInput `pulumi:"serviceIps"` // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone pulumi.StringPtrInput `pulumi:"zone"` } @@ -13363,23 +13620,23 @@ func (o RedisClusterPrivateNetworkOutput) Id() pulumi.StringOutput { } // Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. -// Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to -// scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. +// Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to +// scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. // If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. // // > The `privateNetwork` conflicts with `acl`. Only one should be specified. // -// > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. +// > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. // // - Standalone mode (`clusterSize` = 1) : you can attach as many Private Networks as you want (each must be a separate -// block). If you detach your only private network, your cluster won't be reachable until you define a new Private or +// block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or // Public Network. You can modify your `privateNetwork` and its specs, you can have both a Private and Public Network side // by side. // -// - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your Cluster, you won't be -// able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static -// configuration (`serviceIps`), you won't be able to scale your Cluster horizontally (add more nodes) since it would -// require updating the private network to add IPs. +// - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your cluster, you won't be +// able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static +// configuration (`serviceIps`), you won't be able to scale your cluster horizontally (add more nodes) since it would +// require updating the Private Network to add IPs. // Your `serviceIps` must be listed as follows: // // ```go @@ -13403,7 +13660,7 @@ func (o RedisClusterPrivateNetworkOutput) ServiceIps() pulumi.StringArrayOutput } // `zone`) The zone in which the -// Redis Cluster should be created. +// Redis™ cluster should be created. func (o RedisClusterPrivateNetworkOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v RedisClusterPrivateNetwork) *string { return v.Zone }).(pulumi.StringPtrOutput) } @@ -13739,7 +13996,7 @@ func (o TemDomainReputationArrayOutput) Index(i pulumi.IntInput) TemDomainReputa type VpcGatewayNetworkIpamConfig struct { // Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. IpamIpId *string `pulumi:"ipamIpId"` - // Defines whether the default route is enabled on that Gateway Network. + // Defines whether to enable the default route on the GatewayNetwork. PushDefaultRoute *bool `pulumi:"pushDefaultRoute"` } @@ -13757,7 +14014,7 @@ type VpcGatewayNetworkIpamConfigInput interface { type VpcGatewayNetworkIpamConfigArgs struct { // Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. IpamIpId pulumi.StringPtrInput `pulumi:"ipamIpId"` - // Defines whether the default route is enabled on that Gateway Network. + // Defines whether to enable the default route on the GatewayNetwork. PushDefaultRoute pulumi.BoolPtrInput `pulumi:"pushDefaultRoute"` } @@ -13817,7 +14074,7 @@ func (o VpcGatewayNetworkIpamConfigOutput) IpamIpId() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcGatewayNetworkIpamConfig) *string { return v.IpamIpId }).(pulumi.StringPtrOutput) } -// Defines whether the default route is enabled on that Gateway Network. +// Defines whether to enable the default route on the GatewayNetwork. func (o VpcGatewayNetworkIpamConfigOutput) PushDefaultRoute() pulumi.BoolPtrOutput { return o.ApplyT(func(v VpcGatewayNetworkIpamConfig) *bool { return v.PushDefaultRoute }).(pulumi.BoolPtrOutput) } @@ -13843,13 +14100,13 @@ func (o VpcGatewayNetworkIpamConfigArrayOutput) Index(i pulumi.IntInput) VpcGate } type VpcPrivateNetworkIpv4Subnet struct { - // The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + // The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. Address *string `pulumi:"address"` // The date and time of the creation of the subnet. CreatedAt *string `pulumi:"createdAt"` // The subnet ID. Id *string `pulumi:"id"` - // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + // The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. PrefixLength *int `pulumi:"prefixLength"` // The subnet CIDR. Subnet *string `pulumi:"subnet"` @@ -13871,13 +14128,13 @@ type VpcPrivateNetworkIpv4SubnetInput interface { } type VpcPrivateNetworkIpv4SubnetArgs struct { - // The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + // The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. Address pulumi.StringPtrInput `pulumi:"address"` // The date and time of the creation of the subnet. CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` // The subnet ID. Id pulumi.StringPtrInput `pulumi:"id"` - // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + // The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. PrefixLength pulumi.IntPtrInput `pulumi:"prefixLength"` // The subnet CIDR. Subnet pulumi.StringPtrInput `pulumi:"subnet"` @@ -13964,7 +14221,7 @@ func (o VpcPrivateNetworkIpv4SubnetOutput) ToVpcPrivateNetworkIpv4SubnetPtrOutpu }).(VpcPrivateNetworkIpv4SubnetPtrOutput) } -// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. +// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. func (o VpcPrivateNetworkIpv4SubnetOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv4Subnet) *string { return v.Address }).(pulumi.StringPtrOutput) } @@ -13979,7 +14236,7 @@ func (o VpcPrivateNetworkIpv4SubnetOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv4Subnet) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. +// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. func (o VpcPrivateNetworkIpv4SubnetOutput) PrefixLength() pulumi.IntPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv4Subnet) *int { return v.PrefixLength }).(pulumi.IntPtrOutput) } @@ -14023,7 +14280,7 @@ func (o VpcPrivateNetworkIpv4SubnetPtrOutput) Elem() VpcPrivateNetworkIpv4Subnet }).(VpcPrivateNetworkIpv4SubnetOutput) } -// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. +// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. func (o VpcPrivateNetworkIpv4SubnetPtrOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcPrivateNetworkIpv4Subnet) *string { if v == nil { @@ -14053,7 +14310,7 @@ func (o VpcPrivateNetworkIpv4SubnetPtrOutput) Id() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. +// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. func (o VpcPrivateNetworkIpv4SubnetPtrOutput) PrefixLength() pulumi.IntPtrOutput { return o.ApplyT(func(v *VpcPrivateNetworkIpv4Subnet) *int { if v == nil { @@ -14094,13 +14351,13 @@ func (o VpcPrivateNetworkIpv4SubnetPtrOutput) UpdatedAt() pulumi.StringPtrOutput } type VpcPrivateNetworkIpv6Subnet struct { - // The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + // The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. Address *string `pulumi:"address"` // The date and time of the creation of the subnet. CreatedAt *string `pulumi:"createdAt"` // The subnet ID. Id *string `pulumi:"id"` - // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + // The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. PrefixLength *int `pulumi:"prefixLength"` // The subnet CIDR. Subnet *string `pulumi:"subnet"` @@ -14122,13 +14379,13 @@ type VpcPrivateNetworkIpv6SubnetInput interface { } type VpcPrivateNetworkIpv6SubnetArgs struct { - // The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + // The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. Address pulumi.StringPtrInput `pulumi:"address"` // The date and time of the creation of the subnet. CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` // The subnet ID. Id pulumi.StringPtrInput `pulumi:"id"` - // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + // The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. PrefixLength pulumi.IntPtrInput `pulumi:"prefixLength"` // The subnet CIDR. Subnet pulumi.StringPtrInput `pulumi:"subnet"` @@ -14189,7 +14446,7 @@ func (o VpcPrivateNetworkIpv6SubnetOutput) ToVpcPrivateNetworkIpv6SubnetOutputWi return o } -// The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. +// The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. func (o VpcPrivateNetworkIpv6SubnetOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv6Subnet) *string { return v.Address }).(pulumi.StringPtrOutput) } @@ -14204,7 +14461,7 @@ func (o VpcPrivateNetworkIpv6SubnetOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv6Subnet) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. +// The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. func (o VpcPrivateNetworkIpv6SubnetOutput) PrefixLength() pulumi.IntPtrOutput { return o.ApplyT(func(v VpcPrivateNetworkIpv6Subnet) *int { return v.PrefixLength }).(pulumi.IntPtrOutput) } @@ -15386,19 +15643,19 @@ func (o GetBaremetalServerPrivateNetworkArrayOutput) Index(i pulumi.IntInput) Ge } type GetBillingConsumptionsConsumption struct { - // Consumed quantity + // The consumed quantity. BilledQuantity string `pulumi:"billedQuantity"` - // Name of consumption category + // The name of the consumption category. CategoryName string `pulumi:"categoryName"` - // The product name + // The product name. ProductName string `pulumi:"productName"` - // Project ID of the consumption + // `projectId`) The ID of the project the consumption list is associated with. ProjectId string `pulumi:"projectId"` - // Unique identifier of the product + // The unique identifier of the product. Sku string `pulumi:"sku"` - // Unit of consumed quantity + // The unit of consumed quantity. Unit string `pulumi:"unit"` - // Monetary value of the consumption + // The monetary value of the consumption. Value string `pulumi:"value"` } @@ -15414,19 +15671,19 @@ type GetBillingConsumptionsConsumptionInput interface { } type GetBillingConsumptionsConsumptionArgs struct { - // Consumed quantity + // The consumed quantity. BilledQuantity pulumi.StringInput `pulumi:"billedQuantity"` - // Name of consumption category + // The name of the consumption category. CategoryName pulumi.StringInput `pulumi:"categoryName"` - // The product name + // The product name. ProductName pulumi.StringInput `pulumi:"productName"` - // Project ID of the consumption + // `projectId`) The ID of the project the consumption list is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` - // Unique identifier of the product + // The unique identifier of the product. Sku pulumi.StringInput `pulumi:"sku"` - // Unit of consumed quantity + // The unit of consumed quantity. Unit pulumi.StringInput `pulumi:"unit"` - // Monetary value of the consumption + // The monetary value of the consumption. Value pulumi.StringInput `pulumi:"value"` } @@ -15481,37 +15738,37 @@ func (o GetBillingConsumptionsConsumptionOutput) ToGetBillingConsumptionsConsump return o } -// Consumed quantity +// The consumed quantity. func (o GetBillingConsumptionsConsumptionOutput) BilledQuantity() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.BilledQuantity }).(pulumi.StringOutput) } -// Name of consumption category +// The name of the consumption category. func (o GetBillingConsumptionsConsumptionOutput) CategoryName() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.CategoryName }).(pulumi.StringOutput) } -// The product name +// The product name. func (o GetBillingConsumptionsConsumptionOutput) ProductName() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.ProductName }).(pulumi.StringOutput) } -// Project ID of the consumption +// `projectId`) The ID of the project the consumption list is associated with. func (o GetBillingConsumptionsConsumptionOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.ProjectId }).(pulumi.StringOutput) } -// Unique identifier of the product +// The unique identifier of the product. func (o GetBillingConsumptionsConsumptionOutput) Sku() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.Sku }).(pulumi.StringOutput) } -// Unit of consumed quantity +// The unit of consumed quantity. func (o GetBillingConsumptionsConsumptionOutput) Unit() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.Unit }).(pulumi.StringOutput) } -// Monetary value of the consumption +// The monetary value of the consumption. func (o GetBillingConsumptionsConsumptionOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GetBillingConsumptionsConsumption) string { return v.Value }).(pulumi.StringOutput) } @@ -16121,7 +16378,6 @@ type GetDatabaseInstanceLoadBalancer struct { // The IP of your load balancer service Ip string `pulumi:"ip"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name string `pulumi:"name"` // The port of your load balancer service Port int `pulumi:"port"` @@ -16146,7 +16402,6 @@ type GetDatabaseInstanceLoadBalancerArgs struct { // The IP of your load balancer service Ip pulumi.StringInput `pulumi:"ip"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name pulumi.StringInput `pulumi:"name"` // The port of your load balancer service Port pulumi.IntInput `pulumi:"port"` @@ -16219,7 +16474,6 @@ func (o GetDatabaseInstanceLoadBalancerOutput) Ip() pulumi.StringOutput { } // The name of the RDB instance. -// Only one of `name` and `instanceId` should be specified. func (o GetDatabaseInstanceLoadBalancerOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetDatabaseInstanceLoadBalancer) string { return v.Name }).(pulumi.StringOutput) } @@ -16367,7 +16621,6 @@ type GetDatabaseInstancePrivateNetwork struct { // The IP with the given mask within the private subnet IpNet string `pulumi:"ipNet"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name string `pulumi:"name"` // The private network ID PnId string `pulumi:"pnId"` @@ -16400,7 +16653,6 @@ type GetDatabaseInstancePrivateNetworkArgs struct { // The IP with the given mask within the private subnet IpNet pulumi.StringInput `pulumi:"ipNet"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name pulumi.StringInput `pulumi:"name"` // The private network ID PnId pulumi.StringInput `pulumi:"pnId"` @@ -16487,7 +16739,6 @@ func (o GetDatabaseInstancePrivateNetworkOutput) IpNet() pulumi.StringOutput { } // The name of the RDB instance. -// Only one of `name` and `instanceId` should be specified. func (o GetDatabaseInstancePrivateNetworkOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetDatabaseInstancePrivateNetwork) string { return v.Name }).(pulumi.StringOutput) } @@ -16531,7 +16782,6 @@ type GetDatabaseInstanceReadReplica struct { // IP of the replica Ip string `pulumi:"ip"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name string `pulumi:"name"` // Port of the replica Port int `pulumi:"port"` @@ -16552,7 +16802,6 @@ type GetDatabaseInstanceReadReplicaArgs struct { // IP of the replica Ip pulumi.StringInput `pulumi:"ip"` // The name of the RDB instance. - // Only one of `name` and `instanceId` should be specified. Name pulumi.StringInput `pulumi:"name"` // Port of the replica Port pulumi.IntInput `pulumi:"port"` @@ -16615,7 +16864,6 @@ func (o GetDatabaseInstanceReadReplicaOutput) Ip() pulumi.StringOutput { } // The name of the RDB instance. -// Only one of `name` and `instanceId` should be specified. func (o GetDatabaseInstanceReadReplicaOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetDatabaseInstanceReadReplica) string { return v.Name }).(pulumi.StringOutput) } @@ -19158,11 +19406,11 @@ func (o GetIotDeviceMessageFilterSubscribeArrayOutput) Index(i pulumi.IntInput) } type GetIpamIpResource struct { - // The ID of the resource that the IP is bound to. + // The ID of the resource that the IP is attached to. Id *string `pulumi:"id"` - // The name of the resource to get the IP from. + // The name of the resource the IP is attached to. Name *string `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type string `pulumi:"type"` } @@ -19178,11 +19426,11 @@ type GetIpamIpResourceInput interface { } type GetIpamIpResourceArgs struct { - // The ID of the resource that the IP is bound to. + // The ID of the resource that the IP is attached to. Id pulumi.StringPtrInput `pulumi:"id"` - // The name of the resource to get the IP from. + // The name of the resource the IP is attached to. Name pulumi.StringPtrInput `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type pulumi.StringInput `pulumi:"type"` } @@ -19263,17 +19511,17 @@ func (o GetIpamIpResourceOutput) ToGetIpamIpResourcePtrOutputWithContext(ctx con }).(GetIpamIpResourcePtrOutput) } -// The ID of the resource that the IP is bound to. +// The ID of the resource that the IP is attached to. func (o GetIpamIpResourceOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpResource) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The name of the resource to get the IP from. +// The name of the resource the IP is attached to. func (o GetIpamIpResourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpResource) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. +// The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. func (o GetIpamIpResourceOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpResource) string { return v.Type }).(pulumi.StringOutput) } @@ -19302,7 +19550,7 @@ func (o GetIpamIpResourcePtrOutput) Elem() GetIpamIpResourceOutput { }).(GetIpamIpResourceOutput) } -// The ID of the resource that the IP is bound to. +// The ID of the resource that the IP is attached to. func (o GetIpamIpResourcePtrOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpResource) *string { if v == nil { @@ -19312,7 +19560,7 @@ func (o GetIpamIpResourcePtrOutput) Id() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The name of the resource to get the IP from. +// The name of the resource the IP is attached to. func (o GetIpamIpResourcePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpResource) *string { if v == nil { @@ -19322,7 +19570,7 @@ func (o GetIpamIpResourcePtrOutput) Name() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. +// The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. func (o GetIpamIpResourcePtrOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpResource) *string { if v == nil { @@ -19333,23 +19581,23 @@ func (o GetIpamIpResourcePtrOutput) Type() pulumi.StringPtrOutput { } type GetIpamIpsIp struct { - // The Scaleway internal IP address of the server. + // The Scaleway internal IP address of the resource. Address string `pulumi:"address"` // The date and time of the creation of the IP. CreatedAt string `pulumi:"createdAt"` // The ID of the resource. Id string `pulumi:"id"` - // The ID of the project used as filter. + // The ID of the Project to filter for. ProjectId string `pulumi:"projectId"` - // The region used as filter. + // The region to filter for. Region string `pulumi:"region"` - // Filter by resource ID, type or name. + // Filter for a resource attached to the IP, using resource ID, type or name. Resources []GetIpamIpsIpResource `pulumi:"resources"` - // The tags used as filter. + // The IP tags to filter for. Tags []string `pulumi:"tags"` // The date and time of the last update of the IP. UpdatedAt string `pulumi:"updatedAt"` - // The zone in which the IP is. + // The zone of the IP. Zone string `pulumi:"zone"` } @@ -19365,23 +19613,23 @@ type GetIpamIpsIpInput interface { } type GetIpamIpsIpArgs struct { - // The Scaleway internal IP address of the server. + // The Scaleway internal IP address of the resource. Address pulumi.StringInput `pulumi:"address"` // The date and time of the creation of the IP. CreatedAt pulumi.StringInput `pulumi:"createdAt"` // The ID of the resource. Id pulumi.StringInput `pulumi:"id"` - // The ID of the project used as filter. + // The ID of the Project to filter for. ProjectId pulumi.StringInput `pulumi:"projectId"` - // The region used as filter. + // The region to filter for. Region pulumi.StringInput `pulumi:"region"` - // Filter by resource ID, type or name. + // Filter for a resource attached to the IP, using resource ID, type or name. Resources GetIpamIpsIpResourceArrayInput `pulumi:"resources"` - // The tags used as filter. + // The IP tags to filter for. Tags pulumi.StringArrayInput `pulumi:"tags"` // The date and time of the last update of the IP. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // The zone in which the IP is. + // The zone of the IP. Zone pulumi.StringInput `pulumi:"zone"` } @@ -19436,7 +19684,7 @@ func (o GetIpamIpsIpOutput) ToGetIpamIpsIpOutputWithContext(ctx context.Context) return o } -// The Scaleway internal IP address of the server. +// The Scaleway internal IP address of the resource. func (o GetIpamIpsIpOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.Address }).(pulumi.StringOutput) } @@ -19451,22 +19699,22 @@ func (o GetIpamIpsIpOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.Id }).(pulumi.StringOutput) } -// The ID of the project used as filter. +// The ID of the Project to filter for. func (o GetIpamIpsIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.ProjectId }).(pulumi.StringOutput) } -// The region used as filter. +// The region to filter for. func (o GetIpamIpsIpOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.Region }).(pulumi.StringOutput) } -// Filter by resource ID, type or name. +// Filter for a resource attached to the IP, using resource ID, type or name. func (o GetIpamIpsIpOutput) Resources() GetIpamIpsIpResourceArrayOutput { return o.ApplyT(func(v GetIpamIpsIp) []GetIpamIpsIpResource { return v.Resources }).(GetIpamIpsIpResourceArrayOutput) } -// The tags used as filter. +// The IP tags to filter for. func (o GetIpamIpsIpOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v GetIpamIpsIp) []string { return v.Tags }).(pulumi.StringArrayOutput) } @@ -19476,7 +19724,7 @@ func (o GetIpamIpsIpOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.UpdatedAt }).(pulumi.StringOutput) } -// The zone in which the IP is. +// The zone of the IP. func (o GetIpamIpsIpOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIp) string { return v.Zone }).(pulumi.StringOutput) } @@ -19502,13 +19750,13 @@ func (o GetIpamIpsIpArrayOutput) Index(i pulumi.IntInput) GetIpamIpsIpOutput { } type GetIpamIpsIpResource struct { - // The ID of the resource that the IP is bound to. + // The ID of the attached resource. Id string `pulumi:"id"` - // The Mac Address used as filter. + // The linked MAC address to filter for. MacAddress string `pulumi:"macAddress"` - // The name of the resource to get the IP from. + // The name of the attached resource. Name string `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type string `pulumi:"type"` } @@ -19524,13 +19772,13 @@ type GetIpamIpsIpResourceInput interface { } type GetIpamIpsIpResourceArgs struct { - // The ID of the resource that the IP is bound to. + // The ID of the attached resource. Id pulumi.StringInput `pulumi:"id"` - // The Mac Address used as filter. + // The linked MAC address to filter for. MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The name of the resource to get the IP from. + // The name of the attached resource. Name pulumi.StringInput `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type pulumi.StringInput `pulumi:"type"` } @@ -19585,22 +19833,22 @@ func (o GetIpamIpsIpResourceOutput) ToGetIpamIpsIpResourceOutputWithContext(ctx return o } -// The ID of the resource that the IP is bound to. +// The ID of the attached resource. func (o GetIpamIpsIpResourceOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIpResource) string { return v.Id }).(pulumi.StringOutput) } -// The Mac Address used as filter. +// The linked MAC address to filter for. func (o GetIpamIpsIpResourceOutput) MacAddress() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIpResource) string { return v.MacAddress }).(pulumi.StringOutput) } -// The name of the resource to get the IP from. +// The name of the attached resource. func (o GetIpamIpsIpResourceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIpResource) string { return v.Name }).(pulumi.StringOutput) } -// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. +// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. func (o GetIpamIpsIpResourceOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsIpResource) string { return v.Type }).(pulumi.StringOutput) } @@ -19626,11 +19874,11 @@ func (o GetIpamIpsIpResourceArrayOutput) Index(i pulumi.IntInput) GetIpamIpsIpRe } type GetIpamIpsResource struct { - // The ID of the resource that the IP is bound to. + // The ID of the attached resource. Id *string `pulumi:"id"` - // The name of the resource to get the IP from. + // The name of the attached resource. Name *string `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type string `pulumi:"type"` } @@ -19646,11 +19894,11 @@ type GetIpamIpsResourceInput interface { } type GetIpamIpsResourceArgs struct { - // The ID of the resource that the IP is bound to. + // The ID of the attached resource. Id pulumi.StringPtrInput `pulumi:"id"` - // The name of the resource to get the IP from. + // The name of the attached resource. Name pulumi.StringPtrInput `pulumi:"name"` - // The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + // The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. Type pulumi.StringInput `pulumi:"type"` } @@ -19731,17 +19979,17 @@ func (o GetIpamIpsResourceOutput) ToGetIpamIpsResourcePtrOutputWithContext(ctx c }).(GetIpamIpsResourcePtrOutput) } -// The ID of the resource that the IP is bound to. +// The ID of the attached resource. func (o GetIpamIpsResourceOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpsResource) *string { return v.Id }).(pulumi.StringPtrOutput) } -// The name of the resource to get the IP from. +// The name of the attached resource. func (o GetIpamIpsResourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpamIpsResource) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. +// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. func (o GetIpamIpsResourceOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetIpamIpsResource) string { return v.Type }).(pulumi.StringOutput) } @@ -19770,7 +20018,7 @@ func (o GetIpamIpsResourcePtrOutput) Elem() GetIpamIpsResourceOutput { }).(GetIpamIpsResourceOutput) } -// The ID of the resource that the IP is bound to. +// The ID of the attached resource. func (o GetIpamIpsResourcePtrOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpsResource) *string { if v == nil { @@ -19780,7 +20028,7 @@ func (o GetIpamIpsResourcePtrOutput) Id() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The name of the resource to get the IP from. +// The name of the attached resource. func (o GetIpamIpsResourcePtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpsResource) *string { if v == nil { @@ -19790,7 +20038,7 @@ func (o GetIpamIpsResourcePtrOutput) Name() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. +// The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. func (o GetIpamIpsResourcePtrOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v *GetIpamIpsResource) *string { if v == nil { @@ -20599,25 +20847,25 @@ func (o GetKubernetesNodePoolUpgradePolicyArrayOutput) Index(i pulumi.IntInput) } type GetLbAclsAcl struct { - // The action that has been undertaken when an ACL filter had matched. + // The action to be undertaken when an ACL filter matches. Actions []GetLbAclsAclAction `pulumi:"actions"` - // The date at which the ACL was created (RFC 3339 format). + // The date on which the ACL was created (RFC 3339 format). CreatedAt string `pulumi:"createdAt"` // The description of the ACL resource. Description string `pulumi:"description"` - // The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - // > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` FrontendId string `pulumi:"frontendId"` // The associated ACL ID. // > **Important:** LB ACLs' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` Id string `pulumi:"id"` - // The order between the ACLs. + // The priority of this ACL in the ordered list. Index int `pulumi:"index"` // The ACL match rule. Matches []GetLbAclsAclMatch `pulumi:"matches"` - // The ACL name used as filter. ACLs with a name like it are listed. + // The ACL name to filter for. ACLs with a matching name are listed. Name string `pulumi:"name"` - // The date at which the ACL was last updated (RFC 3339 format). + // The date on which the ACL was last updated (RFC 3339 format). UpdateAt string `pulumi:"updateAt"` } @@ -20633,25 +20881,25 @@ type GetLbAclsAclInput interface { } type GetLbAclsAclArgs struct { - // The action that has been undertaken when an ACL filter had matched. + // The action to be undertaken when an ACL filter matches. Actions GetLbAclsAclActionArrayInput `pulumi:"actions"` - // The date at which the ACL was created (RFC 3339 format). + // The date on which the ACL was created (RFC 3339 format). CreatedAt pulumi.StringInput `pulumi:"createdAt"` // The description of the ACL resource. Description pulumi.StringInput `pulumi:"description"` - // The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - // > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` FrontendId pulumi.StringInput `pulumi:"frontendId"` // The associated ACL ID. // > **Important:** LB ACLs' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` Id pulumi.StringInput `pulumi:"id"` - // The order between the ACLs. + // The priority of this ACL in the ordered list. Index pulumi.IntInput `pulumi:"index"` // The ACL match rule. Matches GetLbAclsAclMatchArrayInput `pulumi:"matches"` - // The ACL name used as filter. ACLs with a name like it are listed. + // The ACL name to filter for. ACLs with a matching name are listed. Name pulumi.StringInput `pulumi:"name"` - // The date at which the ACL was last updated (RFC 3339 format). + // The date on which the ACL was last updated (RFC 3339 format). UpdateAt pulumi.StringInput `pulumi:"updateAt"` } @@ -20706,12 +20954,12 @@ func (o GetLbAclsAclOutput) ToGetLbAclsAclOutputWithContext(ctx context.Context) return o } -// The action that has been undertaken when an ACL filter had matched. +// The action to be undertaken when an ACL filter matches. func (o GetLbAclsAclOutput) Actions() GetLbAclsAclActionArrayOutput { return o.ApplyT(func(v GetLbAclsAcl) []GetLbAclsAclAction { return v.Actions }).(GetLbAclsAclActionArrayOutput) } -// The date at which the ACL was created (RFC 3339 format). +// The date on which the ACL was created (RFC 3339 format). func (o GetLbAclsAclOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.CreatedAt }).(pulumi.StringOutput) } @@ -20721,8 +20969,8 @@ func (o GetLbAclsAclOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.Description }).(pulumi.StringOutput) } -// The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. -// > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` +// The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. +// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` func (o GetLbAclsAclOutput) FrontendId() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.FrontendId }).(pulumi.StringOutput) } @@ -20733,7 +20981,7 @@ func (o GetLbAclsAclOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.Id }).(pulumi.StringOutput) } -// The order between the ACLs. +// The priority of this ACL in the ordered list. func (o GetLbAclsAclOutput) Index() pulumi.IntOutput { return o.ApplyT(func(v GetLbAclsAcl) int { return v.Index }).(pulumi.IntOutput) } @@ -20743,12 +20991,12 @@ func (o GetLbAclsAclOutput) Matches() GetLbAclsAclMatchArrayOutput { return o.ApplyT(func(v GetLbAclsAcl) []GetLbAclsAclMatch { return v.Matches }).(GetLbAclsAclMatchArrayOutput) } -// The ACL name used as filter. ACLs with a name like it are listed. +// The ACL name to filter for. ACLs with a matching name are listed. func (o GetLbAclsAclOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.Name }).(pulumi.StringOutput) } -// The date at which the ACL was last updated (RFC 3339 format). +// The date on which the ACL was last updated (RFC 3339 format). func (o GetLbAclsAclOutput) UpdateAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAcl) string { return v.UpdateAt }).(pulumi.StringOutput) } @@ -20880,9 +21128,9 @@ func (o GetLbAclsAclActionArrayOutput) Index(i pulumi.IntInput) GetLbAclsAclActi } type GetLbAclsAclActionRedirect struct { - // The HTTP redirect code used. + // The HTTP redirect code to use. Code int `pulumi:"code"` - // The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + // The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. Target string `pulumi:"target"` // The redirect type. Type string `pulumi:"type"` @@ -20900,9 +21148,9 @@ type GetLbAclsAclActionRedirectInput interface { } type GetLbAclsAclActionRedirectArgs struct { - // The HTTP redirect code used. + // The HTTP redirect code to use. Code pulumi.IntInput `pulumi:"code"` - // The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + // The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. Target pulumi.StringInput `pulumi:"target"` // The redirect type. Type pulumi.StringInput `pulumi:"type"` @@ -20959,12 +21207,12 @@ func (o GetLbAclsAclActionRedirectOutput) ToGetLbAclsAclActionRedirectOutputWith return o } -// The HTTP redirect code used. +// The HTTP redirect code to use. func (o GetLbAclsAclActionRedirectOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GetLbAclsAclActionRedirect) int { return v.Code }).(pulumi.IntOutput) } -// The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. +// The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. func (o GetLbAclsAclActionRedirectOutput) Target() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAclActionRedirect) string { return v.Target }).(pulumi.StringOutput) } @@ -20995,15 +21243,15 @@ func (o GetLbAclsAclActionRedirectArrayOutput) Index(i pulumi.IntInput) GetLbAcl } type GetLbAclsAclMatch struct { - // The matched HTTP filter. + // The HTTP filter to match. HttpFilter string `pulumi:"httpFilter"` // A list of possible values for the HTTP filter based on the HTTP header. HttpFilterOption string `pulumi:"httpFilterOption"` - // The possible values matched for a given HTTP filter. + // The possible values to match for a given HTTP filter. HttpFilterValues []string `pulumi:"httpFilterValues"` // The condition will be of type "unless" if invert is set to `true` Invert bool `pulumi:"invert"` - // A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets []string `pulumi:"ipSubnets"` } @@ -21019,15 +21267,15 @@ type GetLbAclsAclMatchInput interface { } type GetLbAclsAclMatchArgs struct { - // The matched HTTP filter. + // The HTTP filter to match. HttpFilter pulumi.StringInput `pulumi:"httpFilter"` // A list of possible values for the HTTP filter based on the HTTP header. HttpFilterOption pulumi.StringInput `pulumi:"httpFilterOption"` - // The possible values matched for a given HTTP filter. + // The possible values to match for a given HTTP filter. HttpFilterValues pulumi.StringArrayInput `pulumi:"httpFilterValues"` // The condition will be of type "unless" if invert is set to `true` Invert pulumi.BoolInput `pulumi:"invert"` - // A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + // A list of IPs, or CIDR v4/v6 addresses of the session client, to match. IpSubnets pulumi.StringArrayInput `pulumi:"ipSubnets"` } @@ -21082,7 +21330,7 @@ func (o GetLbAclsAclMatchOutput) ToGetLbAclsAclMatchOutputWithContext(ctx contex return o } -// The matched HTTP filter. +// The HTTP filter to match. func (o GetLbAclsAclMatchOutput) HttpFilter() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAclMatch) string { return v.HttpFilter }).(pulumi.StringOutput) } @@ -21092,7 +21340,7 @@ func (o GetLbAclsAclMatchOutput) HttpFilterOption() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAclMatch) string { return v.HttpFilterOption }).(pulumi.StringOutput) } -// The possible values matched for a given HTTP filter. +// The possible values to match for a given HTTP filter. func (o GetLbAclsAclMatchOutput) HttpFilterValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbAclsAclMatch) []string { return v.HttpFilterValues }).(pulumi.StringArrayOutput) } @@ -21102,7 +21350,7 @@ func (o GetLbAclsAclMatchOutput) Invert() pulumi.BoolOutput { return o.ApplyT(func(v GetLbAclsAclMatch) bool { return v.Invert }).(pulumi.BoolOutput) } -// A list of matched IPs or CIDR v4/v6 addresses of the client of the session. +// A list of IPs, or CIDR v4/v6 addresses of the session client, to match. func (o GetLbAclsAclMatchOutput) IpSubnets() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbAclsAclMatch) []string { return v.IpSubnets }).(pulumi.StringArrayOutput) } @@ -21349,37 +21597,37 @@ func (o GetLbBackendHealthCheckTcpArrayOutput) Index(i pulumi.IntInput) GetLbBac } type GetLbBackendsBackend struct { - // The date at which the backend was created (RFC 3339 format). + // The date on which the backend was created (RFC 3339 format). CreatedAt string `pulumi:"createdAt"` - // Scaleway S3 bucket website to be served in case all backend servers are down. + // Scaleway S3 bucket website to be served if all backend servers are down. FailoverHost string `pulumi:"failoverHost"` - // User sessions will be forwarded to this port of backend servers. + // User sessions will be forwarded to this backend server port. ForwardPort int `pulumi:"forwardPort"` // Load balancing algorithm. ForwardPortAlgorithm string `pulumi:"forwardPortAlgorithm"` // Backend protocol. ForwardProtocol string `pulumi:"forwardProtocol"` - // Interval between two HC requests. + // Interval between two health check requests. HealthCheckDelay string `pulumi:"healthCheckDelay"` - // This block enable HTTP health check. + // This block enables HTTP health checks. HealthCheckHttp []GetLbBackendsBackendHealthCheckHttp `pulumi:"healthCheckHttp"` - // This block enable HTTPS health check. + // This block enables HTTPS health checks. HealthCheckHttps []GetLbBackendsBackendHealthCheckHttp `pulumi:"healthCheckHttps"` - // Number of allowed failed HC requests before the backend server is marked down. + // Number of allowed failed health check requests before the backend server is marked as down. HealthCheckMaxRetries int `pulumi:"healthCheckMaxRetries"` - // Port the HC requests will be sent to. + // Port the health check requests will be sent to. HealthCheckPort int `pulumi:"healthCheckPort"` - // This block enable TCP health check. + // This block enables TCP health checks. HealthCheckTcps []GetLbBackendsBackendHealthCheckTcp `pulumi:"healthCheckTcps"` - // Timeout before we consider a HC request failed. + // Timeout before a health check request is considered failed. HealthCheckTimeout string `pulumi:"healthCheckTimeout"` // The associated backend ID. Id string `pulumi:"id"` // Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection. IgnoreSslServerVerify bool `pulumi:"ignoreSslServerVerify"` - // The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + // The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. LbId string `pulumi:"lbId"` - // The backend name used as filter. Backends with a name like it are listed. + // The backend name to filter for. Backends with a matching name are listed. Name string `pulumi:"name"` // Modify what occurs when a backend server is marked down. OnMarkedDownAction string `pulumi:"onMarkedDownAction"` @@ -21387,7 +21635,7 @@ type GetLbBackendsBackend struct { ProxyProtocol string `pulumi:"proxyProtocol"` // List of backend server IP addresses. ServerIps []string `pulumi:"serverIps"` - // Enables SSL between load balancer and backend servers. + // Enables SSL between Load Balancer and backend servers. SslBridging bool `pulumi:"sslBridging"` // Enables cookie-based session persistence. StickySessions string `pulumi:"stickySessions"` @@ -21399,7 +21647,7 @@ type GetLbBackendsBackend struct { TimeoutServer string `pulumi:"timeoutServer"` // Maximum tunnel inactivity time. TimeoutTunnel string `pulumi:"timeoutTunnel"` - // The date at which the backend was last updated (RFC 3339 format). + // The date on which the backend was last updated (RFC 3339 format). UpdateAt string `pulumi:"updateAt"` } @@ -21415,37 +21663,37 @@ type GetLbBackendsBackendInput interface { } type GetLbBackendsBackendArgs struct { - // The date at which the backend was created (RFC 3339 format). + // The date on which the backend was created (RFC 3339 format). CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // Scaleway S3 bucket website to be served in case all backend servers are down. + // Scaleway S3 bucket website to be served if all backend servers are down. FailoverHost pulumi.StringInput `pulumi:"failoverHost"` - // User sessions will be forwarded to this port of backend servers. + // User sessions will be forwarded to this backend server port. ForwardPort pulumi.IntInput `pulumi:"forwardPort"` // Load balancing algorithm. ForwardPortAlgorithm pulumi.StringInput `pulumi:"forwardPortAlgorithm"` // Backend protocol. ForwardProtocol pulumi.StringInput `pulumi:"forwardProtocol"` - // Interval between two HC requests. + // Interval between two health check requests. HealthCheckDelay pulumi.StringInput `pulumi:"healthCheckDelay"` - // This block enable HTTP health check. + // This block enables HTTP health checks. HealthCheckHttp GetLbBackendsBackendHealthCheckHttpArrayInput `pulumi:"healthCheckHttp"` - // This block enable HTTPS health check. + // This block enables HTTPS health checks. HealthCheckHttps GetLbBackendsBackendHealthCheckHttpArrayInput `pulumi:"healthCheckHttps"` - // Number of allowed failed HC requests before the backend server is marked down. + // Number of allowed failed health check requests before the backend server is marked as down. HealthCheckMaxRetries pulumi.IntInput `pulumi:"healthCheckMaxRetries"` - // Port the HC requests will be sent to. + // Port the health check requests will be sent to. HealthCheckPort pulumi.IntInput `pulumi:"healthCheckPort"` - // This block enable TCP health check. + // This block enables TCP health checks. HealthCheckTcps GetLbBackendsBackendHealthCheckTcpArrayInput `pulumi:"healthCheckTcps"` - // Timeout before we consider a HC request failed. + // Timeout before a health check request is considered failed. HealthCheckTimeout pulumi.StringInput `pulumi:"healthCheckTimeout"` // The associated backend ID. Id pulumi.StringInput `pulumi:"id"` // Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection. IgnoreSslServerVerify pulumi.BoolInput `pulumi:"ignoreSslServerVerify"` - // The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + // The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. LbId pulumi.StringInput `pulumi:"lbId"` - // The backend name used as filter. Backends with a name like it are listed. + // The backend name to filter for. Backends with a matching name are listed. Name pulumi.StringInput `pulumi:"name"` // Modify what occurs when a backend server is marked down. OnMarkedDownAction pulumi.StringInput `pulumi:"onMarkedDownAction"` @@ -21453,7 +21701,7 @@ type GetLbBackendsBackendArgs struct { ProxyProtocol pulumi.StringInput `pulumi:"proxyProtocol"` // List of backend server IP addresses. ServerIps pulumi.StringArrayInput `pulumi:"serverIps"` - // Enables SSL between load balancer and backend servers. + // Enables SSL between Load Balancer and backend servers. SslBridging pulumi.BoolInput `pulumi:"sslBridging"` // Enables cookie-based session persistence. StickySessions pulumi.StringInput `pulumi:"stickySessions"` @@ -21465,7 +21713,7 @@ type GetLbBackendsBackendArgs struct { TimeoutServer pulumi.StringInput `pulumi:"timeoutServer"` // Maximum tunnel inactivity time. TimeoutTunnel pulumi.StringInput `pulumi:"timeoutTunnel"` - // The date at which the backend was last updated (RFC 3339 format). + // The date on which the backend was last updated (RFC 3339 format). UpdateAt pulumi.StringInput `pulumi:"updateAt"` } @@ -21520,17 +21768,17 @@ func (o GetLbBackendsBackendOutput) ToGetLbBackendsBackendOutputWithContext(ctx return o } -// The date at which the backend was created (RFC 3339 format). +// The date on which the backend was created (RFC 3339 format). func (o GetLbBackendsBackendOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.CreatedAt }).(pulumi.StringOutput) } -// Scaleway S3 bucket website to be served in case all backend servers are down. +// Scaleway S3 bucket website to be served if all backend servers are down. func (o GetLbBackendsBackendOutput) FailoverHost() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.FailoverHost }).(pulumi.StringOutput) } -// User sessions will be forwarded to this port of backend servers. +// User sessions will be forwarded to this backend server port. func (o GetLbBackendsBackendOutput) ForwardPort() pulumi.IntOutput { return o.ApplyT(func(v GetLbBackendsBackend) int { return v.ForwardPort }).(pulumi.IntOutput) } @@ -21545,37 +21793,37 @@ func (o GetLbBackendsBackendOutput) ForwardProtocol() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.ForwardProtocol }).(pulumi.StringOutput) } -// Interval between two HC requests. +// Interval between two health check requests. func (o GetLbBackendsBackendOutput) HealthCheckDelay() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.HealthCheckDelay }).(pulumi.StringOutput) } -// This block enable HTTP health check. +// This block enables HTTP health checks. func (o GetLbBackendsBackendOutput) HealthCheckHttp() GetLbBackendsBackendHealthCheckHttpArrayOutput { return o.ApplyT(func(v GetLbBackendsBackend) []GetLbBackendsBackendHealthCheckHttp { return v.HealthCheckHttp }).(GetLbBackendsBackendHealthCheckHttpArrayOutput) } -// This block enable HTTPS health check. +// This block enables HTTPS health checks. func (o GetLbBackendsBackendOutput) HealthCheckHttps() GetLbBackendsBackendHealthCheckHttpArrayOutput { return o.ApplyT(func(v GetLbBackendsBackend) []GetLbBackendsBackendHealthCheckHttp { return v.HealthCheckHttps }).(GetLbBackendsBackendHealthCheckHttpArrayOutput) } -// Number of allowed failed HC requests before the backend server is marked down. +// Number of allowed failed health check requests before the backend server is marked as down. func (o GetLbBackendsBackendOutput) HealthCheckMaxRetries() pulumi.IntOutput { return o.ApplyT(func(v GetLbBackendsBackend) int { return v.HealthCheckMaxRetries }).(pulumi.IntOutput) } -// Port the HC requests will be sent to. +// Port the health check requests will be sent to. func (o GetLbBackendsBackendOutput) HealthCheckPort() pulumi.IntOutput { return o.ApplyT(func(v GetLbBackendsBackend) int { return v.HealthCheckPort }).(pulumi.IntOutput) } -// This block enable TCP health check. +// This block enables TCP health checks. func (o GetLbBackendsBackendOutput) HealthCheckTcps() GetLbBackendsBackendHealthCheckTcpArrayOutput { return o.ApplyT(func(v GetLbBackendsBackend) []GetLbBackendsBackendHealthCheckTcp { return v.HealthCheckTcps }).(GetLbBackendsBackendHealthCheckTcpArrayOutput) } -// Timeout before we consider a HC request failed. +// Timeout before a health check request is considered failed. func (o GetLbBackendsBackendOutput) HealthCheckTimeout() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.HealthCheckTimeout }).(pulumi.StringOutput) } @@ -21590,12 +21838,12 @@ func (o GetLbBackendsBackendOutput) IgnoreSslServerVerify() pulumi.BoolOutput { return o.ApplyT(func(v GetLbBackendsBackend) bool { return v.IgnoreSslServerVerify }).(pulumi.BoolOutput) } -// The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. +// The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. func (o GetLbBackendsBackendOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.LbId }).(pulumi.StringOutput) } -// The backend name used as filter. Backends with a name like it are listed. +// The backend name to filter for. Backends with a matching name are listed. func (o GetLbBackendsBackendOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.Name }).(pulumi.StringOutput) } @@ -21615,7 +21863,7 @@ func (o GetLbBackendsBackendOutput) ServerIps() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbBackendsBackend) []string { return v.ServerIps }).(pulumi.StringArrayOutput) } -// Enables SSL between load balancer and backend servers. +// Enables SSL between Load Balancer and backend servers. func (o GetLbBackendsBackendOutput) SslBridging() pulumi.BoolOutput { return o.ApplyT(func(v GetLbBackendsBackend) bool { return v.SslBridging }).(pulumi.BoolOutput) } @@ -21645,7 +21893,7 @@ func (o GetLbBackendsBackendOutput) TimeoutTunnel() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.TimeoutTunnel }).(pulumi.StringOutput) } -// The date at which the backend was last updated (RFC 3339 format). +// The date on which the backend was last updated (RFC 3339 format). func (o GetLbBackendsBackendOutput) UpdateAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackend) string { return v.UpdateAt }).(pulumi.StringOutput) } @@ -21673,13 +21921,13 @@ func (o GetLbBackendsBackendArrayOutput) Index(i pulumi.IntInput) GetLbBackendsB type GetLbBackendsBackendHealthCheckHttp struct { // The expected HTTP status code. Code int `pulumi:"code"` - // The HTTP host header to use for HC requests. + // The HTTP host header to use for health check requests. HostHeader string `pulumi:"hostHeader"` - // The HTTP method to use for HC requests. + // The HTTP method to use for health check requests. Method string `pulumi:"method"` // The SNI to use for HC requests over SSL. Sni string `pulumi:"sni"` - // The HTTPS endpoint URL to call for HC requests. + // The HTTPS endpoint URL to call for health check requests. Uri string `pulumi:"uri"` } @@ -21697,13 +21945,13 @@ type GetLbBackendsBackendHealthCheckHttpInput interface { type GetLbBackendsBackendHealthCheckHttpArgs struct { // The expected HTTP status code. Code pulumi.IntInput `pulumi:"code"` - // The HTTP host header to use for HC requests. + // The HTTP host header to use for health check requests. HostHeader pulumi.StringInput `pulumi:"hostHeader"` - // The HTTP method to use for HC requests. + // The HTTP method to use for health check requests. Method pulumi.StringInput `pulumi:"method"` // The SNI to use for HC requests over SSL. Sni pulumi.StringInput `pulumi:"sni"` - // The HTTPS endpoint URL to call for HC requests. + // The HTTPS endpoint URL to call for health check requests. Uri pulumi.StringInput `pulumi:"uri"` } @@ -21763,12 +22011,12 @@ func (o GetLbBackendsBackendHealthCheckHttpOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GetLbBackendsBackendHealthCheckHttp) int { return v.Code }).(pulumi.IntOutput) } -// The HTTP host header to use for HC requests. +// The HTTP host header to use for health check requests. func (o GetLbBackendsBackendHealthCheckHttpOutput) HostHeader() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackendHealthCheckHttp) string { return v.HostHeader }).(pulumi.StringOutput) } -// The HTTP method to use for HC requests. +// The HTTP method to use for health check requests. func (o GetLbBackendsBackendHealthCheckHttpOutput) Method() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackendHealthCheckHttp) string { return v.Method }).(pulumi.StringOutput) } @@ -21778,7 +22026,7 @@ func (o GetLbBackendsBackendHealthCheckHttpOutput) Sni() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackendHealthCheckHttp) string { return v.Sni }).(pulumi.StringOutput) } -// The HTTPS endpoint URL to call for HC requests. +// The HTTPS endpoint URL to call for health check requests. func (o GetLbBackendsBackendHealthCheckHttpOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GetLbBackendsBackendHealthCheckHttp) string { return v.Uri }).(pulumi.StringOutput) } @@ -22391,27 +22639,27 @@ func (o GetLbFrontendAclMatchArrayOutput) Index(i pulumi.IntInput) GetLbFrontend } type GetLbFrontendsFrontend struct { - // The load-balancer backend ID this frontend is attached to. - // > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The Load Balancer backend ID this frontend is attached to. + // > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` BackendId string `pulumi:"backendId"` - // List of Certificate IDs that are used by the frontend. + // List of certificate IDs that are used by the frontend. CertificateIds []string `pulumi:"certificateIds"` - // The date at which the frontend was created (RFC 3339 format). + // The date on which the frontend was created (RFC 3339 format). CreatedAt string `pulumi:"createdAt"` - // If HTTP/3 protocol is activated. + // Whether HTTP/3 protocol is activated. EnableHttp3 bool `pulumi:"enableHttp3"` - // The associated frontend ID. - // > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The ID of the associated frontend. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` Id string `pulumi:"id"` - // TCP port the frontend listen to. + // TCP port the frontend listens to. InboundPort int `pulumi:"inboundPort"` - // The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + // The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. LbId string `pulumi:"lbId"` - // The frontend name used as filter. Frontends with a name like it are listed. + // The frontend name to filter for. Frontends with a matching name are listed. Name string `pulumi:"name"` // Maximum inactivity time on the client side. TimeoutClient string `pulumi:"timeoutClient"` - // The date at which the frontend was last updated (RFC 3339 format). + // The date aont which the frontend was last updated (RFC 3339 format). UpdateAt string `pulumi:"updateAt"` } @@ -22427,27 +22675,27 @@ type GetLbFrontendsFrontendInput interface { } type GetLbFrontendsFrontendArgs struct { - // The load-balancer backend ID this frontend is attached to. - // > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The Load Balancer backend ID this frontend is attached to. + // > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` BackendId pulumi.StringInput `pulumi:"backendId"` - // List of Certificate IDs that are used by the frontend. + // List of certificate IDs that are used by the frontend. CertificateIds pulumi.StringArrayInput `pulumi:"certificateIds"` - // The date at which the frontend was created (RFC 3339 format). + // The date on which the frontend was created (RFC 3339 format). CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // If HTTP/3 protocol is activated. + // Whether HTTP/3 protocol is activated. EnableHttp3 pulumi.BoolInput `pulumi:"enableHttp3"` - // The associated frontend ID. - // > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + // The ID of the associated frontend. + // > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` Id pulumi.StringInput `pulumi:"id"` - // TCP port the frontend listen to. + // TCP port the frontend listens to. InboundPort pulumi.IntInput `pulumi:"inboundPort"` - // The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + // The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. LbId pulumi.StringInput `pulumi:"lbId"` - // The frontend name used as filter. Frontends with a name like it are listed. + // The frontend name to filter for. Frontends with a matching name are listed. Name pulumi.StringInput `pulumi:"name"` // Maximum inactivity time on the client side. TimeoutClient pulumi.StringInput `pulumi:"timeoutClient"` - // The date at which the frontend was last updated (RFC 3339 format). + // The date aont which the frontend was last updated (RFC 3339 format). UpdateAt pulumi.StringInput `pulumi:"updateAt"` } @@ -22502,44 +22750,44 @@ func (o GetLbFrontendsFrontendOutput) ToGetLbFrontendsFrontendOutputWithContext( return o } -// The load-balancer backend ID this frontend is attached to. -// > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` +// The Load Balancer backend ID this frontend is attached to. +// > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` func (o GetLbFrontendsFrontendOutput) BackendId() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.BackendId }).(pulumi.StringOutput) } -// List of Certificate IDs that are used by the frontend. +// List of certificate IDs that are used by the frontend. func (o GetLbFrontendsFrontendOutput) CertificateIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) []string { return v.CertificateIds }).(pulumi.StringArrayOutput) } -// The date at which the frontend was created (RFC 3339 format). +// The date on which the frontend was created (RFC 3339 format). func (o GetLbFrontendsFrontendOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.CreatedAt }).(pulumi.StringOutput) } -// If HTTP/3 protocol is activated. +// Whether HTTP/3 protocol is activated. func (o GetLbFrontendsFrontendOutput) EnableHttp3() pulumi.BoolOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) bool { return v.EnableHttp3 }).(pulumi.BoolOutput) } -// The associated frontend ID. -// > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` +// The ID of the associated frontend. +// > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` func (o GetLbFrontendsFrontendOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.Id }).(pulumi.StringOutput) } -// TCP port the frontend listen to. +// TCP port the frontend listens to. func (o GetLbFrontendsFrontendOutput) InboundPort() pulumi.IntOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) int { return v.InboundPort }).(pulumi.IntOutput) } -// The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. +// The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. func (o GetLbFrontendsFrontendOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.LbId }).(pulumi.StringOutput) } -// The frontend name used as filter. Frontends with a name like it are listed. +// The frontend name to filter for. Frontends with a matching name are listed. func (o GetLbFrontendsFrontendOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.Name }).(pulumi.StringOutput) } @@ -22549,7 +22797,7 @@ func (o GetLbFrontendsFrontendOutput) TimeoutClient() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.TimeoutClient }).(pulumi.StringOutput) } -// The date at which the frontend was last updated (RFC 3339 format). +// The date aont which the frontend was last updated (RFC 3339 format). func (o GetLbFrontendsFrontendOutput) UpdateAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendsFrontend) string { return v.UpdateAt }).(pulumi.StringOutput) } @@ -22575,19 +22823,19 @@ func (o GetLbFrontendsFrontendArrayOutput) Index(i pulumi.IntInput) GetLbFronten } type GetLbIpsIp struct { - // The associated IP ID. + // The ID of the associated IP. Id string `pulumi:"id"` - // The IP Address + // The IP address IpAddress string `pulumi:"ipAddress"` - // The associated load-balancer ID if any + // The ID of the associated Load BalancerD, if any LbId string `pulumi:"lbId"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId string `pulumi:"projectId"` // The reverse domain associated with this IP. Reverse string `pulumi:"reverse"` - // `zone`) The zone in which IPs exist. + // `zone`) The zone in which the IPs exist. Zone string `pulumi:"zone"` } @@ -22603,19 +22851,19 @@ type GetLbIpsIpInput interface { } type GetLbIpsIpArgs struct { - // The associated IP ID. + // The ID of the associated IP. Id pulumi.StringInput `pulumi:"id"` - // The IP Address + // The IP address IpAddress pulumi.StringInput `pulumi:"ipAddress"` - // The associated load-balancer ID if any + // The ID of the associated Load BalancerD, if any LbId pulumi.StringInput `pulumi:"lbId"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId pulumi.StringInput `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` // The reverse domain associated with this IP. Reverse pulumi.StringInput `pulumi:"reverse"` - // `zone`) The zone in which IPs exist. + // `zone`) The zone in which the IPs exist. Zone pulumi.StringInput `pulumi:"zone"` } @@ -22670,27 +22918,27 @@ func (o GetLbIpsIpOutput) ToGetLbIpsIpOutputWithContext(ctx context.Context) Get return o } -// The associated IP ID. +// The ID of the associated IP. func (o GetLbIpsIpOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.Id }).(pulumi.StringOutput) } -// The IP Address +// The IP address func (o GetLbIpsIpOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.IpAddress }).(pulumi.StringOutput) } -// The associated load-balancer ID if any +// The ID of the associated Load BalancerD, if any func (o GetLbIpsIpOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.LbId }).(pulumi.StringOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization the Load Balancer is associated with. func (o GetLbIpsIpOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the load-balancer is associated with. +// The ID of the Project the Load Balancer is associated with. func (o GetLbIpsIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.ProjectId }).(pulumi.StringOutput) } @@ -22700,7 +22948,7 @@ func (o GetLbIpsIpOutput) Reverse() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.Reverse }).(pulumi.StringOutput) } -// `zone`) The zone in which IPs exist. +// `zone`) The zone in which the IPs exist. func (o GetLbIpsIpOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbIpsIp) string { return v.Zone }).(pulumi.StringOutput) } @@ -22726,11 +22974,11 @@ func (o GetLbIpsIpArrayOutput) Index(i pulumi.IntInput) GetLbIpsIpOutput { } type GetLbRoutesRoute struct { - // The backend ID destination of redirection + // The backend ID to redirect to BackendId string `pulumi:"backendId"` - // The date at which the route was created (RFC 3339 format). + // The date on which the route was created (RFC 3339 format). CreatedAt string `pulumi:"createdAt"` - // The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + // The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. FrontendId string `pulumi:"frontendId"` // The associated route ID. Id string `pulumi:"id"` @@ -22738,7 +22986,7 @@ type GetLbRoutesRoute struct { MatchHostHeader string `pulumi:"matchHostHeader"` // Server Name Indication TLS extension field from an incoming connection made via an SSL/TLS transport layer. MatchSni string `pulumi:"matchSni"` - // The date at which the route was last updated (RFC 3339 format). + // The date on which the route was last updated (RFC 3339 format). UpdateAt string `pulumi:"updateAt"` } @@ -22754,11 +23002,11 @@ type GetLbRoutesRouteInput interface { } type GetLbRoutesRouteArgs struct { - // The backend ID destination of redirection + // The backend ID to redirect to BackendId pulumi.StringInput `pulumi:"backendId"` - // The date at which the route was created (RFC 3339 format). + // The date on which the route was created (RFC 3339 format). CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + // The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. FrontendId pulumi.StringInput `pulumi:"frontendId"` // The associated route ID. Id pulumi.StringInput `pulumi:"id"` @@ -22766,7 +23014,7 @@ type GetLbRoutesRouteArgs struct { MatchHostHeader pulumi.StringInput `pulumi:"matchHostHeader"` // Server Name Indication TLS extension field from an incoming connection made via an SSL/TLS transport layer. MatchSni pulumi.StringInput `pulumi:"matchSni"` - // The date at which the route was last updated (RFC 3339 format). + // The date on which the route was last updated (RFC 3339 format). UpdateAt pulumi.StringInput `pulumi:"updateAt"` } @@ -22821,17 +23069,17 @@ func (o GetLbRoutesRouteOutput) ToGetLbRoutesRouteOutputWithContext(ctx context. return o } -// The backend ID destination of redirection +// The backend ID to redirect to func (o GetLbRoutesRouteOutput) BackendId() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesRoute) string { return v.BackendId }).(pulumi.StringOutput) } -// The date at which the route was created (RFC 3339 format). +// The date on which the route was created (RFC 3339 format). func (o GetLbRoutesRouteOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesRoute) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. +// The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. func (o GetLbRoutesRouteOutput) FrontendId() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesRoute) string { return v.FrontendId }).(pulumi.StringOutput) } @@ -22851,7 +23099,7 @@ func (o GetLbRoutesRouteOutput) MatchSni() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesRoute) string { return v.MatchSni }).(pulumi.StringOutput) } -// The date at which the route was last updated (RFC 3339 format). +// The date on which the route was last updated (RFC 3339 format). func (o GetLbRoutesRouteOutput) UpdateAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbRoutesRoute) string { return v.UpdateAt }).(pulumi.StringOutput) } @@ -22877,43 +23125,43 @@ func (o GetLbRoutesRouteArrayOutput) Index(i pulumi.IntInput) GetLbRoutesRouteOu } type GetLbsLb struct { - // Number of backends the Load balancer has. + // Number of backends the Load Balancer has. BackendCount int `pulumi:"backendCount"` - // Date at which the Load balancer was created. + // Date on which the Load Balancer was created. CreatedAt string `pulumi:"createdAt"` - // The description of the load-balancer. + // The description of the Load Balancer. Description string `pulumi:"description"` - // Number of frontends the Load balancer has. + // Number of frontends the Load Balancer has. FrontendCount int `pulumi:"frontendCount"` - // The ID of the load-balancer. + // The ID of the Load Balancer. Id string `pulumi:"id"` - // List of underlying instances. + // List of underlying Instances. Instances []GetLbsLbInstance `pulumi:"instances"` - // List of IPs attached to the Load balancer. + // List of IPs attached to the Load Balancer. Ips []GetLbsLbIp `pulumi:"ips"` - // The load balancer name used as a filter. LBs with a name like it are listed. + // The Load Balancer name to filter for. Load Balancers with a matching name are listed. Name string `pulumi:"name"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId string `pulumi:"organizationId"` - // Number of private networks attached to the Load balancer. + // Number of Private Networks attached to the Load balancer. PrivateNetworkCount int `pulumi:"privateNetworkCount"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId string `pulumi:"projectId"` // Number of routes the Load balancer has. RouteCount int `pulumi:"routeCount"` - // Determines the minimal SSL version which needs to be supported on client side. + // Determines the minimal SSL version which needs to be supported on the client side. SslCompatibilityLevel string `pulumi:"sslCompatibilityLevel"` - // The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + // The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. Status string `pulumi:"status"` // The subscriber information. Subscriber string `pulumi:"subscriber"` - // List of tags used as filter. LBs with these exact tags are listed. + // List of tags to filter for. Load Balancers with these exact tags are listed. Tags []string `pulumi:"tags"` - // The offer type of the load-balancer. + // The offer type of the Load Balancer. Type string `pulumi:"type"` - // Date at which the Load balancer was updated. + // Date on which the Load Balancer was updated. UpdatedAt string `pulumi:"updatedAt"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone string `pulumi:"zone"` } @@ -22929,43 +23177,43 @@ type GetLbsLbInput interface { } type GetLbsLbArgs struct { - // Number of backends the Load balancer has. + // Number of backends the Load Balancer has. BackendCount pulumi.IntInput `pulumi:"backendCount"` - // Date at which the Load balancer was created. + // Date on which the Load Balancer was created. CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // The description of the load-balancer. + // The description of the Load Balancer. Description pulumi.StringInput `pulumi:"description"` - // Number of frontends the Load balancer has. + // Number of frontends the Load Balancer has. FrontendCount pulumi.IntInput `pulumi:"frontendCount"` - // The ID of the load-balancer. + // The ID of the Load Balancer. Id pulumi.StringInput `pulumi:"id"` - // List of underlying instances. + // List of underlying Instances. Instances GetLbsLbInstanceArrayInput `pulumi:"instances"` - // List of IPs attached to the Load balancer. + // List of IPs attached to the Load Balancer. Ips GetLbsLbIpArrayInput `pulumi:"ips"` - // The load balancer name used as a filter. LBs with a name like it are listed. + // The Load Balancer name to filter for. Load Balancers with a matching name are listed. Name pulumi.StringInput `pulumi:"name"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId pulumi.StringInput `pulumi:"organizationId"` - // Number of private networks attached to the Load balancer. + // Number of Private Networks attached to the Load balancer. PrivateNetworkCount pulumi.IntInput `pulumi:"privateNetworkCount"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` // Number of routes the Load balancer has. RouteCount pulumi.IntInput `pulumi:"routeCount"` - // Determines the minimal SSL version which needs to be supported on client side. + // Determines the minimal SSL version which needs to be supported on the client side. SslCompatibilityLevel pulumi.StringInput `pulumi:"sslCompatibilityLevel"` - // The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + // The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. Status pulumi.StringInput `pulumi:"status"` // The subscriber information. Subscriber pulumi.StringInput `pulumi:"subscriber"` - // List of tags used as filter. LBs with these exact tags are listed. + // List of tags to filter for. Load Balancers with these exact tags are listed. Tags pulumi.StringArrayInput `pulumi:"tags"` - // The offer type of the load-balancer. + // The offer type of the Load Balancer. Type pulumi.StringInput `pulumi:"type"` - // Date at which the Load balancer was updated. + // Date on which the Load Balancer was updated. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone pulumi.StringInput `pulumi:"zone"` } @@ -23020,57 +23268,57 @@ func (o GetLbsLbOutput) ToGetLbsLbOutputWithContext(ctx context.Context) GetLbsL return o } -// Number of backends the Load balancer has. +// Number of backends the Load Balancer has. func (o GetLbsLbOutput) BackendCount() pulumi.IntOutput { return o.ApplyT(func(v GetLbsLb) int { return v.BackendCount }).(pulumi.IntOutput) } -// Date at which the Load balancer was created. +// Date on which the Load Balancer was created. func (o GetLbsLbOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The description of the load-balancer. +// The description of the Load Balancer. func (o GetLbsLbOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Description }).(pulumi.StringOutput) } -// Number of frontends the Load balancer has. +// Number of frontends the Load Balancer has. func (o GetLbsLbOutput) FrontendCount() pulumi.IntOutput { return o.ApplyT(func(v GetLbsLb) int { return v.FrontendCount }).(pulumi.IntOutput) } -// The ID of the load-balancer. +// The ID of the Load Balancer. func (o GetLbsLbOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Id }).(pulumi.StringOutput) } -// List of underlying instances. +// List of underlying Instances. func (o GetLbsLbOutput) Instances() GetLbsLbInstanceArrayOutput { return o.ApplyT(func(v GetLbsLb) []GetLbsLbInstance { return v.Instances }).(GetLbsLbInstanceArrayOutput) } -// List of IPs attached to the Load balancer. +// List of IPs attached to the Load Balancer. func (o GetLbsLbOutput) Ips() GetLbsLbIpArrayOutput { return o.ApplyT(func(v GetLbsLb) []GetLbsLbIp { return v.Ips }).(GetLbsLbIpArrayOutput) } -// The load balancer name used as a filter. LBs with a name like it are listed. +// The Load Balancer name to filter for. Load Balancers with a matching name are listed. func (o GetLbsLbOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Name }).(pulumi.StringOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization the Load Balancer is associated with. func (o GetLbsLbOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.OrganizationId }).(pulumi.StringOutput) } -// Number of private networks attached to the Load balancer. +// Number of Private Networks attached to the Load balancer. func (o GetLbsLbOutput) PrivateNetworkCount() pulumi.IntOutput { return o.ApplyT(func(v GetLbsLb) int { return v.PrivateNetworkCount }).(pulumi.IntOutput) } -// The ID of the project the load-balancer is associated with. +// The ID of the Project the Load Balancer is associated with. func (o GetLbsLbOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.ProjectId }).(pulumi.StringOutput) } @@ -23080,12 +23328,12 @@ func (o GetLbsLbOutput) RouteCount() pulumi.IntOutput { return o.ApplyT(func(v GetLbsLb) int { return v.RouteCount }).(pulumi.IntOutput) } -// Determines the minimal SSL version which needs to be supported on client side. +// Determines the minimal SSL version which needs to be supported on the client side. func (o GetLbsLbOutput) SslCompatibilityLevel() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.SslCompatibilityLevel }).(pulumi.StringOutput) } -// The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. +// The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. func (o GetLbsLbOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Status }).(pulumi.StringOutput) } @@ -23095,22 +23343,22 @@ func (o GetLbsLbOutput) Subscriber() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Subscriber }).(pulumi.StringOutput) } -// List of tags used as filter. LBs with these exact tags are listed. +// List of tags to filter for. Load Balancers with these exact tags are listed. func (o GetLbsLbOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLbsLb) []string { return v.Tags }).(pulumi.StringArrayOutput) } -// The offer type of the load-balancer. +// The offer type of the Load Balancer. func (o GetLbsLbOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Type }).(pulumi.StringOutput) } -// Date at which the Load balancer was updated. +// Date on which the Load Balancer was updated. func (o GetLbsLbOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.UpdatedAt }).(pulumi.StringOutput) } -// `zone`) The zone in which LBs exist. +// `zone`) The zone in which the Load Balancers exist. func (o GetLbsLbOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLb) string { return v.Zone }).(pulumi.StringOutput) } @@ -23136,16 +23384,16 @@ func (o GetLbsLbArrayOutput) Index(i pulumi.IntInput) GetLbsLbOutput { } type GetLbsLbInstance struct { - // Date at which the Load balancer was created. + // Date on which the Load Balancer was created. CreatedAt string `pulumi:"createdAt"` - // The ID of the load-balancer. + // The ID of the Load Balancer. Id string `pulumi:"id"` IpAddress string `pulumi:"ipAddress"` - // The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + // The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. Status string `pulumi:"status"` - // Date at which the Load balancer was updated. + // Date on which the Load Balancer was updated. UpdatedAt string `pulumi:"updatedAt"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone string `pulumi:"zone"` } @@ -23161,16 +23409,16 @@ type GetLbsLbInstanceInput interface { } type GetLbsLbInstanceArgs struct { - // Date at which the Load balancer was created. + // Date on which the Load Balancer was created. CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // The ID of the load-balancer. + // The ID of the Load Balancer. Id pulumi.StringInput `pulumi:"id"` IpAddress pulumi.StringInput `pulumi:"ipAddress"` - // The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + // The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. Status pulumi.StringInput `pulumi:"status"` - // Date at which the Load balancer was updated. + // Date on which the Load Balancer was updated. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone pulumi.StringInput `pulumi:"zone"` } @@ -23225,12 +23473,12 @@ func (o GetLbsLbInstanceOutput) ToGetLbsLbInstanceOutputWithContext(ctx context. return o } -// Date at which the Load balancer was created. +// Date on which the Load Balancer was created. func (o GetLbsLbInstanceOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the load-balancer. +// The ID of the Load Balancer. func (o GetLbsLbInstanceOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.Id }).(pulumi.StringOutput) } @@ -23239,17 +23487,17 @@ func (o GetLbsLbInstanceOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.IpAddress }).(pulumi.StringOutput) } -// The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. +// The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. func (o GetLbsLbInstanceOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.Status }).(pulumi.StringOutput) } -// Date at which the Load balancer was updated. +// Date on which the Load Balancer was updated. func (o GetLbsLbInstanceOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.UpdatedAt }).(pulumi.StringOutput) } -// `zone`) The zone in which LBs exist. +// `zone`) The zone in which the Load Balancers exist. func (o GetLbsLbInstanceOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbInstance) string { return v.Zone }).(pulumi.StringOutput) } @@ -23275,16 +23523,16 @@ func (o GetLbsLbInstanceArrayOutput) Index(i pulumi.IntInput) GetLbsLbInstanceOu } type GetLbsLbIp struct { - // The ID of the load-balancer. + // The ID of the Load Balancer. Id string `pulumi:"id"` IpAddress string `pulumi:"ipAddress"` LbId string `pulumi:"lbId"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId string `pulumi:"projectId"` Reverse string `pulumi:"reverse"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone string `pulumi:"zone"` } @@ -23300,16 +23548,16 @@ type GetLbsLbIpInput interface { } type GetLbsLbIpArgs struct { - // The ID of the load-balancer. + // The ID of the Load Balancer. Id pulumi.StringInput `pulumi:"id"` IpAddress pulumi.StringInput `pulumi:"ipAddress"` LbId pulumi.StringInput `pulumi:"lbId"` - // The organization ID the load-balancer is associated with. + // The ID of the Organization the Load Balancer is associated with. OrganizationId pulumi.StringInput `pulumi:"organizationId"` - // The ID of the project the load-balancer is associated with. + // The ID of the Project the Load Balancer is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` Reverse pulumi.StringInput `pulumi:"reverse"` - // `zone`) The zone in which LBs exist. + // `zone`) The zone in which the Load Balancers exist. Zone pulumi.StringInput `pulumi:"zone"` } @@ -23364,7 +23612,7 @@ func (o GetLbsLbIpOutput) ToGetLbsLbIpOutputWithContext(ctx context.Context) Get return o } -// The ID of the load-balancer. +// The ID of the Load Balancer. func (o GetLbsLbIpOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.Id }).(pulumi.StringOutput) } @@ -23377,12 +23625,12 @@ func (o GetLbsLbIpOutput) LbId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.LbId }).(pulumi.StringOutput) } -// The organization ID the load-balancer is associated with. +// The ID of the Organization the Load Balancer is associated with. func (o GetLbsLbIpOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the load-balancer is associated with. +// The ID of the Project the Load Balancer is associated with. func (o GetLbsLbIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.ProjectId }).(pulumi.StringOutput) } @@ -23391,7 +23639,7 @@ func (o GetLbsLbIpOutput) Reverse() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.Reverse }).(pulumi.StringOutput) } -// `zone`) The zone in which LBs exist. +// `zone`) The zone in which the Load Balancers exist. func (o GetLbsLbIpOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLbsLbIp) string { return v.Zone }).(pulumi.StringOutput) } @@ -23628,7 +23876,7 @@ type GetLoadbalancerPrivateNetwork struct { StaticConfigs []string `pulumi:"staticConfigs"` // The status of private network connection Status string `pulumi:"status"` - // (Defaults to provider `zone`) The zone in which the LB exists. + // (Defaults to provider `zone`) The zone in which the Load Balancer exists. Zone string `pulumi:"zone"` } @@ -23652,7 +23900,7 @@ type GetLoadbalancerPrivateNetworkArgs struct { StaticConfigs pulumi.StringArrayInput `pulumi:"staticConfigs"` // The status of private network connection Status pulumi.StringInput `pulumi:"status"` - // (Defaults to provider `zone`) The zone in which the LB exists. + // (Defaults to provider `zone`) The zone in which the Load Balancer exists. Zone pulumi.StringInput `pulumi:"zone"` } @@ -23727,7 +23975,7 @@ func (o GetLoadbalancerPrivateNetworkOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v GetLoadbalancerPrivateNetwork) string { return v.Status }).(pulumi.StringOutput) } -// (Defaults to provider `zone`) The zone in which the LB exists. +// (Defaults to provider `zone`) The zone in which the Load Balancer exists. func (o GetLoadbalancerPrivateNetworkOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v GetLoadbalancerPrivateNetwork) string { return v.Zone }).(pulumi.StringOutput) } @@ -24437,7 +24685,7 @@ func (o GetRedisClusterAclArrayOutput) Index(i pulumi.IntInput) GetRedisClusterA } type GetRedisClusterPrivateNetwork struct { - // UUID of the endpoint to be connected to the cluster + // The ID of the endpoint. EndpointId string `pulumi:"endpointId"` // The ID of the Redis cluster. Id string `pulumi:"id"` @@ -24459,7 +24707,7 @@ type GetRedisClusterPrivateNetworkInput interface { } type GetRedisClusterPrivateNetworkArgs struct { - // UUID of the endpoint to be connected to the cluster + // The ID of the endpoint. EndpointId pulumi.StringInput `pulumi:"endpointId"` // The ID of the Redis cluster. Id pulumi.StringInput `pulumi:"id"` @@ -24520,7 +24768,7 @@ func (o GetRedisClusterPrivateNetworkOutput) ToGetRedisClusterPrivateNetworkOutp return o } -// UUID of the endpoint to be connected to the cluster +// The ID of the endpoint. func (o GetRedisClusterPrivateNetworkOutput) EndpointId() pulumi.StringOutput { return o.ApplyT(func(v GetRedisClusterPrivateNetwork) string { return v.EndpointId }).(pulumi.StringOutput) } @@ -24916,7 +25164,7 @@ type GetVpcPrivateNetworkIpv4Subnet struct { Address string `pulumi:"address"` // The date and time of the creation of the subnet CreatedAt string `pulumi:"createdAt"` - // The ID of the private network. + // The ID of the Private Network. Id string `pulumi:"id"` // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask PrefixLength int `pulumi:"prefixLength"` @@ -24944,7 +25192,7 @@ type GetVpcPrivateNetworkIpv4SubnetArgs struct { Address pulumi.StringInput `pulumi:"address"` // The date and time of the creation of the subnet CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // The ID of the private network. + // The ID of the Private Network. Id pulumi.StringInput `pulumi:"id"` // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask PrefixLength pulumi.IntInput `pulumi:"prefixLength"` @@ -25017,7 +25265,7 @@ func (o GetVpcPrivateNetworkIpv4SubnetOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPrivateNetworkIpv4Subnet) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the private network. +// The ID of the Private Network. func (o GetVpcPrivateNetworkIpv4SubnetOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPrivateNetworkIpv4Subnet) string { return v.Id }).(pulumi.StringOutput) } @@ -25067,7 +25315,7 @@ type GetVpcPrivateNetworkIpv6Subnet struct { Address string `pulumi:"address"` // The date and time of the creation of the subnet CreatedAt string `pulumi:"createdAt"` - // The ID of the private network. + // The ID of the Private Network. Id string `pulumi:"id"` // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask PrefixLength int `pulumi:"prefixLength"` @@ -25095,7 +25343,7 @@ type GetVpcPrivateNetworkIpv6SubnetArgs struct { Address pulumi.StringInput `pulumi:"address"` // The date and time of the creation of the subnet CreatedAt pulumi.StringInput `pulumi:"createdAt"` - // The ID of the private network. + // The ID of the Private Network. Id pulumi.StringInput `pulumi:"id"` // The length of the network prefix, e.g., 24 for a 255.255.255.0 mask PrefixLength pulumi.IntInput `pulumi:"prefixLength"` @@ -25168,7 +25416,7 @@ func (o GetVpcPrivateNetworkIpv6SubnetOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPrivateNetworkIpv6Subnet) string { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the private network. +// The ID of the Private Network. func (o GetVpcPrivateNetworkIpv6SubnetOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetVpcPrivateNetworkIpv6Subnet) string { return v.Id }).(pulumi.StringOutput) } @@ -25217,19 +25465,19 @@ type GetVpcsVpc struct { // Date and time of VPC's creation (RFC 3339 format). CreatedAt string `pulumi:"createdAt"` // The associated VPC ID. - // > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + // > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 Id string `pulumi:"id"` // Defines whether the VPC is the default one for its Project. IsDefault bool `pulumi:"isDefault"` - // The VPC name used as filter. VPCs with a name like it are listed. + // The VPC name to filter for. VPCs with a similar name are listed. Name string `pulumi:"name"` - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId string `pulumi:"organizationId"` - // The ID of the project the VPC is associated with. + // The ID of the Project the VPC is associated with. ProjectId string `pulumi:"projectId"` - // `region`). The region in which vpcs exist. + // `region`). The region in which the VPCs exist. Region string `pulumi:"region"` - // List of tags used as filter. VPCs with these exact tags are listed. + // List of tags to filter for. VPCs with these exact tags are listed. Tags []string `pulumi:"tags"` UpdateAt string `pulumi:"updateAt"` } @@ -25249,19 +25497,19 @@ type GetVpcsVpcArgs struct { // Date and time of VPC's creation (RFC 3339 format). CreatedAt pulumi.StringInput `pulumi:"createdAt"` // The associated VPC ID. - // > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + // > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 Id pulumi.StringInput `pulumi:"id"` // Defines whether the VPC is the default one for its Project. IsDefault pulumi.BoolInput `pulumi:"isDefault"` - // The VPC name used as filter. VPCs with a name like it are listed. + // The VPC name to filter for. VPCs with a similar name are listed. Name pulumi.StringInput `pulumi:"name"` - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId pulumi.StringInput `pulumi:"organizationId"` - // The ID of the project the VPC is associated with. + // The ID of the Project the VPC is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` - // `region`). The region in which vpcs exist. + // `region`). The region in which the VPCs exist. Region pulumi.StringInput `pulumi:"region"` - // List of tags used as filter. VPCs with these exact tags are listed. + // List of tags to filter for. VPCs with these exact tags are listed. Tags pulumi.StringArrayInput `pulumi:"tags"` UpdateAt pulumi.StringInput `pulumi:"updateAt"` } @@ -25323,7 +25571,7 @@ func (o GetVpcsVpcOutput) CreatedAt() pulumi.StringOutput { } // The associated VPC ID. -// > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 +// > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 func (o GetVpcsVpcOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsVpc) string { return v.Id }).(pulumi.StringOutput) } @@ -25333,27 +25581,27 @@ func (o GetVpcsVpcOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetVpcsVpc) bool { return v.IsDefault }).(pulumi.BoolOutput) } -// The VPC name used as filter. VPCs with a name like it are listed. +// The VPC name to filter for. VPCs with a similar name are listed. func (o GetVpcsVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsVpc) string { return v.Name }).(pulumi.StringOutput) } -// The organization ID the VPC is associated with. +// The Organization ID the VPC is associated with. func (o GetVpcsVpcOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsVpc) string { return v.OrganizationId }).(pulumi.StringOutput) } -// The ID of the project the VPC is associated with. +// The ID of the Project the VPC is associated with. func (o GetVpcsVpcOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsVpc) string { return v.ProjectId }).(pulumi.StringOutput) } -// `region`). The region in which vpcs exist. +// `region`). The region in which the VPCs exist. func (o GetVpcsVpcOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetVpcsVpc) string { return v.Region }).(pulumi.StringOutput) } -// List of tags used as filter. VPCs with these exact tags are listed. +// List of tags to filter for. VPCs with these exact tags are listed. func (o GetVpcsVpcOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v GetVpcsVpc) []string { return v.Tags }).(pulumi.StringArrayOutput) } @@ -25788,6 +26036,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DatabaseReadReplicaDirectAccessPtrInput)(nil)).Elem(), DatabaseReadReplicaDirectAccessArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseReadReplicaPrivateNetworkInput)(nil)).Elem(), DatabaseReadReplicaPrivateNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseReadReplicaPrivateNetworkPtrInput)(nil)).Elem(), DatabaseReadReplicaPrivateNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DocumentdbPrivateNetworkEndpointPrivateNetworkInput)(nil)).Elem(), DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DocumentdbPrivateNetworkEndpointPrivateNetworkPtrInput)(nil)).Elem(), DocumentdbPrivateNetworkEndpointPrivateNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DocumentdbReadReplicaDirectAccessInput)(nil)).Elem(), DocumentdbReadReplicaDirectAccessArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DocumentdbReadReplicaDirectAccessPtrInput)(nil)).Elem(), DocumentdbReadReplicaDirectAccessArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DocumentdbReadReplicaPrivateNetworkInput)(nil)).Elem(), DocumentdbReadReplicaPrivateNetworkArgs{}) @@ -26135,6 +26385,8 @@ func init() { pulumi.RegisterOutputType(DatabaseReadReplicaDirectAccessPtrOutput{}) pulumi.RegisterOutputType(DatabaseReadReplicaPrivateNetworkOutput{}) pulumi.RegisterOutputType(DatabaseReadReplicaPrivateNetworkPtrOutput{}) + pulumi.RegisterOutputType(DocumentdbPrivateNetworkEndpointPrivateNetworkOutput{}) + pulumi.RegisterOutputType(DocumentdbPrivateNetworkEndpointPrivateNetworkPtrOutput{}) pulumi.RegisterOutputType(DocumentdbReadReplicaDirectAccessOutput{}) pulumi.RegisterOutputType(DocumentdbReadReplicaDirectAccessPtrOutput{}) pulumi.RegisterOutputType(DocumentdbReadReplicaPrivateNetworkOutput{}) diff --git a/sdk/go/scaleway/redisCluster.go b/sdk/go/scaleway/redisCluster.go index c5e7cbee..48168bdd 100644 --- a/sdk/go/scaleway/redisCluster.go +++ b/sdk/go/scaleway/redisCluster.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway Redis Clusters. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). +// Creates and manages Scaleway Redis™ clusters. +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). // // ## Example Usage // @@ -91,7 +91,7 @@ import ( // // ``` // -// ### With a private network +// ### With a Private Network // // ```go // package main @@ -137,7 +137,7 @@ import ( // // ## Import // -// Redis Cluster can be imported using the `{zone}/{id}`, e.g. +// Redis™ cluster can be imported using the `{zone}/{id}`, e.g. // // bash // @@ -151,58 +151,58 @@ type RedisCluster struct { Acls RedisClusterAclArrayOutput `pulumi:"acls"` // The PEM of the certificate used by redis, only when `tlsEnabled` is true Certificate pulumi.StringOutput `pulumi:"certificate"` - // The number of nodes in the Redis Cluster. + // The number of nodes in the Redis™ cluster. // - // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // - // > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - // did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - // `clusterSize` will destroy and recreate your Cluster. + // > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + // did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + // `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - // recreate your Cluster as you will be switching to the Cluster mode. + // recreate your cluster as you will be switching to the cluster mode. ClusterSize pulumi.IntOutput `pulumi:"clusterSize"` - // The date and time of creation of the Redis Cluster. + // The date and time of creation of the Redis™ cluster. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The name of the Redis Cluster. + // The name of the Redis™ cluster. Name pulumi.StringOutput `pulumi:"name"` - // The type of Redis Cluster you want to create (e.g. `RED1-M`). + // The type of Redis™ cluster you want to create (e.g. `RED1-M`). // - // > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - // you cannot downgrade a Redis Cluster. + // > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + // you cannot downgrade a Redis™ cluster. NodeType pulumi.StringOutput `pulumi:"nodeType"` - // Password for the first user of the Redis Cluster. + // Password for the first user of the Redis™ cluster. Password pulumi.StringOutput `pulumi:"password"` - // Describes the private network you want to connect to your cluster. If not set, a public + // Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section PrivateNetworks RedisClusterPrivateNetworkArrayOutput `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the Redis Cluster is + // `projectId`) The ID of the project the Redis™ cluster is // associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // (Optional) Public network details. Only one of `privateNetwork` and `publicNetwork` may be set. // > The `publicNetwork` block exports: PublicNetwork RedisClusterPublicNetworkOutput `pulumi:"publicNetwork"` - // Map of settings for redis cluster. Available settings can be found by listing redis versions + // Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI Settings pulumi.StringMapOutput `pulumi:"settings"` - // The tags associated with the Redis Cluster. + // The tags associated with the Redis™ cluster. Tags pulumi.StringArrayOutput `pulumi:"tags"` // Whether TLS is enabled or not. // // > The changes on `tlsEnabled` will force the resource creation. TlsEnabled pulumi.BoolPtrOutput `pulumi:"tlsEnabled"` - // The date and time of the last update of the Redis Cluster. + // The date and time of the last update of the Redis™ cluster. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // Identifier for the first user of the Redis Cluster. + // Identifier for the first user of the Redis™ cluster. UserName pulumi.StringOutput `pulumi:"userName"` - // Redis's Cluster version (e.g. `6.2.7`). + // Redis™ cluster's version (e.g. `6.2.7`). // - // > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - // cannot downgrade a Redis Cluster. + // > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + // cannot downgrade a Redis™ cluster. Version pulumi.StringOutput `pulumi:"version"` // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -259,58 +259,58 @@ type redisClusterState struct { Acls []RedisClusterAcl `pulumi:"acls"` // The PEM of the certificate used by redis, only when `tlsEnabled` is true Certificate *string `pulumi:"certificate"` - // The number of nodes in the Redis Cluster. + // The number of nodes in the Redis™ cluster. // - // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // - // > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - // did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - // `clusterSize` will destroy and recreate your Cluster. + // > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + // did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + // `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - // recreate your Cluster as you will be switching to the Cluster mode. + // recreate your cluster as you will be switching to the cluster mode. ClusterSize *int `pulumi:"clusterSize"` - // The date and time of creation of the Redis Cluster. + // The date and time of creation of the Redis™ cluster. CreatedAt *string `pulumi:"createdAt"` - // The name of the Redis Cluster. + // The name of the Redis™ cluster. Name *string `pulumi:"name"` - // The type of Redis Cluster you want to create (e.g. `RED1-M`). + // The type of Redis™ cluster you want to create (e.g. `RED1-M`). // - // > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - // you cannot downgrade a Redis Cluster. + // > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + // you cannot downgrade a Redis™ cluster. NodeType *string `pulumi:"nodeType"` - // Password for the first user of the Redis Cluster. + // Password for the first user of the Redis™ cluster. Password *string `pulumi:"password"` - // Describes the private network you want to connect to your cluster. If not set, a public + // Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section PrivateNetworks []RedisClusterPrivateNetwork `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the Redis Cluster is + // `projectId`) The ID of the project the Redis™ cluster is // associated with. ProjectId *string `pulumi:"projectId"` // (Optional) Public network details. Only one of `privateNetwork` and `publicNetwork` may be set. // > The `publicNetwork` block exports: PublicNetwork *RedisClusterPublicNetwork `pulumi:"publicNetwork"` - // Map of settings for redis cluster. Available settings can be found by listing redis versions + // Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI Settings map[string]string `pulumi:"settings"` - // The tags associated with the Redis Cluster. + // The tags associated with the Redis™ cluster. Tags []string `pulumi:"tags"` // Whether TLS is enabled or not. // // > The changes on `tlsEnabled` will force the resource creation. TlsEnabled *bool `pulumi:"tlsEnabled"` - // The date and time of the last update of the Redis Cluster. + // The date and time of the last update of the Redis™ cluster. UpdatedAt *string `pulumi:"updatedAt"` - // Identifier for the first user of the Redis Cluster. + // Identifier for the first user of the Redis™ cluster. UserName *string `pulumi:"userName"` - // Redis's Cluster version (e.g. `6.2.7`). + // Redis™ cluster's version (e.g. `6.2.7`). // - // > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - // cannot downgrade a Redis Cluster. + // > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + // cannot downgrade a Redis™ cluster. Version *string `pulumi:"version"` // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone *string `pulumi:"zone"` } @@ -319,58 +319,58 @@ type RedisClusterState struct { Acls RedisClusterAclArrayInput // The PEM of the certificate used by redis, only when `tlsEnabled` is true Certificate pulumi.StringPtrInput - // The number of nodes in the Redis Cluster. + // The number of nodes in the Redis™ cluster. // - // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // - // > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - // did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - // `clusterSize` will destroy and recreate your Cluster. + // > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + // did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + // `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - // recreate your Cluster as you will be switching to the Cluster mode. + // recreate your cluster as you will be switching to the cluster mode. ClusterSize pulumi.IntPtrInput - // The date and time of creation of the Redis Cluster. + // The date and time of creation of the Redis™ cluster. CreatedAt pulumi.StringPtrInput - // The name of the Redis Cluster. + // The name of the Redis™ cluster. Name pulumi.StringPtrInput - // The type of Redis Cluster you want to create (e.g. `RED1-M`). + // The type of Redis™ cluster you want to create (e.g. `RED1-M`). // - // > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - // you cannot downgrade a Redis Cluster. + // > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + // you cannot downgrade a Redis™ cluster. NodeType pulumi.StringPtrInput - // Password for the first user of the Redis Cluster. + // Password for the first user of the Redis™ cluster. Password pulumi.StringPtrInput - // Describes the private network you want to connect to your cluster. If not set, a public + // Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section PrivateNetworks RedisClusterPrivateNetworkArrayInput - // `projectId`) The ID of the project the Redis Cluster is + // `projectId`) The ID of the project the Redis™ cluster is // associated with. ProjectId pulumi.StringPtrInput // (Optional) Public network details. Only one of `privateNetwork` and `publicNetwork` may be set. // > The `publicNetwork` block exports: PublicNetwork RedisClusterPublicNetworkPtrInput - // Map of settings for redis cluster. Available settings can be found by listing redis versions + // Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI Settings pulumi.StringMapInput - // The tags associated with the Redis Cluster. + // The tags associated with the Redis™ cluster. Tags pulumi.StringArrayInput // Whether TLS is enabled or not. // // > The changes on `tlsEnabled` will force the resource creation. TlsEnabled pulumi.BoolPtrInput - // The date and time of the last update of the Redis Cluster. + // The date and time of the last update of the Redis™ cluster. UpdatedAt pulumi.StringPtrInput - // Identifier for the first user of the Redis Cluster. + // Identifier for the first user of the Redis™ cluster. UserName pulumi.StringPtrInput - // Redis's Cluster version (e.g. `6.2.7`). + // Redis™ cluster's version (e.g. `6.2.7`). // - // > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - // cannot downgrade a Redis Cluster. + // > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + // cannot downgrade a Redis™ cluster. Version pulumi.StringPtrInput // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone pulumi.StringPtrInput } @@ -381,54 +381,54 @@ func (RedisClusterState) ElementType() reflect.Type { type redisClusterArgs struct { // List of acl rules, this is cluster's authorized IPs. More details on the ACL section. Acls []RedisClusterAcl `pulumi:"acls"` - // The number of nodes in the Redis Cluster. + // The number of nodes in the Redis™ cluster. // - // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // - // > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - // did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - // `clusterSize` will destroy and recreate your Cluster. + // > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + // did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + // `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - // recreate your Cluster as you will be switching to the Cluster mode. + // recreate your cluster as you will be switching to the cluster mode. ClusterSize *int `pulumi:"clusterSize"` - // The name of the Redis Cluster. + // The name of the Redis™ cluster. Name *string `pulumi:"name"` - // The type of Redis Cluster you want to create (e.g. `RED1-M`). + // The type of Redis™ cluster you want to create (e.g. `RED1-M`). // - // > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - // you cannot downgrade a Redis Cluster. + // > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + // you cannot downgrade a Redis™ cluster. NodeType string `pulumi:"nodeType"` - // Password for the first user of the Redis Cluster. + // Password for the first user of the Redis™ cluster. Password string `pulumi:"password"` - // Describes the private network you want to connect to your cluster. If not set, a public + // Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section PrivateNetworks []RedisClusterPrivateNetwork `pulumi:"privateNetworks"` - // `projectId`) The ID of the project the Redis Cluster is + // `projectId`) The ID of the project the Redis™ cluster is // associated with. ProjectId *string `pulumi:"projectId"` // (Optional) Public network details. Only one of `privateNetwork` and `publicNetwork` may be set. // > The `publicNetwork` block exports: PublicNetwork *RedisClusterPublicNetwork `pulumi:"publicNetwork"` - // Map of settings for redis cluster. Available settings can be found by listing redis versions + // Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI Settings map[string]string `pulumi:"settings"` - // The tags associated with the Redis Cluster. + // The tags associated with the Redis™ cluster. Tags []string `pulumi:"tags"` // Whether TLS is enabled or not. // // > The changes on `tlsEnabled` will force the resource creation. TlsEnabled *bool `pulumi:"tlsEnabled"` - // Identifier for the first user of the Redis Cluster. + // Identifier for the first user of the Redis™ cluster. UserName string `pulumi:"userName"` - // Redis's Cluster version (e.g. `6.2.7`). + // Redis™ cluster's version (e.g. `6.2.7`). // - // > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - // cannot downgrade a Redis Cluster. + // > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + // cannot downgrade a Redis™ cluster. Version string `pulumi:"version"` // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone *string `pulumi:"zone"` } @@ -436,54 +436,54 @@ type redisClusterArgs struct { type RedisClusterArgs struct { // List of acl rules, this is cluster's authorized IPs. More details on the ACL section. Acls RedisClusterAclArrayInput - // The number of nodes in the Redis Cluster. + // The number of nodes in the Redis™ cluster. // - // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + // > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // - // > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - // did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - // `clusterSize` will destroy and recreate your Cluster. + // > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + // did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + // `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - // recreate your Cluster as you will be switching to the Cluster mode. + // recreate your cluster as you will be switching to the cluster mode. ClusterSize pulumi.IntPtrInput - // The name of the Redis Cluster. + // The name of the Redis™ cluster. Name pulumi.StringPtrInput - // The type of Redis Cluster you want to create (e.g. `RED1-M`). + // The type of Redis™ cluster you want to create (e.g. `RED1-M`). // - // > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - // you cannot downgrade a Redis Cluster. + // > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + // you cannot downgrade a Redis™ cluster. NodeType pulumi.StringInput - // Password for the first user of the Redis Cluster. + // Password for the first user of the Redis™ cluster. Password pulumi.StringInput - // Describes the private network you want to connect to your cluster. If not set, a public + // Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section PrivateNetworks RedisClusterPrivateNetworkArrayInput - // `projectId`) The ID of the project the Redis Cluster is + // `projectId`) The ID of the project the Redis™ cluster is // associated with. ProjectId pulumi.StringPtrInput // (Optional) Public network details. Only one of `privateNetwork` and `publicNetwork` may be set. // > The `publicNetwork` block exports: PublicNetwork RedisClusterPublicNetworkPtrInput - // Map of settings for redis cluster. Available settings can be found by listing redis versions + // Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI Settings pulumi.StringMapInput - // The tags associated with the Redis Cluster. + // The tags associated with the Redis™ cluster. Tags pulumi.StringArrayInput // Whether TLS is enabled or not. // // > The changes on `tlsEnabled` will force the resource creation. TlsEnabled pulumi.BoolPtrInput - // Identifier for the first user of the Redis Cluster. + // Identifier for the first user of the Redis™ cluster. UserName pulumi.StringInput - // Redis's Cluster version (e.g. `6.2.7`). + // Redis™ cluster's version (e.g. `6.2.7`). // - // > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - // cannot downgrade a Redis Cluster. + // > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + // cannot downgrade a Redis™ cluster. Version pulumi.StringInput // `zone`) The zone in which the - // Redis Cluster should be created. + // Redis™ cluster should be created. Zone pulumi.StringPtrInput } @@ -584,51 +584,51 @@ func (o RedisClusterOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) } -// The number of nodes in the Redis Cluster. +// The number of nodes in the Redis™ cluster. // -// > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode +// > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode // which is minimum 3 (1 main node + 2 secondary nodes) // -// > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially -// did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller -// `clusterSize` will destroy and recreate your Cluster. +// > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially +// did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller +// `clusterSize` will destroy and recreate your cluster. // // > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and -// recreate your Cluster as you will be switching to the Cluster mode. +// recreate your cluster as you will be switching to the cluster mode. func (o RedisClusterOutput) ClusterSize() pulumi.IntOutput { return o.ApplyT(func(v *RedisCluster) pulumi.IntOutput { return v.ClusterSize }).(pulumi.IntOutput) } -// The date and time of creation of the Redis Cluster. +// The date and time of creation of the Redis™ cluster. func (o RedisClusterOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The name of the Redis Cluster. +// The name of the Redis™ cluster. func (o RedisClusterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The type of Redis Cluster you want to create (e.g. `RED1-M`). +// The type of Redis™ cluster you want to create (e.g. `RED1-M`). // -// > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that -// you cannot downgrade a Redis Cluster. +// > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that +// you cannot downgrade a Redis™ cluster. func (o RedisClusterOutput) NodeType() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.NodeType }).(pulumi.StringOutput) } -// Password for the first user of the Redis Cluster. +// Password for the first user of the Redis™ cluster. func (o RedisClusterOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) } -// Describes the private network you want to connect to your cluster. If not set, a public +// Describes the Private Network you want to connect to your cluster. If not set, a public // network will be provided. More details on the Private Network section func (o RedisClusterOutput) PrivateNetworks() RedisClusterPrivateNetworkArrayOutput { return o.ApplyT(func(v *RedisCluster) RedisClusterPrivateNetworkArrayOutput { return v.PrivateNetworks }).(RedisClusterPrivateNetworkArrayOutput) } -// `projectId`) The ID of the project the Redis Cluster is +// `projectId`) The ID of the project the Redis™ cluster is // associated with. func (o RedisClusterOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) @@ -640,13 +640,13 @@ func (o RedisClusterOutput) PublicNetwork() RedisClusterPublicNetworkOutput { return o.ApplyT(func(v *RedisCluster) RedisClusterPublicNetworkOutput { return v.PublicNetwork }).(RedisClusterPublicNetworkOutput) } -// Map of settings for redis cluster. Available settings can be found by listing redis versions +// Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions // with scaleway API or CLI func (o RedisClusterOutput) Settings() pulumi.StringMapOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringMapOutput { return v.Settings }).(pulumi.StringMapOutput) } -// The tags associated with the Redis Cluster. +// The tags associated with the Redis™ cluster. func (o RedisClusterOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } @@ -658,26 +658,26 @@ func (o RedisClusterOutput) TlsEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *RedisCluster) pulumi.BoolPtrOutput { return v.TlsEnabled }).(pulumi.BoolPtrOutput) } -// The date and time of the last update of the Redis Cluster. +// The date and time of the last update of the Redis™ cluster. func (o RedisClusterOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// Identifier for the first user of the Redis Cluster. +// Identifier for the first user of the Redis™ cluster. func (o RedisClusterOutput) UserName() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.UserName }).(pulumi.StringOutput) } -// Redis's Cluster version (e.g. `6.2.7`). +// Redis™ cluster's version (e.g. `6.2.7`). // -// > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you -// cannot downgrade a Redis Cluster. +// > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you +// cannot downgrade a Redis™ cluster. func (o RedisClusterOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) } // `zone`) The zone in which the -// Redis Cluster should be created. +// Redis™ cluster should be created. func (o RedisClusterOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *RedisCluster) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/registryNamespace.go b/sdk/go/scaleway/registryNamespace.go index 9da70859..d0d51727 100644 --- a/sdk/go/scaleway/registryNamespace.go +++ b/sdk/go/scaleway/registryNamespace.go @@ -12,7 +12,7 @@ import ( ) // Creates and manages Scaleway Container Registry. -// For more information see [the documentation](https://www.scaleway.com/en/developers/api/registry). +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry). // // ## Example Usage // @@ -65,7 +65,7 @@ type RegistryNamespace struct { // // > **Important** Updates to `name` will recreate the namespace. Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the namespace is associated with. + // The Organization ID the namespace is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // `projectId`) The ID of the project the namespace is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` @@ -113,7 +113,7 @@ type registryNamespaceState struct { // // > **Important** Updates to `name` will recreate the namespace. Name *string `pulumi:"name"` - // The organization ID the namespace is associated with. + // The Organization ID the namespace is associated with. OrganizationId *string `pulumi:"organizationId"` // `projectId`) The ID of the project the namespace is associated with. ProjectId *string `pulumi:"projectId"` @@ -132,7 +132,7 @@ type RegistryNamespaceState struct { // // > **Important** Updates to `name` will recreate the namespace. Name pulumi.StringPtrInput - // The organization ID the namespace is associated with. + // The Organization ID the namespace is associated with. OrganizationId pulumi.StringPtrInput // `projectId`) The ID of the project the namespace is associated with. ProjectId pulumi.StringPtrInput @@ -284,7 +284,7 @@ func (o RegistryNamespaceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *RegistryNamespace) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The organization ID the namespace is associated with. +// The Organization ID the namespace is associated with. func (o RegistryNamespaceOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *RegistryNamespace) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/temDomain.go b/sdk/go/scaleway/temDomain.go index 46a37d10..7d57d2af 100644 --- a/sdk/go/scaleway/temDomain.go +++ b/sdk/go/scaleway/temDomain.go @@ -13,7 +13,7 @@ import ( ) // Creates and manages Scaleway Transactional Email Domains. -// For more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email). +// For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email). // // ## Example Usage // @@ -121,7 +121,7 @@ type TemDomain struct { pulumi.CustomResourceState // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - // > **Important:** This attribute must be set to `true`. + // > **Important:** This attribute must be set to `true`. AcceptTos pulumi.BoolOutput `pulumi:"acceptTos"` // The date and time of the Transaction Email Domain's creation (RFC 3339 format). CreatedAt pulumi.StringOutput `pulumi:"createdAt"` @@ -204,7 +204,7 @@ func GetTemDomain(ctx *pulumi.Context, // Input properties used for looking up and filtering TemDomain resources. type temDomainState struct { // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - // > **Important:** This attribute must be set to `true`. + // > **Important:** This attribute must be set to `true`. AcceptTos *bool `pulumi:"acceptTos"` // The date and time of the Transaction Email Domain's creation (RFC 3339 format). CreatedAt *string `pulumi:"createdAt"` @@ -255,7 +255,7 @@ type temDomainState struct { type TemDomainState struct { // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - // > **Important:** This attribute must be set to `true`. + // > **Important:** This attribute must be set to `true`. AcceptTos pulumi.BoolPtrInput // The date and time of the Transaction Email Domain's creation (RFC 3339 format). CreatedAt pulumi.StringPtrInput @@ -310,7 +310,7 @@ func (TemDomainState) ElementType() reflect.Type { type temDomainArgs struct { // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - // > **Important:** This attribute must be set to `true`. + // > **Important:** This attribute must be set to `true`. AcceptTos bool `pulumi:"acceptTos"` // The domain name, must not be used in another Transactional Email Domain. // > **Important:** Updates to `name` will recreate the domain. @@ -324,7 +324,7 @@ type temDomainArgs struct { // The set of arguments for constructing a TemDomain resource. type TemDomainArgs struct { // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - // > **Important:** This attribute must be set to `true`. + // > **Important:** This attribute must be set to `true`. AcceptTos pulumi.BoolInput // The domain name, must not be used in another Transactional Email Domain. // > **Important:** Updates to `name` will recreate the domain. @@ -423,7 +423,7 @@ func (o TemDomainOutput) ToTemDomainOutputWithContext(ctx context.Context) TemDo } // Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). -// > **Important:** This attribute must be set to `true`. +// > **Important:** This attribute must be set to `true`. func (o TemDomainOutput) AcceptTos() pulumi.BoolOutput { return o.ApplyT(func(v *TemDomain) pulumi.BoolOutput { return v.AcceptTos }).(pulumi.BoolOutput) } diff --git a/sdk/go/scaleway/temDomainValidation.go b/sdk/go/scaleway/temDomainValidation.go index fe31fead..4b6200f5 100644 --- a/sdk/go/scaleway/temDomainValidation.go +++ b/sdk/go/scaleway/temDomainValidation.go @@ -28,8 +28,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := scaleway.NewTemDomainValidation(ctx, "example", &scaleway.TemDomainValidationArgs{ -// DomainId: pulumi.String("your-domain-id"), +// main, err := scaleway.NewTemDomain(ctx, "main", &scaleway.TemDomainArgs{ +// AcceptTos: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// _, err = scaleway.NewTemDomainValidation(ctx, "example", &scaleway.TemDomainValidationArgs{ +// DomainId: main.ID(), // Region: pulumi.String("fr-par"), // Timeout: pulumi.Int(300), // }) diff --git a/sdk/go/scaleway/vpc.go b/sdk/go/scaleway/vpc.go index b09735f1..3a28b9d6 100644 --- a/sdk/go/scaleway/vpc.go +++ b/sdk/go/scaleway/vpc.go @@ -12,7 +12,7 @@ import ( ) // Creates and manages Scaleway Virtual Private Clouds. -// For more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). +// For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). // // ## Example Usage // @@ -78,7 +78,7 @@ import ( // // ## Import // -// VPCs can be imported using the `{region}/{id}`, e.g. +// VPCs can be imported using `{region}/{id}`, e.g. // // bash // @@ -94,15 +94,15 @@ type Vpc struct { EnableRouting pulumi.BoolOutput `pulumi:"enableRouting"` // Defines whether the VPC is the default one for its Project. IsDefault pulumi.BoolOutput `pulumi:"isDefault"` - // The name of the VPC. If not provided it will be randomly generated. + // The name for the VPC. If not provided it will be randomly generated. Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // `region`) The region of the VPC. Region pulumi.StringOutput `pulumi:"region"` - // The tags associated with the VPC. + // The tags to associate with the VPC. Tags pulumi.StringArrayOutput `pulumi:"tags"` // Date and time of VPC's last update (RFC 3339 format). UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` @@ -144,15 +144,15 @@ type vpcState struct { EnableRouting *bool `pulumi:"enableRouting"` // Defines whether the VPC is the default one for its Project. IsDefault *bool `pulumi:"isDefault"` - // The name of the VPC. If not provided it will be randomly generated. + // The name for the VPC. If not provided it will be randomly generated. Name *string `pulumi:"name"` - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId *string `pulumi:"projectId"` // `region`) The region of the VPC. Region *string `pulumi:"region"` - // The tags associated with the VPC. + // The tags to associate with the VPC. Tags []string `pulumi:"tags"` // Date and time of VPC's last update (RFC 3339 format). UpdatedAt *string `pulumi:"updatedAt"` @@ -165,15 +165,15 @@ type VpcState struct { EnableRouting pulumi.BoolPtrInput // Defines whether the VPC is the default one for its Project. IsDefault pulumi.BoolPtrInput - // The name of the VPC. If not provided it will be randomly generated. + // The name for the VPC. If not provided it will be randomly generated. Name pulumi.StringPtrInput - // The organization ID the VPC is associated with. + // The Organization ID the VPC is associated with. OrganizationId pulumi.StringPtrInput - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId pulumi.StringPtrInput // `region`) The region of the VPC. Region pulumi.StringPtrInput - // The tags associated with the VPC. + // The tags to associate with the VPC. Tags pulumi.StringArrayInput // Date and time of VPC's last update (RFC 3339 format). UpdatedAt pulumi.StringPtrInput @@ -186,13 +186,13 @@ func (VpcState) ElementType() reflect.Type { type vpcArgs struct { // Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. EnableRouting *bool `pulumi:"enableRouting"` - // The name of the VPC. If not provided it will be randomly generated. + // The name for the VPC. If not provided it will be randomly generated. Name *string `pulumi:"name"` - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId *string `pulumi:"projectId"` // `region`) The region of the VPC. Region *string `pulumi:"region"` - // The tags associated with the VPC. + // The tags to associate with the VPC. Tags []string `pulumi:"tags"` } @@ -200,13 +200,13 @@ type vpcArgs struct { type VpcArgs struct { // Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. EnableRouting pulumi.BoolPtrInput - // The name of the VPC. If not provided it will be randomly generated. + // The name for the VPC. If not provided it will be randomly generated. Name pulumi.StringPtrInput - // `projectId`) The ID of the project the VPC is associated with. + // `projectId`) The ID of the Project the VPC is associated with. ProjectId pulumi.StringPtrInput // `region`) The region of the VPC. Region pulumi.StringPtrInput - // The tags associated with the VPC. + // The tags to associate with the VPC. Tags pulumi.StringArrayInput } @@ -312,17 +312,17 @@ func (o VpcOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v *Vpc) pulumi.BoolOutput { return v.IsDefault }).(pulumi.BoolOutput) } -// The name of the VPC. If not provided it will be randomly generated. +// The name for the VPC. If not provided it will be randomly generated. func (o VpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Vpc) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The organization ID the VPC is associated with. +// The Organization ID the VPC is associated with. func (o VpcOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *Vpc) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the VPC is associated with. +// `projectId`) The ID of the Project the VPC is associated with. func (o VpcOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *Vpc) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -332,7 +332,7 @@ func (o VpcOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *Vpc) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } -// The tags associated with the VPC. +// The tags to associate with the VPC. func (o VpcOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *Vpc) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/scaleway/vpcGatewayNetwork.go b/sdk/go/scaleway/vpcGatewayNetwork.go index 7acd51cb..306f1634 100644 --- a/sdk/go/scaleway/vpcGatewayNetwork.go +++ b/sdk/go/scaleway/vpcGatewayNetwork.go @@ -12,13 +12,14 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway VPC Public Gateway Network. -// It allows attaching Private Networks to the VPC Public Gateway and your DHCP config -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). +// Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network). +// +// It allows the attachment of Private Networks to Public Gateways and DHCP configurations. +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). // // ## Example Usage // -// ### Create a gateway network with IPAM config +// ### Create a GatewayNetwork with IPAM configuration // // ```go // package main @@ -70,7 +71,7 @@ import ( // // ``` // -// ### Create a gateway network with a booked IPAM IP +// ### Create a GatewayNetwork with a booked IPAM IP // // ```go // package main @@ -134,7 +135,7 @@ import ( // // ``` // -// ### Create a gateway network with DHCP +// ### Create a GatewayNetwork with DHCP // // ```go // package main @@ -186,7 +187,7 @@ import ( // // ``` // -// ### Create a gateway network with a static IP address +// ### Create a GatewayNetwork with a static IP address // // ```go // package main @@ -228,7 +229,7 @@ import ( // // ## Import // -// Gateway network can be imported using the `{zone}/{id}`, e.g. +// GatewayNetwork can be imported using `{zone}/{id}`, e.g. // // bash // @@ -238,29 +239,29 @@ import ( type VpcGatewayNetwork struct { pulumi.CustomResourceState - // Remove DHCP config on this network on destroy. It requires DHCP id. + // Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. CleanupDhcp pulumi.BoolPtrOutput `pulumi:"cleanupDhcp"` - // The date and time of the creation of the gateway network. + // The date and time of the creation of the GatewayNetwork. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. DhcpId pulumi.StringPtrOutput `pulumi:"dhcpId"` - // Enable DHCP config on this network. It requires DHCP id. + // WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. EnableDhcp pulumi.BoolPtrOutput `pulumi:"enableDhcp"` - // Enable masquerade on this network + // Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork EnableMasquerade pulumi.BoolPtrOutput `pulumi:"enableMasquerade"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringOutput `pulumi:"gatewayId"` - // Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. IpamConfigs VpcGatewayNetworkIpamConfigArrayOutput `pulumi:"ipamConfigs"` - // The mac address of the creation of the gateway network. + // The MAC address of the GatewayNetwork. MacAddress pulumi.StringOutput `pulumi:"macAddress"` - // The ID of the private network. + // The ID of the Private Network. PrivateNetworkId pulumi.StringOutput `pulumi:"privateNetworkId"` - // Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. StaticAddress pulumi.StringOutput `pulumi:"staticAddress"` // The status of the Public Gateway's connection to the Private Network. Status pulumi.StringOutput `pulumi:"status"` - // The date and time of the last update of the gateway network. + // The date and time of the last update of the GatewayNetwork. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` // `zone`) The zone in which the gateway network should be created. Zone pulumi.StringOutput `pulumi:"zone"` @@ -302,58 +303,58 @@ func GetVpcGatewayNetwork(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcGatewayNetwork resources. type vpcGatewayNetworkState struct { - // Remove DHCP config on this network on destroy. It requires DHCP id. + // Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. CleanupDhcp *bool `pulumi:"cleanupDhcp"` - // The date and time of the creation of the gateway network. + // The date and time of the creation of the GatewayNetwork. CreatedAt *string `pulumi:"createdAt"` - // The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. DhcpId *string `pulumi:"dhcpId"` - // Enable DHCP config on this network. It requires DHCP id. + // WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. EnableDhcp *bool `pulumi:"enableDhcp"` - // Enable masquerade on this network + // Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork EnableMasquerade *bool `pulumi:"enableMasquerade"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId *string `pulumi:"gatewayId"` - // Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. IpamConfigs []VpcGatewayNetworkIpamConfig `pulumi:"ipamConfigs"` - // The mac address of the creation of the gateway network. + // The MAC address of the GatewayNetwork. MacAddress *string `pulumi:"macAddress"` - // The ID of the private network. + // The ID of the Private Network. PrivateNetworkId *string `pulumi:"privateNetworkId"` - // Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. StaticAddress *string `pulumi:"staticAddress"` // The status of the Public Gateway's connection to the Private Network. Status *string `pulumi:"status"` - // The date and time of the last update of the gateway network. + // The date and time of the last update of the GatewayNetwork. UpdatedAt *string `pulumi:"updatedAt"` // `zone`) The zone in which the gateway network should be created. Zone *string `pulumi:"zone"` } type VpcGatewayNetworkState struct { - // Remove DHCP config on this network on destroy. It requires DHCP id. + // Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. CleanupDhcp pulumi.BoolPtrInput - // The date and time of the creation of the gateway network. + // The date and time of the creation of the GatewayNetwork. CreatedAt pulumi.StringPtrInput - // The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. DhcpId pulumi.StringPtrInput - // Enable DHCP config on this network. It requires DHCP id. + // WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. EnableDhcp pulumi.BoolPtrInput - // Enable masquerade on this network + // Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork EnableMasquerade pulumi.BoolPtrInput - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringPtrInput - // Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. IpamConfigs VpcGatewayNetworkIpamConfigArrayInput - // The mac address of the creation of the gateway network. + // The MAC address of the GatewayNetwork. MacAddress pulumi.StringPtrInput - // The ID of the private network. + // The ID of the Private Network. PrivateNetworkId pulumi.StringPtrInput - // Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. StaticAddress pulumi.StringPtrInput // The status of the Public Gateway's connection to the Private Network. Status pulumi.StringPtrInput - // The date and time of the last update of the gateway network. + // The date and time of the last update of the GatewayNetwork. UpdatedAt pulumi.StringPtrInput // `zone`) The zone in which the gateway network should be created. Zone pulumi.StringPtrInput @@ -364,21 +365,21 @@ func (VpcGatewayNetworkState) ElementType() reflect.Type { } type vpcGatewayNetworkArgs struct { - // Remove DHCP config on this network on destroy. It requires DHCP id. + // Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. CleanupDhcp *bool `pulumi:"cleanupDhcp"` - // The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. DhcpId *string `pulumi:"dhcpId"` - // Enable DHCP config on this network. It requires DHCP id. + // WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. EnableDhcp *bool `pulumi:"enableDhcp"` - // Enable masquerade on this network + // Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork EnableMasquerade *bool `pulumi:"enableMasquerade"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId string `pulumi:"gatewayId"` - // Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. IpamConfigs []VpcGatewayNetworkIpamConfig `pulumi:"ipamConfigs"` - // The ID of the private network. + // The ID of the Private Network. PrivateNetworkId string `pulumi:"privateNetworkId"` - // Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. StaticAddress *string `pulumi:"staticAddress"` // `zone`) The zone in which the gateway network should be created. Zone *string `pulumi:"zone"` @@ -386,21 +387,21 @@ type vpcGatewayNetworkArgs struct { // The set of arguments for constructing a VpcGatewayNetwork resource. type VpcGatewayNetworkArgs struct { - // Remove DHCP config on this network on destroy. It requires DHCP id. + // Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. CleanupDhcp pulumi.BoolPtrInput - // The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. DhcpId pulumi.StringPtrInput - // Enable DHCP config on this network. It requires DHCP id. + // WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. EnableDhcp pulumi.BoolPtrInput - // Enable masquerade on this network + // Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork EnableMasquerade pulumi.BoolPtrInput - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringInput - // Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. IpamConfigs VpcGatewayNetworkIpamConfigArrayInput - // The ID of the private network. + // The ID of the Private Network. PrivateNetworkId pulumi.StringInput - // Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + // Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. StaticAddress pulumi.StringPtrInput // `zone`) The zone in which the gateway network should be created. Zone pulumi.StringPtrInput @@ -493,52 +494,52 @@ func (o VpcGatewayNetworkOutput) ToVpcGatewayNetworkOutputWithContext(ctx contex return o } -// Remove DHCP config on this network on destroy. It requires DHCP id. +// Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. func (o VpcGatewayNetworkOutput) CleanupDhcp() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.BoolPtrOutput { return v.CleanupDhcp }).(pulumi.BoolPtrOutput) } -// The date and time of the creation of the gateway network. +// The date and time of the creation of the GatewayNetwork. func (o VpcGatewayNetworkOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. +// The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. func (o VpcGatewayNetworkOutput) DhcpId() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringPtrOutput { return v.DhcpId }).(pulumi.StringPtrOutput) } -// Enable DHCP config on this network. It requires DHCP id. +// WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. func (o VpcGatewayNetworkOutput) EnableDhcp() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.BoolPtrOutput { return v.EnableDhcp }).(pulumi.BoolPtrOutput) } -// Enable masquerade on this network +// Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork func (o VpcGatewayNetworkOutput) EnableMasquerade() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.BoolPtrOutput { return v.EnableMasquerade }).(pulumi.BoolPtrOutput) } -// The ID of the public gateway. +// The ID of the Public Gateway. func (o VpcGatewayNetworkOutput) GatewayId() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.GatewayId }).(pulumi.StringOutput) } -// Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. +// Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. func (o VpcGatewayNetworkOutput) IpamConfigs() VpcGatewayNetworkIpamConfigArrayOutput { return o.ApplyT(func(v *VpcGatewayNetwork) VpcGatewayNetworkIpamConfigArrayOutput { return v.IpamConfigs }).(VpcGatewayNetworkIpamConfigArrayOutput) } -// The mac address of the creation of the gateway network. +// The MAC address of the GatewayNetwork. func (o VpcGatewayNetworkOutput) MacAddress() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.MacAddress }).(pulumi.StringOutput) } -// The ID of the private network. +// The ID of the Private Network. func (o VpcGatewayNetworkOutput) PrivateNetworkId() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.PrivateNetworkId }).(pulumi.StringOutput) } -// Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. +// Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. func (o VpcGatewayNetworkOutput) StaticAddress() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.StaticAddress }).(pulumi.StringOutput) } @@ -548,7 +549,7 @@ func (o VpcGatewayNetworkOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } -// The date and time of the last update of the gateway network. +// The date and time of the last update of the GatewayNetwork. func (o VpcGatewayNetworkOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcGatewayNetwork) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPrivateNetwork.go b/sdk/go/scaleway/vpcPrivateNetwork.go index a0af9db9..46fe2f8d 100644 --- a/sdk/go/scaleway/vpcPrivateNetwork.go +++ b/sdk/go/scaleway/vpcPrivateNetwork.go @@ -12,7 +12,7 @@ import ( ) // Creates and manages Scaleway VPC Private Networks. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). // // ## Example Usage // @@ -87,7 +87,7 @@ import ( // // ## Import // -// Private networks can be imported using the `{region}/{id}`, e.g. +// Private Networks can be imported using `{region}/{id}`, e.g. // // bash // @@ -99,29 +99,29 @@ type VpcPrivateNetwork struct { // The date and time of the creation of the subnet. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The IPv4 subnet to associate with the private network. + // The IPv4 subnet to associate with the Private Network. Ipv4Subnet VpcPrivateNetworkIpv4SubnetOutput `pulumi:"ipv4Subnet"` // The IPv6 subnets to associate with the private network. Ipv6Subnets VpcPrivateNetworkIpv6SubnetArrayOutput `pulumi:"ipv6Subnets"` - // The private networks are necessarily regional now. + // Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version IsRegional pulumi.BoolOutput `pulumi:"isRegional"` - // The name of the private network. If not provided it will be randomly generated. + // The name of the Private Network. If not provided, it will be randomly generated. Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the private network is associated with. + // The Organization ID the Private Network is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // `projectId`) The ID of the project the private network is associated with. + // `projectId`) The ID of the Project the private network is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // `region`) The region of the private network. + // `region`) The region of the Private Network. Region pulumi.StringOutput `pulumi:"region"` - // The tags associated with the private network. + // The tags associated with the Private Network. Tags pulumi.StringArrayOutput `pulumi:"tags"` // The date and time of the last update of the subnet. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // The VPC in which to create the private network. + // The VPC in which to create the Private Network. VpcId pulumi.StringOutput `pulumi:"vpcId"` - // please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + // Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead Zone pulumi.StringOutput `pulumi:"zone"` @@ -159,29 +159,29 @@ func GetVpcPrivateNetwork(ctx *pulumi.Context, type vpcPrivateNetworkState struct { // The date and time of the creation of the subnet. CreatedAt *string `pulumi:"createdAt"` - // The IPv4 subnet to associate with the private network. + // The IPv4 subnet to associate with the Private Network. Ipv4Subnet *VpcPrivateNetworkIpv4Subnet `pulumi:"ipv4Subnet"` // The IPv6 subnets to associate with the private network. Ipv6Subnets []VpcPrivateNetworkIpv6Subnet `pulumi:"ipv6Subnets"` - // The private networks are necessarily regional now. + // Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version IsRegional *bool `pulumi:"isRegional"` - // The name of the private network. If not provided it will be randomly generated. + // The name of the Private Network. If not provided, it will be randomly generated. Name *string `pulumi:"name"` - // The organization ID the private network is associated with. + // The Organization ID the Private Network is associated with. OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the private network is associated with. + // `projectId`) The ID of the Project the private network is associated with. ProjectId *string `pulumi:"projectId"` - // `region`) The region of the private network. + // `region`) The region of the Private Network. Region *string `pulumi:"region"` - // The tags associated with the private network. + // The tags associated with the Private Network. Tags []string `pulumi:"tags"` // The date and time of the last update of the subnet. UpdatedAt *string `pulumi:"updatedAt"` - // The VPC in which to create the private network. + // The VPC in which to create the Private Network. VpcId *string `pulumi:"vpcId"` - // please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + // Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead Zone *string `pulumi:"zone"` @@ -190,29 +190,29 @@ type vpcPrivateNetworkState struct { type VpcPrivateNetworkState struct { // The date and time of the creation of the subnet. CreatedAt pulumi.StringPtrInput - // The IPv4 subnet to associate with the private network. + // The IPv4 subnet to associate with the Private Network. Ipv4Subnet VpcPrivateNetworkIpv4SubnetPtrInput // The IPv6 subnets to associate with the private network. Ipv6Subnets VpcPrivateNetworkIpv6SubnetArrayInput - // The private networks are necessarily regional now. + // Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version IsRegional pulumi.BoolPtrInput - // The name of the private network. If not provided it will be randomly generated. + // The name of the Private Network. If not provided, it will be randomly generated. Name pulumi.StringPtrInput - // The organization ID the private network is associated with. + // The Organization ID the Private Network is associated with. OrganizationId pulumi.StringPtrInput - // `projectId`) The ID of the project the private network is associated with. + // `projectId`) The ID of the Project the private network is associated with. ProjectId pulumi.StringPtrInput - // `region`) The region of the private network. + // `region`) The region of the Private Network. Region pulumi.StringPtrInput - // The tags associated with the private network. + // The tags associated with the Private Network. Tags pulumi.StringArrayInput // The date and time of the last update of the subnet. UpdatedAt pulumi.StringPtrInput - // The VPC in which to create the private network. + // The VPC in which to create the Private Network. VpcId pulumi.StringPtrInput - // please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + // Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead Zone pulumi.StringPtrInput @@ -223,25 +223,25 @@ func (VpcPrivateNetworkState) ElementType() reflect.Type { } type vpcPrivateNetworkArgs struct { - // The IPv4 subnet to associate with the private network. + // The IPv4 subnet to associate with the Private Network. Ipv4Subnet *VpcPrivateNetworkIpv4Subnet `pulumi:"ipv4Subnet"` // The IPv6 subnets to associate with the private network. Ipv6Subnets []VpcPrivateNetworkIpv6Subnet `pulumi:"ipv6Subnets"` - // The private networks are necessarily regional now. + // Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version IsRegional *bool `pulumi:"isRegional"` - // The name of the private network. If not provided it will be randomly generated. + // The name of the Private Network. If not provided, it will be randomly generated. Name *string `pulumi:"name"` - // `projectId`) The ID of the project the private network is associated with. + // `projectId`) The ID of the Project the private network is associated with. ProjectId *string `pulumi:"projectId"` - // `region`) The region of the private network. + // `region`) The region of the Private Network. Region *string `pulumi:"region"` - // The tags associated with the private network. + // The tags associated with the Private Network. Tags []string `pulumi:"tags"` - // The VPC in which to create the private network. + // The VPC in which to create the Private Network. VpcId *string `pulumi:"vpcId"` - // please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + // Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead Zone *string `pulumi:"zone"` @@ -249,25 +249,25 @@ type vpcPrivateNetworkArgs struct { // The set of arguments for constructing a VpcPrivateNetwork resource. type VpcPrivateNetworkArgs struct { - // The IPv4 subnet to associate with the private network. + // The IPv4 subnet to associate with the Private Network. Ipv4Subnet VpcPrivateNetworkIpv4SubnetPtrInput // The IPv6 subnets to associate with the private network. Ipv6Subnets VpcPrivateNetworkIpv6SubnetArrayInput - // The private networks are necessarily regional now. + // Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version IsRegional pulumi.BoolPtrInput - // The name of the private network. If not provided it will be randomly generated. + // The name of the Private Network. If not provided, it will be randomly generated. Name pulumi.StringPtrInput - // `projectId`) The ID of the project the private network is associated with. + // `projectId`) The ID of the Project the private network is associated with. ProjectId pulumi.StringPtrInput - // `region`) The region of the private network. + // `region`) The region of the Private Network. Region pulumi.StringPtrInput - // The tags associated with the private network. + // The tags associated with the Private Network. Tags pulumi.StringArrayInput - // The VPC in which to create the private network. + // The VPC in which to create the Private Network. VpcId pulumi.StringPtrInput - // please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + // Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead Zone pulumi.StringPtrInput @@ -365,7 +365,7 @@ func (o VpcPrivateNetworkOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The IPv4 subnet to associate with the private network. +// The IPv4 subnet to associate with the Private Network. func (o VpcPrivateNetworkOutput) Ipv4Subnet() VpcPrivateNetworkIpv4SubnetOutput { return o.ApplyT(func(v *VpcPrivateNetwork) VpcPrivateNetworkIpv4SubnetOutput { return v.Ipv4Subnet }).(VpcPrivateNetworkIpv4SubnetOutput) } @@ -375,34 +375,34 @@ func (o VpcPrivateNetworkOutput) Ipv6Subnets() VpcPrivateNetworkIpv6SubnetArrayO return o.ApplyT(func(v *VpcPrivateNetwork) VpcPrivateNetworkIpv6SubnetArrayOutput { return v.Ipv6Subnets }).(VpcPrivateNetworkIpv6SubnetArrayOutput) } -// The private networks are necessarily regional now. +// Private Networks are now all necessarily regional. // // Deprecated: This field is deprecated and will be removed in the next major version func (o VpcPrivateNetworkOutput) IsRegional() pulumi.BoolOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.BoolOutput { return v.IsRegional }).(pulumi.BoolOutput) } -// The name of the private network. If not provided it will be randomly generated. +// The name of the Private Network. If not provided, it will be randomly generated. func (o VpcPrivateNetworkOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The organization ID the private network is associated with. +// The Organization ID the Private Network is associated with. func (o VpcPrivateNetworkOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the private network is associated with. +// `projectId`) The ID of the Project the private network is associated with. func (o VpcPrivateNetworkOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// `region`) The region of the private network. +// `region`) The region of the Private Network. func (o VpcPrivateNetworkOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } -// The tags associated with the private network. +// The tags associated with the Private Network. func (o VpcPrivateNetworkOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } @@ -412,12 +412,12 @@ func (o VpcPrivateNetworkOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// The VPC in which to create the private network. +// The VPC in which to create the Private Network. func (o VpcPrivateNetworkOutput) VpcId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPrivateNetwork) pulumi.StringOutput { return v.VpcId }).(pulumi.StringOutput) } -// please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. +// Use `region` instead. // // Deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead func (o VpcPrivateNetworkOutput) Zone() pulumi.StringOutput { diff --git a/sdk/go/scaleway/vpcPublicGateway.go b/sdk/go/scaleway/vpcPublicGateway.go index cf17a2c1..eeadd931 100644 --- a/sdk/go/scaleway/vpcPublicGateway.go +++ b/sdk/go/scaleway/vpcPublicGateway.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway VPC Public Gateway. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway). +// Creates and manages Scaleway Public Gateways. +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway). // // ## Example Usage // @@ -49,7 +49,7 @@ import ( // // ## Import // -// Public gateway can be imported using the `{zone}/{id}`, e.g. +// Public Gateways can be imported using `{zone}/{id}`, e.g. // // bash // @@ -63,31 +63,31 @@ type VpcPublicGateway struct { BastionEnabled pulumi.BoolPtrOutput `pulumi:"bastionEnabled"` // The port on which the SSH bastion will listen. BastionPort pulumi.IntOutput `pulumi:"bastionPort"` - // The date and time of the creation of the public gateway. + // The date and time of the creation of the Public Gateway. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // Enable SMTP on the gateway. EnableSmtp pulumi.BoolOutput `pulumi:"enableSmtp"` - // attach an existing flexible IP to the gateway. + // Attach an existing flexible IP to the gateway. IpId pulumi.StringOutput `pulumi:"ipId"` - // The name of the public gateway. If not provided it will be randomly generated. + // The name for the Public Gateway. If not provided it will be randomly generated. Name pulumi.StringOutput `pulumi:"name"` - // The organization ID the public gateway is associated with. + // The Organization ID the Public Gateway is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // `projectId`) The ID of the project the public gateway is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` - // Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + // Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. RefreshSshKeys pulumi.StringPtrOutput `pulumi:"refreshSshKeys"` // The status of the public gateway. Status pulumi.StringOutput `pulumi:"status"` - // The tags associated with the public gateway. + // The tags to associate with the Public Gateway. Tags pulumi.StringArrayOutput `pulumi:"tags"` // The gateway type. Type pulumi.StringOutput `pulumi:"type"` - // The date and time of the last update of the public gateway. + // The date and time of the last update of the Public Gateway. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // override the gateway's default recursive DNS servers, if DNS features are enabled. + // Override the gateway's default recursive DNS servers, if DNS features are enabled. UpstreamDnsServers pulumi.StringArrayOutput `pulumi:"upstreamDnsServers"` - // `zone`) The zone in which the public gateway should be created. + // `zone`) The zone in which the Public Gateway should be created. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -128,31 +128,31 @@ type vpcPublicGatewayState struct { BastionEnabled *bool `pulumi:"bastionEnabled"` // The port on which the SSH bastion will listen. BastionPort *int `pulumi:"bastionPort"` - // The date and time of the creation of the public gateway. + // The date and time of the creation of the Public Gateway. CreatedAt *string `pulumi:"createdAt"` // Enable SMTP on the gateway. EnableSmtp *bool `pulumi:"enableSmtp"` - // attach an existing flexible IP to the gateway. + // Attach an existing flexible IP to the gateway. IpId *string `pulumi:"ipId"` - // The name of the public gateway. If not provided it will be randomly generated. + // The name for the Public Gateway. If not provided it will be randomly generated. Name *string `pulumi:"name"` - // The organization ID the public gateway is associated with. + // The Organization ID the Public Gateway is associated with. OrganizationId *string `pulumi:"organizationId"` // `projectId`) The ID of the project the public gateway is associated with. ProjectId *string `pulumi:"projectId"` - // Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + // Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. RefreshSshKeys *string `pulumi:"refreshSshKeys"` // The status of the public gateway. Status *string `pulumi:"status"` - // The tags associated with the public gateway. + // The tags to associate with the Public Gateway. Tags []string `pulumi:"tags"` // The gateway type. Type *string `pulumi:"type"` - // The date and time of the last update of the public gateway. + // The date and time of the last update of the Public Gateway. UpdatedAt *string `pulumi:"updatedAt"` - // override the gateway's default recursive DNS servers, if DNS features are enabled. + // Override the gateway's default recursive DNS servers, if DNS features are enabled. UpstreamDnsServers []string `pulumi:"upstreamDnsServers"` - // `zone`) The zone in which the public gateway should be created. + // `zone`) The zone in which the Public Gateway should be created. Zone *string `pulumi:"zone"` } @@ -161,31 +161,31 @@ type VpcPublicGatewayState struct { BastionEnabled pulumi.BoolPtrInput // The port on which the SSH bastion will listen. BastionPort pulumi.IntPtrInput - // The date and time of the creation of the public gateway. + // The date and time of the creation of the Public Gateway. CreatedAt pulumi.StringPtrInput // Enable SMTP on the gateway. EnableSmtp pulumi.BoolPtrInput - // attach an existing flexible IP to the gateway. + // Attach an existing flexible IP to the gateway. IpId pulumi.StringPtrInput - // The name of the public gateway. If not provided it will be randomly generated. + // The name for the Public Gateway. If not provided it will be randomly generated. Name pulumi.StringPtrInput - // The organization ID the public gateway is associated with. + // The Organization ID the Public Gateway is associated with. OrganizationId pulumi.StringPtrInput // `projectId`) The ID of the project the public gateway is associated with. ProjectId pulumi.StringPtrInput - // Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + // Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. RefreshSshKeys pulumi.StringPtrInput // The status of the public gateway. Status pulumi.StringPtrInput - // The tags associated with the public gateway. + // The tags to associate with the Public Gateway. Tags pulumi.StringArrayInput // The gateway type. Type pulumi.StringPtrInput - // The date and time of the last update of the public gateway. + // The date and time of the last update of the Public Gateway. UpdatedAt pulumi.StringPtrInput - // override the gateway's default recursive DNS servers, if DNS features are enabled. + // Override the gateway's default recursive DNS servers, if DNS features are enabled. UpstreamDnsServers pulumi.StringArrayInput - // `zone`) The zone in which the public gateway should be created. + // `zone`) The zone in which the Public Gateway should be created. Zone pulumi.StringPtrInput } @@ -200,21 +200,21 @@ type vpcPublicGatewayArgs struct { BastionPort *int `pulumi:"bastionPort"` // Enable SMTP on the gateway. EnableSmtp *bool `pulumi:"enableSmtp"` - // attach an existing flexible IP to the gateway. + // Attach an existing flexible IP to the gateway. IpId *string `pulumi:"ipId"` - // The name of the public gateway. If not provided it will be randomly generated. + // The name for the Public Gateway. If not provided it will be randomly generated. Name *string `pulumi:"name"` // `projectId`) The ID of the project the public gateway is associated with. ProjectId *string `pulumi:"projectId"` - // Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + // Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. RefreshSshKeys *string `pulumi:"refreshSshKeys"` - // The tags associated with the public gateway. + // The tags to associate with the Public Gateway. Tags []string `pulumi:"tags"` // The gateway type. Type string `pulumi:"type"` - // override the gateway's default recursive DNS servers, if DNS features are enabled. + // Override the gateway's default recursive DNS servers, if DNS features are enabled. UpstreamDnsServers []string `pulumi:"upstreamDnsServers"` - // `zone`) The zone in which the public gateway should be created. + // `zone`) The zone in which the Public Gateway should be created. Zone *string `pulumi:"zone"` } @@ -226,21 +226,21 @@ type VpcPublicGatewayArgs struct { BastionPort pulumi.IntPtrInput // Enable SMTP on the gateway. EnableSmtp pulumi.BoolPtrInput - // attach an existing flexible IP to the gateway. + // Attach an existing flexible IP to the gateway. IpId pulumi.StringPtrInput - // The name of the public gateway. If not provided it will be randomly generated. + // The name for the Public Gateway. If not provided it will be randomly generated. Name pulumi.StringPtrInput // `projectId`) The ID of the project the public gateway is associated with. ProjectId pulumi.StringPtrInput - // Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + // Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. RefreshSshKeys pulumi.StringPtrInput - // The tags associated with the public gateway. + // The tags to associate with the Public Gateway. Tags pulumi.StringArrayInput // The gateway type. Type pulumi.StringInput - // override the gateway's default recursive DNS servers, if DNS features are enabled. + // Override the gateway's default recursive DNS servers, if DNS features are enabled. UpstreamDnsServers pulumi.StringArrayInput - // `zone`) The zone in which the public gateway should be created. + // `zone`) The zone in which the Public Gateway should be created. Zone pulumi.StringPtrInput } @@ -341,7 +341,7 @@ func (o VpcPublicGatewayOutput) BastionPort() pulumi.IntOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.IntOutput { return v.BastionPort }).(pulumi.IntOutput) } -// The date and time of the creation of the public gateway. +// The date and time of the creation of the Public Gateway. func (o VpcPublicGatewayOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } @@ -351,17 +351,17 @@ func (o VpcPublicGatewayOutput) EnableSmtp() pulumi.BoolOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.BoolOutput { return v.EnableSmtp }).(pulumi.BoolOutput) } -// attach an existing flexible IP to the gateway. +// Attach an existing flexible IP to the gateway. func (o VpcPublicGatewayOutput) IpId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.IpId }).(pulumi.StringOutput) } -// The name of the public gateway. If not provided it will be randomly generated. +// The name for the Public Gateway. If not provided it will be randomly generated. func (o VpcPublicGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The organization ID the public gateway is associated with. +// The Organization ID the Public Gateway is associated with. func (o VpcPublicGatewayOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } @@ -371,7 +371,7 @@ func (o VpcPublicGatewayOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// Trigger a refresh of the SSH keys on the public gateway by changing this field's value. +// Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. func (o VpcPublicGatewayOutput) RefreshSshKeys() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringPtrOutput { return v.RefreshSshKeys }).(pulumi.StringPtrOutput) } @@ -381,7 +381,7 @@ func (o VpcPublicGatewayOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } -// The tags associated with the public gateway. +// The tags to associate with the Public Gateway. func (o VpcPublicGatewayOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } @@ -391,17 +391,17 @@ func (o VpcPublicGatewayOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } -// The date and time of the last update of the public gateway. +// The date and time of the last update of the Public Gateway. func (o VpcPublicGatewayOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// override the gateway's default recursive DNS servers, if DNS features are enabled. +// Override the gateway's default recursive DNS servers, if DNS features are enabled. func (o VpcPublicGatewayOutput) UpstreamDnsServers() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringArrayOutput { return v.UpstreamDnsServers }).(pulumi.StringArrayOutput) } -// `zone`) The zone in which the public gateway should be created. +// `zone`) The zone in which the Public Gateway should be created. func (o VpcPublicGatewayOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGateway) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPublicGatewayDhcp.go b/sdk/go/scaleway/vpcPublicGatewayDhcp.go index 862b5999..29b3c4e4 100644 --- a/sdk/go/scaleway/vpcPublicGatewayDhcp.go +++ b/sdk/go/scaleway/vpcPublicGatewayDhcp.go @@ -12,7 +12,7 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway VPC Public Gateway DHCP. +// Creates and manages Scaleway VPC Public Gateway DHCP configurations. // For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). // // ## Example Usage @@ -43,7 +43,7 @@ import ( // // ## Import // -// Public gateway DHCP config can be imported using the `{zone}/{id}`, e.g. +// Public Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g. // // bash // @@ -53,25 +53,25 @@ import ( type VpcPublicGatewayDhcp struct { pulumi.CustomResourceState - // The IP address of the public gateway DHCP config. + // The IP address of the DHCP server. This will be the gateway's address in the Private Network. Address pulumi.StringOutput `pulumi:"address"` - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. DnsLocalName pulumi.StringOutput `pulumi:"dnsLocalName"` // Additional DNS search paths DnsSearches pulumi.StringArrayOutput `pulumi:"dnsSearches"` - // Override the DNS server list pushed to DHCP clients, instead of the gateway itself + // Override the DNS server list pushed to DHCP clients, instead of the gateway itself. DnsServersOverrides pulumi.StringArrayOutput `pulumi:"dnsServersOverrides"` // Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. EnableDynamic pulumi.BoolOutput `pulumi:"enableDynamic"` - // The organization ID the public gateway DHCP config is associated with. + // The Organization ID the Public Gateway DHCP config is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. PoolHigh pulumi.StringOutput `pulumi:"poolHigh"` // Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. PoolLow pulumi.StringOutput `pulumi:"poolLow"` - // `projectId`) The ID of the project the public gateway DHCP config is associated with. + // `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. PushDefaultRoute pulumi.BoolOutput `pulumi:"pushDefaultRoute"` @@ -81,13 +81,13 @@ type VpcPublicGatewayDhcp struct { RebindTimer pulumi.IntOutput `pulumi:"rebindTimer"` // After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebindTimer`. Defaults to 50m (3000s). RenewTimer pulumi.IntOutput `pulumi:"renewTimer"` - // The subnet to associate with the public gateway DHCP config. + // The subnet to associate with the Public Gateway DHCP configuration. Subnet pulumi.StringOutput `pulumi:"subnet"` - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + // How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). ValidLifetime pulumi.IntOutput `pulumi:"validLifetime"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -124,25 +124,25 @@ func GetVpcPublicGatewayDhcp(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcPublicGatewayDhcp resources. type vpcPublicGatewayDhcpState struct { - // The IP address of the public gateway DHCP config. + // The IP address of the DHCP server. This will be the gateway's address in the Private Network. Address *string `pulumi:"address"` - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt *string `pulumi:"createdAt"` // TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. DnsLocalName *string `pulumi:"dnsLocalName"` // Additional DNS search paths DnsSearches []string `pulumi:"dnsSearches"` - // Override the DNS server list pushed to DHCP clients, instead of the gateway itself + // Override the DNS server list pushed to DHCP clients, instead of the gateway itself. DnsServersOverrides []string `pulumi:"dnsServersOverrides"` // Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. EnableDynamic *bool `pulumi:"enableDynamic"` - // The organization ID the public gateway DHCP config is associated with. + // The Organization ID the Public Gateway DHCP config is associated with. OrganizationId *string `pulumi:"organizationId"` // High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. PoolHigh *string `pulumi:"poolHigh"` // Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. PoolLow *string `pulumi:"poolLow"` - // `projectId`) The ID of the project the public gateway DHCP config is associated with. + // `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. ProjectId *string `pulumi:"projectId"` // Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. PushDefaultRoute *bool `pulumi:"pushDefaultRoute"` @@ -152,36 +152,36 @@ type vpcPublicGatewayDhcpState struct { RebindTimer *int `pulumi:"rebindTimer"` // After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebindTimer`. Defaults to 50m (3000s). RenewTimer *int `pulumi:"renewTimer"` - // The subnet to associate with the public gateway DHCP config. + // The subnet to associate with the Public Gateway DHCP configuration. Subnet *string `pulumi:"subnet"` - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt *string `pulumi:"updatedAt"` - // For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + // How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). ValidLifetime *int `pulumi:"validLifetime"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone *string `pulumi:"zone"` } type VpcPublicGatewayDhcpState struct { - // The IP address of the public gateway DHCP config. + // The IP address of the DHCP server. This will be the gateway's address in the Private Network. Address pulumi.StringPtrInput - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt pulumi.StringPtrInput // TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. DnsLocalName pulumi.StringPtrInput // Additional DNS search paths DnsSearches pulumi.StringArrayInput - // Override the DNS server list pushed to DHCP clients, instead of the gateway itself + // Override the DNS server list pushed to DHCP clients, instead of the gateway itself. DnsServersOverrides pulumi.StringArrayInput // Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. EnableDynamic pulumi.BoolPtrInput - // The organization ID the public gateway DHCP config is associated with. + // The Organization ID the Public Gateway DHCP config is associated with. OrganizationId pulumi.StringPtrInput // High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. PoolHigh pulumi.StringPtrInput // Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. PoolLow pulumi.StringPtrInput - // `projectId`) The ID of the project the public gateway DHCP config is associated with. + // `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. ProjectId pulumi.StringPtrInput // Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. PushDefaultRoute pulumi.BoolPtrInput @@ -191,13 +191,13 @@ type VpcPublicGatewayDhcpState struct { RebindTimer pulumi.IntPtrInput // After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebindTimer`. Defaults to 50m (3000s). RenewTimer pulumi.IntPtrInput - // The subnet to associate with the public gateway DHCP config. + // The subnet to associate with the Public Gateway DHCP configuration. Subnet pulumi.StringPtrInput - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt pulumi.StringPtrInput - // For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + // How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). ValidLifetime pulumi.IntPtrInput - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringPtrInput } @@ -206,13 +206,13 @@ func (VpcPublicGatewayDhcpState) ElementType() reflect.Type { } type vpcPublicGatewayDhcpArgs struct { - // The IP address of the public gateway DHCP config. + // The IP address of the DHCP server. This will be the gateway's address in the Private Network. Address *string `pulumi:"address"` // TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. DnsLocalName *string `pulumi:"dnsLocalName"` // Additional DNS search paths DnsSearches []string `pulumi:"dnsSearches"` - // Override the DNS server list pushed to DHCP clients, instead of the gateway itself + // Override the DNS server list pushed to DHCP clients, instead of the gateway itself. DnsServersOverrides []string `pulumi:"dnsServersOverrides"` // Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. EnableDynamic *bool `pulumi:"enableDynamic"` @@ -220,7 +220,7 @@ type vpcPublicGatewayDhcpArgs struct { PoolHigh *string `pulumi:"poolHigh"` // Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. PoolLow *string `pulumi:"poolLow"` - // `projectId`) The ID of the project the public gateway DHCP config is associated with. + // `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. ProjectId *string `pulumi:"projectId"` // Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. PushDefaultRoute *bool `pulumi:"pushDefaultRoute"` @@ -230,23 +230,23 @@ type vpcPublicGatewayDhcpArgs struct { RebindTimer *int `pulumi:"rebindTimer"` // After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebindTimer`. Defaults to 50m (3000s). RenewTimer *int `pulumi:"renewTimer"` - // The subnet to associate with the public gateway DHCP config. + // The subnet to associate with the Public Gateway DHCP configuration. Subnet string `pulumi:"subnet"` - // For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + // How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). ValidLifetime *int `pulumi:"validLifetime"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone *string `pulumi:"zone"` } // The set of arguments for constructing a VpcPublicGatewayDhcp resource. type VpcPublicGatewayDhcpArgs struct { - // The IP address of the public gateway DHCP config. + // The IP address of the DHCP server. This will be the gateway's address in the Private Network. Address pulumi.StringPtrInput // TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. DnsLocalName pulumi.StringPtrInput // Additional DNS search paths DnsSearches pulumi.StringArrayInput - // Override the DNS server list pushed to DHCP clients, instead of the gateway itself + // Override the DNS server list pushed to DHCP clients, instead of the gateway itself. DnsServersOverrides pulumi.StringArrayInput // Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. EnableDynamic pulumi.BoolPtrInput @@ -254,7 +254,7 @@ type VpcPublicGatewayDhcpArgs struct { PoolHigh pulumi.StringPtrInput // Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. PoolLow pulumi.StringPtrInput - // `projectId`) The ID of the project the public gateway DHCP config is associated with. + // `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. ProjectId pulumi.StringPtrInput // Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. PushDefaultRoute pulumi.BoolPtrInput @@ -264,11 +264,11 @@ type VpcPublicGatewayDhcpArgs struct { RebindTimer pulumi.IntPtrInput // After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebindTimer`. Defaults to 50m (3000s). RenewTimer pulumi.IntPtrInput - // The subnet to associate with the public gateway DHCP config. + // The subnet to associate with the Public Gateway DHCP configuration. Subnet pulumi.StringInput - // For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + // How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). ValidLifetime pulumi.IntPtrInput - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringPtrInput } @@ -359,12 +359,12 @@ func (o VpcPublicGatewayDhcpOutput) ToVpcPublicGatewayDhcpOutputWithContext(ctx return o } -// The IP address of the public gateway DHCP config. +// The IP address of the DHCP server. This will be the gateway's address in the Private Network. func (o VpcPublicGatewayDhcpOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) } -// The date and time of the creation of the public gateway DHCP config. +// The date and time of the creation of the Public Gateway DHCP configuration. func (o VpcPublicGatewayDhcpOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } @@ -379,7 +379,7 @@ func (o VpcPublicGatewayDhcpOutput) DnsSearches() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringArrayOutput { return v.DnsSearches }).(pulumi.StringArrayOutput) } -// Override the DNS server list pushed to DHCP clients, instead of the gateway itself +// Override the DNS server list pushed to DHCP clients, instead of the gateway itself. func (o VpcPublicGatewayDhcpOutput) DnsServersOverrides() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringArrayOutput { return v.DnsServersOverrides }).(pulumi.StringArrayOutput) } @@ -389,7 +389,7 @@ func (o VpcPublicGatewayDhcpOutput) EnableDynamic() pulumi.BoolOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.BoolOutput { return v.EnableDynamic }).(pulumi.BoolOutput) } -// The organization ID the public gateway DHCP config is associated with. +// The Organization ID the Public Gateway DHCP config is associated with. func (o VpcPublicGatewayDhcpOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } @@ -404,7 +404,7 @@ func (o VpcPublicGatewayDhcpOutput) PoolLow() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.PoolLow }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the public gateway DHCP config is associated with. +// `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. func (o VpcPublicGatewayDhcpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -429,22 +429,22 @@ func (o VpcPublicGatewayDhcpOutput) RenewTimer() pulumi.IntOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.IntOutput { return v.RenewTimer }).(pulumi.IntOutput) } -// The subnet to associate with the public gateway DHCP config. +// The subnet to associate with the Public Gateway DHCP configuration. func (o VpcPublicGatewayDhcpOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.Subnet }).(pulumi.StringOutput) } -// The date and time of the last update of the public gateway DHCP config. +// The date and time of the last update of the Public Gateway DHCP configuration. func (o VpcPublicGatewayDhcpOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). +// How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). func (o VpcPublicGatewayDhcpOutput) ValidLifetime() pulumi.IntOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.IntOutput { return v.ValidLifetime }).(pulumi.IntOutput) } -// `zone`) The zone in which the public gateway DHCP config should be created. +// `zone`) The zone in which the Public Gateway DHCP configuration should be created. func (o VpcPublicGatewayDhcpOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcp) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPublicGatewayDhcpReservation.go b/sdk/go/scaleway/vpcPublicGatewayDhcpReservation.go index 5eb09086..19b3d993 100644 --- a/sdk/go/scaleway/vpcPublicGatewayDhcpReservation.go +++ b/sdk/go/scaleway/vpcPublicGatewayDhcpReservation.go @@ -12,15 +12,15 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). +// Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). // -// The static associations are used to assign IP addresses based on the MAC addresses of the Instance. +// These static associations are used to assign IP addresses based on the MAC addresses of the resource. // // Statically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range. // -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp). +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). // -// [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations. +// [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations. // // ## Example Usage // @@ -101,7 +101,7 @@ import ( // // ## Import // -// Public gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g. +// Public Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g. // // bash // @@ -111,19 +111,19 @@ import ( type VpcPublicGatewayDhcpReservation struct { pulumi.CustomResourceState - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The ID of the owning GatewayNetwork. GatewayNetworkId pulumi.StringOutput `pulumi:"gatewayNetworkId"` - // The Hostname of the client machine. + // The hostname of the client machine. Hostname pulumi.StringOutput `pulumi:"hostname"` - // The IP address to give to the machine (IP address). + // The IP address to give to the machine. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` - // The MAC address to give a static entry to. + // The MAC address for the static entry. MacAddress pulumi.StringOutput `pulumi:"macAddress"` - // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. Type pulumi.StringOutput `pulumi:"type"` - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` // `zone`) The zone in which the public gateway DHCP config should be created. Zone pulumi.StringOutput `pulumi:"zone"` @@ -168,38 +168,38 @@ func GetVpcPublicGatewayDhcpReservation(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcPublicGatewayDhcpReservation resources. type vpcPublicGatewayDhcpReservationState struct { - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt *string `pulumi:"createdAt"` // The ID of the owning GatewayNetwork. GatewayNetworkId *string `pulumi:"gatewayNetworkId"` - // The Hostname of the client machine. + // The hostname of the client machine. Hostname *string `pulumi:"hostname"` - // The IP address to give to the machine (IP address). + // The IP address to give to the machine. IpAddress *string `pulumi:"ipAddress"` - // The MAC address to give a static entry to. + // The MAC address for the static entry. MacAddress *string `pulumi:"macAddress"` - // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. Type *string `pulumi:"type"` - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt *string `pulumi:"updatedAt"` // `zone`) The zone in which the public gateway DHCP config should be created. Zone *string `pulumi:"zone"` } type VpcPublicGatewayDhcpReservationState struct { - // The date and time of the creation of the public gateway DHCP config. + // The date and time of the creation of the Public Gateway DHCP configuration. CreatedAt pulumi.StringPtrInput // The ID of the owning GatewayNetwork. GatewayNetworkId pulumi.StringPtrInput - // The Hostname of the client machine. + // The hostname of the client machine. Hostname pulumi.StringPtrInput - // The IP address to give to the machine (IP address). + // The IP address to give to the machine. IpAddress pulumi.StringPtrInput - // The MAC address to give a static entry to. + // The MAC address for the static entry. MacAddress pulumi.StringPtrInput - // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + // The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. Type pulumi.StringPtrInput - // The date and time of the last update of the public gateway DHCP config. + // The date and time of the last update of the Public Gateway DHCP configuration. UpdatedAt pulumi.StringPtrInput // `zone`) The zone in which the public gateway DHCP config should be created. Zone pulumi.StringPtrInput @@ -212,9 +212,9 @@ func (VpcPublicGatewayDhcpReservationState) ElementType() reflect.Type { type vpcPublicGatewayDhcpReservationArgs struct { // The ID of the owning GatewayNetwork. GatewayNetworkId string `pulumi:"gatewayNetworkId"` - // The IP address to give to the machine (IP address). + // The IP address to give to the machine. IpAddress string `pulumi:"ipAddress"` - // The MAC address to give a static entry to. + // The MAC address for the static entry. MacAddress string `pulumi:"macAddress"` // `zone`) The zone in which the public gateway DHCP config should be created. Zone *string `pulumi:"zone"` @@ -224,9 +224,9 @@ type vpcPublicGatewayDhcpReservationArgs struct { type VpcPublicGatewayDhcpReservationArgs struct { // The ID of the owning GatewayNetwork. GatewayNetworkId pulumi.StringInput - // The IP address to give to the machine (IP address). + // The IP address to give to the machine. IpAddress pulumi.StringInput - // The MAC address to give a static entry to. + // The MAC address for the static entry. MacAddress pulumi.StringInput // `zone`) The zone in which the public gateway DHCP config should be created. Zone pulumi.StringPtrInput @@ -319,7 +319,7 @@ func (o VpcPublicGatewayDhcpReservationOutput) ToVpcPublicGatewayDhcpReservation return o } -// The date and time of the creation of the public gateway DHCP config. +// The date and time of the creation of the Public Gateway DHCP configuration. func (o VpcPublicGatewayDhcpReservationOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } @@ -329,27 +329,27 @@ func (o VpcPublicGatewayDhcpReservationOutput) GatewayNetworkId() pulumi.StringO return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.GatewayNetworkId }).(pulumi.StringOutput) } -// The Hostname of the client machine. +// The hostname of the client machine. func (o VpcPublicGatewayDhcpReservationOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.Hostname }).(pulumi.StringOutput) } -// The IP address to give to the machine (IP address). +// The IP address to give to the machine. func (o VpcPublicGatewayDhcpReservationOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.IpAddress }).(pulumi.StringOutput) } -// The MAC address to give a static entry to. +// The MAC address for the static entry. func (o VpcPublicGatewayDhcpReservationOutput) MacAddress() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.MacAddress }).(pulumi.StringOutput) } -// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. +// The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. func (o VpcPublicGatewayDhcpReservationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } -// The date and time of the last update of the public gateway DHCP config. +// The date and time of the last update of the Public Gateway DHCP configuration. func (o VpcPublicGatewayDhcpReservationOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayDhcpReservation) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPublicGatewayIp.go b/sdk/go/scaleway/vpcPublicGatewayIp.go index b3b5e125..8f168901 100644 --- a/sdk/go/scaleway/vpcPublicGatewayIp.go +++ b/sdk/go/scaleway/vpcPublicGatewayIp.go @@ -11,8 +11,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway VPC Public Gateway IP. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). +// Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). // // ## Example Usage // @@ -52,7 +52,7 @@ import ( // // ## Import // -// Public gateway can be imported using the `{zone}/{id}`, e.g. +// Public Gateway IPs can be imported using `{zone}/{id}`, e.g. // // bash // @@ -64,19 +64,19 @@ type VpcPublicGatewayIp struct { // The IP address itself. Address pulumi.StringOutput `pulumi:"address"` - // The date and time of the creation of the public gateway ip. + // The date and time of the creation of the Public Gateway IP. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The organization ID the public gateway ip is associated with. + // The Organization ID the Public Gateway IP is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // `projectId`) The ID of the project the public gateway ip is associated with. + // `projectId`) The ID of the Project the Public Gateway IP is associated with. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The reverse domain name for the IP address Reverse pulumi.StringOutput `pulumi:"reverse"` - // The tags associated with the public gateway IP. + // The tags associated with the Public Gateway IP. Tags pulumi.StringArrayOutput `pulumi:"tags"` - // The date and time of the last update of the public gateway ip. + // The date and time of the last update of the Public Gateway IP. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // `zone`) The zone in which the public gateway ip should be created. + // `zone`) The zone in which the Public Gateway IP should be created. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -112,38 +112,38 @@ func GetVpcPublicGatewayIp(ctx *pulumi.Context, type vpcPublicGatewayIpState struct { // The IP address itself. Address *string `pulumi:"address"` - // The date and time of the creation of the public gateway ip. + // The date and time of the creation of the Public Gateway IP. CreatedAt *string `pulumi:"createdAt"` - // The organization ID the public gateway ip is associated with. + // The Organization ID the Public Gateway IP is associated with. OrganizationId *string `pulumi:"organizationId"` - // `projectId`) The ID of the project the public gateway ip is associated with. + // `projectId`) The ID of the Project the Public Gateway IP is associated with. ProjectId *string `pulumi:"projectId"` // The reverse domain name for the IP address Reverse *string `pulumi:"reverse"` - // The tags associated with the public gateway IP. + // The tags associated with the Public Gateway IP. Tags []string `pulumi:"tags"` - // The date and time of the last update of the public gateway ip. + // The date and time of the last update of the Public Gateway IP. UpdatedAt *string `pulumi:"updatedAt"` - // `zone`) The zone in which the public gateway ip should be created. + // `zone`) The zone in which the Public Gateway IP should be created. Zone *string `pulumi:"zone"` } type VpcPublicGatewayIpState struct { // The IP address itself. Address pulumi.StringPtrInput - // The date and time of the creation of the public gateway ip. + // The date and time of the creation of the Public Gateway IP. CreatedAt pulumi.StringPtrInput - // The organization ID the public gateway ip is associated with. + // The Organization ID the Public Gateway IP is associated with. OrganizationId pulumi.StringPtrInput - // `projectId`) The ID of the project the public gateway ip is associated with. + // `projectId`) The ID of the Project the Public Gateway IP is associated with. ProjectId pulumi.StringPtrInput // The reverse domain name for the IP address Reverse pulumi.StringPtrInput - // The tags associated with the public gateway IP. + // The tags associated with the Public Gateway IP. Tags pulumi.StringArrayInput - // The date and time of the last update of the public gateway ip. + // The date and time of the last update of the Public Gateway IP. UpdatedAt pulumi.StringPtrInput - // `zone`) The zone in which the public gateway ip should be created. + // `zone`) The zone in which the Public Gateway IP should be created. Zone pulumi.StringPtrInput } @@ -152,25 +152,25 @@ func (VpcPublicGatewayIpState) ElementType() reflect.Type { } type vpcPublicGatewayIpArgs struct { - // `projectId`) The ID of the project the public gateway ip is associated with. + // `projectId`) The ID of the Project the Public Gateway IP is associated with. ProjectId *string `pulumi:"projectId"` // The reverse domain name for the IP address Reverse *string `pulumi:"reverse"` - // The tags associated with the public gateway IP. + // The tags associated with the Public Gateway IP. Tags []string `pulumi:"tags"` - // `zone`) The zone in which the public gateway ip should be created. + // `zone`) The zone in which the Public Gateway IP should be created. Zone *string `pulumi:"zone"` } // The set of arguments for constructing a VpcPublicGatewayIp resource. type VpcPublicGatewayIpArgs struct { - // `projectId`) The ID of the project the public gateway ip is associated with. + // `projectId`) The ID of the Project the Public Gateway IP is associated with. ProjectId pulumi.StringPtrInput // The reverse domain name for the IP address Reverse pulumi.StringPtrInput - // The tags associated with the public gateway IP. + // The tags associated with the Public Gateway IP. Tags pulumi.StringArrayInput - // `zone`) The zone in which the public gateway ip should be created. + // `zone`) The zone in which the Public Gateway IP should be created. Zone pulumi.StringPtrInput } @@ -266,17 +266,17 @@ func (o VpcPublicGatewayIpOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) } -// The date and time of the creation of the public gateway ip. +// The date and time of the creation of the Public Gateway IP. func (o VpcPublicGatewayIpOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The organization ID the public gateway ip is associated with. +// The Organization ID the Public Gateway IP is associated with. func (o VpcPublicGatewayIpOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// `projectId`) The ID of the project the public gateway ip is associated with. +// `projectId`) The ID of the Project the Public Gateway IP is associated with. func (o VpcPublicGatewayIpOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } @@ -286,17 +286,17 @@ func (o VpcPublicGatewayIpOutput) Reverse() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.Reverse }).(pulumi.StringOutput) } -// The tags associated with the public gateway IP. +// The tags associated with the Public Gateway IP. func (o VpcPublicGatewayIpOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } -// The date and time of the last update of the public gateway ip. +// The date and time of the last update of the Public Gateway IP. func (o VpcPublicGatewayIpOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// `zone`) The zone in which the public gateway ip should be created. +// `zone`) The zone in which the Public Gateway IP should be created. func (o VpcPublicGatewayIpOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIp) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPublicGatewayIpReverseDns.go b/sdk/go/scaleway/vpcPublicGatewayIpReverseDns.go index 9253ff02..8e9dc328 100644 --- a/sdk/go/scaleway/vpcPublicGatewayIpReverseDns.go +++ b/sdk/go/scaleway/vpcPublicGatewayIpReverseDns.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Manages Scaleway VPC Public Gateways IPs reverse DNS. -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). +// Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS. +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). // // ## Example Usage // @@ -58,7 +58,7 @@ import ( // // ## Import // -// Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. +// Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g. // // bash // @@ -68,7 +68,7 @@ import ( type VpcPublicGatewayIpReverseDns struct { pulumi.CustomResourceState - // The public gateway IP ID + // The Public Gateway IP ID GatewayIpId pulumi.StringOutput `pulumi:"gatewayIpId"` // The reverse domain name for this IP address Reverse pulumi.StringOutput `pulumi:"reverse"` @@ -112,7 +112,7 @@ func GetVpcPublicGatewayIpReverseDns(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcPublicGatewayIpReverseDns resources. type vpcPublicGatewayIpReverseDnsState struct { - // The public gateway IP ID + // The Public Gateway IP ID GatewayIpId *string `pulumi:"gatewayIpId"` // The reverse domain name for this IP address Reverse *string `pulumi:"reverse"` @@ -121,7 +121,7 @@ type vpcPublicGatewayIpReverseDnsState struct { } type VpcPublicGatewayIpReverseDnsState struct { - // The public gateway IP ID + // The Public Gateway IP ID GatewayIpId pulumi.StringPtrInput // The reverse domain name for this IP address Reverse pulumi.StringPtrInput @@ -134,7 +134,7 @@ func (VpcPublicGatewayIpReverseDnsState) ElementType() reflect.Type { } type vpcPublicGatewayIpReverseDnsArgs struct { - // The public gateway IP ID + // The Public Gateway IP ID GatewayIpId string `pulumi:"gatewayIpId"` // The reverse domain name for this IP address Reverse string `pulumi:"reverse"` @@ -144,7 +144,7 @@ type vpcPublicGatewayIpReverseDnsArgs struct { // The set of arguments for constructing a VpcPublicGatewayIpReverseDns resource. type VpcPublicGatewayIpReverseDnsArgs struct { - // The public gateway IP ID + // The Public Gateway IP ID GatewayIpId pulumi.StringInput // The reverse domain name for this IP address Reverse pulumi.StringInput @@ -239,7 +239,7 @@ func (o VpcPublicGatewayIpReverseDnsOutput) ToVpcPublicGatewayIpReverseDnsOutput return o } -// The public gateway IP ID +// The Public Gateway IP ID func (o VpcPublicGatewayIpReverseDnsOutput) GatewayIpId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayIpReverseDns) pulumi.StringOutput { return v.GatewayIpId }).(pulumi.StringOutput) } diff --git a/sdk/go/scaleway/vpcPublicGatewayPatRule.go b/sdk/go/scaleway/vpcPublicGatewayPatRule.go index 60032acc..a9fc585f 100644 --- a/sdk/go/scaleway/vpcPublicGatewayPatRule.go +++ b/sdk/go/scaleway/vpcPublicGatewayPatRule.go @@ -12,8 +12,8 @@ import ( "github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/internal" ) -// Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation). -// For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). +// Creates and manages Scaleway Public Gateway PAT (Port Address Translation). +// For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). // // ## Example Usage // @@ -116,7 +116,7 @@ import ( // // ## Import // -// Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g. +// Public Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g. // // bash // @@ -126,23 +126,23 @@ import ( type VpcPublicGatewayPatRule struct { pulumi.CustomResourceState - // The date and time of the creation of the pat rule config. + // The date and time of the creation of the PAT rule configuration. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringOutput `pulumi:"gatewayId"` - // The organization ID the pat rule config is associated with. + // The Organization ID the PAT rule configuration is associated with. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // The Private port to translate to. + // The private port to translate to. PrivatePort pulumi.IntOutput `pulumi:"privatePort"` - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol pulumi.StringPtrOutput `pulumi:"protocol"` - // The Public port to listen on. + // The public port to listen on. PublicPort pulumi.IntOutput `pulumi:"publicPort"` - // The date and time of the last update of the pat rule config. + // The date and time of the last update of the PAT rule configuration. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringOutput `pulumi:"zone"` } @@ -188,44 +188,44 @@ func GetVpcPublicGatewayPatRule(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcPublicGatewayPatRule resources. type vpcPublicGatewayPatRuleState struct { - // The date and time of the creation of the pat rule config. + // The date and time of the creation of the PAT rule configuration. CreatedAt *string `pulumi:"createdAt"` - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId *string `pulumi:"gatewayId"` - // The organization ID the pat rule config is associated with. + // The Organization ID the PAT rule configuration is associated with. OrganizationId *string `pulumi:"organizationId"` - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp *string `pulumi:"privateIp"` - // The Private port to translate to. + // The private port to translate to. PrivatePort *int `pulumi:"privatePort"` - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol *string `pulumi:"protocol"` - // The Public port to listen on. + // The public port to listen on. PublicPort *int `pulumi:"publicPort"` - // The date and time of the last update of the pat rule config. + // The date and time of the last update of the PAT rule configuration. UpdatedAt *string `pulumi:"updatedAt"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone *string `pulumi:"zone"` } type VpcPublicGatewayPatRuleState struct { - // The date and time of the creation of the pat rule config. + // The date and time of the creation of the PAT rule configuration. CreatedAt pulumi.StringPtrInput - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringPtrInput - // The organization ID the pat rule config is associated with. + // The Organization ID the PAT rule configuration is associated with. OrganizationId pulumi.StringPtrInput - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp pulumi.StringPtrInput - // The Private port to translate to. + // The private port to translate to. PrivatePort pulumi.IntPtrInput - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol pulumi.StringPtrInput - // The Public port to listen on. + // The public port to listen on. PublicPort pulumi.IntPtrInput - // The date and time of the last update of the pat rule config. + // The date and time of the last update of the PAT rule configuration. UpdatedAt pulumi.StringPtrInput - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringPtrInput } @@ -234,33 +234,33 @@ func (VpcPublicGatewayPatRuleState) ElementType() reflect.Type { } type vpcPublicGatewayPatRuleArgs struct { - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId string `pulumi:"gatewayId"` - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp string `pulumi:"privateIp"` - // The Private port to translate to. + // The private port to translate to. PrivatePort int `pulumi:"privatePort"` - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol *string `pulumi:"protocol"` - // The Public port to listen on. + // The public port to listen on. PublicPort int `pulumi:"publicPort"` - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone *string `pulumi:"zone"` } // The set of arguments for constructing a VpcPublicGatewayPatRule resource. type VpcPublicGatewayPatRuleArgs struct { - // The ID of the public gateway. + // The ID of the Public Gateway. GatewayId pulumi.StringInput - // The Private IP to forward data to (IP address). + // The private IP address to forward data to. PrivateIp pulumi.StringInput - // The Private port to translate to. + // The private port to translate to. PrivatePort pulumi.IntInput - // The Protocol the rule should apply to. Possible values are both, tcp and udp. + // The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. Protocol pulumi.StringPtrInput - // The Public port to listen on. + // The public port to listen on. PublicPort pulumi.IntInput - // `zone`) The zone in which the public gateway DHCP config should be created. + // `zone`) The zone in which the Public Gateway DHCP configuration should be created. Zone pulumi.StringPtrInput } @@ -351,47 +351,47 @@ func (o VpcPublicGatewayPatRuleOutput) ToVpcPublicGatewayPatRuleOutputWithContex return o } -// The date and time of the creation of the pat rule config. +// The date and time of the creation of the PAT rule configuration. func (o VpcPublicGatewayPatRuleOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } -// The ID of the public gateway. +// The ID of the Public Gateway. func (o VpcPublicGatewayPatRuleOutput) GatewayId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.GatewayId }).(pulumi.StringOutput) } -// The organization ID the pat rule config is associated with. +// The Organization ID the PAT rule configuration is associated with. func (o VpcPublicGatewayPatRuleOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } -// The Private IP to forward data to (IP address). +// The private IP address to forward data to. func (o VpcPublicGatewayPatRuleOutput) PrivateIp() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) } -// The Private port to translate to. +// The private port to translate to. func (o VpcPublicGatewayPatRuleOutput) PrivatePort() pulumi.IntOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.IntOutput { return v.PrivatePort }).(pulumi.IntOutput) } -// The Protocol the rule should apply to. Possible values are both, tcp and udp. +// The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. func (o VpcPublicGatewayPatRuleOutput) Protocol() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringPtrOutput { return v.Protocol }).(pulumi.StringPtrOutput) } -// The Public port to listen on. +// The public port to listen on. func (o VpcPublicGatewayPatRuleOutput) PublicPort() pulumi.IntOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.IntOutput { return v.PublicPort }).(pulumi.IntOutput) } -// The date and time of the last update of the pat rule config. +// The date and time of the last update of the PAT rule configuration. func (o VpcPublicGatewayPatRuleOutput) UpdatedAt() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) } -// `zone`) The zone in which the public gateway DHCP config should be created. +// `zone`) The zone in which the Public Gateway DHCP configuration should be created. func (o VpcPublicGatewayPatRuleOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v *VpcPublicGatewayPatRule) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) } diff --git a/sdk/nodejs/appleSliconValleyServer.ts b/sdk/nodejs/appleSiliconServer.ts similarity index 81% rename from sdk/nodejs/appleSliconValleyServer.ts rename to sdk/nodejs/appleSiliconServer.ts index 461ed178..7d627b21 100644 --- a/sdk/nodejs/appleSliconValleyServer.ts +++ b/sdk/nodejs/appleSiliconServer.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const server = new scaleway.AppleSliconValleyServer("server", {type: "M1-M"}); + * const server = new scaleway.AppleSiliconServer("server", {type: "M1-M"}); * ``` * * ## Import @@ -26,12 +26,12 @@ import * as utilities from "./utilities"; * bash * * ```sh - * $ pulumi import scaleway:index/appleSliconValleyServer:AppleSliconValleyServer main fr-par-1/11111111-1111-1111-1111-111111111111 + * $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 * ``` */ -export class AppleSliconValleyServer extends pulumi.CustomResource { +export class AppleSiliconServer extends pulumi.CustomResource { /** - * Get an existing AppleSliconValleyServer resource's state with the given name, ID, and optional extra + * Get an existing AppleSiliconServer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. @@ -39,22 +39,22 @@ export class AppleSliconValleyServer extends pulumi.CustomResource { * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ - public static get(name: string, id: pulumi.Input, state?: AppleSliconValleyServerState, opts?: pulumi.CustomResourceOptions): AppleSliconValleyServer { - return new AppleSliconValleyServer(name, state, { ...opts, id: id }); + public static get(name: string, id: pulumi.Input, state?: AppleSiliconServerState, opts?: pulumi.CustomResourceOptions): AppleSiliconServer { + return new AppleSiliconServer(name, state, { ...opts, id: id }); } /** @internal */ - public static readonly __pulumiType = 'scaleway:index/appleSliconValleyServer:AppleSliconValleyServer'; + public static readonly __pulumiType = 'scaleway:index/appleSiliconServer:AppleSiliconServer'; /** - * Returns true if the given object is an instance of AppleSliconValleyServer. This is designed to work even + * Returns true if the given object is an instance of AppleSiliconServer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ - public static isInstance(obj: any): obj is AppleSliconValleyServer { + public static isInstance(obj: any): obj is AppleSiliconServer { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === AppleSliconValleyServer.__pulumiType; + return obj['__pulumiType'] === AppleSiliconServer.__pulumiType; } /** @@ -107,18 +107,18 @@ export class AppleSliconValleyServer extends pulumi.CustomResource { public readonly zone!: pulumi.Output; /** - * Create a AppleSliconValleyServer resource with the given unique name, arguments, and options. + * Create a AppleSiliconServer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: AppleSliconValleyServerArgs, opts?: pulumi.CustomResourceOptions) - constructor(name: string, argsOrState?: AppleSliconValleyServerArgs | AppleSliconValleyServerState, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args: AppleSiliconServerArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AppleSiliconServerArgs | AppleSiliconServerState, opts?: pulumi.CustomResourceOptions) { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { - const state = argsOrState as AppleSliconValleyServerState | undefined; + const state = argsOrState as AppleSiliconServerState | undefined; resourceInputs["createdAt"] = state ? state.createdAt : undefined; resourceInputs["deletableAt"] = state ? state.deletableAt : undefined; resourceInputs["ip"] = state ? state.ip : undefined; @@ -131,7 +131,7 @@ export class AppleSliconValleyServer extends pulumi.CustomResource { resourceInputs["vncUrl"] = state ? state.vncUrl : undefined; resourceInputs["zone"] = state ? state.zone : undefined; } else { - const args = argsOrState as AppleSliconValleyServerArgs | undefined; + const args = argsOrState as AppleSiliconServerArgs | undefined; if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } @@ -148,14 +148,14 @@ export class AppleSliconValleyServer extends pulumi.CustomResource { resourceInputs["vncUrl"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(AppleSliconValleyServer.__pulumiType, name, resourceInputs, opts); + super(AppleSiliconServer.__pulumiType, name, resourceInputs, opts); } } /** - * Input properties used for looking up and filtering AppleSliconValleyServer resources. + * Input properties used for looking up and filtering AppleSiliconServer resources. */ -export interface AppleSliconValleyServerState { +export interface AppleSiliconServerState { /** * The date and time of the creation of the Apple Silicon server. */ @@ -207,9 +207,9 @@ export interface AppleSliconValleyServerState { } /** - * The set of arguments for constructing a AppleSliconValleyServer resource. + * The set of arguments for constructing a AppleSiliconServer resource. */ -export interface AppleSliconValleyServerArgs { +export interface AppleSiliconServerArgs { /** * The name of the server. */ diff --git a/sdk/nodejs/blockSnapshot.ts b/sdk/nodejs/blockSnapshot.ts index 55b6d9a8..88e4abc1 100644 --- a/sdk/nodejs/blockSnapshot.ts +++ b/sdk/nodejs/blockSnapshot.ts @@ -14,7 +14,11 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: "11111111-1111-1111-1111-111111111111"}); + * const blockVolume = new scaleway.BlockVolume("blockVolume", { + * iops: 5000, + * sizeInGb: 20, + * }); + * const blockSnapshot = new scaleway.BlockSnapshot("blockSnapshot", {volumeId: blockVolume.id}); * ``` * * ## Import diff --git a/sdk/nodejs/blockVolume.ts b/sdk/nodejs/blockVolume.ts index a27260bf..ee41e3d1 100644 --- a/sdk/nodejs/blockVolume.ts +++ b/sdk/nodejs/blockVolume.ts @@ -10,6 +10,8 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * ### Basic + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; @@ -20,6 +22,23 @@ import * as utilities from "./utilities"; * }); * ``` * + * ### With snapshot + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumiverse/scaleway"; + * + * const base = new scaleway.BlockVolume("base", { + * iops: 5000, + * sizeInGb: 20, + * }); + * const mainBlockSnapshot = new scaleway.BlockSnapshot("mainBlockSnapshot", {volumeId: base.id}); + * const mainBlockVolume = new scaleway.BlockVolume("mainBlockVolume", { + * iops: 5000, + * snapshotId: mainBlockSnapshot.id, + * }); + * ``` + * * ## Import * * Block Volumes can be imported using the `{zone}/{id}`, e.g. diff --git a/sdk/nodejs/database.ts b/sdk/nodejs/database.ts index fa28e643..5c863760 100644 --- a/sdk/nodejs/database.ts +++ b/sdk/nodejs/database.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway RDB database. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + * Creates and manages databases. + * For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). * * ## Example Usage * @@ -16,7 +16,15 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const main = new scaleway.Database("main", {instanceId: scaleway_rdb_instance.main.id}); + * const mainDatabaseInstance = new scaleway.DatabaseInstance("mainDatabaseInstance", { + * nodeType: "DB-DEV-S", + * engine: "PostgreSQL-15", + * isHaCluster: true, + * disableBackup: true, + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * }); + * const mainDatabase = new scaleway.Database("mainDatabase", {instanceId: mainDatabaseInstance.id}); * ``` * * ## Import @@ -58,9 +66,9 @@ export class Database extends pulumi.CustomResource { } /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database. + * > **Important:** Updates to `instanceId` will recreate the database. */ public readonly instanceId!: pulumi.Output; /** @@ -125,9 +133,9 @@ export class Database extends pulumi.CustomResource { */ export interface DatabaseState { /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database. + * > **Important:** Updates to `instanceId` will recreate the database. */ instanceId?: pulumi.Input; /** @@ -157,9 +165,9 @@ export interface DatabaseState { */ export interface DatabaseArgs { /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database. + * > **Important:** Updates to `instanceId` will recreate the database. */ instanceId: pulumi.Input; /** diff --git a/sdk/nodejs/databaseAcl.ts b/sdk/nodejs/databaseAcl.ts index e6588545..cf097df4 100644 --- a/sdk/nodejs/databaseAcl.ts +++ b/sdk/nodejs/databaseAcl.ts @@ -8,7 +8,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway Database instance authorized IPs. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). + * For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). * * ## Example Usage * @@ -18,8 +18,16 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const main = new scaleway.DatabaseAcl("main", { - * instanceId: scaleway_rdb_instance.main.id, + * const mainDatabaseInstance = new scaleway.DatabaseInstance("mainDatabaseInstance", { + * nodeType: "DB-DEV-S", + * engine: "PostgreSQL-15", + * isHaCluster: true, + * disableBackup: true, + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * }); + * const mainDatabaseAcl = new scaleway.DatabaseAcl("mainDatabaseAcl", { + * instanceId: mainDatabaseInstance.id, * aclRules: [{ * ip: "1.2.3.4/32", * description: "foo", @@ -70,7 +78,7 @@ export class DatabaseAcl extends pulumi.CustomResource { */ public readonly aclRules!: pulumi.Output; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * * > **Important:** Updates to `instanceId` will recreate the Database ACL. */ @@ -122,7 +130,7 @@ export interface DatabaseAclState { */ aclRules?: pulumi.Input[]>; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * * > **Important:** Updates to `instanceId` will recreate the Database ACL. */ @@ -142,7 +150,7 @@ export interface DatabaseAclArgs { */ aclRules: pulumi.Input[]>; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * * > **Important:** Updates to `instanceId` will recreate the Database ACL. */ diff --git a/sdk/nodejs/databaseBackup.ts b/sdk/nodejs/databaseBackup.ts index a1b2a385..f687726e 100644 --- a/sdk/nodejs/databaseBackup.ts +++ b/sdk/nodejs/databaseBackup.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway RDB database backup. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + * Creates and manages database backups. + * For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). * * ## Example Usage * @@ -16,9 +16,18 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const main = new scaleway.DatabaseBackup("main", { - * instanceId: data.scaleway_rdb_instance.main.id, - * databaseName: data.scaleway_rdb_database.main.name, + * const mainDatabaseInstance = new scaleway.DatabaseInstance("mainDatabaseInstance", { + * nodeType: "DB-DEV-S", + * engine: "PostgreSQL-15", + * isHaCluster: true, + * disableBackup: true, + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * }); + * const mainDatabase = new scaleway.Database("mainDatabase", {instanceId: mainDatabaseInstance.id}); + * const mainDatabaseBackup = new scaleway.DatabaseBackup("mainDatabaseBackup", { + * instanceId: mainDatabaseInstance.id, + * databaseName: mainDatabase.name, * }); * ``` * @@ -37,7 +46,7 @@ import * as utilities from "./utilities"; * * ## Import * - * RDB Database can be imported using the `{region}/{id}`, e.g. + * Databases can be imported using the `{region}/{id}`, e.g. * * bash * @@ -88,9 +97,9 @@ export class DatabaseBackup extends pulumi.CustomResource { */ public readonly expiresAt!: pulumi.Output; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Backup. + * > **Important:** Updates to `instanceId` will recreate the backup. */ public readonly instanceId!: pulumi.Output; /** @@ -178,9 +187,9 @@ export interface DatabaseBackupState { */ expiresAt?: pulumi.Input; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Backup. + * > **Important:** Updates to `instanceId` will recreate the backup. */ instanceId?: pulumi.Input; /** @@ -220,9 +229,9 @@ export interface DatabaseBackupArgs { */ expiresAt?: pulumi.Input; /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Backup. + * > **Important:** Updates to `instanceId` will recreate the backup. */ instanceId: pulumi.Input; /** diff --git a/sdk/nodejs/databaseInstance.ts b/sdk/nodejs/databaseInstance.ts index 3f8845f7..f347e090 100644 --- a/sdk/nodejs/databaseInstance.ts +++ b/sdk/nodejs/databaseInstance.ts @@ -8,7 +8,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway Database Instances. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + * For more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). * * ## Example Usage * @@ -85,11 +85,11 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### Examples of endpoints configuration + * ### Examples of endpoint configuration * - * RDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none. + * Database Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none. * - * ### 1 static private network endpoint + * ### 1 static Private Network endpoint * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -108,7 +108,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### 1 IPAM private network endpoint + 1 public endpoint + * ### 1 IPAM Private Network endpoint + 1 public endpoint * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -138,11 +138,11 @@ import * as utilities from "./utilities"; * }); * ``` * - * > If nothing is defined, your instance will have a default public load-balancer endpoint + * > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint. * * ## Limitations * - * The Managed Database product is only compliant with the private network in the default availability zone (AZ). + * The Managed Database product is only compliant with the Private Network in the default availability zone (AZ). * i.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our * section [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/) * @@ -197,7 +197,7 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public readonly backupScheduleRetention!: pulumi.Output; /** - * Certificate of the database instance. + * Certificate of the Database Instance. */ public /*out*/ readonly certificate!: pulumi.Output; /** @@ -217,7 +217,7 @@ export class DatabaseInstance extends pulumi.CustomResource { /** * Database Instance's engine version (e.g. `PostgreSQL-11`). * - * > **Important:** Updates to `engine` will recreate the Database Instance. + * > **Important** Updates to `engine` will recreate the Database Instance. */ public readonly engine!: pulumi.Output; /** @@ -225,13 +225,13 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public readonly initSettings!: pulumi.Output<{[key: string]: string} | undefined>; /** - * Enable or disable high availability for the database instance. + * Enable or disable high availability for the Database Instance. * - * > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + * > **Important** Updates to `isHaCluster` will recreate the Database Instance. */ public readonly isHaCluster!: pulumi.Output; /** - * List of load balancer endpoints of the database instance. + * List of Load Balancer endpoints of the Database Instance. */ public readonly loadBalancers!: pulumi.Output; /** @@ -243,13 +243,12 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * The type of database instance you want to create (e.g. `db-dev-s`). + * The type of Database Instance you want to create (e.g. `db-dev-s`). * - * > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + * > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any * interruption. * - * > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - * and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. */ public readonly nodeType!: pulumi.Output; /** @@ -257,11 +256,11 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * Password for the first user of the database instance. + * Password for the first user of the Database Instance. */ public readonly password!: pulumi.Output; /** - * List of private networks endpoints of the database instance. + * List of Private Networks endpoints of the Database Instance. */ public readonly privateNetwork!: pulumi.Output; /** @@ -270,7 +269,7 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public readonly projectId!: pulumi.Output; /** - * List of read replicas of the database instance. + * List of read replicas of the Database Instance. */ public /*out*/ readonly readReplicas!: pulumi.Output; /** @@ -287,15 +286,15 @@ export class DatabaseInstance extends pulumi.CustomResource { */ public readonly tags!: pulumi.Output; /** - * Identifier for the first user of the database instance. + * Identifier for the first user of the Database Instance. * - * > **Important:** Updates to `userName` will recreate the Database Instance. + * > **Important** Updates to `userName` will recreate the Database Instance. */ public readonly userName!: pulumi.Output; /** * Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. * - * > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. */ public readonly volumeSizeInGb!: pulumi.Output; /** @@ -399,7 +398,7 @@ export interface DatabaseInstanceState { */ backupScheduleRetention?: pulumi.Input; /** - * Certificate of the database instance. + * Certificate of the Database Instance. */ certificate?: pulumi.Input; /** @@ -419,7 +418,7 @@ export interface DatabaseInstanceState { /** * Database Instance's engine version (e.g. `PostgreSQL-11`). * - * > **Important:** Updates to `engine` will recreate the Database Instance. + * > **Important** Updates to `engine` will recreate the Database Instance. */ engine?: pulumi.Input; /** @@ -427,13 +426,13 @@ export interface DatabaseInstanceState { */ initSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Enable or disable high availability for the database instance. + * Enable or disable high availability for the Database Instance. * - * > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + * > **Important** Updates to `isHaCluster` will recreate the Database Instance. */ isHaCluster?: pulumi.Input; /** - * List of load balancer endpoints of the database instance. + * List of Load Balancer endpoints of the Database Instance. */ loadBalancers?: pulumi.Input[]>; /** @@ -445,13 +444,12 @@ export interface DatabaseInstanceState { */ name?: pulumi.Input; /** - * The type of database instance you want to create (e.g. `db-dev-s`). + * The type of Database Instance you want to create (e.g. `db-dev-s`). * - * > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + * > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any * interruption. * - * > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - * and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. */ nodeType?: pulumi.Input; /** @@ -459,11 +457,11 @@ export interface DatabaseInstanceState { */ organizationId?: pulumi.Input; /** - * Password for the first user of the database instance. + * Password for the first user of the Database Instance. */ password?: pulumi.Input; /** - * List of private networks endpoints of the database instance. + * List of Private Networks endpoints of the Database Instance. */ privateNetwork?: pulumi.Input; /** @@ -472,7 +470,7 @@ export interface DatabaseInstanceState { */ projectId?: pulumi.Input; /** - * List of read replicas of the database instance. + * List of read replicas of the Database Instance. */ readReplicas?: pulumi.Input[]>; /** @@ -489,15 +487,15 @@ export interface DatabaseInstanceState { */ tags?: pulumi.Input[]>; /** - * Identifier for the first user of the database instance. + * Identifier for the first user of the Database Instance. * - * > **Important:** Updates to `userName` will recreate the Database Instance. + * > **Important** Updates to `userName` will recreate the Database Instance. */ userName?: pulumi.Input; /** * Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. * - * > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. */ volumeSizeInGb?: pulumi.Input; /** @@ -529,7 +527,7 @@ export interface DatabaseInstanceArgs { /** * Database Instance's engine version (e.g. `PostgreSQL-11`). * - * > **Important:** Updates to `engine` will recreate the Database Instance. + * > **Important** Updates to `engine` will recreate the Database Instance. */ engine: pulumi.Input; /** @@ -537,13 +535,13 @@ export interface DatabaseInstanceArgs { */ initSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Enable or disable high availability for the database instance. + * Enable or disable high availability for the Database Instance. * - * > **Important:** Updates to `isHaCluster` will recreate the Database Instance. + * > **Important** Updates to `isHaCluster` will recreate the Database Instance. */ isHaCluster?: pulumi.Input; /** - * List of load balancer endpoints of the database instance. + * List of Load Balancer endpoints of the Database Instance. */ loadBalancers?: pulumi.Input[]>; /** @@ -555,21 +553,20 @@ export interface DatabaseInstanceArgs { */ name?: pulumi.Input; /** - * The type of database instance you want to create (e.g. `db-dev-s`). + * The type of Database Instance you want to create (e.g. `db-dev-s`). * - * > **Important:** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any + * > **Important** Updates to `nodeType` will upgrade the Database Instance to the desired `nodeType` without any * interruption. * - * > **Important:** Once your instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the node_type, - * and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, if you are using `lssd` storage, you should upgrade the `nodeType`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. */ nodeType: pulumi.Input; /** - * Password for the first user of the database instance. + * Password for the first user of the Database Instance. */ password?: pulumi.Input; /** - * List of private networks endpoints of the database instance. + * List of Private Networks endpoints of the Database Instance. */ privateNetwork?: pulumi.Input; /** @@ -591,15 +588,15 @@ export interface DatabaseInstanceArgs { */ tags?: pulumi.Input[]>; /** - * Identifier for the first user of the database instance. + * Identifier for the first user of the Database Instance. * - * > **Important:** Updates to `userName` will recreate the Database Instance. + * > **Important** Updates to `userName` will recreate the Database Instance. */ userName?: pulumi.Input; /** * Volume size (in GB). Cannot be used when `volumeType` is set to `lssd`. * - * > **Important:** Once your instance reaches `diskFull` status, you should increase the volume size before making any other change to your instance. + * > **Important** Once your Database Instance reaches `diskFull` status, you should increase the volume size before making any other change to your Database Instance. */ volumeSizeInGb?: pulumi.Input; /** diff --git a/sdk/nodejs/databasePrivilege.ts b/sdk/nodejs/databasePrivilege.ts index 8adaeb86..06e03ee6 100644 --- a/sdk/nodejs/databasePrivilege.ts +++ b/sdk/nodejs/databasePrivilege.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Create and manage Scaleway RDB database privilege. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). + * Create and manage Scaleway database privileges. + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). * * ## Example Usage * @@ -79,7 +79,7 @@ export class DatabasePrivilege extends pulumi.CustomResource { */ public readonly databaseName!: pulumi.Output; /** - * UUID of the rdb instance. + * UUID of the Database Instance. */ public readonly instanceId!: pulumi.Output; /** @@ -147,7 +147,7 @@ export interface DatabasePrivilegeState { */ databaseName?: pulumi.Input; /** - * UUID of the rdb instance. + * UUID of the Database Instance. */ instanceId?: pulumi.Input; /** @@ -173,7 +173,7 @@ export interface DatabasePrivilegeArgs { */ databaseName: pulumi.Input; /** - * UUID of the rdb instance. + * UUID of the Database Instance. */ instanceId: pulumi.Input; /** diff --git a/sdk/nodejs/databaseReadReplica.ts b/sdk/nodejs/databaseReadReplica.ts index ee44f692..7fbc0712 100644 --- a/sdk/nodejs/databaseReadReplica.ts +++ b/sdk/nodejs/databaseReadReplica.ts @@ -7,8 +7,8 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Database read replicas. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + * Creates and manages Read Replicas. + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). * * ## Example Usage * @@ -87,7 +87,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Database Read replica can be imported using the `{region}/{id}`, e.g. + * Read Replicas can be imported using the `{region}/{id}`, e.g. * * bash * @@ -130,16 +130,16 @@ export class DatabaseReadReplica extends pulumi.CustomResource { /** * UUID of the rdb instance. * - * > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + * > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. */ public readonly instanceId!: pulumi.Output; /** - * Create an endpoint in a private network. + * Create an endpoint in a Private Netork. */ public readonly privateNetwork!: pulumi.Output; /** * `region`) The region - * in which the Database read replica should be created. + * in which the Read Replica should be created. */ public readonly region!: pulumi.Output; /** @@ -192,16 +192,16 @@ export interface DatabaseReadReplicaState { /** * UUID of the rdb instance. * - * > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + * > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. */ instanceId?: pulumi.Input; /** - * Create an endpoint in a private network. + * Create an endpoint in a Private Netork. */ privateNetwork?: pulumi.Input; /** * `region`) The region - * in which the Database read replica should be created. + * in which the Read Replica should be created. */ region?: pulumi.Input; /** @@ -221,16 +221,16 @@ export interface DatabaseReadReplicaArgs { /** * UUID of the rdb instance. * - * > **Important:** The replica musts contains at least one of `directAccess` or `privateNetwork`. It can contain both. + * > **Important:** The replica musts contains at least one `directAccess` or `privateNetwork`. It can contain both. */ instanceId: pulumi.Input; /** - * Create an endpoint in a private network. + * Create an endpoint in a Private Netork. */ privateNetwork?: pulumi.Input; /** * `region`) The region - * in which the Database read replica should be created. + * in which the Read Replica should be created. */ region?: pulumi.Input; /** diff --git a/sdk/nodejs/databaseUser.ts b/sdk/nodejs/databaseUser.ts index dd44aeb1..b2c13484 100644 --- a/sdk/nodejs/databaseUser.ts +++ b/sdk/nodejs/databaseUser.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Database Users. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + * Creates and manages database users. + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). * * ## Example Usage * @@ -17,12 +17,20 @@ import * as utilities from "./utilities"; * import * as random from "@pulumi/random"; * import * as scaleway from "@pulumiverse/scaleway"; * + * const main = new scaleway.DatabaseInstance("main", { + * nodeType: "DB-DEV-S", + * engine: "PostgreSQL-15", + * isHaCluster: true, + * disableBackup: true, + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * }); * const dbPassword = new random.RandomPassword("dbPassword", { * length: 16, * special: true, * }); * const dbAdmin = new scaleway.DatabaseUser("dbAdmin", { - * instanceId: scaleway_rdb_instance.main.id, + * instanceId: main.id, * password: dbPassword.result, * isAdmin: true, * }); @@ -30,7 +38,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g. + * Database users can be imported using `{region}/{instance_id}/{user_name}`, e.g. * * bash * @@ -67,23 +75,23 @@ export class DatabaseUser extends pulumi.CustomResource { } /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database User. + * > **Important:** Updates to `instanceId` will recreate the database user. */ public readonly instanceId!: pulumi.Output; /** - * Grant admin permissions to the Database User. + * Grant admin permissions to the database user. */ public readonly isAdmin!: pulumi.Output; /** - * Database User name. + * database user name. * - * > **Important:** Updates to `name` will recreate the Database User. + * > **Important:** Updates to `name` will recreate the database user. */ public readonly name!: pulumi.Output; /** - * Database User password. + * database user password. */ public readonly password!: pulumi.Output; /** @@ -135,23 +143,23 @@ export class DatabaseUser extends pulumi.CustomResource { */ export interface DatabaseUserState { /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database User. + * > **Important:** Updates to `instanceId` will recreate the database user. */ instanceId?: pulumi.Input; /** - * Grant admin permissions to the Database User. + * Grant admin permissions to the database user. */ isAdmin?: pulumi.Input; /** - * Database User name. + * database user name. * - * > **Important:** Updates to `name` will recreate the Database User. + * > **Important:** Updates to `name` will recreate the database user. */ name?: pulumi.Input; /** - * Database User password. + * database user password. */ password?: pulumi.Input; /** @@ -165,23 +173,23 @@ export interface DatabaseUserState { */ export interface DatabaseUserArgs { /** - * UUID of the rdb instance. + * UUID of the Database Instance. * - * > **Important:** Updates to `instanceId` will recreate the Database User. + * > **Important:** Updates to `instanceId` will recreate the database user. */ instanceId: pulumi.Input; /** - * Grant admin permissions to the Database User. + * Grant admin permissions to the database user. */ isAdmin?: pulumi.Input; /** - * Database User name. + * database user name. * - * > **Important:** Updates to `name` will recreate the Database User. + * > **Important:** Updates to `name` will recreate the database user. */ name?: pulumi.Input; /** - * Database User password. + * database user password. */ password: pulumi.Input; /** diff --git a/sdk/nodejs/documentdbDatabase.ts b/sdk/nodejs/documentdbDatabase.ts index ad2f49d5..ff1b294f 100644 --- a/sdk/nodejs/documentdbDatabase.ts +++ b/sdk/nodejs/documentdbDatabase.ts @@ -15,7 +15,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const main = new scaleway.DocumentdbDatabase("main", {instanceId: "11111111-1111-1111-1111-111111111111"}); + * const instance = new scaleway.DocumentdbInstance("instance", { + * nodeType: "docdb-play2-pico", + * engine: "FerretDB-1", + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * volumeSizeInGb: 20, + * }); + * const main = new scaleway.DocumentdbDatabase("main", {instanceId: instance.id}); * ``` * * ## Import diff --git a/sdk/nodejs/documentdbPrivateNetworkEndpoint.ts b/sdk/nodejs/documentdbPrivateNetworkEndpoint.ts index 5546f733..ed758ad6 100644 --- a/sdk/nodejs/documentdbPrivateNetworkEndpoint.ts +++ b/sdk/nodejs/documentdbPrivateNetworkEndpoint.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** @@ -9,6 +11,31 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * ### Example Basic + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumiverse/scaleway"; + * + * const pn = new scaleway.VpcPrivateNetwork("pn", {}); + * const instance = new scaleway.DocumentdbInstance("instance", { + * nodeType: "docdb-play2-pico", + * engine: "FerretDB-1", + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * volumeSizeInGb: 20, + * }); + * const main = new scaleway.DocumentdbPrivateNetworkEndpoint("main", { + * instanceId: instance.id, + * privateNetwork: { + * ipNet: "172.16.32.3/22", + * id: pn.id, + * }, + * }, { + * dependsOn: [pn], + * }); + * ``` + * * ## Import * * Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g. @@ -47,44 +74,23 @@ export class DocumentdbPrivateNetworkEndpoint extends pulumi.CustomResource { return obj['__pulumiType'] === DocumentdbPrivateNetworkEndpoint.__pulumiType; } - /** - * Hostname of the endpoint. - */ - public /*out*/ readonly hostname!: pulumi.Output; /** * UUID of the documentdb instance. */ public readonly instanceId!: pulumi.Output; /** - * IPv4 address on the network. + * The private network specs details. This is a list with maximum one element and supports the following attributes: */ - public /*out*/ readonly ip!: pulumi.Output; + public readonly privateNetwork!: pulumi.Output; /** - * The IP network address within the private subnet. This must be an IPv4 address with a - * CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - * service if not set. - */ - public readonly ipNet!: pulumi.Output; - /** - * Name of the endpoint. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Port in the Private Network. - */ - public readonly port!: pulumi.Output; - /** - * The ID of the private network. - */ - public readonly privateNetworkId!: pulumi.Output; - /** - * The region you want to attach the resource to + * The region of the endpoint. + * + * + * > **NOTE:** Please calculate your host IP. + * using cirhost. Otherwise, lets IPAM service + * handle the host IP on the network. */ public readonly region!: pulumi.Output; - /** - * The zone you want to attach the resource to - */ - public readonly zone!: pulumi.Output; /** * Create a DocumentdbPrivateNetworkEndpoint resource with the given unique name, arguments, and options. @@ -99,32 +105,17 @@ export class DocumentdbPrivateNetworkEndpoint extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as DocumentdbPrivateNetworkEndpointState | undefined; - resourceInputs["hostname"] = state ? state.hostname : undefined; resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["ip"] = state ? state.ip : undefined; - resourceInputs["ipNet"] = state ? state.ipNet : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["privateNetworkId"] = state ? state.privateNetworkId : undefined; + resourceInputs["privateNetwork"] = state ? state.privateNetwork : undefined; resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["zone"] = state ? state.zone : undefined; } else { const args = argsOrState as DocumentdbPrivateNetworkEndpointArgs | undefined; if ((!args || args.instanceId === undefined) && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.privateNetworkId === undefined) && !opts.urn) { - throw new Error("Missing required property 'privateNetworkId'"); - } resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["ipNet"] = args ? args.ipNet : undefined; - resourceInputs["port"] = args ? args.port : undefined; - resourceInputs["privateNetworkId"] = args ? args.privateNetworkId : undefined; + resourceInputs["privateNetwork"] = args ? args.privateNetwork : undefined; resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["zone"] = args ? args.zone : undefined; - resourceInputs["hostname"] = undefined /*out*/; - resourceInputs["ip"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(DocumentdbPrivateNetworkEndpoint.__pulumiType, name, resourceInputs, opts); @@ -135,44 +126,23 @@ export class DocumentdbPrivateNetworkEndpoint extends pulumi.CustomResource { * Input properties used for looking up and filtering DocumentdbPrivateNetworkEndpoint resources. */ export interface DocumentdbPrivateNetworkEndpointState { - /** - * Hostname of the endpoint. - */ - hostname?: pulumi.Input; /** * UUID of the documentdb instance. */ instanceId?: pulumi.Input; /** - * IPv4 address on the network. + * The private network specs details. This is a list with maximum one element and supports the following attributes: */ - ip?: pulumi.Input; + privateNetwork?: pulumi.Input; /** - * The IP network address within the private subnet. This must be an IPv4 address with a - * CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - * service if not set. - */ - ipNet?: pulumi.Input; - /** - * Name of the endpoint. - */ - name?: pulumi.Input; - /** - * Port in the Private Network. - */ - port?: pulumi.Input; - /** - * The ID of the private network. - */ - privateNetworkId?: pulumi.Input; - /** - * The region you want to attach the resource to + * The region of the endpoint. + * + * + * > **NOTE:** Please calculate your host IP. + * using cirhost. Otherwise, lets IPAM service + * handle the host IP on the network. */ region?: pulumi.Input; - /** - * The zone you want to attach the resource to - */ - zone?: pulumi.Input; } /** @@ -184,25 +154,16 @@ export interface DocumentdbPrivateNetworkEndpointArgs { */ instanceId: pulumi.Input; /** - * The IP network address within the private subnet. This must be an IPv4 address with a - * CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - * service if not set. - */ - ipNet?: pulumi.Input; - /** - * Port in the Private Network. - */ - port?: pulumi.Input; - /** - * The ID of the private network. + * The private network specs details. This is a list with maximum one element and supports the following attributes: */ - privateNetworkId: pulumi.Input; + privateNetwork?: pulumi.Input; /** - * The region you want to attach the resource to + * The region of the endpoint. + * + * + * > **NOTE:** Please calculate your host IP. + * using cirhost. Otherwise, lets IPAM service + * handle the host IP on the network. */ region?: pulumi.Input; - /** - * The zone you want to attach the resource to - */ - zone?: pulumi.Input; } diff --git a/sdk/nodejs/documentdbPrivilege.ts b/sdk/nodejs/documentdbPrivilege.ts index 51ae54b7..2981de2d 100644 --- a/sdk/nodejs/documentdbPrivilege.ts +++ b/sdk/nodejs/documentdbPrivilege.ts @@ -13,11 +13,18 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * + * const instance = new scaleway.DocumentdbInstance("instance", { + * nodeType: "docdb-play2-pico", + * engine: "FerretDB-1", + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * volumeSizeInGb: 20, + * }); * const main = new scaleway.DocumentdbPrivilege("main", { + * instanceId: instance.id, + * userName: "my-db-user", * databaseName: "my-db-name", - * instanceId: "11111111-1111-1111-1111-111111111111", * permission: "all", - * userName: "my-db-user", * }); * ``` * diff --git a/sdk/nodejs/documentdbReadReplica.ts b/sdk/nodejs/documentdbReadReplica.ts index 4c1103fe..caef5996 100644 --- a/sdk/nodejs/documentdbReadReplica.ts +++ b/sdk/nodejs/documentdbReadReplica.ts @@ -30,8 +30,15 @@ import * as utilities from "./utilities"; * import * as scaleway from "@pulumiverse/scaleway"; * * const pn = new scaleway.VpcPrivateNetwork("pn", {}); + * const instance = new scaleway.DocumentdbInstance("instance", { + * nodeType: "docdb-play2-pico", + * engine: "FerretDB-1", + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * volumeSizeInGb: 20, + * }); * const replica = new scaleway.DocumentdbReadReplica("replica", { - * instanceId: scaleway_rdb_instance.instance.id, + * instanceId: instance.id, * privateNetwork: { * privateNetworkId: pn.id, * serviceIp: "192.168.1.254/24", diff --git a/sdk/nodejs/documentdbUser.ts b/sdk/nodejs/documentdbUser.ts index 852a5c75..a07ea776 100644 --- a/sdk/nodejs/documentdbUser.ts +++ b/sdk/nodejs/documentdbUser.ts @@ -16,12 +16,19 @@ import * as utilities from "./utilities"; * import * as random from "@pulumi/random"; * import * as scaleway from "@pulumiverse/scaleway"; * + * const instance = new scaleway.DocumentdbInstance("instance", { + * nodeType: "docdb-play2-pico", + * engine: "FerretDB-1", + * userName: "my_initial_user", + * password: "thiZ_is_v&ry_s3cret", + * volumeSizeInGb: 20, + * }); * const dbPassword = new random.RandomPassword("dbPassword", { * length: 16, * special: true, * }); * const dbAdmin = new scaleway.DocumentdbUser("dbAdmin", { - * instanceId: "11111111-1111-1111-1111-111111111111", + * instanceId: instance.id, * password: dbPassword.result, * isAdmin: true, * }); diff --git a/sdk/nodejs/function.ts b/sdk/nodejs/function.ts index 87ff67a5..9883210f 100644 --- a/sdk/nodejs/function.ts +++ b/sdk/nodejs/function.ts @@ -107,7 +107,7 @@ export class Function extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * The namespace ID the function is associated with. + * The function namespace ID of the function. */ public readonly namespaceId!: pulumi.Output; /** @@ -272,7 +272,7 @@ export interface FunctionState { */ name?: pulumi.Input; /** - * The namespace ID the function is associated with. + * The function namespace ID of the function. */ namespaceId?: pulumi.Input; /** @@ -353,7 +353,7 @@ export interface FunctionArgs { */ name?: pulumi.Input; /** - * The namespace ID the function is associated with. + * The function namespace ID of the function. */ namespaceId: pulumi.Input; /** diff --git a/sdk/nodejs/functionTrigger.ts b/sdk/nodejs/functionTrigger.ts index cad5a2a4..b5948215 100644 --- a/sdk/nodejs/functionTrigger.ts +++ b/sdk/nodejs/functionTrigger.ts @@ -28,6 +28,22 @@ import * as utilities from "./utilities"; * }); * ``` * + * ### Nats + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumiverse/scaleway"; + * + * const main = new scaleway.FunctionTrigger("main", { + * functionId: scaleway_function.main.id, + * nats: { + * accountId: scaleway_mnq_nats_account.main.id, + * subject: "MySubject", + * region: scaleway_mnq_nats_account.main.region, + * }, + * }); + * ``` + * * ## Import * * Function Triggers can be imported using the `{region}/{id}`, e.g. diff --git a/sdk/nodejs/getAccountSshKey.ts b/sdk/nodejs/getAccountSshKey.ts index 513c0a62..52a48ae5 100644 --- a/sdk/nodejs/getAccountSshKey.ts +++ b/sdk/nodejs/getAccountSshKey.ts @@ -34,7 +34,7 @@ export function getAccountSshKey(args?: GetAccountSshKeyArgs, opts?: pulumi.Invo */ export interface GetAccountSshKeyArgs { /** - * The SSH key name. Only one of `name` and `sshKeyId` should be specified. + * The SSH key name. */ name?: string; /** @@ -42,7 +42,9 @@ export interface GetAccountSshKeyArgs { */ projectId?: string; /** - * The SSH key id. Only one of `name` and `sshKeyId` should be specified. + * The SSH key id. + * + * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: string; } @@ -94,7 +96,7 @@ export function getAccountSshKeyOutput(args?: GetAccountSshKeyOutputArgs, opts?: */ export interface GetAccountSshKeyOutputArgs { /** - * The SSH key name. Only one of `name` and `sshKeyId` should be specified. + * The SSH key name. */ name?: pulumi.Input; /** @@ -102,7 +104,9 @@ export interface GetAccountSshKeyOutputArgs { */ projectId?: pulumi.Input; /** - * The SSH key id. Only one of `name` and `sshKeyId` should be specified. + * The SSH key id. + * + * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input; } diff --git a/sdk/nodejs/getBillingConsumptions.ts b/sdk/nodejs/getBillingConsumptions.ts index 94c3f31d..478d3bb8 100644 --- a/sdk/nodejs/getBillingConsumptions.ts +++ b/sdk/nodejs/getBillingConsumptions.ts @@ -6,6 +6,9 @@ import * as inputs from "./types/input"; import * as outputs from "./types/output"; import * as utilities from "./utilities"; +/** + * Gets information about your Consumptions. + */ export function getBillingConsumptions(args?: GetBillingConsumptionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -19,6 +22,9 @@ export function getBillingConsumptions(args?: GetBillingConsumptionsArgs, opts?: * A collection of arguments for invoking getBillingConsumptions. */ export interface GetBillingConsumptionsArgs { + /** + * `projectId`) The ID of the project the consumption list is associated with. + */ projectId?: string; } @@ -26,15 +32,27 @@ export interface GetBillingConsumptionsArgs { * A collection of values returned by getBillingConsumptions. */ export interface GetBillingConsumptionsResult { + /** + * List of found consumptions + */ readonly consumptions: outputs.GetBillingConsumptionsConsumption[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly organizationId: string; + /** + * The project ID of the consumption. + */ readonly projectId: string; + /** + * The last consumption update date. + */ readonly updatedAt: string; } +/** + * Gets information about your Consumptions. + */ export function getBillingConsumptionsOutput(args?: GetBillingConsumptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getBillingConsumptions(a, opts)) } @@ -43,5 +61,8 @@ export function getBillingConsumptionsOutput(args?: GetBillingConsumptionsOutput * A collection of arguments for invoking getBillingConsumptions. */ export interface GetBillingConsumptionsOutputArgs { + /** + * `projectId`) The ID of the project the consumption list is associated with. + */ projectId?: pulumi.Input; } diff --git a/sdk/nodejs/getBillingInvoices.ts b/sdk/nodejs/getBillingInvoices.ts index 5d8abad7..dae03b6e 100644 --- a/sdk/nodejs/getBillingInvoices.ts +++ b/sdk/nodejs/getBillingInvoices.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about your Invoices. + * Gets information about your Scaleway invoices. * * ## Example Usage * @@ -70,7 +70,7 @@ export interface GetBillingInvoicesResult { readonly startedBefore?: string; } /** - * Gets information about your Invoices. + * Gets information about your Scaleway invoices. * * ## Example Usage * diff --git a/sdk/nodejs/getBlockSnapshot.ts b/sdk/nodejs/getBlockSnapshot.ts index 915c1022..0c0e17cf 100644 --- a/sdk/nodejs/getBlockSnapshot.ts +++ b/sdk/nodejs/getBlockSnapshot.ts @@ -4,6 +4,20 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; +/** + * Gets information about a Block Snapshot. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumi/scaleway"; + * + * const mySnapshot = scaleway.getBlockSnapshot({ + * snapshotId: "11111111-1111-1111-1111-111111111111", + * }); + * ``` + */ export function getBlockSnapshot(args?: GetBlockSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -21,10 +35,25 @@ export function getBlockSnapshot(args?: GetBlockSnapshotArgs, opts?: pulumi.Invo * A collection of arguments for invoking getBlockSnapshot. */ export interface GetBlockSnapshotArgs { + /** + * The name of the snapshot. Only one of `name` and `snapshotId` should be specified. + */ name?: string; + /** + * The ID of the project the snapshot is associated with. + */ projectId?: string; + /** + * The ID of the snapshot. Only one of `name` and `snapshotId` should be specified. + */ snapshotId?: string; + /** + * The ID of the volume from which the snapshot has been created. + */ volumeId?: string; + /** + * `zone`) The zone in which the snapshot exists. + */ zone?: string; } @@ -43,6 +72,20 @@ export interface GetBlockSnapshotResult { readonly volumeId?: string; readonly zone?: string; } +/** + * Gets information about a Block Snapshot. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumi/scaleway"; + * + * const mySnapshot = scaleway.getBlockSnapshot({ + * snapshotId: "11111111-1111-1111-1111-111111111111", + * }); + * ``` + */ export function getBlockSnapshotOutput(args?: GetBlockSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getBlockSnapshot(a, opts)) } @@ -51,9 +94,24 @@ export function getBlockSnapshotOutput(args?: GetBlockSnapshotOutputArgs, opts?: * A collection of arguments for invoking getBlockSnapshot. */ export interface GetBlockSnapshotOutputArgs { + /** + * The name of the snapshot. Only one of `name` and `snapshotId` should be specified. + */ name?: pulumi.Input; + /** + * The ID of the project the snapshot is associated with. + */ projectId?: pulumi.Input; + /** + * The ID of the snapshot. Only one of `name` and `snapshotId` should be specified. + */ snapshotId?: pulumi.Input; + /** + * The ID of the volume from which the snapshot has been created. + */ volumeId?: pulumi.Input; + /** + * `zone`) The zone in which the snapshot exists. + */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getConfig.ts b/sdk/nodejs/getConfig.ts new file mode 100644 index 00000000..0166f91e --- /dev/null +++ b/sdk/nodejs/getConfig.ts @@ -0,0 +1,35 @@ +// *** WARNING: this file 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 * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export function getConfig(opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("scaleway:index/getConfig:getConfig", { + }, opts); +} + +/** + * A collection of values returned by getConfig. + */ +export interface GetConfigResult { + readonly accessKey: string; + readonly accessKeySource: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly projectId: string; + readonly projectIdSource: string; + readonly region: string; + readonly regionSource: string; + readonly secretKey: string; + readonly secretKeySource: string; + readonly zone: string; + readonly zoneSource: string; +} +export function getConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(getConfig(opts)) +} diff --git a/sdk/nodejs/getDatabase.ts b/sdk/nodejs/getDatabase.ts index 1fafa6e9..fb727eea 100644 --- a/sdk/nodejs/getDatabase.ts +++ b/sdk/nodejs/getDatabase.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a RDB database. + * Gets information about a database. * * ## Example Usage * @@ -69,7 +69,7 @@ export interface GetDatabaseResult { readonly size: string; } /** - * Gets information about a RDB database. + * Gets information about a database. * * ## Example Usage * diff --git a/sdk/nodejs/getDatabaseAcl.ts b/sdk/nodejs/getDatabaseAcl.ts index a306a5f4..11620a97 100644 --- a/sdk/nodejs/getDatabaseAcl.ts +++ b/sdk/nodejs/getDatabaseAcl.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about the RDB instance network Access Control List. + * Gets information about the Database Instance network Access Control List. * * ## Example Usage * @@ -59,7 +59,7 @@ export interface GetDatabaseAclResult { readonly region?: string; } /** - * Gets information about the RDB instance network Access Control List. + * Gets information about the Database Instance network Access Control List. * * ## Example Usage * diff --git a/sdk/nodejs/getDatabaseBackup.ts b/sdk/nodejs/getDatabaseBackup.ts index 816db119..851c7d37 100644 --- a/sdk/nodejs/getDatabaseBackup.ts +++ b/sdk/nodejs/getDatabaseBackup.ts @@ -43,17 +43,17 @@ export function getDatabaseBackup(args?: GetDatabaseBackupArgs, opts?: pulumi.In */ export interface GetDatabaseBackupArgs { /** - * The RDB backup ID. - * Only one of the `name` and `backupId` should be specified. + * The backup ID. */ backupId?: string; /** - * The RDB instance ID. + * The Database Instance ID. */ instanceId?: string; /** * The name of the RDB instance. - * Only one of the `name` and `backupId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `backupId`. */ name?: string; /** @@ -116,17 +116,17 @@ export function getDatabaseBackupOutput(args?: GetDatabaseBackupOutputArgs, opts */ export interface GetDatabaseBackupOutputArgs { /** - * The RDB backup ID. - * Only one of the `name` and `backupId` should be specified. + * The backup ID. */ backupId?: pulumi.Input; /** - * The RDB instance ID. + * The Database Instance ID. */ instanceId?: pulumi.Input; /** * The name of the RDB instance. - * Only one of the `name` and `backupId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `backupId`. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/getDatabaseInstance.ts b/sdk/nodejs/getDatabaseInstance.ts index 52292d54..8ac5cdf7 100644 --- a/sdk/nodejs/getDatabaseInstance.ts +++ b/sdk/nodejs/getDatabaseInstance.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + * Gets information about an Database Instance. + * + * For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) */ export function getDatabaseInstance(args?: GetDatabaseInstanceArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -27,20 +29,20 @@ export function getDatabaseInstance(args?: GetDatabaseInstanceArgs, opts?: pulum export interface GetDatabaseInstanceArgs { /** * The RDB instance ID. - * Only one of `name` and `instanceId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `instanceId`. */ instanceId?: string; /** * The name of the RDB instance. - * Only one of `name` and `instanceId` should be specified. */ name?: string; /** - * The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + * The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. */ projectId?: string; /** - * `region`) The region in which the RDB instance exists. + * `region`) The region in which the Database Instance exists. */ region?: string; } @@ -81,7 +83,9 @@ export interface GetDatabaseInstanceResult { readonly volumeType: string; } /** - * Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + * Gets information about an Database Instance. + * + * For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) */ export function getDatabaseInstanceOutput(args?: GetDatabaseInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseInstance(a, opts)) @@ -93,20 +97,20 @@ export function getDatabaseInstanceOutput(args?: GetDatabaseInstanceOutputArgs, export interface GetDatabaseInstanceOutputArgs { /** * The RDB instance ID. - * Only one of `name` and `instanceId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `instanceId`. */ instanceId?: pulumi.Input; /** * The name of the RDB instance. - * Only one of `name` and `instanceId` should be specified. */ name?: pulumi.Input; /** - * The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. + * The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. */ projectId?: pulumi.Input; /** - * `region`) The region in which the RDB instance exists. + * `region`) The region in which the Database Instance exists. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/getDatabasePrivilege.ts b/sdk/nodejs/getDatabasePrivilege.ts index 1d17cb64..71a65ca6 100644 --- a/sdk/nodejs/getDatabasePrivilege.ts +++ b/sdk/nodejs/getDatabasePrivilege.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about the privilege on RDB database. + * Gets information about the privileges in a database. * * ## Example Usage * @@ -40,7 +40,7 @@ export interface GetDatabasePrivilegeArgs { */ databaseName: string; /** - * The RDB instance ID. + * The Database Instance ID. */ instanceId: string; /** @@ -72,7 +72,7 @@ export interface GetDatabasePrivilegeResult { readonly userName: string; } /** - * Gets information about the privilege on RDB database. + * Gets information about the privileges in a database. * * ## Example Usage * @@ -100,7 +100,7 @@ export interface GetDatabasePrivilegeOutputArgs { */ databaseName: pulumi.Input; /** - * The RDB instance ID. + * The Database Instance ID. */ instanceId: pulumi.Input; /** diff --git a/sdk/nodejs/getIamApplication.ts b/sdk/nodejs/getIamApplication.ts index 66a65f97..0a1fb791 100644 --- a/sdk/nodejs/getIamApplication.ts +++ b/sdk/nodejs/getIamApplication.ts @@ -38,17 +38,17 @@ export function getIamApplication(args?: GetIamApplicationArgs, opts?: pulumi.In export interface GetIamApplicationArgs { /** * The ID of the IAM application. - * Only one of the `name` and `applicationId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `applicationId`. */ applicationId?: string; /** * The name of the IAM application. - * Only one of the `name` and `applicationId` should be specified. */ name?: string; /** * `organizationId`) The ID of the - * organization the application is associated with. + * Organization the application is associated with. */ organizationId?: string; } @@ -97,17 +97,17 @@ export function getIamApplicationOutput(args?: GetIamApplicationOutputArgs, opts export interface GetIamApplicationOutputArgs { /** * The ID of the IAM application. - * Only one of the `name` and `applicationId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `applicationId`. */ applicationId?: pulumi.Input; /** * The name of the IAM application. - * Only one of the `name` and `applicationId` should be specified. */ name?: pulumi.Input; /** * `organizationId`) The ID of the - * organization the application is associated with. + * Organization the application is associated with. */ organizationId?: pulumi.Input; } diff --git a/sdk/nodejs/getIamGroup.ts b/sdk/nodejs/getIamGroup.ts index ca291c84..146997f8 100644 --- a/sdk/nodejs/getIamGroup.ts +++ b/sdk/nodejs/getIamGroup.ts @@ -5,8 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about an existing IAM group. For more information, please - * check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + * Gets information about an existing IAM group. + * + * For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) * * ## Example Usage * @@ -39,12 +40,12 @@ export function getIamGroup(args?: GetIamGroupArgs, opts?: pulumi.InvokeOptions) export interface GetIamGroupArgs { /** * The ID of the IAM group. - * Only one of the `name` and `groupId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `groupId`. */ groupId?: string; /** * The name of the IAM group. - * Only one of the `name` and `groupId` should be specified. */ name?: string; /** @@ -74,8 +75,9 @@ export interface GetIamGroupResult { readonly userIds: string[]; } /** - * Gets information about an existing IAM group. For more information, please - * check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + * Gets information about an existing IAM group. + * + * For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) * * ## Example Usage * @@ -101,12 +103,12 @@ export function getIamGroupOutput(args?: GetIamGroupOutputArgs, opts?: pulumi.In export interface GetIamGroupOutputArgs { /** * The ID of the IAM group. - * Only one of the `name` and `groupId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `groupId`. */ groupId?: pulumi.Input; /** * The name of the IAM group. - * Only one of the `name` and `groupId` should be specified. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/getIamSshKey.ts b/sdk/nodejs/getIamSshKey.ts index 7489639a..f6a3ce48 100644 --- a/sdk/nodejs/getIamSshKey.ts +++ b/sdk/nodejs/getIamSshKey.ts @@ -34,7 +34,7 @@ export function getIamSshKey(args?: GetIamSshKeyArgs, opts?: pulumi.InvokeOption */ export interface GetIamSshKeyArgs { /** - * The SSH key name. Only one of `name` and `sshKeyId` should be specified. + * The SSH key name. */ name?: string; /** @@ -43,7 +43,9 @@ export interface GetIamSshKeyArgs { */ projectId?: string; /** - * The SSH key id. Only one of `name` and `sshKeyId` should be specified. + * The SSH key id. + * + * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: string; } @@ -104,7 +106,7 @@ export function getIamSshKeyOutput(args?: GetIamSshKeyOutputArgs, opts?: pulumi. */ export interface GetIamSshKeyOutputArgs { /** - * The SSH key name. Only one of `name` and `sshKeyId` should be specified. + * The SSH key name. */ name?: pulumi.Input; /** @@ -113,7 +115,9 @@ export interface GetIamSshKeyOutputArgs { */ projectId?: pulumi.Input; /** - * The SSH key id. Only one of `name` and `sshKeyId` should be specified. + * The SSH key id. + * + * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input; } diff --git a/sdk/nodejs/getIamUser.ts b/sdk/nodejs/getIamUser.ts index 77056bb7..ef4ec106 100644 --- a/sdk/nodejs/getIamUser.ts +++ b/sdk/nodejs/getIamUser.ts @@ -6,8 +6,7 @@ import * as utilities from "./utilities"; /** * Use this data source to get information on an existing IAM user based on its ID or email address. - * For more information, - * see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + * For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). * * ## Example Usage * @@ -39,7 +38,7 @@ export function getIamUser(args?: GetIamUserArgs, opts?: pulumi.InvokeOptions): */ export interface GetIamUserArgs { /** - * The email address of the IAM user. Only one of the `email` and `userId` should be specified. + * The email address of the IAM user. */ email?: string; /** @@ -48,7 +47,9 @@ export interface GetIamUserArgs { */ organizationId?: string; /** - * The ID of the IAM user. Only one of the `email` and `userId` should be specified. + * The ID of the IAM user. + * + * > **Note** You must specify at least one: `name` and/or `userId`. */ userId?: string; } @@ -67,8 +68,7 @@ export interface GetIamUserResult { } /** * Use this data source to get information on an existing IAM user based on its ID or email address. - * For more information, - * see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + * For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). * * ## Example Usage * @@ -93,7 +93,7 @@ export function getIamUserOutput(args?: GetIamUserOutputArgs, opts?: pulumi.Invo */ export interface GetIamUserOutputArgs { /** - * The email address of the IAM user. Only one of the `email` and `userId` should be specified. + * The email address of the IAM user. */ email?: pulumi.Input; /** @@ -102,7 +102,9 @@ export interface GetIamUserOutputArgs { */ organizationId?: pulumi.Input; /** - * The ID of the IAM user. Only one of the `email` and `userId` should be specified. + * The ID of the IAM user. + * + * > **Note** You must specify at least one: `name` and/or `userId`. */ userId?: pulumi.Input; } diff --git a/sdk/nodejs/getIpamIp.ts b/sdk/nodejs/getIpamIp.ts index 655a6899..c79daa8e 100644 --- a/sdk/nodejs/getIpamIp.ts +++ b/sdk/nodejs/getIpamIp.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + * Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Examples * @@ -24,7 +26,7 @@ import * as utilities from "./utilities"; * * ### Instance Private Network IP * - * Get Instance IP in a private network. + * Get an Instance's IP on a Private Network. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -105,19 +107,19 @@ export interface GetIpamIpArgs { */ attached?: boolean; /** - * The IPAM IP ID. Cannot be used with the rest of the arguments. + * The IPAM IP ID. Cannot be used with any other arguments. */ ipamIpId?: string; /** - * The Mac Address linked to the IP. Cannot be used with `ipamIpId`. + * The MAC address linked to the IP. Cannot be used with `ipamIpId`. */ macAddress?: string; /** - * The ID of the private network the IP belong to. Cannot be used with `ipamIpId`. + * The ID of the Private Network the IP belongs to. Cannot be used with `ipamIpId`. */ privateNetworkId?: string; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: string; /** @@ -135,7 +137,7 @@ export interface GetIpamIpArgs { */ tags?: string[]; /** - * The type of IP to search for (ipv4, ipv6). Cannot be used with `ipamIpId`. + * The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipamIpId`. */ type?: string; /** @@ -153,7 +155,7 @@ export interface GetIpamIpResult { */ readonly address: string; /** - * the IP address with a CIDR notation. + * the IP address in CIDR notation. */ readonly addressCidr: string; readonly attached?: boolean; @@ -173,7 +175,9 @@ export interface GetIpamIpResult { readonly zonal: string; } /** - * Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + * Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Examples * @@ -190,7 +194,7 @@ export interface GetIpamIpResult { * * ### Instance Private Network IP * - * Get Instance IP in a private network. + * Get an Instance's IP on a Private Network. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -257,19 +261,19 @@ export interface GetIpamIpOutputArgs { */ attached?: pulumi.Input; /** - * The IPAM IP ID. Cannot be used with the rest of the arguments. + * The IPAM IP ID. Cannot be used with any other arguments. */ ipamIpId?: pulumi.Input; /** - * The Mac Address linked to the IP. Cannot be used with `ipamIpId`. + * The MAC address linked to the IP. Cannot be used with `ipamIpId`. */ macAddress?: pulumi.Input; /** - * The ID of the private network the IP belong to. Cannot be used with `ipamIpId`. + * The ID of the Private Network the IP belongs to. Cannot be used with `ipamIpId`. */ privateNetworkId?: pulumi.Input; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: pulumi.Input; /** @@ -287,7 +291,7 @@ export interface GetIpamIpOutputArgs { */ tags?: pulumi.Input[]>; /** - * The type of IP to search for (ipv4, ipv6). Cannot be used with `ipamIpId`. + * The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipamIpId`. */ type?: pulumi.Input; /** diff --git a/sdk/nodejs/getIpamIps.ts b/sdk/nodejs/getIpamIps.ts index 2118812b..abd44f5b 100644 --- a/sdk/nodejs/getIpamIps.ts +++ b/sdk/nodejs/getIpamIps.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about multiple IPs managed by IPAM service. + * Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Examples * @@ -81,31 +83,31 @@ export interface GetIpamIpsArgs { */ attached?: boolean; /** - * The Mac Address used as filter. + * The linked MAC address to filter for. */ macAddress?: string; /** - * The ID of the private network used as filter. + * The ID of the Private Network to filter for. */ privateNetworkId?: string; /** - * The ID of the project used as filter. + * The ID of the Project to filter for. */ projectId?: string; /** - * The region used as filter. + * The region to filter for. */ region?: string; /** - * Filter by resource ID, type or name. + * Filter for a resource attached to the IP, using resource ID, type or name. */ resource?: inputs.GetIpamIpsResource; /** - * The tags used as filter. + * The IP tags to filter for. */ tags?: string[]; /** - * The type of IP used as filter (ipv4, ipv6). + * The type of IP to filter for (`ipv4` or `ipv6`). */ type?: string; /** @@ -124,25 +126,25 @@ export interface GetIpamIpsResult { */ readonly id: string; /** - * List of found IPs + * List of found IPs. */ readonly ips: outputs.GetIpamIpsIp[]; /** - * The mac address. + * The associated MAC address. */ readonly macAddress?: string; readonly organizationId: string; readonly privateNetworkId?: string; /** - * The ID of the project the server is associated with. + * The ID of the Project the resource is associated with. */ readonly projectId: string; /** - * The region in which the IP is. + * The region of the IP. */ readonly region: string; /** - * The list of public IPs of the server. + * The list of public IPs attached to the resource. */ readonly resource?: outputs.GetIpamIpsResource; /** @@ -156,7 +158,9 @@ export interface GetIpamIpsResult { readonly zonal: string; } /** - * Gets information about multiple IPs managed by IPAM service. + * Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Examples * @@ -217,31 +221,31 @@ export interface GetIpamIpsOutputArgs { */ attached?: pulumi.Input; /** - * The Mac Address used as filter. + * The linked MAC address to filter for. */ macAddress?: pulumi.Input; /** - * The ID of the private network used as filter. + * The ID of the Private Network to filter for. */ privateNetworkId?: pulumi.Input; /** - * The ID of the project used as filter. + * The ID of the Project to filter for. */ projectId?: pulumi.Input; /** - * The region used as filter. + * The region to filter for. */ region?: pulumi.Input; /** - * Filter by resource ID, type or name. + * Filter for a resource attached to the IP, using resource ID, type or name. */ resource?: pulumi.Input; /** - * The tags used as filter. + * The IP tags to filter for. */ tags?: pulumi.Input[]>; /** - * The type of IP used as filter (ipv4, ipv6). + * The type of IP to filter for (`ipv4` or `ipv6`). */ type?: pulumi.Input; /** diff --git a/sdk/nodejs/getLbAcls.ts b/sdk/nodejs/getLbAcls.ts index a02ac453..8852354a 100644 --- a/sdk/nodejs/getLbAcls.ts +++ b/sdk/nodejs/getLbAcls.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * Gets information about multiple Load Balancer ACLs. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + * * ## Example Usage * * ```typescript @@ -40,17 +42,17 @@ export function getLbAcls(args: GetLbAclsArgs, opts?: pulumi.InvokeOptions): Pro */ export interface GetLbAclsArgs { /** - * The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - * > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + * The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + * > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` */ frontendId: string; /** - * The ACL name used as filter. ACLs with a name like it are listed. + * The ACL name to filter for. ACLs with a matching name are listed. */ name?: string; projectId?: string; /** - * `zone`) The zone in which ACLs exist. + * `zone`) The zone in which the ACLs exist. */ zone?: string; } @@ -60,7 +62,7 @@ export interface GetLbAclsArgs { */ export interface GetLbAclsResult { /** - * List of found ACLs + * List of retrieved ACLs */ readonly acls: outputs.GetLbAclsAcl[]; readonly frontendId: string; @@ -76,6 +78,8 @@ export interface GetLbAclsResult { /** * Gets information about multiple Load Balancer ACLs. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + * * ## Example Usage * * ```typescript @@ -100,17 +104,17 @@ export function getLbAclsOutput(args: GetLbAclsOutputArgs, opts?: pulumi.InvokeO */ export interface GetLbAclsOutputArgs { /** - * The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - * > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + * The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + * > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` */ frontendId: pulumi.Input; /** - * The ACL name used as filter. ACLs with a name like it are listed. + * The ACL name to filter for. ACLs with a matching name are listed. */ name?: pulumi.Input; projectId?: pulumi.Input; /** - * `zone`) The zone in which ACLs exist. + * `zone`) The zone in which the ACLs exist. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLbBackend.ts b/sdk/nodejs/getLbBackend.ts index 30c29ef7..3080de66 100644 --- a/sdk/nodejs/getLbBackend.ts +++ b/sdk/nodejs/getLbBackend.ts @@ -7,8 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Get information about Scaleway Load-Balancer Backends. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + * Get information about Scaleway Load Balancer backends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). * * ## Example Usage * @@ -52,17 +53,17 @@ export function getLbBackend(args?: GetLbBackendArgs, opts?: pulumi.InvokeOption */ export interface GetLbBackendArgs { /** - * The backend id. + * The backend ID. * - Only one of `name` and `backendId` should be specified. */ backendId?: string; /** - * The load-balancer ID this backend is attached to. + * Load Balancer ID this backend is attached to. */ lbId?: string; /** * The name of the backend. - * - When using the `name` you should specify the `lb-id` + * - When using `name` you should specify the `lb-id` */ name?: string; } @@ -108,8 +109,9 @@ export interface GetLbBackendResult { readonly timeoutTunnel: string; } /** - * Get information about Scaleway Load-Balancer Backends. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + * Get information about Scaleway Load Balancer backends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). * * ## Example Usage * @@ -146,17 +148,17 @@ export function getLbBackendOutput(args?: GetLbBackendOutputArgs, opts?: pulumi. */ export interface GetLbBackendOutputArgs { /** - * The backend id. + * The backend ID. * - Only one of `name` and `backendId` should be specified. */ backendId?: pulumi.Input; /** - * The load-balancer ID this backend is attached to. + * Load Balancer ID this backend is attached to. */ lbId?: pulumi.Input; /** * The name of the backend. - * - When using the `name` you should specify the `lb-id` + * - When using `name` you should specify the `lb-id` */ name?: pulumi.Input; } diff --git a/sdk/nodejs/getLbBackends.ts b/sdk/nodejs/getLbBackends.ts index ad0aa6c4..7a551631 100644 --- a/sdk/nodejs/getLbBackends.ts +++ b/sdk/nodejs/getLbBackends.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * Gets information about multiple Load Balancer Backends. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + * * ## Example Usage * * ```typescript @@ -40,11 +42,11 @@ export function getLbBackends(args: GetLbBackendsArgs, opts?: pulumi.InvokeOptio */ export interface GetLbBackendsArgs { /** - * The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + * The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. */ lbId: string; /** - * The backend name used as filter. Backends with a name like it are listed. + * The backend name to filter for. Backends with a matching name are listed. */ name?: string; projectId?: string; @@ -59,7 +61,7 @@ export interface GetLbBackendsArgs { */ export interface GetLbBackendsResult { /** - * List of found backends + * List of retrieved backends */ readonly backends: outputs.GetLbBackendsBackend[]; /** @@ -75,6 +77,8 @@ export interface GetLbBackendsResult { /** * Gets information about multiple Load Balancer Backends. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + * * ## Example Usage * * ```typescript @@ -99,11 +103,11 @@ export function getLbBackendsOutput(args: GetLbBackendsOutputArgs, opts?: pulumi */ export interface GetLbBackendsOutputArgs { /** - * The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + * The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. */ lbId: pulumi.Input; /** - * The backend name used as filter. Backends with a name like it are listed. + * The backend name to filter for. Backends with a matching name are listed. */ name?: pulumi.Input; projectId?: pulumi.Input; diff --git a/sdk/nodejs/getLbFrontend.ts b/sdk/nodejs/getLbFrontend.ts index c907f3dc..4514bd32 100644 --- a/sdk/nodejs/getLbFrontend.ts +++ b/sdk/nodejs/getLbFrontend.ts @@ -7,8 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Get information about Scaleway Load-Balancer Frontends. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + * Get information about Scaleway Load Balancer frontends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). * * ## Example Usage * @@ -58,12 +59,12 @@ export function getLbFrontend(args?: GetLbFrontendArgs, opts?: pulumi.InvokeOpti */ export interface GetLbFrontendArgs { /** - * The frontend id. + * The frontend ID. * - Only one of `name` and `frontendId` should be specified. */ frontendId?: string; /** - * The load-balancer ID this frontend is attached to. + * The Load Balancer ID this frontend is attached to. */ lbId?: string; /** @@ -94,8 +95,9 @@ export interface GetLbFrontendResult { readonly timeoutClient: string; } /** - * Get information about Scaleway Load-Balancer Frontends. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + * Get information about Scaleway Load Balancer frontends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). * * ## Example Usage * @@ -138,12 +140,12 @@ export function getLbFrontendOutput(args?: GetLbFrontendOutputArgs, opts?: pulum */ export interface GetLbFrontendOutputArgs { /** - * The frontend id. + * The frontend ID. * - Only one of `name` and `frontendId` should be specified. */ frontendId?: pulumi.Input; /** - * The load-balancer ID this frontend is attached to. + * The Load Balancer ID this frontend is attached to. */ lbId?: pulumi.Input; /** diff --git a/sdk/nodejs/getLbFrontends.ts b/sdk/nodejs/getLbFrontends.ts index 124dcc0a..8eb71cf6 100644 --- a/sdk/nodejs/getLbFrontends.ts +++ b/sdk/nodejs/getLbFrontends.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about multiple Load Balancer Frontends. + * Gets information about multiple Load Balancer frontends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). * * ## Example Usage * @@ -40,16 +42,16 @@ export function getLbFrontends(args: GetLbFrontendsArgs, opts?: pulumi.InvokeOpt */ export interface GetLbFrontendsArgs { /** - * The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + * The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. */ lbId: string; /** - * The frontend name used as filter. Frontends with a name like it are listed. + * The frontend name to filter for. Frontends with a matching name are listed. */ name?: string; projectId?: string; /** - * `zone`) The zone in which frontends exist. + * `zone`) The zone in which the frontends exist. */ zone?: string; } @@ -59,7 +61,7 @@ export interface GetLbFrontendsArgs { */ export interface GetLbFrontendsResult { /** - * List of found frontends + * List of retrieved frontends */ readonly frontends: outputs.GetLbFrontendsFrontend[]; /** @@ -73,7 +75,9 @@ export interface GetLbFrontendsResult { readonly zone: string; } /** - * Gets information about multiple Load Balancer Frontends. + * Gets information about multiple Load Balancer frontends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). * * ## Example Usage * @@ -99,16 +103,16 @@ export function getLbFrontendsOutput(args: GetLbFrontendsOutputArgs, opts?: pulu */ export interface GetLbFrontendsOutputArgs { /** - * The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + * The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. */ lbId: pulumi.Input; /** - * The frontend name used as filter. Frontends with a name like it are listed. + * The frontend name to filter for. Frontends with a matching name are listed. */ name?: pulumi.Input; projectId?: pulumi.Input; /** - * `zone`) The zone in which frontends exist. + * `zone`) The zone in which the frontends exist. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLbIps.ts b/sdk/nodejs/getLbIps.ts index 1a4389ed..8ea64ab3 100644 --- a/sdk/nodejs/getLbIps.ts +++ b/sdk/nodejs/getLbIps.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about multiple Load Balancer IPs. + * Gets information about multiple Load Balancer IP addresses. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). * * ## Example Usage * @@ -37,15 +39,15 @@ export function getLbIps(args?: GetLbIpsArgs, opts?: pulumi.InvokeOptions): Prom */ export interface GetLbIpsArgs { /** - * The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + * The IP CIDR range to filter for. IPs within a matching CIDR block are listed. */ ipCidrRange?: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: string; /** - * `zone`) The zone in which IPs exist. + * `zone`) The zone in which the IPs exist. */ zone?: string; } @@ -60,24 +62,26 @@ export interface GetLbIpsResult { readonly id: string; readonly ipCidrRange?: string; /** - * List of found IPs + * List of retrieved IPs */ readonly ips: outputs.GetLbIpsIp[]; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization the Load Balancer is associated with. */ readonly organizationId: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ readonly projectId: string; /** - * The zone in which the load-balancer is. + * The zone of the Load Balancer. */ readonly zone: string; } /** - * Gets information about multiple Load Balancer IPs. + * Gets information about multiple Load Balancer IP addresses. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). * * ## Example Usage * @@ -100,15 +104,15 @@ export function getLbIpsOutput(args?: GetLbIpsOutputArgs, opts?: pulumi.InvokeOp */ export interface GetLbIpsOutputArgs { /** - * The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. + * The IP CIDR range to filter for. IPs within a matching CIDR block are listed. */ ipCidrRange?: pulumi.Input; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; /** - * `zone`) The zone in which IPs exist. + * `zone`) The zone in which the IPs exist. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLbRoute.ts b/sdk/nodejs/getLbRoute.ts index 94969bc8..7f36d50c 100644 --- a/sdk/nodejs/getLbRoute.ts +++ b/sdk/nodejs/getLbRoute.ts @@ -5,8 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Get information about Scaleway Load-Balancer Routes. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + * Get information about Scaleway Load Balancer routes. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * @@ -54,7 +55,7 @@ export function getLbRoute(args: GetLbRouteArgs, opts?: pulumi.InvokeOptions): P */ export interface GetLbRouteArgs { /** - * The route id. + * The route ID. */ routeId: string; } @@ -76,8 +77,9 @@ export interface GetLbRouteResult { readonly updatedAt: string; } /** - * Get information about Scaleway Load-Balancer Routes. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + * Get information about Scaleway Load Balancer routes. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * @@ -121,7 +123,7 @@ export function getLbRouteOutput(args: GetLbRouteOutputArgs, opts?: pulumi.Invok */ export interface GetLbRouteOutputArgs { /** - * The route id. + * The route ID. */ routeId: pulumi.Input; } diff --git a/sdk/nodejs/getLbRoutes.ts b/sdk/nodejs/getLbRoutes.ts index 52152b84..9157bb31 100644 --- a/sdk/nodejs/getLbRoutes.ts +++ b/sdk/nodejs/getLbRoutes.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about multiple Load Balancer Routes. + * Gets information about multiple Load Balancer routes. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * @@ -40,12 +42,12 @@ export function getLbRoutes(args?: GetLbRoutesArgs, opts?: pulumi.InvokeOptions) */ export interface GetLbRoutesArgs { /** - * The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + * The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. */ frontendId?: string; projectId?: string; /** - * `zone`) The zone in which routes exist. + * `zone`) The zone in which the routes exist. */ zone?: string; } @@ -62,13 +64,15 @@ export interface GetLbRoutesResult { readonly organizationId: string; readonly projectId: string; /** - * List of found routes + * List of retrieved routes */ readonly routes: outputs.GetLbRoutesRoute[]; readonly zone: string; } /** - * Gets information about multiple Load Balancer Routes. + * Gets information about multiple Load Balancer routes. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * @@ -94,12 +98,12 @@ export function getLbRoutesOutput(args?: GetLbRoutesOutputArgs, opts?: pulumi.In */ export interface GetLbRoutesOutputArgs { /** - * The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + * The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. */ frontendId?: pulumi.Input; projectId?: pulumi.Input; /** - * `zone`) The zone in which routes exist. + * `zone`) The zone in which the routes exist. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLbs.ts b/sdk/nodejs/getLbs.ts index 6513fc32..60182434 100644 --- a/sdk/nodejs/getLbs.ts +++ b/sdk/nodejs/getLbs.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * Gets information about multiple Load Balancers. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + * * ## Example Usage * * ```typescript @@ -41,19 +43,19 @@ export function getLbs(args?: GetLbsArgs, opts?: pulumi.InvokeOptions): Promise< */ export interface GetLbsArgs { /** - * The load balancer name used as a filter. LBs with a name like it are listed. + * The Load Balancer name to filter for. Load Balancers with a matching name are listed. */ name?: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: string; /** - * List of tags used as filter. LBs with these exact tags are listed. + * List of tags to filter for. Load Balancers with these exact tags are listed. */ tags?: string[]; /** - * `zone`) The zone in which LBs exist. + * `zone`) The zone in which the Load Balancers exist. */ zone?: string; } @@ -67,33 +69,35 @@ export interface GetLbsResult { */ readonly id: string; /** - * List of found LBs + * List of retrieved Load Balancers */ readonly lbs: outputs.GetLbsLb[]; /** - * The name of the load-balancer. + * The name of the Load Balancer. */ readonly name?: string; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization the Load Balancer is associated with. */ readonly organizationId: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ readonly projectId: string; /** - * The tags associated with the load-balancer. + * The tags associated with the Load Balancer. */ readonly tags?: string[]; /** - * The zone in which the load-balancer is. + * The zone of the Load Balancer. */ readonly zone: string; } /** * Gets information about multiple Load Balancers. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + * * ## Example Usage * * ```typescript @@ -118,19 +122,19 @@ export function getLbsOutput(args?: GetLbsOutputArgs, opts?: pulumi.InvokeOption */ export interface GetLbsOutputArgs { /** - * The load balancer name used as a filter. LBs with a name like it are listed. + * The Load Balancer name to filter for. Load Balancers with a matching name are listed. */ name?: pulumi.Input; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; /** - * List of tags used as filter. LBs with these exact tags are listed. + * List of tags to filter for. Load Balancers with these exact tags are listed. */ tags?: pulumi.Input[]>; /** - * `zone`) The zone in which LBs exist. + * `zone`) The zone in which the Load Balancers exist. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLoadbalancer.ts b/sdk/nodejs/getLoadbalancer.ts index f8e48856..3e2020c5 100644 --- a/sdk/nodejs/getLoadbalancer.ts +++ b/sdk/nodejs/getLoadbalancer.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * Gets information about a Load Balancer. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + * * ## Example Usage * * ```typescript @@ -42,16 +44,16 @@ export function getLoadbalancer(args?: GetLoadbalancerArgs, opts?: pulumi.Invoke export interface GetLoadbalancerArgs { lbId?: string; /** - * The load balancer name. + * The Load Balancer name. */ name?: string; /** - * The ID of the project the LB is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: string; releaseIp?: boolean; /** - * (Defaults to provider `zone`) The zone in which the LB exists. + * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ zone?: string; } @@ -68,7 +70,7 @@ export interface GetLoadbalancerResult { */ readonly id: string; /** - * The load-balancer public IP Address. + * The Load Balancer public IP address. */ readonly ipAddress: string; readonly ipId: string; @@ -83,21 +85,23 @@ export interface GetLoadbalancerResult { readonly releaseIp?: boolean; readonly sslCompatibilityLevel: string; /** - * The tags associated with the load-balancer. + * The tags associated with the Load Balancer. */ readonly tags: string[]; /** - * The type of the load-balancer. + * The Load Balancer type. */ readonly type: string; /** - * (Defaults to provider `zone`) The zone in which the LB exists. + * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ readonly zone?: string; } /** * Gets information about a Load Balancer. * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + * * ## Example Usage * * ```typescript @@ -122,16 +126,16 @@ export function getLoadbalancerOutput(args?: GetLoadbalancerOutputArgs, opts?: p export interface GetLoadbalancerOutputArgs { lbId?: pulumi.Input; /** - * The load balancer name. + * The Load Balancer name. */ name?: pulumi.Input; /** - * The ID of the project the LB is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; releaseIp?: pulumi.Input; /** - * (Defaults to provider `zone`) The zone in which the LB exists. + * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getLoadbalancerCertificate.ts b/sdk/nodejs/getLoadbalancerCertificate.ts index 68a0fa09..568747b0 100644 --- a/sdk/nodejs/getLoadbalancerCertificate.ts +++ b/sdk/nodejs/getLoadbalancerCertificate.ts @@ -7,11 +7,11 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Get information about Scaleway Load-Balancer Certificates. + * Get information about Scaleway Load Balancer certificates. * - * This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + * This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. * - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ @@ -31,16 +31,16 @@ export function getLoadbalancerCertificate(args?: GetLoadbalancerCertificateArgs */ export interface GetLoadbalancerCertificateArgs { /** - * The certificate id. + * The certificate ID. * - Only one of `name` and `certificateId` should be specified. */ certificateId?: string; /** - * The load-balancer ID this certificate is attached to. + * The Load Balancer ID this certificate is attached to. */ lbId?: string; /** - * The name of the certificate backend. + * The name of the Load Balancer certificate. * - When using a certificate `name` you should specify the `lb-id` */ name?: string; @@ -67,11 +67,11 @@ export interface GetLoadbalancerCertificateResult { readonly subjectAlternativeNames: string[]; } /** - * Get information about Scaleway Load-Balancer Certificates. + * Get information about Scaleway Load Balancer certificates. * - * This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + * This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. * - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ @@ -84,16 +84,16 @@ export function getLoadbalancerCertificateOutput(args?: GetLoadbalancerCertifica */ export interface GetLoadbalancerCertificateOutputArgs { /** - * The certificate id. + * The certificate ID. * - Only one of `name` and `certificateId` should be specified. */ certificateId?: pulumi.Input; /** - * The load-balancer ID this certificate is attached to. + * The Load Balancer ID this certificate is attached to. */ lbId?: pulumi.Input; /** - * The name of the certificate backend. + * The name of the Load Balancer certificate. * - When using a certificate `name` you should specify the `lb-id` */ name?: pulumi.Input; diff --git a/sdk/nodejs/getLoadbalancerIp.ts b/sdk/nodejs/getLoadbalancerIp.ts index 2b48b49b..38b9b390 100644 --- a/sdk/nodejs/getLoadbalancerIp.ts +++ b/sdk/nodejs/getLoadbalancerIp.ts @@ -5,7 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a Load Balancer IP. + * Gets information about a Load Balancer IP address. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). * * ## Example Usage * @@ -44,7 +46,7 @@ export interface GetLoadbalancerIpArgs { */ ipId?: string; /** - * The ID of the project the LB IP associated with. + * The ID of the Project the Load Balancer IP is associated with. */ projectId?: string; } @@ -61,11 +63,11 @@ export interface GetLoadbalancerIpResult { readonly ipId?: string; readonly isIpv6: boolean; /** - * The associated load-balancer ID if any + * The ID of the associated Load Balancer, if any */ readonly lbId: string; /** - * (Defaults to provider `organizationId`) The ID of the organization the LB IP is associated with. + * (Defaults to provider `organizationId`) The ID of the Organization the Load Balancer IP is associated with. */ readonly organizationId: string; readonly projectId: string; @@ -77,7 +79,9 @@ export interface GetLoadbalancerIpResult { readonly zone: string; } /** - * Gets information about a Load Balancer IP. + * Gets information about a Load Balancer IP address. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). * * ## Example Usage * @@ -109,7 +113,7 @@ export interface GetLoadbalancerIpOutputArgs { */ ipId?: pulumi.Input; /** - * The ID of the project the LB IP associated with. + * The ID of the Project the Load Balancer IP is associated with. */ projectId?: pulumi.Input; } diff --git a/sdk/nodejs/getMnqSqs.ts b/sdk/nodejs/getMnqSqs.ts index e65ebc45..e6128c92 100644 --- a/sdk/nodejs/getMnqSqs.ts +++ b/sdk/nodejs/getMnqSqs.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about SQS for a project + * Gets information about SQS for a Project * * ## Examples * @@ -36,11 +36,11 @@ export function getMnqSqs(args?: GetMnqSqsArgs, opts?: pulumi.InvokeOptions): Pr */ export interface GetMnqSqsArgs { /** - * `projectId`) The ID of the project for which sqs is enabled. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: string; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: string; } @@ -50,7 +50,7 @@ export interface GetMnqSqsArgs { */ export interface GetMnqSqsResult { /** - * The endpoint of the SQS service for this project. + * The endpoint of the SQS service for this Project. */ readonly endpoint: string; /** @@ -61,7 +61,7 @@ export interface GetMnqSqsResult { readonly region?: string; } /** - * Gets information about SQS for a project + * Gets information about SQS for a Project * * ## Examples * @@ -86,11 +86,11 @@ export function getMnqSqsOutput(args?: GetMnqSqsOutputArgs, opts?: pulumi.Invoke */ export interface GetMnqSqsOutputArgs { /** - * `projectId`) The ID of the project for which sqs is enabled. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/getRedisCluster.ts b/sdk/nodejs/getRedisCluster.ts index 0efdb5b2..3fb396f5 100644 --- a/sdk/nodejs/getRedisCluster.ts +++ b/sdk/nodejs/getRedisCluster.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + * Gets information about a Redis™ cluster. + * + * For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). * * ## Example Usage * @@ -38,12 +40,12 @@ export function getRedisCluster(args?: GetRedisClusterArgs, opts?: pulumi.Invoke export interface GetRedisClusterArgs { /** * The Redis cluster ID. - * Only one of the `name` and `clusterId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `clusterId`. */ clusterId?: string; /** * The name of the Redis cluster. - * Only one of the `name` and `clusterId` should be specified. */ name?: string; /** @@ -60,31 +62,75 @@ export interface GetRedisClusterArgs { * A collection of values returned by getRedisCluster. */ export interface GetRedisClusterResult { + /** + * List of acl rules. + */ readonly acls: outputs.GetRedisClusterAcl[]; + /** + * The PEM of the certificate used by redis, only when `tlsEnabled` is true. + */ readonly certificate: string; readonly clusterId?: string; + /** + * The number of nodes in the Redis Cluster. + */ readonly clusterSize: number; + /** + * The date and time of creation of the Redis Cluster. + */ readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; + /** + * The type of Redis Cluster (e.g. `RED1-M`). + */ readonly nodeType: string; + /** + * Password of the first user of the Redis Cluster. + */ readonly password: string; + /** + * List of private networks endpoints of the Redis Cluster. + */ readonly privateNetworks: outputs.GetRedisClusterPrivateNetwork[]; readonly projectId?: string; + /** + * Public network details. + */ readonly publicNetworks: outputs.GetRedisClusterPublicNetwork[]; + /** + * Map of settings for redis cluster. + */ readonly settings: {[key: string]: string}; + /** + * The tags associated with the Redis Cluster. + */ readonly tags: string[]; + /** + * Whether TLS is enabled or not. + */ readonly tlsEnabled: boolean; + /** + * The date and time of the last update of the Redis Cluster. + */ readonly updatedAt: string; + /** + * The first user of the Redis Cluster. + */ readonly userName: string; + /** + * Redis's Cluster version (e.g. `6.2.7`). + */ readonly version: string; readonly zone?: string; } /** - * Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + * Gets information about a Redis™ cluster. + * + * For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). * * ## Example Usage * @@ -107,12 +153,12 @@ export function getRedisClusterOutput(args?: GetRedisClusterOutputArgs, opts?: p export interface GetRedisClusterOutputArgs { /** * The Redis cluster ID. - * Only one of the `name` and `clusterId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `clusterId`. */ clusterId?: pulumi.Input; /** * The name of the Redis cluster. - * Only one of the `name` and `clusterId` should be specified. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/getRegistryImage.ts b/sdk/nodejs/getRegistryImage.ts index ee99d8ce..67eb5b97 100644 --- a/sdk/nodejs/getRegistryImage.ts +++ b/sdk/nodejs/getRegistryImage.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a registry image. + * Gets information about a Container Registry image. * * ## Example Usage * @@ -39,12 +39,12 @@ export function getRegistryImage(args?: GetRegistryImageArgs, opts?: pulumi.Invo export interface GetRegistryImageArgs { /** * The image ID. - * Only one of `name` and `imageId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `imageId`. */ imageId?: string; /** * The image name. - * Only one of `name` and `imageId` should be specified. */ name?: string; /** @@ -100,7 +100,7 @@ export interface GetRegistryImageResult { readonly visibility: string; } /** - * Gets information about a registry image. + * Gets information about a Container Registry image. * * ## Example Usage * @@ -124,12 +124,12 @@ export function getRegistryImageOutput(args?: GetRegistryImageOutputArgs, opts?: export interface GetRegistryImageOutputArgs { /** * The image ID. - * Only one of `name` and `imageId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `imageId`. */ imageId?: pulumi.Input; /** * The image name. - * Only one of `name` and `imageId` should be specified. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/getRegistryNamespace.ts b/sdk/nodejs/getRegistryNamespace.ts index 7320733d..517ac431 100644 --- a/sdk/nodejs/getRegistryNamespace.ts +++ b/sdk/nodejs/getRegistryNamespace.ts @@ -36,12 +36,12 @@ export function getRegistryNamespace(args?: GetRegistryNamespaceArgs, opts?: pul export interface GetRegistryNamespaceArgs { /** * The namespace name. - * Only one of `name` and `namespaceId` should be specified. */ name?: string; /** * The namespace id. - * Only one of `name` and `namespaceId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `imageId`. */ namespaceId?: string; /** @@ -104,12 +104,12 @@ export function getRegistryNamespaceOutput(args?: GetRegistryNamespaceOutputArgs export interface GetRegistryNamespaceOutputArgs { /** * The namespace name. - * Only one of `name` and `namespaceId` should be specified. */ name?: pulumi.Input; /** * The namespace id. - * Only one of `name` and `namespaceId` should be specified. + * + * > **Note** You must specify at least one: `name` and/or `imageId`. */ namespaceId?: pulumi.Input; /** diff --git a/sdk/nodejs/getVpc.ts b/sdk/nodejs/getVpc.ts index 97d76457..ab88d866 100644 --- a/sdk/nodejs/getVpc.ts +++ b/sdk/nodejs/getVpc.ts @@ -43,24 +43,24 @@ export function getVpc(args?: GetVpcArgs, opts?: pulumi.InvokeOptions): Promise< */ export interface GetVpcArgs { /** - * To get default VPC's information. + * Whether the targeted VPC is the default VPC. */ isDefault?: boolean; /** - * Name of the VPC. One of `name` and `vpcId` should be specified. + * Name of the VPC. A maximum of one of `name` and `vpcId` should be specified. */ name?: string; /** - * The ID of the organization the VPC is associated with. + * The ID of the Organization the VPC is associated with. */ organizationId?: string; /** - * `projectId`) The ID of the project the VPC is associated with. + * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: string; region?: string; /** - * ID of the VPC. One of `name` and `vpcId` should be specified. + * ID of the VPC. A maximum of one of `name` and `vpcId` should be specified. */ vpcId?: string; } @@ -113,24 +113,24 @@ export function getVpcOutput(args?: GetVpcOutputArgs, opts?: pulumi.InvokeOption */ export interface GetVpcOutputArgs { /** - * To get default VPC's information. + * Whether the targeted VPC is the default VPC. */ isDefault?: pulumi.Input; /** - * Name of the VPC. One of `name` and `vpcId` should be specified. + * Name of the VPC. A maximum of one of `name` and `vpcId` should be specified. */ name?: pulumi.Input; /** - * The ID of the organization the VPC is associated with. + * The ID of the Organization the VPC is associated with. */ organizationId?: pulumi.Input; /** - * `projectId`) The ID of the project the VPC is associated with. + * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; region?: pulumi.Input; /** - * ID of the VPC. One of `name` and `vpcId` should be specified. + * ID of the VPC. A maximum of one of `name` and `vpcId` should be specified. */ vpcId?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcGatewayNetwork.ts b/sdk/nodejs/getVpcGatewayNetwork.ts index 44e8b2d1..ccd43e27 100644 --- a/sdk/nodejs/getVpcGatewayNetwork.ts +++ b/sdk/nodejs/getVpcGatewayNetwork.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about a gateway network. + * Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). * * ## Example Usage * @@ -49,27 +49,13 @@ export function getVpcGatewayNetwork(args?: GetVpcGatewayNetworkArgs, opts?: pul * A collection of arguments for invoking getVpcGatewayNetwork. */ export interface GetVpcGatewayNetworkArgs { - /** - * ID of the public gateway DHCP config - */ dhcpId?: string; - /** - * If masquerade is enabled on requested network - */ enableMasquerade?: boolean; - /** - * ID of the public gateway the gateway network is linked to - */ gatewayId?: string; /** - * ID of the gateway network. - * - * > Only one of `gatewayNetworkId` or filters should be specified. You can use all the filters you want. + * ID of the GatewayNetwork. */ gatewayNetworkId?: string; - /** - * ID of the private network the gateway network is linked to - */ privateNetworkId?: string; } @@ -97,7 +83,7 @@ export interface GetVpcGatewayNetworkResult { readonly zone: string; } /** - * Gets information about a gateway network. + * Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). * * ## Example Usage * @@ -130,26 +116,12 @@ export function getVpcGatewayNetworkOutput(args?: GetVpcGatewayNetworkOutputArgs * A collection of arguments for invoking getVpcGatewayNetwork. */ export interface GetVpcGatewayNetworkOutputArgs { - /** - * ID of the public gateway DHCP config - */ dhcpId?: pulumi.Input; - /** - * If masquerade is enabled on requested network - */ enableMasquerade?: pulumi.Input; - /** - * ID of the public gateway the gateway network is linked to - */ gatewayId?: pulumi.Input; /** - * ID of the gateway network. - * - * > Only one of `gatewayNetworkId` or filters should be specified. You can use all the filters you want. + * ID of the GatewayNetwork. */ gatewayNetworkId?: pulumi.Input; - /** - * ID of the private network the gateway network is linked to - */ privateNetworkId?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcPrivateNetwork.ts b/sdk/nodejs/getVpcPrivateNetwork.ts index 9e52a14c..15df80c6 100644 --- a/sdk/nodejs/getVpcPrivateNetwork.ts +++ b/sdk/nodejs/getVpcPrivateNetwork.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Gets information about a private network. + * Gets information about a Private Network. * * ## Example Usage * @@ -45,20 +45,20 @@ export function getVpcPrivateNetwork(args?: GetVpcPrivateNetworkArgs, opts?: pul */ export interface GetVpcPrivateNetworkArgs { /** - * Name of the private network. Cannot be used with `privateNetworkId`. + * Name of the Private Network. Cannot be used with `privateNetworkId`. */ name?: string; /** - * ID of the private network. Cannot be used with `name` and `vpcId`. + * ID of the Private Network. Cannot be used with `name` or `vpcId`. */ privateNetworkId?: string; /** - * The ID of the project the private network is associated with. + * The ID of the Project the Private Network is associated with. */ projectId?: string; region?: string; /** - * ID of the VPC in which the private network is. Cannot be used with `privateNetworkId`. + * ID of the VPC the Private Network is in. Cannot be used with `privateNetworkId`. */ vpcId?: string; } @@ -73,11 +73,11 @@ export interface GetVpcPrivateNetworkResult { */ readonly id: string; /** - * The IPv4 subnet associated with the private network. + * The IPv4 subnet associated with the Private Network. */ readonly ipv4Subnets: outputs.GetVpcPrivateNetworkIpv4Subnet[]; /** - * The IPv6 subnets associated with the private network. + * The IPv6 subnets associated with the Private Network. */ readonly ipv6Subnets: outputs.GetVpcPrivateNetworkIpv6Subnet[]; readonly isRegional: boolean; @@ -92,7 +92,7 @@ export interface GetVpcPrivateNetworkResult { readonly zone: string; } /** - * Gets information about a private network. + * Gets information about a Private Network. * * ## Example Usage * @@ -121,20 +121,20 @@ export function getVpcPrivateNetworkOutput(args?: GetVpcPrivateNetworkOutputArgs */ export interface GetVpcPrivateNetworkOutputArgs { /** - * Name of the private network. Cannot be used with `privateNetworkId`. + * Name of the Private Network. Cannot be used with `privateNetworkId`. */ name?: pulumi.Input; /** - * ID of the private network. Cannot be used with `name` and `vpcId`. + * ID of the Private Network. Cannot be used with `name` or `vpcId`. */ privateNetworkId?: pulumi.Input; /** - * The ID of the project the private network is associated with. + * The ID of the Project the Private Network is associated with. */ projectId?: pulumi.Input; region?: pulumi.Input; /** - * ID of the VPC in which the private network is. Cannot be used with `privateNetworkId`. + * ID of the VPC the Private Network is in. Cannot be used with `privateNetworkId`. */ vpcId?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcPublicGateway.ts b/sdk/nodejs/getVpcPublicGateway.ts index 77bc602d..100849ed 100644 --- a/sdk/nodejs/getVpcPublicGateway.ts +++ b/sdk/nodejs/getVpcPublicGateway.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a public gateway. + * Gets information about a Public Gateway. * * ## Example Usage * @@ -44,17 +44,16 @@ export function getVpcPublicGateway(args?: GetVpcPublicGatewayArgs, opts?: pulum */ export interface GetVpcPublicGatewayArgs { /** - * Exact name of the public gateway. + * Exact name of the Public Gateway. */ name?: string; /** - * The ID of the project the public gateway is associated with. + * The ID of the Project the Public Gateway is associated with. */ projectId?: string; publicGatewayId?: string; /** - * `zone`) The zone in which - * the public gateway should be created. + * `zone`) The Public Gateway's zone. */ zone?: string; } @@ -85,7 +84,7 @@ export interface GetVpcPublicGatewayResult { readonly zone?: string; } /** - * Gets information about a public gateway. + * Gets information about a Public Gateway. * * ## Example Usage * @@ -116,17 +115,16 @@ export function getVpcPublicGatewayOutput(args?: GetVpcPublicGatewayOutputArgs, */ export interface GetVpcPublicGatewayOutputArgs { /** - * Exact name of the public gateway. + * Exact name of the Public Gateway. */ name?: pulumi.Input; /** - * The ID of the project the public gateway is associated with. + * The ID of the Project the Public Gateway is associated with. */ projectId?: pulumi.Input; publicGatewayId?: pulumi.Input; /** - * `zone`) The zone in which - * the public gateway should be created. + * `zone`) The Public Gateway's zone. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcPublicGatewayDhcp.ts b/sdk/nodejs/getVpcPublicGatewayDhcp.ts index 95beb7aa..fd177bf7 100644 --- a/sdk/nodejs/getVpcPublicGatewayDhcp.ts +++ b/sdk/nodejs/getVpcPublicGatewayDhcp.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a public gateway DHCP. + * Gets information about a Public Gateway DHCP configuration. * * ## Example Usage * @@ -64,7 +64,7 @@ export interface GetVpcPublicGatewayDhcpResult { readonly zone: string; } /** - * Gets information about a public gateway DHCP. + * Gets information about a Public Gateway DHCP configuration. * * ## Example Usage * diff --git a/sdk/nodejs/getVpcPublicGatewayDhcpReservation.ts b/sdk/nodejs/getVpcPublicGatewayDhcpReservation.ts index 9f5a1a75..fd686b0e 100644 --- a/sdk/nodejs/getVpcPublicGatewayDhcpReservation.ts +++ b/sdk/nodejs/getVpcPublicGatewayDhcpReservation.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a dhcp entries. For further information please check the - * API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + * Gets information about a DHCP entry. For further information, please see the + * API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ * * ## Example Dynamic * @@ -45,7 +45,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ## Example Static and PAT rule + * ## Example Static and PAT Rule * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -130,15 +130,15 @@ export interface GetVpcPublicGatewayDhcpReservationArgs { */ macAddress?: string; /** - * The ID of the Reservation to retrieve. + * The ID of the reservation (DHCP entry) to retrieve. */ reservationId?: string; /** - * Boolean to wait for macAddress to exist in dhcp. + * Whether to wait for `macAddress` to exist in DHCP. */ waitForDhcp?: boolean; /** - * `zone`) The zone in which the image exists. + * `zone`). The zone in which the reservation exists. */ zone?: string; } @@ -163,8 +163,8 @@ export interface GetVpcPublicGatewayDhcpReservationResult { readonly zone?: string; } /** - * Gets information about a dhcp entries. For further information please check the - * API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + * Gets information about a DHCP entry. For further information, please see the + * API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ * * ## Example Dynamic * @@ -203,7 +203,7 @@ export interface GetVpcPublicGatewayDhcpReservationResult { * }); * ``` * - * ## Example Static and PAT rule + * ## Example Static and PAT Rule * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -279,15 +279,15 @@ export interface GetVpcPublicGatewayDhcpReservationOutputArgs { */ macAddress?: pulumi.Input; /** - * The ID of the Reservation to retrieve. + * The ID of the reservation (DHCP entry) to retrieve. */ reservationId?: pulumi.Input; /** - * Boolean to wait for macAddress to exist in dhcp. + * Whether to wait for `macAddress` to exist in DHCP. */ waitForDhcp?: pulumi.Input; /** - * `zone`) The zone in which the image exists. + * `zone`). The zone in which the reservation exists. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcPublicGatewayIp.ts b/sdk/nodejs/getVpcPublicGatewayIp.ts index b53c4f11..d5c0eacd 100644 --- a/sdk/nodejs/getVpcPublicGatewayIp.ts +++ b/sdk/nodejs/getVpcPublicGatewayIp.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a public gateway IP. + * Gets information about a Public Gateway public flexible IP address. * - * For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + * For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * @@ -57,9 +57,9 @@ export interface GetVpcPublicGatewayIpResult { readonly zone: string; } /** - * Gets information about a public gateway IP. + * Gets information about a Public Gateway public flexible IP address. * - * For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + * For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * diff --git a/sdk/nodejs/getVpcPublicPatRule.ts b/sdk/nodejs/getVpcPublicPatRule.ts index ab94ffe9..80a06011 100644 --- a/sdk/nodejs/getVpcPublicPatRule.ts +++ b/sdk/nodejs/getVpcPublicPatRule.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Gets information about a public gateway PAT rule. For further information please check the - * API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + * Gets information about a Public Gateway PAT rule. For further information, please see the + * API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). * * ## Example Usage * @@ -83,7 +83,7 @@ export interface GetVpcPublicPatRuleArgs { patRuleId: string; /** * `zone`) The zone in which - * the image exists. + * the rule exists. */ zone?: string; } @@ -94,7 +94,7 @@ export interface GetVpcPublicPatRuleArgs { export interface GetVpcPublicPatRuleResult { readonly createdAt: string; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ readonly gatewayId: string; /** @@ -104,27 +104,27 @@ export interface GetVpcPublicPatRuleResult { readonly organizationId: string; readonly patRuleId: string; /** - * The Private IP to forward data to (IP address). + * The private IP address to forward data to. */ readonly privateIp: string; /** - * The Private port to translate to. + * The private port to translate to. */ readonly privatePort: number; /** - * The Protocol the rule should apply to. Possible values are both, tcp and udp. + * The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. */ readonly protocol: string; /** - * The Public port to listen on. + * The public port to listen on. */ readonly publicPort: number; readonly updatedAt: string; readonly zone?: string; } /** - * Gets information about a public gateway PAT rule. For further information please check the - * API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + * Gets information about a Public Gateway PAT rule. For further information, please see the + * API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). * * ## Example Usage * @@ -196,7 +196,7 @@ export interface GetVpcPublicPatRuleOutputArgs { patRuleId: pulumi.Input; /** * `zone`) The zone in which - * the image exists. + * the rule exists. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/getVpcs.ts b/sdk/nodejs/getVpcs.ts index 3723633a..41010657 100644 --- a/sdk/nodejs/getVpcs.ts +++ b/sdk/nodejs/getVpcs.ts @@ -38,19 +38,19 @@ export function getVpcs(args?: GetVpcsArgs, opts?: pulumi.InvokeOptions): Promis */ export interface GetVpcsArgs { /** - * The VPC name used as filter. VPCs with a name like it are listed. + * The VPC name to filter for. VPCs with a similar name are listed. */ name?: string; /** - * The ID of the project the VPC is associated with. + * The ID of the Project the VPC is associated with. */ projectId?: string; /** - * `region`). The region in which vpcs exist. + * `region`). The region in which the VPCs exist. */ region?: string; /** - * List of tags used as filter. VPCs with these exact tags are listed. + * List of tags to filter for. VPCs with these exact tags are listed. */ tags?: string[]; } @@ -65,17 +65,17 @@ export interface GetVpcsResult { readonly id: string; readonly name?: string; /** - * The organization ID the VPC is associated with. + * The Organization ID the VPC is associated with. */ readonly organizationId: string; /** - * The ID of the project the VPC is associated with. + * The ID of the Project the VPC is associated with. */ readonly projectId: string; readonly region: string; readonly tags?: string[]; /** - * List of found vpcs + * List of retrieved VPCs */ readonly vpcs: outputs.GetVpcsVpc[]; } @@ -103,19 +103,19 @@ export function getVpcsOutput(args?: GetVpcsOutputArgs, opts?: pulumi.InvokeOpti */ export interface GetVpcsOutputArgs { /** - * The VPC name used as filter. VPCs with a name like it are listed. + * The VPC name to filter for. VPCs with a similar name are listed. */ name?: pulumi.Input; /** - * The ID of the project the VPC is associated with. + * The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; /** - * `region`). The region in which vpcs exist. + * `region`). The region in which the VPCs exist. */ region?: pulumi.Input; /** - * List of tags used as filter. VPCs with these exact tags are listed. + * List of tags to filter for. VPCs with these exact tags are listed. */ tags?: pulumi.Input[]>; } diff --git a/sdk/nodejs/iamApiKey.ts b/sdk/nodejs/iamApiKey.ts index bdf3c0cf..71b93a38 100644 --- a/sdk/nodejs/iamApiKey.ts +++ b/sdk/nodejs/iamApiKey.ts @@ -5,11 +5,12 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway IAM API Keys. For more information, please - * check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae) + * Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae). * * ## Example Usage * + * ### With application + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; @@ -21,6 +22,19 @@ import * as utilities from "./utilities"; * }); * ``` * + * ### With user + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumiverse/scaleway"; + * + * const mainIamUser = new scaleway.IamUser("mainIamUser", {email: "test@test.com"}); + * const mainIamApiKey = new scaleway.IamApiKey("mainIamApiKey", { + * userId: mainIamUser.id, + * description: "a description", + * }); + * ``` + * * ## Import * * Api keys can be imported using the `{id}`, e.g. @@ -60,16 +74,15 @@ export class IamApiKey extends pulumi.CustomResource { } /** - * The access key of the iam api key. + * The access key of the IAM API key. */ public /*out*/ readonly accessKey!: pulumi.Output; /** - * ID of the application attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the application attached to the API key. */ public readonly applicationId!: pulumi.Output; /** - * The date and time of the creation of the iam api key. + * The date and time of the creation of the IAM API key. */ public /*out*/ readonly createdAt!: pulumi.Output; /** @@ -77,33 +90,33 @@ export class IamApiKey extends pulumi.CustomResource { */ public /*out*/ readonly creationIp!: pulumi.Output; /** - * The default project ID to use with object storage. + * The default Project ID to use with Object Storage. */ public readonly defaultProjectId!: pulumi.Output; /** - * The description of the iam api key. + * The description of the API key. */ public readonly description!: pulumi.Output; /** - * Whether the iam api key is editable. + * Whether the IAM API key is editable. */ public /*out*/ readonly editable!: pulumi.Output; /** - * The date and time of the expiration of the iam api key. Please note that in case of change, + * The date and time of the expiration of the IAM API key. Please note that in case of any changes, * the resource will be recreated. */ public readonly expiresAt!: pulumi.Output; /** - * The secret Key of the iam api key. + * The secret Key of the IAM API key. */ public /*out*/ readonly secretKey!: pulumi.Output; /** - * The date and time of the last update of the iam api key. + * The date and time of the last update of the IAM API key. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * ID of the user attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the user attached to the API key. + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ public readonly userId!: pulumi.Output; @@ -157,16 +170,15 @@ export class IamApiKey extends pulumi.CustomResource { */ export interface IamApiKeyState { /** - * The access key of the iam api key. + * The access key of the IAM API key. */ accessKey?: pulumi.Input; /** - * ID of the application attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the application attached to the API key. */ applicationId?: pulumi.Input; /** - * The date and time of the creation of the iam api key. + * The date and time of the creation of the IAM API key. */ createdAt?: pulumi.Input; /** @@ -174,33 +186,33 @@ export interface IamApiKeyState { */ creationIp?: pulumi.Input; /** - * The default project ID to use with object storage. + * The default Project ID to use with Object Storage. */ defaultProjectId?: pulumi.Input; /** - * The description of the iam api key. + * The description of the API key. */ description?: pulumi.Input; /** - * Whether the iam api key is editable. + * Whether the IAM API key is editable. */ editable?: pulumi.Input; /** - * The date and time of the expiration of the iam api key. Please note that in case of change, + * The date and time of the expiration of the IAM API key. Please note that in case of any changes, * the resource will be recreated. */ expiresAt?: pulumi.Input; /** - * The secret Key of the iam api key. + * The secret Key of the IAM API key. */ secretKey?: pulumi.Input; /** - * The date and time of the last update of the iam api key. + * The date and time of the last update of the IAM API key. */ updatedAt?: pulumi.Input; /** - * ID of the user attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the user attached to the API key. + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ userId?: pulumi.Input; } @@ -210,26 +222,25 @@ export interface IamApiKeyState { */ export interface IamApiKeyArgs { /** - * ID of the application attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the application attached to the API key. */ applicationId?: pulumi.Input; /** - * The default project ID to use with object storage. + * The default Project ID to use with Object Storage. */ defaultProjectId?: pulumi.Input; /** - * The description of the iam api key. + * The description of the API key. */ description?: pulumi.Input; /** - * The date and time of the expiration of the iam api key. Please note that in case of change, + * The date and time of the expiration of the IAM API key. Please note that in case of any changes, * the resource will be recreated. */ expiresAt?: pulumi.Input; /** - * ID of the user attached to the api key. - * Only one of the `applicationId` and `userId` should be specified. + * ID of the user attached to the API key. + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ userId?: pulumi.Input; } diff --git a/sdk/nodejs/iamApplication.ts b/sdk/nodejs/iamApplication.ts index 2ae17c82..e2a211b8 100644 --- a/sdk/nodejs/iamApplication.ts +++ b/sdk/nodejs/iamApplication.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). + * Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). * * ## Example Usage * diff --git a/sdk/nodejs/iamGroup.ts b/sdk/nodejs/iamGroup.ts index 2e60245d..42fcb9f5 100644 --- a/sdk/nodejs/iamGroup.ts +++ b/sdk/nodejs/iamGroup.ts @@ -6,7 +6,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway IAM Groups. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + * For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). * * ## Example Usage * diff --git a/sdk/nodejs/iamGroupMembership.ts b/sdk/nodejs/iamGroupMembership.ts index 56e328bb..f5ad343d 100644 --- a/sdk/nodejs/iamGroupMembership.ts +++ b/sdk/nodejs/iamGroupMembership.ts @@ -6,7 +6,7 @@ import * as utilities from "./utilities"; /** * Add members to an IAM group. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + * For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). * * ## Example Usage * @@ -77,7 +77,7 @@ export class IamGroupMembership extends pulumi.CustomResource { /** * The ID of the user that will be added to the group * - * - > Only one of `applicationId` or `userId` must be specified + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ public readonly userId!: pulumi.Output; @@ -126,7 +126,7 @@ export interface IamGroupMembershipState { /** * The ID of the user that will be added to the group * - * - > Only one of `applicationId` or `userId` must be specified + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ userId?: pulumi.Input; } @@ -146,7 +146,7 @@ export interface IamGroupMembershipArgs { /** * The ID of the user that will be added to the group * - * - > Only one of `applicationId` or `userId` must be specified + * > **Note** You must specify at least one: `applicationId` and/or `userId`. */ userId?: pulumi.Input; } diff --git a/sdk/nodejs/iamPolicy.ts b/sdk/nodejs/iamPolicy.ts index 02e2f78b..a0c8884a 100644 --- a/sdk/nodejs/iamPolicy.ts +++ b/sdk/nodejs/iamPolicy.ts @@ -7,7 +7,7 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7). + * Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy). * * > You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/). * @@ -90,7 +90,7 @@ export class IamPolicy extends pulumi.CustomResource { } /** - * ID of the Application the policy will be linked to + * ID of the application the policy will be linked to */ public readonly applicationId!: pulumi.Output; /** @@ -98,7 +98,7 @@ export class IamPolicy extends pulumi.CustomResource { */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The description of the iam policy. + * The description of the IAM policy. */ public readonly description!: pulumi.Output; /** @@ -106,17 +106,17 @@ export class IamPolicy extends pulumi.CustomResource { */ public /*out*/ readonly editable!: pulumi.Output; /** - * ID of the Group the policy will be linked to + * ID of the group the policy will be linked to */ public readonly groupId!: pulumi.Output; /** - * The name of the iam policy. + * The name of the IAM policy. */ public readonly name!: pulumi.Output; /** * If the policy doesn't apply to a principal. * - * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. */ public readonly noPrincipal!: pulumi.Output; /** @@ -128,7 +128,7 @@ export class IamPolicy extends pulumi.CustomResource { */ public readonly rules!: pulumi.Output; /** - * The tags associated with the iam policy. + * The tags associated with the IAM policy. */ public readonly tags!: pulumi.Output; /** @@ -136,7 +136,7 @@ export class IamPolicy extends pulumi.CustomResource { */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * ID of the User the policy will be linked to + * ID of the user the policy will be linked to */ public readonly userId!: pulumi.Output; @@ -193,7 +193,7 @@ export class IamPolicy extends pulumi.CustomResource { */ export interface IamPolicyState { /** - * ID of the Application the policy will be linked to + * ID of the application the policy will be linked to */ applicationId?: pulumi.Input; /** @@ -201,7 +201,7 @@ export interface IamPolicyState { */ createdAt?: pulumi.Input; /** - * The description of the iam policy. + * The description of the IAM policy. */ description?: pulumi.Input; /** @@ -209,17 +209,17 @@ export interface IamPolicyState { */ editable?: pulumi.Input; /** - * ID of the Group the policy will be linked to + * ID of the group the policy will be linked to */ groupId?: pulumi.Input; /** - * The name of the iam policy. + * The name of the IAM policy. */ name?: pulumi.Input; /** * If the policy doesn't apply to a principal. * - * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. */ noPrincipal?: pulumi.Input; /** @@ -231,7 +231,7 @@ export interface IamPolicyState { */ rules?: pulumi.Input[]>; /** - * The tags associated with the iam policy. + * The tags associated with the IAM policy. */ tags?: pulumi.Input[]>; /** @@ -239,7 +239,7 @@ export interface IamPolicyState { */ updatedAt?: pulumi.Input; /** - * ID of the User the policy will be linked to + * ID of the user the policy will be linked to */ userId?: pulumi.Input; } @@ -249,25 +249,25 @@ export interface IamPolicyState { */ export interface IamPolicyArgs { /** - * ID of the Application the policy will be linked to + * ID of the application the policy will be linked to */ applicationId?: pulumi.Input; /** - * The description of the iam policy. + * The description of the IAM policy. */ description?: pulumi.Input; /** - * ID of the Group the policy will be linked to + * ID of the group the policy will be linked to */ groupId?: pulumi.Input; /** - * The name of the iam policy. + * The name of the IAM policy. */ name?: pulumi.Input; /** * If the policy doesn't apply to a principal. * - * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. + * > **Important** Only one of `userId`, `groupId`, `applicationId` and `noPrincipal` may be set. */ noPrincipal?: pulumi.Input; /** @@ -279,11 +279,11 @@ export interface IamPolicyArgs { */ rules: pulumi.Input[]>; /** - * The tags associated with the iam policy. + * The tags associated with the IAM policy. */ tags?: pulumi.Input[]>; /** - * ID of the User the policy will be linked to + * ID of the user the policy will be linked to */ userId?: pulumi.Input; } diff --git a/sdk/nodejs/iamSshKey.ts b/sdk/nodejs/iamSshKey.ts index 1f3c1523..66471d94 100644 --- a/sdk/nodejs/iamSshKey.ts +++ b/sdk/nodejs/iamSshKey.ts @@ -6,8 +6,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway IAM SSH Keys. - * For more information, - * see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). + * For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). * * ## Example Usage * diff --git a/sdk/nodejs/iamUser.ts b/sdk/nodejs/iamUser.ts index 9ac37251..46cbb5f3 100644 --- a/sdk/nodejs/iamUser.ts +++ b/sdk/nodejs/iamUser.ts @@ -62,11 +62,11 @@ export class IamUser extends pulumi.CustomResource { */ public /*out*/ readonly accountRootUserId!: pulumi.Output; /** - * The date and time of the creation of the iam user. + * The date and time of the creation of the IAM user. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * Whether the iam user is deletable. + * Whether the IAM user is deletable. */ public /*out*/ readonly deletable!: pulumi.Output; /** @@ -86,15 +86,15 @@ export class IamUser extends pulumi.CustomResource { */ public readonly organizationId!: pulumi.Output; /** - * The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + * The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ public /*out*/ readonly status!: pulumi.Output; /** - * The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + * The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ public /*out*/ readonly type!: pulumi.Output; /** - * The date and time of the last update of the iam user. + * The date and time of the last update of the IAM user. */ public /*out*/ readonly updatedAt!: pulumi.Output; @@ -151,11 +151,11 @@ export interface IamUserState { */ accountRootUserId?: pulumi.Input; /** - * The date and time of the creation of the iam user. + * The date and time of the creation of the IAM user. */ createdAt?: pulumi.Input; /** - * Whether the iam user is deletable. + * Whether the IAM user is deletable. */ deletable?: pulumi.Input; /** @@ -175,15 +175,15 @@ export interface IamUserState { */ organizationId?: pulumi.Input; /** - * The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + * The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ status?: pulumi.Input; /** - * The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + * The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ type?: pulumi.Input; /** - * The date and time of the last update of the iam user. + * The date and time of the last update of the IAM user. */ updatedAt?: pulumi.Input; } diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index a2354597..11ff14e3 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -15,10 +15,10 @@ export type AccountSshKey = import("./accountSshKey").AccountSshKey; export const AccountSshKey: typeof import("./accountSshKey").AccountSshKey = null as any; utilities.lazyLoad(exports, ["AccountSshKey"], () => require("./accountSshKey")); -export { AppleSliconValleyServerArgs, AppleSliconValleyServerState } from "./appleSliconValleyServer"; -export type AppleSliconValleyServer = import("./appleSliconValleyServer").AppleSliconValleyServer; -export const AppleSliconValleyServer: typeof import("./appleSliconValleyServer").AppleSliconValleyServer = null as any; -utilities.lazyLoad(exports, ["AppleSliconValleyServer"], () => require("./appleSliconValleyServer")); +export { AppleSiliconServerArgs, AppleSiliconServerState } from "./appleSiliconServer"; +export type AppleSiliconServer = import("./appleSiliconServer").AppleSiliconServer; +export const AppleSiliconServer: typeof import("./appleSiliconServer").AppleSiliconServer = null as any; +utilities.lazyLoad(exports, ["AppleSiliconServer"], () => require("./appleSiliconServer")); export { BaremetalServerArgs, BaremetalServerState } from "./baremetalServer"; export type BaremetalServer = import("./baremetalServer").BaremetalServer; @@ -270,6 +270,11 @@ export const getCockpitPlan: typeof import("./getCockpitPlan").getCockpitPlan = export const getCockpitPlanOutput: typeof import("./getCockpitPlan").getCockpitPlanOutput = null as any; utilities.lazyLoad(exports, ["getCockpitPlan","getCockpitPlanOutput"], () => require("./getCockpitPlan")); +export { GetConfigResult } from "./getConfig"; +export const getConfig: typeof import("./getConfig").getConfig = null as any; +export const getConfigOutput: typeof import("./getConfig").getConfigOutput = null as any; +utilities.lazyLoad(exports, ["getConfig","getConfigOutput"], () => require("./getConfig")); + export { GetContainerArgs, GetContainerResult, GetContainerOutputArgs } from "./getContainer"; export const getContainer: typeof import("./getContainer").getContainer = null as any; export const getContainerOutput: typeof import("./getContainer").getContainerOutput = null as any; @@ -968,8 +973,8 @@ const _module = { return new AccountProject(name, undefined, { urn }) case "scaleway:index/accountSshKey:AccountSshKey": return new AccountSshKey(name, undefined, { urn }) - case "scaleway:index/appleSliconValleyServer:AppleSliconValleyServer": - return new AppleSliconValleyServer(name, undefined, { urn }) + case "scaleway:index/appleSiliconServer:AppleSiliconServer": + return new AppleSiliconServer(name, undefined, { urn }) case "scaleway:index/baremetalServer:BaremetalServer": return new BaremetalServer(name, undefined, { urn }) case "scaleway:index/blockSnapshot:BlockSnapshot": @@ -1183,7 +1188,7 @@ const _module = { }; pulumi.runtime.registerResourceModule("scaleway", "index/accountProject", _module) pulumi.runtime.registerResourceModule("scaleway", "index/accountSshKey", _module) -pulumi.runtime.registerResourceModule("scaleway", "index/appleSliconValleyServer", _module) +pulumi.runtime.registerResourceModule("scaleway", "index/appleSiliconServer", _module) pulumi.runtime.registerResourceModule("scaleway", "index/baremetalServer", _module) pulumi.runtime.registerResourceModule("scaleway", "index/blockSnapshot", _module) pulumi.runtime.registerResourceModule("scaleway", "index/blockVolume", _module) diff --git a/sdk/nodejs/ipamIp.ts b/sdk/nodejs/ipamIp.ts index 55b1f9b4..6be9a1b5 100644 --- a/sdk/nodejs/ipamIp.ts +++ b/sdk/nodejs/ipamIp.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Books and manages Scaleway IPAM IPs. + * Books and manages IPAM IPs. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Example Usage * @@ -29,7 +31,7 @@ import * as utilities from "./utilities"; * }]}); * ``` * - * ### Request a specific IPv4 + * ### Request a specific IPv4 address * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -50,7 +52,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### Request an IPv6 + * ### Request an IPv6 address * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -73,7 +75,7 @@ import * as utilities from "./utilities"; * * ## Import * - * IPAM IPs can be imported using the `{region}/{id}`, e.g. + * IPAM IPs can be imported using `{region}/{id}`, e.g. * * bash * @@ -118,11 +120,11 @@ export class IpamIp extends pulumi.CustomResource { */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * Defines whether to request an IPv6 instead of an IPv4. + * Defines whether to request an IPv6 address instead of IPv4. */ public readonly isIpv6!: pulumi.Output; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -134,7 +136,7 @@ export class IpamIp extends pulumi.CustomResource { */ public /*out*/ readonly resources!: pulumi.Output; /** - * The reverses DNS for this IP. + * The reverse DNS for this IP. */ public /*out*/ readonly reverses!: pulumi.Output; /** @@ -213,11 +215,11 @@ export interface IpamIpState { */ createdAt?: pulumi.Input; /** - * Defines whether to request an IPv6 instead of an IPv4. + * Defines whether to request an IPv6 address instead of IPv4. */ isIpv6?: pulumi.Input; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: pulumi.Input; /** @@ -229,7 +231,7 @@ export interface IpamIpState { */ resources?: pulumi.Input[]>; /** - * The reverses DNS for this IP. + * The reverse DNS for this IP. */ reverses?: pulumi.Input[]>; /** @@ -259,11 +261,11 @@ export interface IpamIpArgs { */ address?: pulumi.Input; /** - * Defines whether to request an IPv6 instead of an IPv4. + * Defines whether to request an IPv6 address instead of IPv4. */ isIpv6?: pulumi.Input; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: pulumi.Input; /** diff --git a/sdk/nodejs/ipamIpReverseDns.ts b/sdk/nodejs/ipamIpReverseDns.ts index c97ce199..43dce61f 100644 --- a/sdk/nodejs/ipamIpReverseDns.ts +++ b/sdk/nodejs/ipamIpReverseDns.ts @@ -5,11 +5,13 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Manages Scaleway IPAM IP Reverse DNS. + * Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service. + * + * For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). * * ## Import * - * IPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g. + * IPAM IP reverse DNS can be imported using `{region}/{id}`, e.g. * * bash * diff --git a/sdk/nodejs/kubernetesCluster.ts b/sdk/nodejs/kubernetesCluster.ts index 20780c58..fa518ba0 100644 --- a/sdk/nodejs/kubernetesCluster.ts +++ b/sdk/nodejs/kubernetesCluster.ts @@ -17,15 +17,15 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const hedy = new scaleway.VpcPrivateNetwork("hedy", {}); - * const jack = new scaleway.KubernetesCluster("jack", { - * version: "1.24.3", + * const pn = new scaleway.VpcPrivateNetwork("pn", {}); + * const cluster = new scaleway.KubernetesCluster("cluster", { + * version: "1.29.1", * cni: "cilium", - * privateNetworkId: hedy.id, + * privateNetworkId: pn.id, * deleteAdditionalResources: false, * }); - * const john = new scaleway.KubernetesNodePool("john", { - * clusterId: jack.id, + * const pool = new scaleway.KubernetesNodePool("pool", { + * clusterId: cluster.id, * nodeType: "DEV1-M", * size: 1, * }); @@ -37,14 +37,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const henry = new scaleway.KubernetesCluster("henry", { + * const cluster = new scaleway.KubernetesCluster("cluster", { * type: "multicloud", - * version: "1.24.3", + * version: "1.29.1", * cni: "kilo", * deleteAdditionalResources: false, * }); - * const friendFromOuterSpace = new scaleway.KubernetesNodePool("friendFromOuterSpace", { - * clusterId: henry.id, + * const pool = new scaleway.KubernetesNodePool("pool", { + * clusterId: cluster.id, * nodeType: "external", * size: 0, * minSize: 0, @@ -59,16 +59,13 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * - * const hedy = new scaleway.VpcPrivateNetwork("hedy", {}); - * const johnKubernetesCluster = new scaleway.KubernetesCluster("johnKubernetesCluster", { - * description: "my awesome cluster", - * version: "1.24.3", + * const pn = new scaleway.VpcPrivateNetwork("pn", {}); + * const cluster = new scaleway.KubernetesCluster("cluster", { + * description: "cluster made in terraform", + * version: "1.29.1", * cni: "calico", - * tags: [ - * "i'm an awesome tag", - * "yay", - * ], - * privateNetworkId: hedy.id, + * tags: ["terraform"], + * privateNetworkId: pn.id, * deleteAdditionalResources: false, * autoscalerConfig: { * disableScaleDown: false, @@ -80,8 +77,8 @@ import * as utilities from "./utilities"; * expendablePodsPriorityCutoff: -5, * }, * }); - * const johnKubernetesNodePool = new scaleway.KubernetesNodePool("johnKubernetesNodePool", { - * clusterId: johnKubernetesCluster.id, + * const pool = new scaleway.KubernetesNodePool("pool", { + * clusterId: cluster.id, * nodeType: "DEV1-M", * size: 3, * autoscaling: true, diff --git a/sdk/nodejs/loadbalancer.ts b/sdk/nodejs/loadbalancer.ts index 24ed0136..c89ed073 100644 --- a/sdk/nodejs/loadbalancer.ts +++ b/sdk/nodejs/loadbalancer.ts @@ -7,8 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancers. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api). + * Creates and manages Scaleway Load Balancers. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). * * ## Example Usage * @@ -55,10 +56,68 @@ import * as utilities from "./utilities"; * }); * ``` * + * ### Multiple configurations + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as scaleway from "@pulumiverse/scaleway"; + * + * //## IP for Public Gateway + * const mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp", {}); + * //## Scaleway Private Network + * const mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork", {}); + * //## VPC Public Gateway Network + * const mainVpcPublicGateway = new scaleway.VpcPublicGateway("mainVpcPublicGateway", { + * type: "VPC-GW-S", + * ipId: mainVpcPublicGatewayIp.id, + * }); + * //## VPC Public Gateway Network DHCP config + * const mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", {subnet: "10.0.0.0/24"}); + * //## VPC Gateway Network + * const mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", { + * gatewayId: mainVpcPublicGateway.id, + * privateNetworkId: mainVpcPrivateNetwork.id, + * dhcpId: mainVpcPublicGatewayDhcp.id, + * cleanupDhcp: true, + * enableMasquerade: true, + * }); + * //## Scaleway Instance + * const mainInstanceServer = new scaleway.InstanceServer("mainInstanceServer", { + * type: "DEV1-S", + * image: "debian_bullseye", + * enableIpv6: false, + * privateNetworks: [{ + * pnId: mainVpcPrivateNetwork.id, + * }], + * }); + * //## IP for LB IP + * const mainLoadbalancerIp = new scaleway.LoadbalancerIp("mainLoadbalancerIp", {}); + * //## Scaleway Private Network + * const mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork", {}); + * //## Scaleway Load Balancer + * const mainLoadbalancer = new scaleway.Loadbalancer("mainLoadbalancer", { + * ipId: mainLoadbalancerIp.id, + * type: "LB-S", + * privateNetworks: [{ + * privateNetworkId: mainVpcPrivateNetwork.id, + * dhcpConfig: true, + * }], + * }, { + * dependsOn: [mainVpcPublicGateway], + * }); + * ``` + * + * ## Migration + * + * In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`. + * This change will not recreate your Load Balancer. + * + * Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details + * * ## IP ID * * Since v1.15.0, `ipId` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required. - * When importing, the IP needs to be imported as well as the LB. + * When importing, the IP needs to be imported as well as the Load Balancer. * When upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it. * * For instance, if you had the following: @@ -90,7 +149,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Load-Balancer can be imported using the `{zone}/{id}`, e.g. + * Load Balancers can be imported using `{zone}/{id}`, e.g. * * bash * @@ -129,25 +188,25 @@ export class Loadbalancer extends pulumi.CustomResource { } /** - * Defines whether to automatically assign a flexible public IP to the load-balancer. + * Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. */ public readonly assignFlexibleIp!: pulumi.Output; /** - * Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + * Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. */ public readonly assignFlexibleIpv6!: pulumi.Output; /** - * The description of the load-balancer. + * The description of the Load Balancer. */ public readonly description!: pulumi.Output; /** - * The load-balancer public IPv4 Address. + * The Load Balancer public IPv4 address. */ public /*out*/ readonly ipAddress!: pulumi.Output; /** - * The ID of the associated LB IP. See below. + * The ID of the associated Load Balancer IP. See below. * - * > **Important:** Updates to `ipId` will recreate the load-balancer. + * > **Important:** Updates to `ipId` will recreate the Load Balancer. * * @deprecated Please use ip_ids */ @@ -157,15 +216,15 @@ export class Loadbalancer extends pulumi.CustomResource { */ public readonly ipIds!: pulumi.Output; /** - * The load-balancer public IPv6 Address. + * The Load Balancer public IPv6 address. */ public /*out*/ readonly ipv6Address!: pulumi.Output; /** - * The name of the load-balancer. + * The name of the Load Balancer. */ public readonly name!: pulumi.Output; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization ID the Load Balancer is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** @@ -173,7 +232,7 @@ export class Loadbalancer extends pulumi.CustomResource { */ public readonly privateNetworks!: pulumi.Output; /** - * `projectId`) The ID of the project the load-balancer is associated with. + * `projectId`) The ID of the Project the Load Balancer is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -181,7 +240,7 @@ export class Loadbalancer extends pulumi.CustomResource { */ public /*out*/ readonly region!: pulumi.Output; /** - * The releaseIp allow release the ip address associated with the load-balancers. + * The `releaseIp` allow the release of the IP address associated with the Load Balancer. * * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false` */ @@ -191,15 +250,15 @@ export class Loadbalancer extends pulumi.CustomResource { */ public readonly sslCompatibilityLevel!: pulumi.Output; /** - * The tags associated with the load-balancers. + * The tags associated with the Load Balancer. */ public readonly tags!: pulumi.Output; /** - * The type of the load-balancer. Please check the migration section to upgrade the type. + * The type of the Load Balancer. Please check the migration section to upgrade the type. */ public readonly type!: pulumi.Output; /** - * `zone`) The zone of the load-balancer. + * `zone`) The zone of the Load Balancer. */ public readonly zone!: pulumi.Output; @@ -266,25 +325,25 @@ export class Loadbalancer extends pulumi.CustomResource { */ export interface LoadbalancerState { /** - * Defines whether to automatically assign a flexible public IP to the load-balancer. + * Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. */ assignFlexibleIp?: pulumi.Input; /** - * Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + * Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. */ assignFlexibleIpv6?: pulumi.Input; /** - * The description of the load-balancer. + * The description of the Load Balancer. */ description?: pulumi.Input; /** - * The load-balancer public IPv4 Address. + * The Load Balancer public IPv4 address. */ ipAddress?: pulumi.Input; /** - * The ID of the associated LB IP. See below. + * The ID of the associated Load Balancer IP. See below. * - * > **Important:** Updates to `ipId` will recreate the load-balancer. + * > **Important:** Updates to `ipId` will recreate the Load Balancer. * * @deprecated Please use ip_ids */ @@ -294,15 +353,15 @@ export interface LoadbalancerState { */ ipIds?: pulumi.Input[]>; /** - * The load-balancer public IPv6 Address. + * The Load Balancer public IPv6 address. */ ipv6Address?: pulumi.Input; /** - * The name of the load-balancer. + * The name of the Load Balancer. */ name?: pulumi.Input; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization ID the Load Balancer is associated with. */ organizationId?: pulumi.Input; /** @@ -310,7 +369,7 @@ export interface LoadbalancerState { */ privateNetworks?: pulumi.Input[]>; /** - * `projectId`) The ID of the project the load-balancer is associated with. + * `projectId`) The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; /** @@ -318,7 +377,7 @@ export interface LoadbalancerState { */ region?: pulumi.Input; /** - * The releaseIp allow release the ip address associated with the load-balancers. + * The `releaseIp` allow the release of the IP address associated with the Load Balancer. * * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false` */ @@ -328,15 +387,15 @@ export interface LoadbalancerState { */ sslCompatibilityLevel?: pulumi.Input; /** - * The tags associated with the load-balancers. + * The tags associated with the Load Balancer. */ tags?: pulumi.Input[]>; /** - * The type of the load-balancer. Please check the migration section to upgrade the type. + * The type of the Load Balancer. Please check the migration section to upgrade the type. */ type?: pulumi.Input; /** - * `zone`) The zone of the load-balancer. + * `zone`) The zone of the Load Balancer. */ zone?: pulumi.Input; } @@ -346,21 +405,21 @@ export interface LoadbalancerState { */ export interface LoadbalancerArgs { /** - * Defines whether to automatically assign a flexible public IP to the load-balancer. + * Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. */ assignFlexibleIp?: pulumi.Input; /** - * Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + * Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. */ assignFlexibleIpv6?: pulumi.Input; /** - * The description of the load-balancer. + * The description of the Load Balancer. */ description?: pulumi.Input; /** - * The ID of the associated LB IP. See below. + * The ID of the associated Load Balancer IP. See below. * - * > **Important:** Updates to `ipId` will recreate the load-balancer. + * > **Important:** Updates to `ipId` will recreate the Load Balancer. * * @deprecated Please use ip_ids */ @@ -370,7 +429,7 @@ export interface LoadbalancerArgs { */ ipIds?: pulumi.Input[]>; /** - * The name of the load-balancer. + * The name of the Load Balancer. */ name?: pulumi.Input; /** @@ -378,11 +437,11 @@ export interface LoadbalancerArgs { */ privateNetworks?: pulumi.Input[]>; /** - * `projectId`) The ID of the project the load-balancer is associated with. + * `projectId`) The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; /** - * The releaseIp allow release the ip address associated with the load-balancers. + * The `releaseIp` allow the release of the IP address associated with the Load Balancer. * * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false` */ @@ -392,15 +451,15 @@ export interface LoadbalancerArgs { */ sslCompatibilityLevel?: pulumi.Input; /** - * The tags associated with the load-balancers. + * The tags associated with the Load Balancer. */ tags?: pulumi.Input[]>; /** - * The type of the load-balancer. Please check the migration section to upgrade the type. + * The type of the Load Balancer. Please check the migration section to upgrade the type. */ type: pulumi.Input; /** - * `zone`) The zone of the load-balancer. + * `zone`) The zone of the Load Balancer. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/loadbalancerAcl.ts b/sdk/nodejs/loadbalancerAcl.ts index 32e214f9..c01c2e3d 100644 --- a/sdk/nodejs/loadbalancerAcl.ts +++ b/sdk/nodejs/loadbalancerAcl.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls). + * Creates and manages Scaleway Load Balancer ACLs. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). * * ## Example Usage * @@ -36,7 +38,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. + * Load Balancer ACLs can be imported using `{zone}/{id}`, e.g. * * bash * @@ -85,11 +87,11 @@ export class LoadbalancerAcl extends pulumi.CustomResource { */ public readonly description!: pulumi.Output; /** - * The load-balancer Frontend ID to attach the ACL to. + * The ID of the Load Balancer frontend to attach the ACL to. */ public readonly frontendId!: pulumi.Output; /** - * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + * The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). */ public readonly index!: pulumi.Output; /** @@ -168,11 +170,11 @@ export interface LoadbalancerAclState { */ description?: pulumi.Input; /** - * The load-balancer Frontend ID to attach the ACL to. + * The ID of the Load Balancer frontend to attach the ACL to. */ frontendId?: pulumi.Input; /** - * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + * The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). */ index?: pulumi.Input; /** @@ -202,11 +204,11 @@ export interface LoadbalancerAclArgs { */ description?: pulumi.Input; /** - * The load-balancer Frontend ID to attach the ACL to. + * The ID of the Load Balancer frontend to attach the ACL to. */ frontendId: pulumi.Input; /** - * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + * The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). */ index: pulumi.Input; /** diff --git a/sdk/nodejs/loadbalancerBackend.ts b/sdk/nodejs/loadbalancerBackend.ts index 64178fb5..d35c2870 100644 --- a/sdk/nodejs/loadbalancerBackend.ts +++ b/sdk/nodejs/loadbalancerBackend.ts @@ -7,8 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancer Backends. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + * Creates and manages Scaleway Load Balancer backends. + * + * or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). * * ## Example Usage * @@ -43,7 +44,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Load-Balancer backend can be imported using the `{zone}/{id}`, e.g. + * Load Balancer backends can be imported using `{zone}/{id}`, e.g. * * bash * diff --git a/sdk/nodejs/loadbalancerFrontend.ts b/sdk/nodejs/loadbalancerFrontend.ts index d36fd228..a4b3432b 100644 --- a/sdk/nodejs/loadbalancerFrontend.ts +++ b/sdk/nodejs/loadbalancerFrontend.ts @@ -7,7 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + * Creates and manages Scaleway Load Balancer frontends. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). * * ## Example Usage * @@ -114,7 +116,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + * Load Balancer frontends can be imported using `{zone}/{id}`, e.g. * * bash * @@ -151,23 +153,23 @@ export class LoadbalancerFrontend extends pulumi.CustomResource { } /** - * A list of ACL rules to apply to the load-balancer frontend. Defined below. + * A list of ACL rules to apply to the Load Balancer frontend. Defined below. */ public readonly acls!: pulumi.Output; /** - * The load-balancer backend ID this frontend is attached to. + * The ID of the Load Balancer backend this frontend is attached to. * * > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. */ public readonly backendId!: pulumi.Output; /** - * (Deprecated) first certificate ID used by the frontend. + * (Deprecated) First certificate ID used by the frontend. * * @deprecated Please use certificate_ids */ public /*out*/ readonly certificateId!: pulumi.Output; /** - * List of Certificate IDs that should be used by the frontend. + * List of certificate IDs that should be used by the frontend. * * > **Important:** Certificates are not allowed on port 80. */ @@ -178,15 +180,15 @@ export class LoadbalancerFrontend extends pulumi.CustomResource { public readonly enableHttp3!: pulumi.Output; /** * A boolean to specify whether to use lb_acl. - * If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + * If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. */ public readonly externalAcls!: pulumi.Output; /** - * TCP port to listen on the front side. + * TCP port to listen to on the front side. */ public readonly inboundPort!: pulumi.Output; /** - * The load-balancer ID this frontend is attached to. + * The ID of the Load Balancer this frontend is attached to. */ public readonly lbId!: pulumi.Output; /** @@ -194,7 +196,7 @@ export class LoadbalancerFrontend extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * Maximum inactivity time on the client side. (e.g.: `1s`) + * Maximum inactivity time on the client side. (e.g. `1s`) */ public readonly timeoutClient!: pulumi.Output; @@ -253,23 +255,23 @@ export class LoadbalancerFrontend extends pulumi.CustomResource { */ export interface LoadbalancerFrontendState { /** - * A list of ACL rules to apply to the load-balancer frontend. Defined below. + * A list of ACL rules to apply to the Load Balancer frontend. Defined below. */ acls?: pulumi.Input[]>; /** - * The load-balancer backend ID this frontend is attached to. + * The ID of the Load Balancer backend this frontend is attached to. * * > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. */ backendId?: pulumi.Input; /** - * (Deprecated) first certificate ID used by the frontend. + * (Deprecated) First certificate ID used by the frontend. * * @deprecated Please use certificate_ids */ certificateId?: pulumi.Input; /** - * List of Certificate IDs that should be used by the frontend. + * List of certificate IDs that should be used by the frontend. * * > **Important:** Certificates are not allowed on port 80. */ @@ -280,15 +282,15 @@ export interface LoadbalancerFrontendState { enableHttp3?: pulumi.Input; /** * A boolean to specify whether to use lb_acl. - * If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + * If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. */ externalAcls?: pulumi.Input; /** - * TCP port to listen on the front side. + * TCP port to listen to on the front side. */ inboundPort?: pulumi.Input; /** - * The load-balancer ID this frontend is attached to. + * The ID of the Load Balancer this frontend is attached to. */ lbId?: pulumi.Input; /** @@ -296,7 +298,7 @@ export interface LoadbalancerFrontendState { */ name?: pulumi.Input; /** - * Maximum inactivity time on the client side. (e.g.: `1s`) + * Maximum inactivity time on the client side. (e.g. `1s`) */ timeoutClient?: pulumi.Input; } @@ -306,17 +308,17 @@ export interface LoadbalancerFrontendState { */ export interface LoadbalancerFrontendArgs { /** - * A list of ACL rules to apply to the load-balancer frontend. Defined below. + * A list of ACL rules to apply to the Load Balancer frontend. Defined below. */ acls?: pulumi.Input[]>; /** - * The load-balancer backend ID this frontend is attached to. + * The ID of the Load Balancer backend this frontend is attached to. * * > **Important:** Updates to `lbId` or `backendId` will recreate the frontend. */ backendId: pulumi.Input; /** - * List of Certificate IDs that should be used by the frontend. + * List of certificate IDs that should be used by the frontend. * * > **Important:** Certificates are not allowed on port 80. */ @@ -327,15 +329,15 @@ export interface LoadbalancerFrontendArgs { enableHttp3?: pulumi.Input; /** * A boolean to specify whether to use lb_acl. - * If `externalAcls` is set to `true`, `acl` can not be set directly in the lb frontend. + * If `externalAcls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. */ externalAcls?: pulumi.Input; /** - * TCP port to listen on the front side. + * TCP port to listen to on the front side. */ inboundPort: pulumi.Input; /** - * The load-balancer ID this frontend is attached to. + * The ID of the Load Balancer this frontend is attached to. */ lbId: pulumi.Input; /** @@ -343,7 +345,7 @@ export interface LoadbalancerFrontendArgs { */ name?: pulumi.Input; /** - * Maximum inactivity time on the client side. (e.g.: `1s`) + * Maximum inactivity time on the client side. (e.g. `1s`) */ timeoutClient?: pulumi.Input; } diff --git a/sdk/nodejs/loadbalancerIp.ts b/sdk/nodejs/loadbalancerIp.ts index 55ea3778..167afa7f 100644 --- a/sdk/nodejs/loadbalancerIp.ts +++ b/sdk/nodejs/loadbalancerIp.ts @@ -5,8 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancers IPs. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses). + * Creates and manages Scaleway Load Balancer IP addresses. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). * * ## Example Usage * @@ -30,7 +31,7 @@ import * as utilities from "./utilities"; * * ## Import * - * IPs can be imported using the `{zone}/{id}`, e.g. + * IPs can be imported using `{zone}/{id}`, e.g. * * bash * @@ -67,15 +68,15 @@ export class LoadbalancerIp extends pulumi.CustomResource { } /** - * The IP Address + * The IP address */ public /*out*/ readonly ipAddress!: pulumi.Output; /** - * If true, creates a Flexible IP with an IPv6 address. + * If true, creates a flexible IP with an IPv6 address. */ public readonly isIpv6!: pulumi.Output; /** - * The associated load-balance ID if any + * The associated Load Balancer ID if any */ public /*out*/ readonly lbId!: pulumi.Output; /** @@ -83,7 +84,7 @@ export class LoadbalancerIp extends pulumi.CustomResource { */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -141,15 +142,15 @@ export class LoadbalancerIp extends pulumi.CustomResource { */ export interface LoadbalancerIpState { /** - * The IP Address + * The IP address */ ipAddress?: pulumi.Input; /** - * If true, creates a Flexible IP with an IPv6 address. + * If true, creates a flexible IP with an IPv6 address. */ isIpv6?: pulumi.Input; /** - * The associated load-balance ID if any + * The associated Load Balancer ID if any */ lbId?: pulumi.Input; /** @@ -157,7 +158,7 @@ export interface LoadbalancerIpState { */ organizationId?: pulumi.Input; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: pulumi.Input; /** @@ -179,11 +180,11 @@ export interface LoadbalancerIpState { */ export interface LoadbalancerIpArgs { /** - * If true, creates a Flexible IP with an IPv6 address. + * If true, creates a flexible IP with an IPv6 address. */ isIpv6?: pulumi.Input; /** - * `projectId`) The ID of the project the IP is associated with. + * `projectId`) The ID of the Project the IP is associated with. */ projectId?: pulumi.Input; /** diff --git a/sdk/nodejs/loadbalancerRoute.ts b/sdk/nodejs/loadbalancerRoute.ts index 5c74f192..f9683a32 100644 --- a/sdk/nodejs/loadbalancerRoute.ts +++ b/sdk/nodejs/loadbalancerRoute.ts @@ -5,8 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Load-Balancer Routes. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + * Creates and manages Scaleway Load Balancer routes. + * + * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * @@ -70,7 +71,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + * Load Balancer frontends can be imported using `{zone}/{id}`, e.g. * * bash * @@ -107,15 +108,15 @@ export class LoadbalancerRoute extends pulumi.CustomResource { } /** - * The ID of the backend to which the route is associated. + * The ID of the backend the route is associated with. */ public readonly backendId!: pulumi.Output; /** - * The date at which the route was created. + * The date on which the route was created. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The ID of the frontend to which the route is associated. + * The ID of the frontend the route is associated with. */ public readonly frontendId!: pulumi.Output; /** @@ -133,7 +134,7 @@ export class LoadbalancerRoute extends pulumi.CustomResource { */ public readonly matchSni!: pulumi.Output; /** - * The date at which the route was last updated. + * The date on which the route was last updated. */ public /*out*/ readonly updatedAt!: pulumi.Output; @@ -181,15 +182,15 @@ export class LoadbalancerRoute extends pulumi.CustomResource { */ export interface LoadbalancerRouteState { /** - * The ID of the backend to which the route is associated. + * The ID of the backend the route is associated with. */ backendId?: pulumi.Input; /** - * The date at which the route was created. + * The date on which the route was created. */ createdAt?: pulumi.Input; /** - * The ID of the frontend to which the route is associated. + * The ID of the frontend the route is associated with. */ frontendId?: pulumi.Input; /** @@ -207,7 +208,7 @@ export interface LoadbalancerRouteState { */ matchSni?: pulumi.Input; /** - * The date at which the route was last updated. + * The date on which the route was last updated. */ updatedAt?: pulumi.Input; } @@ -217,11 +218,11 @@ export interface LoadbalancerRouteState { */ export interface LoadbalancerRouteArgs { /** - * The ID of the backend to which the route is associated. + * The ID of the backend the route is associated with. */ backendId: pulumi.Input; /** - * The ID of the frontend to which the route is associated. + * The ID of the frontend the route is associated with. */ frontendId: pulumi.Input; /** diff --git a/sdk/nodejs/mnqNatsAccount.ts b/sdk/nodejs/mnqNatsAccount.ts index c4b507e4..5ae8d2e4 100644 --- a/sdk/nodejs/mnqNatsAccount.ts +++ b/sdk/nodejs/mnqNatsAccount.ts @@ -5,10 +5,10 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Messaging and queuing Nats Accounts. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) - * To use Scaleway's provider with official nats jetstream provider, check out the corresponding guide + * Creates and manages Scaleway Messaging and Queuing NATS accounts. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + * To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide. * * ## Example Usage * @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Namespaces can be imported using the `{region}/{id}`, e.g. + * Namespaces can be imported using `{region}/{id}`, e.g. * * bash * @@ -64,11 +64,11 @@ export class MnqNatsAccount extends pulumi.CustomResource { */ public /*out*/ readonly endpoint!: pulumi.Output; /** - * The unique name of the nats account. + * The unique name of the NATS account. */ public readonly name!: pulumi.Output; /** - * `projectId`) The ID of the project the + * `projectId`) The ID of the Project the * account is associated with. */ public readonly projectId!: pulumi.Output; @@ -116,11 +116,11 @@ export interface MnqNatsAccountState { */ endpoint?: pulumi.Input; /** - * The unique name of the nats account. + * The unique name of the NATS account. */ name?: pulumi.Input; /** - * `projectId`) The ID of the project the + * `projectId`) The ID of the Project the * account is associated with. */ projectId?: pulumi.Input; @@ -136,11 +136,11 @@ export interface MnqNatsAccountState { */ export interface MnqNatsAccountArgs { /** - * The unique name of the nats account. + * The unique name of the NATS account. */ name?: pulumi.Input; /** - * `projectId`) The ID of the project the + * `projectId`) The ID of the Project the * account is associated with. */ projectId?: pulumi.Input; diff --git a/sdk/nodejs/mnqNatsCredentials.ts b/sdk/nodejs/mnqNatsCredentials.ts index e7bc8749..7e41a107 100644 --- a/sdk/nodejs/mnqNatsCredentials.ts +++ b/sdk/nodejs/mnqNatsCredentials.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Messaging and queuing Nats Credentials. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + * Creates and manages Scaleway Messaging and Queuing NATS credentials. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/). * * ## Example Usage * @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Namespaces can be imported using the `{region}/{id}`, e.g. + * Namespaces can be imported using `{region}/{id}`, e.g. * * bash * @@ -60,7 +60,7 @@ export class MnqNatsCredentials extends pulumi.CustomResource { } /** - * The ID of the nats account the credentials are generated from + * The ID of the NATS account the credentials are generated from */ public readonly accountId!: pulumi.Output; /** @@ -68,7 +68,7 @@ export class MnqNatsCredentials extends pulumi.CustomResource { */ public /*out*/ readonly file!: pulumi.Output; /** - * The unique name of the nats credentials. + * The unique name of the NATS credentials. */ public readonly name!: pulumi.Output; /** @@ -114,7 +114,7 @@ export class MnqNatsCredentials extends pulumi.CustomResource { */ export interface MnqNatsCredentialsState { /** - * The ID of the nats account the credentials are generated from + * The ID of the NATS account the credentials are generated from */ accountId?: pulumi.Input; /** @@ -122,7 +122,7 @@ export interface MnqNatsCredentialsState { */ file?: pulumi.Input; /** - * The unique name of the nats credentials. + * The unique name of the NATS credentials. */ name?: pulumi.Input; /** @@ -137,11 +137,11 @@ export interface MnqNatsCredentialsState { */ export interface MnqNatsCredentialsArgs { /** - * The ID of the nats account the credentials are generated from + * The ID of the NATS account the credentials are generated from */ accountId: pulumi.Input; /** - * The unique name of the nats credentials. + * The unique name of the NATS credentials. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/mnqSns.ts b/sdk/nodejs/mnqSns.ts index 2b116cf6..29c78cd1 100644 --- a/sdk/nodejs/mnqSns.ts +++ b/sdk/nodejs/mnqSns.ts @@ -5,15 +5,15 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Activate Scaleway Messaging and queuing SNS for a project. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + * Activates Scaleway Messaging and Queuing SNS in a Project. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). * * ## Example Usage * * ### Basic * - * Activate SNS for default project + * Activate SNS in the default Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * const main = new scaleway.MnqSns("main", {}); * ``` * - * Activate SNS for a specific project + * Activate SNS in a specific Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -32,13 +32,13 @@ import * as utilities from "./utilities"; * const project = scaleway.getAccountProject({ * name: "default", * }); - * // For specific project in default region + * // For specific Project in default region * const forProject = new scaleway.MnqSns("forProject", {projectId: project.then(project => project.id)}); * ``` * * ## Import * - * SNS status can be imported using the `{region}/{project_id}`, e.g. + * SNS status can be imported using `{region}/{project_id}`, e.g. * * bash * @@ -75,16 +75,16 @@ export class MnqSns extends pulumi.CustomResource { } /** - * The endpoint of the SNS service for this project. + * The endpoint of the SNS service for this Project. */ public /*out*/ readonly endpoint!: pulumi.Output; /** - * `projectId`) The ID of the project the sns will be enabled for. + * `projectId`) The ID of the project in which SNS will be enabled. */ public readonly projectId!: pulumi.Output; /** * `region`). The region - * in which sns will be enabled. + * in which SNS will be enabled. */ public readonly region!: pulumi.Output; @@ -120,16 +120,16 @@ export class MnqSns extends pulumi.CustomResource { */ export interface MnqSnsState { /** - * The endpoint of the SNS service for this project. + * The endpoint of the SNS service for this Project. */ endpoint?: pulumi.Input; /** - * `projectId`) The ID of the project the sns will be enabled for. + * `projectId`) The ID of the project in which SNS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sns will be enabled. + * in which SNS will be enabled. */ region?: pulumi.Input; } @@ -139,12 +139,12 @@ export interface MnqSnsState { */ export interface MnqSnsArgs { /** - * `projectId`) The ID of the project the sns will be enabled for. + * `projectId`) The ID of the project in which SNS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sns will be enabled. + * in which SNS will be enabled. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/mnqSnsCredentials.ts b/sdk/nodejs/mnqSnsCredentials.ts index 1c43e495..a90e3fc5 100644 --- a/sdk/nodejs/mnqSnsCredentials.ts +++ b/sdk/nodejs/mnqSnsCredentials.ts @@ -7,9 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Messaging and queuing SNS Credentials. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + * Creates and manages Scaleway Messaging and Queuing SNS credentials. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) * * ## Example Usage * @@ -32,7 +32,7 @@ import * as utilities from "./utilities"; * * ## Import * - * SNS credentials can be imported using the `{region}/{id}`, e.g. + * SNS credentials can be imported using `{region}/{id}`, e.g. * * bash * @@ -73,19 +73,19 @@ export class MnqSnsCredentials extends pulumi.CustomResource { */ public /*out*/ readonly accessKey!: pulumi.Output; /** - * The unique name of the sns credentials. + * The unique name of the SNS credentials. */ public readonly name!: pulumi.Output; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ public readonly permissions!: pulumi.Output; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ public readonly projectId!: pulumi.Output; /** - * `region`). The region in which sns is enabled. + * `region`). The region in which SNS is enabled. */ public readonly region!: pulumi.Output; /** @@ -137,19 +137,19 @@ export interface MnqSnsCredentialsState { */ accessKey?: pulumi.Input; /** - * The unique name of the sns credentials. + * The unique name of the SNS credentials. */ name?: pulumi.Input; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** - * `region`). The region in which sns is enabled. + * `region`). The region in which SNS is enabled. */ region?: pulumi.Input; /** @@ -163,19 +163,19 @@ export interface MnqSnsCredentialsState { */ export interface MnqSnsCredentialsArgs { /** - * The unique name of the sns credentials. + * The unique name of the SNS credentials. */ name?: pulumi.Input; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** - * `region`). The region in which sns is enabled. + * `region`). The region in which SNS is enabled. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/mnqSnsTopic.ts b/sdk/nodejs/mnqSnsTopic.ts index b5ef3347..4e9e9559 100644 --- a/sdk/nodejs/mnqSnsTopic.ts +++ b/sdk/nodejs/mnqSnsTopic.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Manage Scaleway Messaging and queuing SNS Topics. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + * Manage Scaleway Messaging and queuing SNS topics. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/). * * ## Example Usage * @@ -33,7 +33,7 @@ import * as utilities from "./utilities"; * * ## Import * - * SNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g. + * SNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g. * * bash * @@ -82,11 +82,11 @@ export class MnqSnsTopic extends pulumi.CustomResource { */ public readonly contentBasedDeduplication!: pulumi.Output; /** - * Whether the topic is a FIFO. If true, the topic name must end with .fifo. + * Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. */ public readonly fifoTopic!: pulumi.Output; /** - * The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ public readonly name!: pulumi.Output; /** @@ -98,12 +98,12 @@ export class MnqSnsTopic extends pulumi.CustomResource { */ public /*out*/ readonly owner!: pulumi.Output; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ public readonly projectId!: pulumi.Output; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ public readonly region!: pulumi.Output; /** @@ -183,11 +183,11 @@ export interface MnqSnsTopicState { */ contentBasedDeduplication?: pulumi.Input; /** - * Whether the topic is a FIFO. If true, the topic name must end with .fifo. + * Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. */ fifoTopic?: pulumi.Input; /** - * The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ name?: pulumi.Input; /** @@ -199,12 +199,12 @@ export interface MnqSnsTopicState { */ owner?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ region?: pulumi.Input; /** @@ -230,11 +230,11 @@ export interface MnqSnsTopicArgs { */ contentBasedDeduplication?: pulumi.Input; /** - * Whether the topic is a FIFO. If true, the topic name must end with .fifo. + * Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. */ fifoTopic?: pulumi.Input; /** - * The unique name of the sns topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SNS topic. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ name?: pulumi.Input; /** @@ -242,12 +242,12 @@ export interface MnqSnsTopicArgs { */ namePrefix?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ region?: pulumi.Input; /** diff --git a/sdk/nodejs/mnqSnsTopicSubscription.ts b/sdk/nodejs/mnqSnsTopicSubscription.ts index e132aed1..a71749c0 100644 --- a/sdk/nodejs/mnqSnsTopicSubscription.ts +++ b/sdk/nodejs/mnqSnsTopicSubscription.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Manage Scaleway Messaging and queuing SNS Topic Subscriptions. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + * Manages Scaleway Messaging and Queuing SNS topic subscriptions. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). * * ## Example Usage * @@ -44,7 +44,7 @@ import * as utilities from "./utilities"; * * ## Import * - * SNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. + * SNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. * * bash * @@ -93,20 +93,20 @@ export class MnqSnsTopicSubscription extends pulumi.CustomResource { */ public readonly endpoint!: pulumi.Output; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ public readonly projectId!: pulumi.Output; /** - * Protocol of the SNS Topic Subscription. + * Protocol of the SNS topic subscription. */ public readonly protocol!: pulumi.Output; /** - * Activate JSON Redrive Policy. + * Activate JSON redrive policy. */ public readonly redrivePolicy!: pulumi.Output; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ public readonly region!: pulumi.Output; /** @@ -197,20 +197,20 @@ export interface MnqSnsTopicSubscriptionState { */ endpoint?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** - * Protocol of the SNS Topic Subscription. + * Protocol of the SNS topic subscription. */ protocol?: pulumi.Input; /** - * Activate JSON Redrive Policy. + * Activate JSON redrive policy. */ redrivePolicy?: pulumi.Input; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ region?: pulumi.Input; /** @@ -244,20 +244,20 @@ export interface MnqSnsTopicSubscriptionArgs { */ endpoint?: pulumi.Input; /** - * `projectId`) The ID of the project the sns is enabled for. + * `projectId`) The ID of the Project in which SNS is enabled. */ projectId?: pulumi.Input; /** - * Protocol of the SNS Topic Subscription. + * Protocol of the SNS topic subscription. */ protocol: pulumi.Input; /** - * Activate JSON Redrive Policy. + * Activate JSON redrive policy. */ redrivePolicy?: pulumi.Input; /** * `region`). The region - * in which sns is enabled. + * in which SNS is enabled. */ region?: pulumi.Input; /** diff --git a/sdk/nodejs/mnqSqs.ts b/sdk/nodejs/mnqSqs.ts index 611dcd2c..f17d1d32 100644 --- a/sdk/nodejs/mnqSqs.ts +++ b/sdk/nodejs/mnqSqs.ts @@ -5,15 +5,15 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Activate Scaleway Messaging and queuing SQS for a project. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + * Activate Scaleway Messaging and Queuing SQS in a Project. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/). * * ## Example Usage * * ### Basic * - * Activate SQS for default project + * Activate SQS in the default Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -74,16 +74,16 @@ export class MnqSqs extends pulumi.CustomResource { } /** - * The endpoint of the SQS service for this project. + * The endpoint of the SQS service for this Project. */ public /*out*/ readonly endpoint!: pulumi.Output; /** - * `projectId`) The ID of the project the sqs will be enabled for. + * `projectId`) The ID of the Project in which SQS will be enabled. */ public readonly projectId!: pulumi.Output; /** * `region`). The region - * in which sqs will be enabled. + * in which SQS will be enabled. */ public readonly region!: pulumi.Output; @@ -119,16 +119,16 @@ export class MnqSqs extends pulumi.CustomResource { */ export interface MnqSqsState { /** - * The endpoint of the SQS service for this project. + * The endpoint of the SQS service for this Project. */ endpoint?: pulumi.Input; /** - * `projectId`) The ID of the project the sqs will be enabled for. + * `projectId`) The ID of the Project in which SQS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sqs will be enabled. + * in which SQS will be enabled. */ region?: pulumi.Input; } @@ -138,12 +138,12 @@ export interface MnqSqsState { */ export interface MnqSqsArgs { /** - * `projectId`) The ID of the project the sqs will be enabled for. + * `projectId`) The ID of the Project in which SQS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region - * in which sqs will be enabled. + * in which SQS will be enabled. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/mnqSqsCredentials.ts b/sdk/nodejs/mnqSqsCredentials.ts index a6556254..f5cacfef 100644 --- a/sdk/nodejs/mnqSqsCredentials.ts +++ b/sdk/nodejs/mnqSqsCredentials.ts @@ -7,9 +7,9 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Messaging and queuing SQS Credentials. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + * Creates and manages Scaleway Messaging and Queuing SQS credentials. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) * * ## Example Usage * @@ -32,7 +32,7 @@ import * as utilities from "./utilities"; * * ## Import * - * SQS credentials can be imported using the `{region}/{id}`, e.g. + * SQS credentials can be imported using `{region}/{id}`, e.g. * * bash * @@ -73,19 +73,19 @@ export class MnqSqsCredentials extends pulumi.CustomResource { */ public /*out*/ readonly accessKey!: pulumi.Output; /** - * The unique name of the sqs credentials. + * The unique name of the SQS credentials. */ public readonly name!: pulumi.Output; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ public readonly permissions!: pulumi.Output; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ public readonly projectId!: pulumi.Output; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ public readonly region!: pulumi.Output; /** @@ -137,19 +137,19 @@ export interface MnqSqsCredentialsState { */ accessKey?: pulumi.Input; /** - * The unique name of the sqs credentials. + * The unique name of the SQS credentials. */ name?: pulumi.Input; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; /** @@ -163,19 +163,19 @@ export interface MnqSqsCredentialsState { */ export interface MnqSqsCredentialsArgs { /** - * The unique name of the sqs credentials. + * The unique name of the SQS credentials. */ name?: pulumi.Input; /** - * . List of permissions associated to these credentials. Only one of permissions may be set. + * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; } diff --git a/sdk/nodejs/mnqSqsQueue.ts b/sdk/nodejs/mnqSqsQueue.ts index e64254ee..5059e031 100644 --- a/sdk/nodejs/mnqSqsQueue.ts +++ b/sdk/nodejs/mnqSqsQueue.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Messaging and queuing SQS Queues. - * For further information please check - * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/) + * Creates and manages Scaleway Messaging and Queuing SQS queues. + * For further information, see + * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/). * * ## Example Usage * @@ -83,7 +83,7 @@ export class MnqSqsQueue extends pulumi.CustomResource { */ public readonly messageMaxSize!: pulumi.Output; /** - * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ public readonly name!: pulumi.Output; /** @@ -91,7 +91,7 @@ export class MnqSqsQueue extends pulumi.CustomResource { */ public readonly namePrefix!: pulumi.Output; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ public readonly projectId!: pulumi.Output; /** @@ -99,7 +99,7 @@ export class MnqSqsQueue extends pulumi.CustomResource { */ public readonly receiveWaitTimeSeconds!: pulumi.Output; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ public readonly region!: pulumi.Output; /** @@ -201,7 +201,7 @@ export interface MnqSqsQueueState { */ messageMaxSize?: pulumi.Input; /** - * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ name?: pulumi.Input; /** @@ -209,7 +209,7 @@ export interface MnqSqsQueueState { */ namePrefix?: pulumi.Input; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** @@ -217,7 +217,7 @@ export interface MnqSqsQueueState { */ receiveWaitTimeSeconds?: pulumi.Input; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; /** @@ -263,7 +263,7 @@ export interface MnqSqsQueueArgs { */ messageMaxSize?: pulumi.Input; /** - * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. + * The unique name of the SQS queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`. */ name?: pulumi.Input; /** @@ -271,7 +271,7 @@ export interface MnqSqsQueueArgs { */ namePrefix?: pulumi.Input; /** - * `projectId`) The ID of the project the sqs is enabled for. + * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** @@ -279,7 +279,7 @@ export interface MnqSqsQueueArgs { */ receiveWaitTimeSeconds?: pulumi.Input; /** - * `region`). The region in which sqs is enabled. + * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; /** diff --git a/sdk/nodejs/redisCluster.ts b/sdk/nodejs/redisCluster.ts index 203d9f15..ca0f0c07 100644 --- a/sdk/nodejs/redisCluster.ts +++ b/sdk/nodejs/redisCluster.ts @@ -7,8 +7,8 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway Redis Clusters. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). + * Creates and manages Scaleway Redis™ clusters. + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). * * ## Example Usage * @@ -54,7 +54,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### With a private network + * ### With a Private Network * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -78,7 +78,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Redis Cluster can be imported using the `{zone}/{id}`, e.g. + * Redis™ cluster can be imported using the `{zone}/{id}`, e.g. * * bash * @@ -123,45 +123,45 @@ export class RedisCluster extends pulumi.CustomResource { */ public /*out*/ readonly certificate!: pulumi.Output; /** - * The number of nodes in the Redis Cluster. + * The number of nodes in the Redis™ cluster. * - * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode * which is minimum 3 (1 main node + 2 secondary nodes) * - * > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - * did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - * `clusterSize` will destroy and recreate your Cluster. + * > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + * did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + * `clusterSize` will destroy and recreate your cluster. * * > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - * recreate your Cluster as you will be switching to the Cluster mode. + * recreate your cluster as you will be switching to the cluster mode. */ public readonly clusterSize!: pulumi.Output; /** - * The date and time of creation of the Redis Cluster. + * The date and time of creation of the Redis™ cluster. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The name of the Redis Cluster. + * The name of the Redis™ cluster. */ public readonly name!: pulumi.Output; /** - * The type of Redis Cluster you want to create (e.g. `RED1-M`). + * The type of Redis™ cluster you want to create (e.g. `RED1-M`). * - * > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - * you cannot downgrade a Redis Cluster. + * > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + * you cannot downgrade a Redis™ cluster. */ public readonly nodeType!: pulumi.Output; /** - * Password for the first user of the Redis Cluster. + * Password for the first user of the Redis™ cluster. */ public readonly password!: pulumi.Output; /** - * Describes the private network you want to connect to your cluster. If not set, a public + * Describes the Private Network you want to connect to your cluster. If not set, a public * network will be provided. More details on the Private Network section */ public readonly privateNetworks!: pulumi.Output; /** - * `projectId`) The ID of the project the Redis Cluster is + * `projectId`) The ID of the project the Redis™ cluster is * associated with. */ public readonly projectId!: pulumi.Output; @@ -171,12 +171,12 @@ export class RedisCluster extends pulumi.CustomResource { */ public readonly publicNetwork!: pulumi.Output; /** - * Map of settings for redis cluster. Available settings can be found by listing redis versions + * Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions * with scaleway API or CLI */ public readonly settings!: pulumi.Output<{[key: string]: string} | undefined>; /** - * The tags associated with the Redis Cluster. + * The tags associated with the Redis™ cluster. */ public readonly tags!: pulumi.Output; /** @@ -186,23 +186,23 @@ export class RedisCluster extends pulumi.CustomResource { */ public readonly tlsEnabled!: pulumi.Output; /** - * The date and time of the last update of the Redis Cluster. + * The date and time of the last update of the Redis™ cluster. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * Identifier for the first user of the Redis Cluster. + * Identifier for the first user of the Redis™ cluster. */ public readonly userName!: pulumi.Output; /** - * Redis's Cluster version (e.g. `6.2.7`). + * Redis™ cluster's version (e.g. `6.2.7`). * - * > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - * cannot downgrade a Redis Cluster. + * > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + * cannot downgrade a Redis™ cluster. */ public readonly version!: pulumi.Output; /** * `zone`) The zone in which the - * Redis Cluster should be created. + * Redis™ cluster should be created. */ public readonly zone!: pulumi.Output; @@ -288,45 +288,45 @@ export interface RedisClusterState { */ certificate?: pulumi.Input; /** - * The number of nodes in the Redis Cluster. + * The number of nodes in the Redis™ cluster. * - * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode * which is minimum 3 (1 main node + 2 secondary nodes) * - * > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - * did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - * `clusterSize` will destroy and recreate your Cluster. + * > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + * did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + * `clusterSize` will destroy and recreate your cluster. * * > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - * recreate your Cluster as you will be switching to the Cluster mode. + * recreate your cluster as you will be switching to the cluster mode. */ clusterSize?: pulumi.Input; /** - * The date and time of creation of the Redis Cluster. + * The date and time of creation of the Redis™ cluster. */ createdAt?: pulumi.Input; /** - * The name of the Redis Cluster. + * The name of the Redis™ cluster. */ name?: pulumi.Input; /** - * The type of Redis Cluster you want to create (e.g. `RED1-M`). + * The type of Redis™ cluster you want to create (e.g. `RED1-M`). * - * > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - * you cannot downgrade a Redis Cluster. + * > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + * you cannot downgrade a Redis™ cluster. */ nodeType?: pulumi.Input; /** - * Password for the first user of the Redis Cluster. + * Password for the first user of the Redis™ cluster. */ password?: pulumi.Input; /** - * Describes the private network you want to connect to your cluster. If not set, a public + * Describes the Private Network you want to connect to your cluster. If not set, a public * network will be provided. More details on the Private Network section */ privateNetworks?: pulumi.Input[]>; /** - * `projectId`) The ID of the project the Redis Cluster is + * `projectId`) The ID of the project the Redis™ cluster is * associated with. */ projectId?: pulumi.Input; @@ -336,12 +336,12 @@ export interface RedisClusterState { */ publicNetwork?: pulumi.Input; /** - * Map of settings for redis cluster. Available settings can be found by listing redis versions + * Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions * with scaleway API or CLI */ settings?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The tags associated with the Redis Cluster. + * The tags associated with the Redis™ cluster. */ tags?: pulumi.Input[]>; /** @@ -351,23 +351,23 @@ export interface RedisClusterState { */ tlsEnabled?: pulumi.Input; /** - * The date and time of the last update of the Redis Cluster. + * The date and time of the last update of the Redis™ cluster. */ updatedAt?: pulumi.Input; /** - * Identifier for the first user of the Redis Cluster. + * Identifier for the first user of the Redis™ cluster. */ userName?: pulumi.Input; /** - * Redis's Cluster version (e.g. `6.2.7`). + * Redis™ cluster's version (e.g. `6.2.7`). * - * > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - * cannot downgrade a Redis Cluster. + * > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + * cannot downgrade a Redis™ cluster. */ version?: pulumi.Input; /** * `zone`) The zone in which the - * Redis Cluster should be created. + * Redis™ cluster should be created. */ zone?: pulumi.Input; } @@ -381,41 +381,41 @@ export interface RedisClusterArgs { */ acls?: pulumi.Input[]>; /** - * The number of nodes in the Redis Cluster. + * The number of nodes in the Redis™ cluster. * - * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + * > **Important:** You cannot set `clusterSize` to 2, you either have to choose Standalone mode (1 node) or cluster mode * which is minimum 3 (1 main node + 2 secondary nodes) * - * > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially - * did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - * `clusterSize` will destroy and recreate your Cluster. + * > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `clusterSize` than you initially + * did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + * `clusterSize` will destroy and recreate your cluster. * * > **Important:** If you are using the Standalone mode (1 node), setting a bigger `clusterSize` will destroy and - * recreate your Cluster as you will be switching to the Cluster mode. + * recreate your cluster as you will be switching to the cluster mode. */ clusterSize?: pulumi.Input; /** - * The name of the Redis Cluster. + * The name of the Redis™ cluster. */ name?: pulumi.Input; /** - * The type of Redis Cluster you want to create (e.g. `RED1-M`). + * The type of Redis™ cluster you want to create (e.g. `RED1-M`). * - * > **Important:** Updates to `nodeType` will migrate the Redis Cluster to the desired `nodeType`. Keep in mind that - * you cannot downgrade a Redis Cluster. + * > **Important:** Updates to `nodeType` will migrate the Redis™ cluster to the desired `nodeType`. Keep in mind that + * you cannot downgrade a Redis™ cluster. */ nodeType: pulumi.Input; /** - * Password for the first user of the Redis Cluster. + * Password for the first user of the Redis™ cluster. */ password: pulumi.Input; /** - * Describes the private network you want to connect to your cluster. If not set, a public + * Describes the Private Network you want to connect to your cluster. If not set, a public * network will be provided. More details on the Private Network section */ privateNetworks?: pulumi.Input[]>; /** - * `projectId`) The ID of the project the Redis Cluster is + * `projectId`) The ID of the project the Redis™ cluster is * associated with. */ projectId?: pulumi.Input; @@ -425,12 +425,12 @@ export interface RedisClusterArgs { */ publicNetwork?: pulumi.Input; /** - * Map of settings for redis cluster. Available settings can be found by listing redis versions + * Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions * with scaleway API or CLI */ settings?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * The tags associated with the Redis Cluster. + * The tags associated with the Redis™ cluster. */ tags?: pulumi.Input[]>; /** @@ -440,19 +440,19 @@ export interface RedisClusterArgs { */ tlsEnabled?: pulumi.Input; /** - * Identifier for the first user of the Redis Cluster. + * Identifier for the first user of the Redis™ cluster. */ userName: pulumi.Input; /** - * Redis's Cluster version (e.g. `6.2.7`). + * Redis™ cluster's version (e.g. `6.2.7`). * - * > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - * cannot downgrade a Redis Cluster. + * > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + * cannot downgrade a Redis™ cluster. */ version: pulumi.Input; /** * `zone`) The zone in which the - * Redis Cluster should be created. + * Redis™ cluster should be created. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/registryNamespace.ts b/sdk/nodejs/registryNamespace.ts index 5b8a9a01..60c87976 100644 --- a/sdk/nodejs/registryNamespace.ts +++ b/sdk/nodejs/registryNamespace.ts @@ -6,7 +6,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway Container Registry. - * For more information see [the documentation](https://www.scaleway.com/en/developers/api/registry). + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry). * * ## Example Usage * @@ -79,7 +79,7 @@ export class RegistryNamespace extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * The organization ID the namespace is associated with. + * The Organization ID the namespace is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** @@ -149,7 +149,7 @@ export interface RegistryNamespaceState { */ name?: pulumi.Input; /** - * The organization ID the namespace is associated with. + * The Organization ID the namespace is associated with. */ organizationId?: pulumi.Input; /** diff --git a/sdk/nodejs/temDomain.ts b/sdk/nodejs/temDomain.ts index f0147c16..9f5253e4 100644 --- a/sdk/nodejs/temDomain.ts +++ b/sdk/nodejs/temDomain.ts @@ -8,7 +8,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway Transactional Email Domains. - * For more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email). + * For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email). * * ## Example Usage * @@ -92,7 +92,7 @@ export class TemDomain extends pulumi.CustomResource { /** * Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - * > **Important:** This attribute must be set to `true`. + * > **Important:** This attribute must be set to `true`. */ public readonly acceptTos!: pulumi.Output; /** @@ -261,7 +261,7 @@ export class TemDomain extends pulumi.CustomResource { export interface TemDomainState { /** * Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - * > **Important:** This attribute must be set to `true`. + * > **Important:** This attribute must be set to `true`. */ acceptTos?: pulumi.Input; /** @@ -361,7 +361,7 @@ export interface TemDomainState { export interface TemDomainArgs { /** * Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - * > **Important:** This attribute must be set to `true`. + * > **Important:** This attribute must be set to `true`. */ acceptTos: pulumi.Input; /** diff --git a/sdk/nodejs/temDomainValidation.ts b/sdk/nodejs/temDomainValidation.ts index 80c6f37d..bfef8520 100644 --- a/sdk/nodejs/temDomainValidation.ts +++ b/sdk/nodejs/temDomainValidation.ts @@ -13,8 +13,9 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * + * const main = new scaleway.TemDomain("main", {acceptTos: true}); * const example = new scaleway.TemDomainValidation("example", { - * domainId: "your-domain-id", + * domainId: main.id, * region: "fr-par", * timeout: 300, * }); diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 0ff0e999..4251b3c9 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -15,7 +15,7 @@ "files": [ "accountProject.ts", "accountSshKey.ts", - "appleSliconValleyServer.ts", + "appleSiliconServer.ts", "baremetalServer.ts", "blockSnapshot.ts", "blockVolume.ts", @@ -68,6 +68,7 @@ "getBlockVolume.ts", "getCockpit.ts", "getCockpitPlan.ts", + "getConfig.ts", "getContainer.ts", "getContainerNamespace.ts", "getDatabase.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 64036a07..972489f5 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -226,7 +226,7 @@ export interface DatabaseAclAclRule { */ description?: pulumi.Input; /** - * The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + * The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) */ ip: pulumi.Input; } @@ -321,15 +321,15 @@ export interface DatabaseInstanceReadReplica { export interface DatabaseReadReplicaDirectAccess { /** - * The ID of the endpoint of the read replica. + * The ID of the endpoint of the Read Replica. */ endpointId?: pulumi.Input; /** - * Hostname of the endpoint. Only one of ip and hostname may be set. + * Hostname of the endpoint. Only one of IP and hostname may be set. */ hostname?: pulumi.Input; /** - * IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + * IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. */ ip?: pulumi.Input; /** @@ -350,15 +350,15 @@ export interface DatabaseReadReplicaPrivateNetwork { */ enableIpam?: pulumi.Input; /** - * The ID of the endpoint of the read replica. + * The ID of the endpoint of the Read Replica. */ endpointId?: pulumi.Input; /** - * Hostname of the endpoint. Only one of ip and hostname may be set. + * Hostname of the endpoint. Only one of IP and hostname may be set. */ hostname?: pulumi.Input; /** - * IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + * IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. */ ip?: pulumi.Input; /** @@ -370,7 +370,7 @@ export interface DatabaseReadReplicaPrivateNetwork { */ port?: pulumi.Input; /** - * UUID of the private network to be connected to the read replica. + * UUID of the Private Netork to be connected to the Read Replica. */ privateNetworkId: pulumi.Input; /** @@ -383,6 +383,37 @@ export interface DatabaseReadReplicaPrivateNetwork { zone?: pulumi.Input; } +export interface DocumentdbPrivateNetworkEndpointPrivateNetwork { + /** + * The hostname of your endpoint. + */ + hostname?: pulumi.Input; + /** + * The private network ID. + */ + id: pulumi.Input; + /** + * The IP of your private network service. + */ + ip?: pulumi.Input; + /** + * The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + */ + ipNet?: pulumi.Input; + /** + * The name of your private service. + */ + name?: pulumi.Input; + /** + * The port of your private service. + */ + port?: pulumi.Input; + /** + * The zone of your endpoint. + */ + zone?: pulumi.Input; +} + export interface DocumentdbReadReplicaDirectAccess { /** * The ID of the endpoint of the read replica. @@ -552,60 +583,60 @@ export interface FunctionTriggerSqs { export interface GetIpamIpResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the resource that the IP is attached to. */ id?: string; /** - * The name of the resource to get the IP from. + * The name of the resource the IP is attached to. */ name?: string; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: string; } export interface GetIpamIpResourceArgs { /** - * The ID of the resource that the IP is bound to. + * The ID of the resource that the IP is attached to. */ id?: pulumi.Input; /** - * The name of the resource to get the IP from. + * The name of the resource the IP is attached to. */ name?: pulumi.Input; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: pulumi.Input; } export interface GetIpamIpsResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the attached resource. */ id?: string; /** - * The name of the resource to get the IP from. + * The name of the attached resource. */ name?: string; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: string; } export interface GetIpamIpsResourceArgs { /** - * The ID of the resource that the IP is bound to. + * The ID of the attached resource. */ id?: pulumi.Input; /** - * The name of the resource to get the IP from. + * The name of the attached resource. */ name?: pulumi.Input; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: pulumi.Input; } @@ -616,19 +647,19 @@ export interface IamPolicyRule { */ organizationId?: pulumi.Input; /** - * Names of permission sets bound to the rule. + * Names of permission sets bind to the rule. * - * **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + * **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: * * ```shell - * $ scw iam permission-set list + * $ scw IAM permission-set list * ``` */ permissionSetNames: pulumi.Input[]>; /** * List of project IDs scoped to the rule. * - * > **Important** One of `organizationId` or `projectIds` must be set per rule. + * > **Important** One `organizationId` or `projectIds` must be set per rule. */ projectIds?: pulumi.Input[]>; } @@ -994,11 +1025,11 @@ export interface IotRouteS3 { export interface IpamIpResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the resource that the IP is attached to. */ id?: pulumi.Input; /** - * The MAC Address of the resource the IP is attached to. + * The MAC address of the resource the IP is attached to. */ macAddress?: pulumi.Input; /** @@ -1024,15 +1055,15 @@ export interface IpamIpReverse { export interface IpamIpSource { /** - * The private network the IP lives in if the IP is a private IP. + * The Private Network of the IP (if the IP is a private IP). */ privateNetworkId?: pulumi.Input; /** - * The private network subnet the IP lives in if the IP is a private IP in a private network. + * The Private Network subnet of the IP (if the IP is a private IP). */ subnetId?: pulumi.Input; /** - * The zone the IP lives in if the IP is a public zoned one + * The zone of the IP (if the IP is public and zoned, rather than private and/or regional) */ zonal?: pulumi.Input; } @@ -1227,7 +1258,7 @@ export interface LoadbalancerAclMatch { httpFilterOption?: pulumi.Input; /** * A list of possible values to match for the given HTTP filter. - * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. */ httpFilterValues?: pulumi.Input[]>; /** @@ -1235,7 +1266,7 @@ export interface LoadbalancerAclMatch { */ invert?: pulumi.Input; /** - * A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + * A list of IPs, or CIDR v4/v6 addresses of the session client, to match. */ ipSubnets?: pulumi.Input[]>; } @@ -1347,7 +1378,7 @@ export interface LoadbalancerFrontendAclActionRedirect { */ code?: pulumi.Input; /** - * An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. */ target?: pulumi.Input; /** @@ -1369,7 +1400,7 @@ export interface LoadbalancerFrontendAclMatch { httpFilterOption?: pulumi.Input; /** * A list of possible values to match for the given HTTP filter. - * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. */ httpFilterValues?: pulumi.Input[]>; /** @@ -1377,22 +1408,24 @@ export interface LoadbalancerFrontendAclMatch { */ invert?: pulumi.Input; /** - * A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + * A list of IPs, or CIDR v4/v6 addresses of the session client, to match. */ ipSubnets?: pulumi.Input[]>; } export interface LoadbalancerPrivateNetwork { /** - * (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + * (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. */ dhcpConfig?: pulumi.Input; /** - * (Required) The ID of the Private Network to associate. + * (Required) The ID of the Private Network to attach to. */ privateNetworkId: pulumi.Input; /** - * (Optional) Define a local ip address of your choice for the load balancer instance. See below. + * (Deprecated) Please use `dhcpConfig`. Define a local ip address of your choice for the load balancer instance. + * + * @deprecated static_config field is deprecated, please use dhcpConfig instead */ staticConfig?: pulumi.Input; /** @@ -1400,37 +1433,37 @@ export interface LoadbalancerPrivateNetwork { */ status?: pulumi.Input; /** - * `zone`) The zone of the load-balancer. + * `zone`) The zone of the Load Balancer. */ zone?: pulumi.Input; } export interface MnqSnsCredentialsPermissions { /** - * . Defines if user can manage the associated resource(s). + * . Defines whether the user can manage the associated resource(s). */ canManage?: pulumi.Input; /** - * . Defines if user can publish messages to the service. + * . Defines whether the user can publish messages to the service. */ canPublish?: pulumi.Input; /** - * . Defines if user can receive messages from the service. + * . Defines whether the user can receive messages from the service. */ canReceive?: pulumi.Input; } export interface MnqSqsCredentialsPermissions { /** - * . Defines if user can manage the associated resource(s). + * . Defines whether the user can manage the associated resource(s). */ canManage?: pulumi.Input; /** - * . Defines if user can publish messages to the service. + * . Defines whether the user can publish messages to the service. */ canPublish?: pulumi.Input; /** - * . Defines if user can receive messages from the service. + * . Defines whether the user can receive messages from the service. */ canReceive?: pulumi.Input; } @@ -1614,7 +1647,7 @@ export interface RedisClusterAcl { */ id?: pulumi.Input; /** - * The ip range to whitelist + * The IP range to whitelist * in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) */ ip: pulumi.Input; @@ -1631,23 +1664,23 @@ export interface RedisClusterPrivateNetwork { id: pulumi.Input; /** * Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - * Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - * scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + * Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + * scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. * If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. * * > The `privateNetwork` conflicts with `acl`. Only one should be specified. * - * > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + * > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. * * - Standalone mode (`clusterSize` = 1) : you can attach as many Private Networks as you want (each must be a separate - * block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + * block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or * Public Network. You can modify your `privateNetwork` and its specs, you can have both a Private and Public Network side * by side. * - * - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your Cluster, you won't be - * able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - * configuration (`serviceIps`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - * require updating the private network to add IPs. + * - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your cluster, you won't be + * able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + * configuration (`serviceIps`), you won't be able to scale your cluster horizontally (add more nodes) since it would + * require updating the Private Network to add IPs. * Your `serviceIps` must be listed as follows: * * ```typescript @@ -1657,7 +1690,7 @@ export interface RedisClusterPrivateNetwork { serviceIps?: pulumi.Input[]>; /** * `zone`) The zone in which the - * Redis Cluster should be created. + * Redis™ cluster should be created. */ zone?: pulumi.Input; } @@ -1706,14 +1739,14 @@ export interface VpcGatewayNetworkIpamConfig { */ ipamIpId?: pulumi.Input; /** - * Defines whether the default route is enabled on that Gateway Network. + * Defines whether to enable the default route on the GatewayNetwork. */ pushDefaultRoute?: pulumi.Input; } export interface VpcPrivateNetworkIpv4Subnet { /** - * The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + * The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. */ address?: pulumi.Input; /** @@ -1725,7 +1758,7 @@ export interface VpcPrivateNetworkIpv4Subnet { */ id?: pulumi.Input; /** - * The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + * The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. */ prefixLength?: pulumi.Input; /** @@ -1744,7 +1777,7 @@ export interface VpcPrivateNetworkIpv4Subnet { export interface VpcPrivateNetworkIpv6Subnet { /** - * The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + * The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. */ address?: pulumi.Input; /** @@ -1756,7 +1789,7 @@ export interface VpcPrivateNetworkIpv6Subnet { */ id?: pulumi.Input; /** - * The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + * The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. */ prefixLength?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 02cf1734..72a6adf7 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -226,7 +226,7 @@ export interface DatabaseAclAclRule { */ description: string; /** - * The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + * The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) */ ip: string; } @@ -321,15 +321,15 @@ export interface DatabaseInstanceReadReplica { export interface DatabaseReadReplicaDirectAccess { /** - * The ID of the endpoint of the read replica. + * The ID of the endpoint of the Read Replica. */ endpointId: string; /** - * Hostname of the endpoint. Only one of ip and hostname may be set. + * Hostname of the endpoint. Only one of IP and hostname may be set. */ hostname: string; /** - * IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + * IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. */ ip: string; /** @@ -350,15 +350,15 @@ export interface DatabaseReadReplicaPrivateNetwork { */ enableIpam: boolean; /** - * The ID of the endpoint of the read replica. + * The ID of the endpoint of the Read Replica. */ endpointId: string; /** - * Hostname of the endpoint. Only one of ip and hostname may be set. + * Hostname of the endpoint. Only one of IP and hostname may be set. */ hostname: string; /** - * IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + * IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. */ ip: string; /** @@ -370,7 +370,7 @@ export interface DatabaseReadReplicaPrivateNetwork { */ port: number; /** - * UUID of the private network to be connected to the read replica. + * UUID of the Private Netork to be connected to the Read Replica. */ privateNetworkId: string; /** @@ -383,6 +383,37 @@ export interface DatabaseReadReplicaPrivateNetwork { zone: string; } +export interface DocumentdbPrivateNetworkEndpointPrivateNetwork { + /** + * The hostname of your endpoint. + */ + hostname: string; + /** + * The private network ID. + */ + id: string; + /** + * The IP of your private network service. + */ + ip: string; + /** + * The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + */ + ipNet: string; + /** + * The name of your private service. + */ + name: string; + /** + * The port of your private service. + */ + port: number; + /** + * The zone of your endpoint. + */ + zone: string; +} + export interface DocumentdbReadReplicaDirectAccess { /** * The ID of the endpoint of the read replica. @@ -696,31 +727,31 @@ export interface GetBaremetalServerPrivateNetwork { export interface GetBillingConsumptionsConsumption { /** - * Consumed quantity + * The consumed quantity. */ billedQuantity: string; /** - * Name of consumption category + * The name of the consumption category. */ categoryName: string; /** - * The product name + * The product name. */ productName: string; /** - * Project ID of the consumption + * `projectId`) The ID of the project the consumption list is associated with. */ projectId: string; /** - * Unique identifier of the product + * The unique identifier of the product. */ sku: string; /** - * Unit of consumed quantity + * The unit of consumed quantity. */ unit: string; /** - * Monetary value of the consumption + * The monetary value of the consumption. */ value: string; } @@ -852,7 +883,6 @@ export interface GetDatabaseInstanceLoadBalancer { ip: string; /** * The name of the RDB instance. - * Only one of `name` and `instanceId` should be specified. */ name: string; /** @@ -895,7 +925,6 @@ export interface GetDatabaseInstancePrivateNetwork { ipNet: string; /** * The name of the RDB instance. - * Only one of `name` and `instanceId` should be specified. */ name: string; /** @@ -919,7 +948,6 @@ export interface GetDatabaseInstanceReadReplica { ip: string; /** * The name of the RDB instance. - * Only one of `name` and `instanceId` should be specified. */ name: string; /** @@ -1355,22 +1383,22 @@ export interface GetIotDeviceMessageFilterSubscribe { export interface GetIpamIpResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the resource that the IP is attached to. */ id?: string; /** - * The name of the resource to get the IP from. + * The name of the resource the IP is attached to. */ name?: string; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: string; } export interface GetIpamIpsIp { /** - * The Scaleway internal IP address of the server. + * The Scaleway internal IP address of the resource. */ address: string; /** @@ -1382,19 +1410,19 @@ export interface GetIpamIpsIp { */ id: string; /** - * The ID of the project used as filter. + * The ID of the Project to filter for. */ projectId: string; /** - * The region used as filter. + * The region to filter for. */ region: string; /** - * Filter by resource ID, type or name. + * Filter for a resource attached to the IP, using resource ID, type or name. */ resources: outputs.GetIpamIpsIpResource[]; /** - * The tags used as filter. + * The IP tags to filter for. */ tags: string[]; /** @@ -1402,41 +1430,41 @@ export interface GetIpamIpsIp { */ updatedAt: string; /** - * The zone in which the IP is. + * The zone of the IP. */ zone: string; } export interface GetIpamIpsIpResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the attached resource. */ id: string; /** - * The Mac Address used as filter. + * The linked MAC address to filter for. */ macAddress: string; /** - * The name of the resource to get the IP from. + * The name of the attached resource. */ name: string; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: string; } export interface GetIpamIpsResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the attached resource. */ id?: string; /** - * The name of the resource to get the IP from. + * The name of the attached resource. */ name?: string; /** - * The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + * The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. */ type: string; } @@ -1581,11 +1609,11 @@ export interface GetKubernetesNodePoolUpgradePolicy { export interface GetLbAclsAcl { /** - * The action that has been undertaken when an ACL filter had matched. + * The action to be undertaken when an ACL filter matches. */ actions: outputs.GetLbAclsAclAction[]; /** - * The date at which the ACL was created (RFC 3339 format). + * The date on which the ACL was created (RFC 3339 format). */ createdAt: string; /** @@ -1593,8 +1621,8 @@ export interface GetLbAclsAcl { */ description: string; /** - * The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - * > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + * The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + * > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` */ frontendId: string; /** @@ -1603,7 +1631,7 @@ export interface GetLbAclsAcl { */ id: string; /** - * The order between the ACLs. + * The priority of this ACL in the ordered list. */ index: number; /** @@ -1611,11 +1639,11 @@ export interface GetLbAclsAcl { */ matches: outputs.GetLbAclsAclMatch[]; /** - * The ACL name used as filter. ACLs with a name like it are listed. + * The ACL name to filter for. ACLs with a matching name are listed. */ name: string; /** - * The date at which the ACL was last updated (RFC 3339 format). + * The date on which the ACL was last updated (RFC 3339 format). */ updateAt: string; } @@ -1633,11 +1661,11 @@ export interface GetLbAclsAclAction { export interface GetLbAclsAclActionRedirect { /** - * The HTTP redirect code used. + * The HTTP redirect code to use. */ code: number; /** - * The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + * The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. */ target: string; /** @@ -1648,7 +1676,7 @@ export interface GetLbAclsAclActionRedirect { export interface GetLbAclsAclMatch { /** - * The matched HTTP filter. + * The HTTP filter to match. */ httpFilter: string; /** @@ -1656,7 +1684,7 @@ export interface GetLbAclsAclMatch { */ httpFilterOption: string; /** - * The possible values matched for a given HTTP filter. + * The possible values to match for a given HTTP filter. */ httpFilterValues: string[]; /** @@ -1664,7 +1692,7 @@ export interface GetLbAclsAclMatch { */ invert: boolean; /** - * A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + * A list of IPs, or CIDR v4/v6 addresses of the session client, to match. */ ipSubnets: string[]; } @@ -1697,15 +1725,15 @@ export interface GetLbBackendHealthCheckTcp { export interface GetLbBackendsBackend { /** - * The date at which the backend was created (RFC 3339 format). + * The date on which the backend was created (RFC 3339 format). */ createdAt: string; /** - * Scaleway S3 bucket website to be served in case all backend servers are down. + * Scaleway S3 bucket website to be served if all backend servers are down. */ failoverHost: string; /** - * User sessions will be forwarded to this port of backend servers. + * User sessions will be forwarded to this backend server port. */ forwardPort: number; /** @@ -1717,31 +1745,31 @@ export interface GetLbBackendsBackend { */ forwardProtocol: string; /** - * Interval between two HC requests. + * Interval between two health check requests. */ healthCheckDelay: string; /** - * This block enable HTTP health check. + * This block enables HTTP health checks. */ healthCheckHttp: outputs.GetLbBackendsBackendHealthCheckHttp[]; /** - * This block enable HTTPS health check. + * This block enables HTTPS health checks. */ healthCheckHttps: outputs.GetLbBackendsBackendHealthCheckHttp[]; /** - * Number of allowed failed HC requests before the backend server is marked down. + * Number of allowed failed health check requests before the backend server is marked as down. */ healthCheckMaxRetries: number; /** - * Port the HC requests will be sent to. + * Port the health check requests will be sent to. */ healthCheckPort: number; /** - * This block enable TCP health check. + * This block enables TCP health checks. */ healthCheckTcps: outputs.GetLbBackendsBackendHealthCheckTcp[]; /** - * Timeout before we consider a HC request failed. + * Timeout before a health check request is considered failed. */ healthCheckTimeout: string; /** @@ -1753,11 +1781,11 @@ export interface GetLbBackendsBackend { */ ignoreSslServerVerify: boolean; /** - * The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + * The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. */ lbId: string; /** - * The backend name used as filter. Backends with a name like it are listed. + * The backend name to filter for. Backends with a matching name are listed. */ name: string; /** @@ -1773,7 +1801,7 @@ export interface GetLbBackendsBackend { */ serverIps: string[]; /** - * Enables SSL between load balancer and backend servers. + * Enables SSL between Load Balancer and backend servers. */ sslBridging: boolean; /** @@ -1797,7 +1825,7 @@ export interface GetLbBackendsBackend { */ timeoutTunnel: string; /** - * The date at which the backend was last updated (RFC 3339 format). + * The date on which the backend was last updated (RFC 3339 format). */ updateAt: string; } @@ -1808,11 +1836,11 @@ export interface GetLbBackendsBackendHealthCheckHttp { */ code: number; /** - * The HTTP host header to use for HC requests. + * The HTTP host header to use for health check requests. */ hostHeader: string; /** - * The HTTP method to use for HC requests. + * The HTTP method to use for health check requests. */ method: string; /** @@ -1820,7 +1848,7 @@ export interface GetLbBackendsBackendHealthCheckHttp { */ sni: string; /** - * The HTTPS endpoint URL to call for HC requests. + * The HTTPS endpoint URL to call for health check requests. */ uri: string; } @@ -1907,37 +1935,37 @@ export interface GetLbFrontendAclMatch { export interface GetLbFrontendsFrontend { /** - * The load-balancer backend ID this frontend is attached to. - * > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + * The Load Balancer backend ID this frontend is attached to. + * > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` */ backendId: string; /** - * List of Certificate IDs that are used by the frontend. + * List of certificate IDs that are used by the frontend. */ certificateIds: string[]; /** - * The date at which the frontend was created (RFC 3339 format). + * The date on which the frontend was created (RFC 3339 format). */ createdAt: string; /** - * If HTTP/3 protocol is activated. + * Whether HTTP/3 protocol is activated. */ enableHttp3: boolean; /** - * The associated frontend ID. - * > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + * The ID of the associated frontend. + * > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` */ id: string; /** - * TCP port the frontend listen to. + * TCP port the frontend listens to. */ inboundPort: number; /** - * The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + * The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. */ lbId: string; /** - * The frontend name used as filter. Frontends with a name like it are listed. + * The frontend name to filter for. Frontends with a matching name are listed. */ name: string; /** @@ -1945,30 +1973,30 @@ export interface GetLbFrontendsFrontend { */ timeoutClient: string; /** - * The date at which the frontend was last updated (RFC 3339 format). + * The date aont which the frontend was last updated (RFC 3339 format). */ updateAt: string; } export interface GetLbIpsIp { /** - * The associated IP ID. + * The ID of the associated IP. */ id: string; /** - * The IP Address + * The IP address */ ipAddress: string; /** - * The associated load-balancer ID if any + * The ID of the associated Load BalancerD, if any */ lbId: string; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization the Load Balancer is associated with. */ organizationId: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId: string; /** @@ -1976,22 +2004,22 @@ export interface GetLbIpsIp { */ reverse: string; /** - * `zone`) The zone in which IPs exist. + * `zone`) The zone in which the IPs exist. */ zone: string; } export interface GetLbRoutesRoute { /** - * The backend ID destination of redirection + * The backend ID to redirect to */ backendId: string; /** - * The date at which the route was created (RFC 3339 format). + * The date on which the route was created (RFC 3339 format). */ createdAt: string; /** - * The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + * The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. */ frontendId: string; /** @@ -2007,54 +2035,54 @@ export interface GetLbRoutesRoute { */ matchSni: string; /** - * The date at which the route was last updated (RFC 3339 format). + * The date on which the route was last updated (RFC 3339 format). */ updateAt: string; } export interface GetLbsLb { /** - * Number of backends the Load balancer has. + * Number of backends the Load Balancer has. */ backendCount: number; /** - * Date at which the Load balancer was created. + * Date on which the Load Balancer was created. */ createdAt: string; /** - * The description of the load-balancer. + * The description of the Load Balancer. */ description: string; /** - * Number of frontends the Load balancer has. + * Number of frontends the Load Balancer has. */ frontendCount: number; /** - * The ID of the load-balancer. + * The ID of the Load Balancer. */ id: string; /** - * List of underlying instances. + * List of underlying Instances. */ instances: outputs.GetLbsLbInstance[]; /** - * List of IPs attached to the Load balancer. + * List of IPs attached to the Load Balancer. */ ips: outputs.GetLbsLbIp[]; /** - * The load balancer name used as a filter. LBs with a name like it are listed. + * The Load Balancer name to filter for. Load Balancers with a matching name are listed. */ name: string; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization the Load Balancer is associated with. */ organizationId: string; /** - * Number of private networks attached to the Load balancer. + * Number of Private Networks attached to the Load balancer. */ privateNetworkCount: number; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId: string; /** @@ -2062,11 +2090,11 @@ export interface GetLbsLb { */ routeCount: number; /** - * Determines the minimal SSL version which needs to be supported on client side. + * Determines the minimal SSL version which needs to be supported on the client side. */ sslCompatibilityLevel: string; /** - * The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + * The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. */ status: string; /** @@ -2074,65 +2102,65 @@ export interface GetLbsLb { */ subscriber: string; /** - * List of tags used as filter. LBs with these exact tags are listed. + * List of tags to filter for. Load Balancers with these exact tags are listed. */ tags: string[]; /** - * The offer type of the load-balancer. + * The offer type of the Load Balancer. */ type: string; /** - * Date at which the Load balancer was updated. + * Date on which the Load Balancer was updated. */ updatedAt: string; /** - * `zone`) The zone in which LBs exist. + * `zone`) The zone in which the Load Balancers exist. */ zone: string; } export interface GetLbsLbInstance { /** - * Date at which the Load balancer was created. + * Date on which the Load Balancer was created. */ createdAt: string; /** - * The ID of the load-balancer. + * The ID of the Load Balancer. */ id: string; ipAddress: string; /** - * The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + * The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. */ status: string; /** - * Date at which the Load balancer was updated. + * Date on which the Load Balancer was updated. */ updatedAt: string; /** - * `zone`) The zone in which LBs exist. + * `zone`) The zone in which the Load Balancers exist. */ zone: string; } export interface GetLbsLbIp { /** - * The ID of the load-balancer. + * The ID of the Load Balancer. */ id: string; ipAddress: string; lbId: string; /** - * The organization ID the load-balancer is associated with. + * The ID of the Organization the Load Balancer is associated with. */ organizationId: string; /** - * The ID of the project the load-balancer is associated with. + * The ID of the Project the Load Balancer is associated with. */ projectId: string; reverse: string; /** - * `zone`) The zone in which LBs exist. + * `zone`) The zone in which the Load Balancers exist. */ zone: string; } @@ -2173,7 +2201,7 @@ export interface GetLoadbalancerPrivateNetwork { */ status: string; /** - * (Defaults to provider `zone`) The zone in which the LB exists. + * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ zone: string; } @@ -2259,7 +2287,7 @@ export interface GetRedisClusterAcl { export interface GetRedisClusterPrivateNetwork { /** - * UUID of the endpoint to be connected to the cluster + * The ID of the endpoint. */ endpointId: string; /** @@ -2332,7 +2360,7 @@ export interface GetVpcPrivateNetworkIpv4Subnet { */ createdAt: string; /** - * The ID of the private network. + * The ID of the Private Network. */ id: string; /** @@ -2363,7 +2391,7 @@ export interface GetVpcPrivateNetworkIpv6Subnet { */ createdAt: string; /** - * The ID of the private network. + * The ID of the Private Network. */ id: string; /** @@ -2391,7 +2419,7 @@ export interface GetVpcsVpc { createdAt: string; /** * The associated VPC ID. - * > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + * > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 */ id: string; /** @@ -2399,23 +2427,23 @@ export interface GetVpcsVpc { */ isDefault: boolean; /** - * The VPC name used as filter. VPCs with a name like it are listed. + * The VPC name to filter for. VPCs with a similar name are listed. */ name: string; /** - * The organization ID the VPC is associated with. + * The Organization ID the VPC is associated with. */ organizationId: string; /** - * The ID of the project the VPC is associated with. + * The ID of the Project the VPC is associated with. */ projectId: string; /** - * `region`). The region in which vpcs exist. + * `region`). The region in which the VPCs exist. */ region: string; /** - * List of tags used as filter. VPCs with these exact tags are listed. + * List of tags to filter for. VPCs with these exact tags are listed. */ tags: string[]; updateAt: string; @@ -2476,19 +2504,19 @@ export interface IamPolicyRule { */ organizationId?: string; /** - * Names of permission sets bound to the rule. + * Names of permission sets bind to the rule. * - * **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + * **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: * * ```shell - * $ scw iam permission-set list + * $ scw IAM permission-set list * ``` */ permissionSetNames: string[]; /** * List of project IDs scoped to the rule. * - * > **Important** One of `organizationId` or `projectIds` must be set per rule. + * > **Important** One `organizationId` or `projectIds` must be set per rule. */ projectIds?: string[]; } @@ -2854,11 +2882,11 @@ export interface IotRouteS3 { export interface IpamIpResource { /** - * The ID of the resource that the IP is bound to. + * The ID of the resource that the IP is attached to. */ id: string; /** - * The MAC Address of the resource the IP is attached to. + * The MAC address of the resource the IP is attached to. */ macAddress: string; /** @@ -2884,15 +2912,15 @@ export interface IpamIpReverse { export interface IpamIpSource { /** - * The private network the IP lives in if the IP is a private IP. + * The Private Network of the IP (if the IP is a private IP). */ privateNetworkId: string; /** - * The private network subnet the IP lives in if the IP is a private IP in a private network. + * The Private Network subnet of the IP (if the IP is a private IP). */ subnetId: string; /** - * The zone the IP lives in if the IP is a public zoned one + * The zone of the IP (if the IP is public and zoned, rather than private and/or regional) */ zonal: string; } @@ -3087,7 +3115,7 @@ export interface LoadbalancerAclMatch { httpFilterOption?: string; /** * A list of possible values to match for the given HTTP filter. - * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. */ httpFilterValues?: string[]; /** @@ -3095,7 +3123,7 @@ export interface LoadbalancerAclMatch { */ invert?: boolean; /** - * A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + * A list of IPs, or CIDR v4/v6 addresses of the session client, to match. */ ipSubnets?: string[]; } @@ -3207,7 +3235,7 @@ export interface LoadbalancerFrontendAclActionRedirect { */ code?: number; /** - * An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. */ target?: string; /** @@ -3229,7 +3257,7 @@ export interface LoadbalancerFrontendAclMatch { httpFilterOption?: string; /** * A list of possible values to match for the given HTTP filter. - * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case-insensitive. + * Keep in mind that in the case of `httpHeaderMatch` the HTTP header field name is case insensitive. */ httpFilterValues?: string[]; /** @@ -3237,22 +3265,24 @@ export interface LoadbalancerFrontendAclMatch { */ invert?: boolean; /** - * A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + * A list of IPs, or CIDR v4/v6 addresses of the session client, to match. */ ipSubnets?: string[]; } export interface LoadbalancerPrivateNetwork { /** - * (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + * (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. */ dhcpConfig: boolean; /** - * (Required) The ID of the Private Network to associate. + * (Required) The ID of the Private Network to attach to. */ privateNetworkId: string; /** - * (Optional) Define a local ip address of your choice for the load balancer instance. See below. + * (Deprecated) Please use `dhcpConfig`. Define a local ip address of your choice for the load balancer instance. + * + * @deprecated static_config field is deprecated, please use dhcpConfig instead */ staticConfig?: string; /** @@ -3260,37 +3290,37 @@ export interface LoadbalancerPrivateNetwork { */ status: string; /** - * `zone`) The zone of the load-balancer. + * `zone`) The zone of the Load Balancer. */ zone: string; } export interface MnqSnsCredentialsPermissions { /** - * . Defines if user can manage the associated resource(s). + * . Defines whether the user can manage the associated resource(s). */ canManage: boolean; /** - * . Defines if user can publish messages to the service. + * . Defines whether the user can publish messages to the service. */ canPublish: boolean; /** - * . Defines if user can receive messages from the service. + * . Defines whether the user can receive messages from the service. */ canReceive: boolean; } export interface MnqSqsCredentialsPermissions { /** - * . Defines if user can manage the associated resource(s). + * . Defines whether the user can manage the associated resource(s). */ canManage: boolean; /** - * . Defines if user can publish messages to the service. + * . Defines whether the user can publish messages to the service. */ canPublish: boolean; /** - * . Defines if user can receive messages from the service. + * . Defines whether the user can receive messages from the service. */ canReceive: boolean; } @@ -3474,7 +3504,7 @@ export interface RedisClusterAcl { */ id: string; /** - * The ip range to whitelist + * The IP range to whitelist * in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) */ ip: string; @@ -3491,23 +3521,23 @@ export interface RedisClusterPrivateNetwork { id: string; /** * Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - * Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - * scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + * Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + * scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. * If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. * * > The `privateNetwork` conflicts with `acl`. Only one should be specified. * - * > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + * > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. * * - Standalone mode (`clusterSize` = 1) : you can attach as many Private Networks as you want (each must be a separate - * block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + * block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or * Public Network. You can modify your `privateNetwork` and its specs, you can have both a Private and Public Network side * by side. * - * - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your Cluster, you won't be - * able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - * configuration (`serviceIps`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - * require updating the private network to add IPs. + * - Cluster mode (`clusterSize` > 2) : you can define a single Private Network as you create your cluster, you won't be + * able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + * configuration (`serviceIps`), you won't be able to scale your cluster horizontally (add more nodes) since it would + * require updating the Private Network to add IPs. * Your `serviceIps` must be listed as follows: * * ```typescript @@ -3517,7 +3547,7 @@ export interface RedisClusterPrivateNetwork { serviceIps: string[]; /** * `zone`) The zone in which the - * Redis Cluster should be created. + * Redis™ cluster should be created. */ zone: string; } @@ -3566,14 +3596,14 @@ export interface VpcGatewayNetworkIpamConfig { */ ipamIpId: string; /** - * Defines whether the default route is enabled on that Gateway Network. + * Defines whether to enable the default route on the GatewayNetwork. */ pushDefaultRoute?: boolean; } export interface VpcPrivateNetworkIpv4Subnet { /** - * The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + * The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. */ address: string; /** @@ -3585,7 +3615,7 @@ export interface VpcPrivateNetworkIpv4Subnet { */ id: string; /** - * The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + * The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. */ prefixLength: number; /** @@ -3604,7 +3634,7 @@ export interface VpcPrivateNetworkIpv4Subnet { export interface VpcPrivateNetworkIpv6Subnet { /** - * The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + * The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. */ address: string; /** @@ -3616,7 +3646,7 @@ export interface VpcPrivateNetworkIpv6Subnet { */ id: string; /** - * The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + * The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. */ prefixLength: number; /** diff --git a/sdk/nodejs/vpc.ts b/sdk/nodejs/vpc.ts index a75c7b60..756d086c 100644 --- a/sdk/nodejs/vpc.ts +++ b/sdk/nodejs/vpc.ts @@ -6,7 +6,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway Virtual Private Clouds. - * For more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). + * For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). * * ## Example Usage * @@ -40,7 +40,7 @@ import * as utilities from "./utilities"; * * ## Import * - * VPCs can be imported using the `{region}/{id}`, e.g. + * VPCs can be imported using `{region}/{id}`, e.g. * * bash * @@ -89,15 +89,15 @@ export class Vpc extends pulumi.CustomResource { */ public /*out*/ readonly isDefault!: pulumi.Output; /** - * The name of the VPC. If not provided it will be randomly generated. + * The name for the VPC. If not provided it will be randomly generated. */ public readonly name!: pulumi.Output; /** - * The organization ID the VPC is associated with. + * The Organization ID the VPC is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * `projectId`) The ID of the project the VPC is associated with. + * `projectId`) The ID of the Project the VPC is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -105,7 +105,7 @@ export class Vpc extends pulumi.CustomResource { */ public readonly region!: pulumi.Output; /** - * The tags associated with the VPC. + * The tags to associate with the VPC. */ public readonly tags!: pulumi.Output; /** @@ -169,15 +169,15 @@ export interface VpcState { */ isDefault?: pulumi.Input; /** - * The name of the VPC. If not provided it will be randomly generated. + * The name for the VPC. If not provided it will be randomly generated. */ name?: pulumi.Input; /** - * The organization ID the VPC is associated with. + * The Organization ID the VPC is associated with. */ organizationId?: pulumi.Input; /** - * `projectId`) The ID of the project the VPC is associated with. + * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; /** @@ -185,7 +185,7 @@ export interface VpcState { */ region?: pulumi.Input; /** - * The tags associated with the VPC. + * The tags to associate with the VPC. */ tags?: pulumi.Input[]>; /** @@ -203,11 +203,11 @@ export interface VpcArgs { */ enableRouting?: pulumi.Input; /** - * The name of the VPC. If not provided it will be randomly generated. + * The name for the VPC. If not provided it will be randomly generated. */ name?: pulumi.Input; /** - * `projectId`) The ID of the project the VPC is associated with. + * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; /** @@ -215,7 +215,7 @@ export interface VpcArgs { */ region?: pulumi.Input; /** - * The tags associated with the VPC. + * The tags to associate with the VPC. */ tags?: pulumi.Input[]>; } diff --git a/sdk/nodejs/vpcGatewayNetwork.ts b/sdk/nodejs/vpcGatewayNetwork.ts index 43db4ae8..9ad8a051 100644 --- a/sdk/nodejs/vpcGatewayNetwork.ts +++ b/sdk/nodejs/vpcGatewayNetwork.ts @@ -7,13 +7,14 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway VPC Public Gateway Network. - * It allows attaching Private Networks to the VPC Public Gateway and your DHCP config - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). + * Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network). + * + * It allows the attachment of Private Networks to Public Gateways and DHCP configurations. + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). * * ## Example Usage * - * ### Create a gateway network with IPAM config + * ### Create a GatewayNetwork with IPAM configuration * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -37,7 +38,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### Create a gateway network with a booked IPAM IP + * ### Create a GatewayNetwork with a booked IPAM IP * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -68,7 +69,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### Create a gateway network with DHCP + * ### Create a GatewayNetwork with DHCP * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -93,7 +94,7 @@ import * as utilities from "./utilities"; * }); * ``` * - * ### Create a gateway network with a static IP address + * ### Create a GatewayNetwork with a static IP address * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -112,7 +113,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Gateway network can be imported using the `{zone}/{id}`, e.g. + * GatewayNetwork can be imported using `{zone}/{id}`, e.g. * * bash * @@ -149,43 +150,43 @@ export class VpcGatewayNetwork extends pulumi.CustomResource { } /** - * Remove DHCP config on this network on destroy. It requires DHCP id. + * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. */ public readonly cleanupDhcp!: pulumi.Output; /** - * The date and time of the creation of the gateway network. + * The date and time of the creation of the GatewayNetwork. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ public readonly dhcpId!: pulumi.Output; /** - * Enable DHCP config on this network. It requires DHCP id. + * WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. */ public readonly enableDhcp!: pulumi.Output; /** - * Enable masquerade on this network + * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork */ public readonly enableMasquerade!: pulumi.Output; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ public readonly gatewayId!: pulumi.Output; /** - * Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ public readonly ipamConfigs!: pulumi.Output; /** - * The mac address of the creation of the gateway network. + * The MAC address of the GatewayNetwork. */ public /*out*/ readonly macAddress!: pulumi.Output; /** - * The ID of the private network. + * The ID of the Private Network. */ public readonly privateNetworkId!: pulumi.Output; /** - * Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ public readonly staticAddress!: pulumi.Output; /** @@ -193,7 +194,7 @@ export class VpcGatewayNetwork extends pulumi.CustomResource { */ public /*out*/ readonly status!: pulumi.Output; /** - * The date and time of the last update of the gateway network. + * The date and time of the last update of the GatewayNetwork. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** @@ -259,43 +260,43 @@ export class VpcGatewayNetwork extends pulumi.CustomResource { */ export interface VpcGatewayNetworkState { /** - * Remove DHCP config on this network on destroy. It requires DHCP id. + * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. */ cleanupDhcp?: pulumi.Input; /** - * The date and time of the creation of the gateway network. + * The date and time of the creation of the GatewayNetwork. */ createdAt?: pulumi.Input; /** - * The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ dhcpId?: pulumi.Input; /** - * Enable DHCP config on this network. It requires DHCP id. + * WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. */ enableDhcp?: pulumi.Input; /** - * Enable masquerade on this network + * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork */ enableMasquerade?: pulumi.Input; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ gatewayId?: pulumi.Input; /** - * Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ ipamConfigs?: pulumi.Input[]>; /** - * The mac address of the creation of the gateway network. + * The MAC address of the GatewayNetwork. */ macAddress?: pulumi.Input; /** - * The ID of the private network. + * The ID of the Private Network. */ privateNetworkId?: pulumi.Input; /** - * Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ staticAddress?: pulumi.Input; /** @@ -303,7 +304,7 @@ export interface VpcGatewayNetworkState { */ status?: pulumi.Input; /** - * The date and time of the last update of the gateway network. + * The date and time of the last update of the GatewayNetwork. */ updatedAt?: pulumi.Input; /** @@ -317,35 +318,35 @@ export interface VpcGatewayNetworkState { */ export interface VpcGatewayNetworkArgs { /** - * Remove DHCP config on this network on destroy. It requires DHCP id. + * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. */ cleanupDhcp?: pulumi.Input; /** - * The ID of the public gateway DHCP config. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ dhcpId?: pulumi.Input; /** - * Enable DHCP config on this network. It requires DHCP id. + * WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. */ enableDhcp?: pulumi.Input; /** - * Enable masquerade on this network + * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork */ enableMasquerade?: pulumi.Input; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ gatewayId: pulumi.Input; /** - * Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ ipamConfigs?: pulumi.Input[]>; /** - * The ID of the private network. + * The ID of the Private Network. */ privateNetworkId: pulumi.Input; /** - * Enable DHCP config on this network. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. + * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified. */ staticAddress?: pulumi.Input; /** diff --git a/sdk/nodejs/vpcPrivateNetwork.ts b/sdk/nodejs/vpcPrivateNetwork.ts index 22e17f05..b4a6b0c3 100644 --- a/sdk/nodejs/vpcPrivateNetwork.ts +++ b/sdk/nodejs/vpcPrivateNetwork.ts @@ -8,7 +8,7 @@ import * as utilities from "./utilities"; /** * Creates and manages Scaleway VPC Private Networks. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). * * ## Example Usage * @@ -51,7 +51,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Private networks can be imported using the `{region}/{id}`, e.g. + * Private Networks can be imported using `{region}/{id}`, e.g. * * bash * @@ -92,7 +92,7 @@ export class VpcPrivateNetwork extends pulumi.CustomResource { */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The IPv4 subnet to associate with the private network. + * The IPv4 subnet to associate with the Private Network. */ public readonly ipv4Subnet!: pulumi.Output; /** @@ -100,29 +100,29 @@ export class VpcPrivateNetwork extends pulumi.CustomResource { */ public readonly ipv6Subnets!: pulumi.Output; /** - * The private networks are necessarily regional now. + * Private Networks are now all necessarily regional. * * @deprecated This field is deprecated and will be removed in the next major version */ public readonly isRegional!: pulumi.Output; /** - * The name of the private network. If not provided it will be randomly generated. + * The name of the Private Network. If not provided, it will be randomly generated. */ public readonly name!: pulumi.Output; /** - * The organization ID the private network is associated with. + * The Organization ID the Private Network is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * `projectId`) The ID of the project the private network is associated with. + * `projectId`) The ID of the Project the private network is associated with. */ public readonly projectId!: pulumi.Output; /** - * `region`) The region of the private network. + * `region`) The region of the Private Network. */ public readonly region!: pulumi.Output; /** - * The tags associated with the private network. + * The tags associated with the Private Network. */ public readonly tags!: pulumi.Output; /** @@ -130,11 +130,11 @@ export class VpcPrivateNetwork extends pulumi.CustomResource { */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * The VPC in which to create the private network. + * The VPC in which to create the Private Network. */ public readonly vpcId!: pulumi.Output; /** - * please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + * Use `region` instead. * * @deprecated This field is deprecated and will be removed in the next major version, please use `region` instead */ @@ -194,7 +194,7 @@ export interface VpcPrivateNetworkState { */ createdAt?: pulumi.Input; /** - * The IPv4 subnet to associate with the private network. + * The IPv4 subnet to associate with the Private Network. */ ipv4Subnet?: pulumi.Input; /** @@ -202,29 +202,29 @@ export interface VpcPrivateNetworkState { */ ipv6Subnets?: pulumi.Input[]>; /** - * The private networks are necessarily regional now. + * Private Networks are now all necessarily regional. * * @deprecated This field is deprecated and will be removed in the next major version */ isRegional?: pulumi.Input; /** - * The name of the private network. If not provided it will be randomly generated. + * The name of the Private Network. If not provided, it will be randomly generated. */ name?: pulumi.Input; /** - * The organization ID the private network is associated with. + * The Organization ID the Private Network is associated with. */ organizationId?: pulumi.Input; /** - * `projectId`) The ID of the project the private network is associated with. + * `projectId`) The ID of the Project the private network is associated with. */ projectId?: pulumi.Input; /** - * `region`) The region of the private network. + * `region`) The region of the Private Network. */ region?: pulumi.Input; /** - * The tags associated with the private network. + * The tags associated with the Private Network. */ tags?: pulumi.Input[]>; /** @@ -232,11 +232,11 @@ export interface VpcPrivateNetworkState { */ updatedAt?: pulumi.Input; /** - * The VPC in which to create the private network. + * The VPC in which to create the Private Network. */ vpcId?: pulumi.Input; /** - * please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + * Use `region` instead. * * @deprecated This field is deprecated and will be removed in the next major version, please use `region` instead */ @@ -248,7 +248,7 @@ export interface VpcPrivateNetworkState { */ export interface VpcPrivateNetworkArgs { /** - * The IPv4 subnet to associate with the private network. + * The IPv4 subnet to associate with the Private Network. */ ipv4Subnet?: pulumi.Input; /** @@ -256,33 +256,33 @@ export interface VpcPrivateNetworkArgs { */ ipv6Subnets?: pulumi.Input[]>; /** - * The private networks are necessarily regional now. + * Private Networks are now all necessarily regional. * * @deprecated This field is deprecated and will be removed in the next major version */ isRegional?: pulumi.Input; /** - * The name of the private network. If not provided it will be randomly generated. + * The name of the Private Network. If not provided, it will be randomly generated. */ name?: pulumi.Input; /** - * `projectId`) The ID of the project the private network is associated with. + * `projectId`) The ID of the Project the private network is associated with. */ projectId?: pulumi.Input; /** - * `region`) The region of the private network. + * `region`) The region of the Private Network. */ region?: pulumi.Input; /** - * The tags associated with the private network. + * The tags associated with the Private Network. */ tags?: pulumi.Input[]>; /** - * The VPC in which to create the private network. + * The VPC in which to create the Private Network. */ vpcId?: pulumi.Input; /** - * please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + * Use `region` instead. * * @deprecated This field is deprecated and will be removed in the next major version, please use `region` instead */ diff --git a/sdk/nodejs/vpcPublicGateway.ts b/sdk/nodejs/vpcPublicGateway.ts index ec840d83..c82a11e4 100644 --- a/sdk/nodejs/vpcPublicGateway.ts +++ b/sdk/nodejs/vpcPublicGateway.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway VPC Public Gateway. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway). + * Creates and manages Scaleway Public Gateways. + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway). * * ## Example Usage * @@ -27,7 +27,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway can be imported using the `{zone}/{id}`, e.g. + * Public Gateways can be imported using `{zone}/{id}`, e.g. * * bash * @@ -72,7 +72,7 @@ export class VpcPublicGateway extends pulumi.CustomResource { */ public readonly bastionPort!: pulumi.Output; /** - * The date and time of the creation of the public gateway. + * The date and time of the creation of the Public Gateway. */ public /*out*/ readonly createdAt!: pulumi.Output; /** @@ -80,15 +80,15 @@ export class VpcPublicGateway extends pulumi.CustomResource { */ public readonly enableSmtp!: pulumi.Output; /** - * attach an existing flexible IP to the gateway. + * Attach an existing flexible IP to the gateway. */ public readonly ipId!: pulumi.Output; /** - * The name of the public gateway. If not provided it will be randomly generated. + * The name for the Public Gateway. If not provided it will be randomly generated. */ public readonly name!: pulumi.Output; /** - * The organization ID the public gateway is associated with. + * The Organization ID the Public Gateway is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** @@ -96,7 +96,7 @@ export class VpcPublicGateway extends pulumi.CustomResource { */ public readonly projectId!: pulumi.Output; /** - * Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + * Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. */ public readonly refreshSshKeys!: pulumi.Output; /** @@ -104,7 +104,7 @@ export class VpcPublicGateway extends pulumi.CustomResource { */ public /*out*/ readonly status!: pulumi.Output; /** - * The tags associated with the public gateway. + * The tags to associate with the Public Gateway. */ public readonly tags!: pulumi.Output; /** @@ -112,15 +112,15 @@ export class VpcPublicGateway extends pulumi.CustomResource { */ public readonly type!: pulumi.Output; /** - * The date and time of the last update of the public gateway. + * The date and time of the last update of the Public Gateway. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * override the gateway's default recursive DNS servers, if DNS features are enabled. + * Override the gateway's default recursive DNS servers, if DNS features are enabled. */ public readonly upstreamDnsServers!: pulumi.Output; /** - * `zone`) The zone in which the public gateway should be created. + * `zone`) The zone in which the Public Gateway should be created. */ public readonly zone!: pulumi.Output; @@ -191,7 +191,7 @@ export interface VpcPublicGatewayState { */ bastionPort?: pulumi.Input; /** - * The date and time of the creation of the public gateway. + * The date and time of the creation of the Public Gateway. */ createdAt?: pulumi.Input; /** @@ -199,15 +199,15 @@ export interface VpcPublicGatewayState { */ enableSmtp?: pulumi.Input; /** - * attach an existing flexible IP to the gateway. + * Attach an existing flexible IP to the gateway. */ ipId?: pulumi.Input; /** - * The name of the public gateway. If not provided it will be randomly generated. + * The name for the Public Gateway. If not provided it will be randomly generated. */ name?: pulumi.Input; /** - * The organization ID the public gateway is associated with. + * The Organization ID the Public Gateway is associated with. */ organizationId?: pulumi.Input; /** @@ -215,7 +215,7 @@ export interface VpcPublicGatewayState { */ projectId?: pulumi.Input; /** - * Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + * Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. */ refreshSshKeys?: pulumi.Input; /** @@ -223,7 +223,7 @@ export interface VpcPublicGatewayState { */ status?: pulumi.Input; /** - * The tags associated with the public gateway. + * The tags to associate with the Public Gateway. */ tags?: pulumi.Input[]>; /** @@ -231,15 +231,15 @@ export interface VpcPublicGatewayState { */ type?: pulumi.Input; /** - * The date and time of the last update of the public gateway. + * The date and time of the last update of the Public Gateway. */ updatedAt?: pulumi.Input; /** - * override the gateway's default recursive DNS servers, if DNS features are enabled. + * Override the gateway's default recursive DNS servers, if DNS features are enabled. */ upstreamDnsServers?: pulumi.Input[]>; /** - * `zone`) The zone in which the public gateway should be created. + * `zone`) The zone in which the Public Gateway should be created. */ zone?: pulumi.Input; } @@ -261,11 +261,11 @@ export interface VpcPublicGatewayArgs { */ enableSmtp?: pulumi.Input; /** - * attach an existing flexible IP to the gateway. + * Attach an existing flexible IP to the gateway. */ ipId?: pulumi.Input; /** - * The name of the public gateway. If not provided it will be randomly generated. + * The name for the Public Gateway. If not provided it will be randomly generated. */ name?: pulumi.Input; /** @@ -273,11 +273,11 @@ export interface VpcPublicGatewayArgs { */ projectId?: pulumi.Input; /** - * Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + * Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. */ refreshSshKeys?: pulumi.Input; /** - * The tags associated with the public gateway. + * The tags to associate with the Public Gateway. */ tags?: pulumi.Input[]>; /** @@ -285,11 +285,11 @@ export interface VpcPublicGatewayArgs { */ type: pulumi.Input; /** - * override the gateway's default recursive DNS servers, if DNS features are enabled. + * Override the gateway's default recursive DNS servers, if DNS features are enabled. */ upstreamDnsServers?: pulumi.Input[]>; /** - * `zone`) The zone in which the public gateway should be created. + * `zone`) The zone in which the Public Gateway should be created. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/vpcPublicGatewayDhcp.ts b/sdk/nodejs/vpcPublicGatewayDhcp.ts index 3ec18321..febd4901 100644 --- a/sdk/nodejs/vpcPublicGatewayDhcp.ts +++ b/sdk/nodejs/vpcPublicGatewayDhcp.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway VPC Public Gateway DHCP. + * Creates and manages Scaleway VPC Public Gateway DHCP configurations. * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). * * ## Example Usage @@ -19,7 +19,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway DHCP config can be imported using the `{zone}/{id}`, e.g. + * Public Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g. * * bash * @@ -56,11 +56,11 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { } /** - * The IP address of the public gateway DHCP config. + * The IP address of the DHCP server. This will be the gateway's address in the Private Network. */ public readonly address!: pulumi.Output; /** - * The date and time of the creation of the public gateway DHCP config. + * The date and time of the creation of the Public Gateway DHCP configuration. */ public /*out*/ readonly createdAt!: pulumi.Output; /** @@ -72,7 +72,7 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { */ public readonly dnsSearches!: pulumi.Output; /** - * Override the DNS server list pushed to DHCP clients, instead of the gateway itself + * Override the DNS server list pushed to DHCP clients, instead of the gateway itself. */ public readonly dnsServersOverrides!: pulumi.Output; /** @@ -80,7 +80,7 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { */ public readonly enableDynamic!: pulumi.Output; /** - * The organization ID the public gateway DHCP config is associated with. + * The Organization ID the Public Gateway DHCP config is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** @@ -92,7 +92,7 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { */ public readonly poolLow!: pulumi.Output; /** - * `projectId`) The ID of the project the public gateway DHCP config is associated with. + * `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -112,19 +112,19 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { */ public readonly renewTimer!: pulumi.Output; /** - * The subnet to associate with the public gateway DHCP config. + * The subnet to associate with the Public Gateway DHCP configuration. */ public readonly subnet!: pulumi.Output; /** - * The date and time of the last update of the public gateway DHCP config. + * The date and time of the last update of the Public Gateway DHCP configuration. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + * How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). */ public readonly validLifetime!: pulumi.Output; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ public readonly zone!: pulumi.Output; @@ -193,11 +193,11 @@ export class VpcPublicGatewayDhcp extends pulumi.CustomResource { */ export interface VpcPublicGatewayDhcpState { /** - * The IP address of the public gateway DHCP config. + * The IP address of the DHCP server. This will be the gateway's address in the Private Network. */ address?: pulumi.Input; /** - * The date and time of the creation of the public gateway DHCP config. + * The date and time of the creation of the Public Gateway DHCP configuration. */ createdAt?: pulumi.Input; /** @@ -209,7 +209,7 @@ export interface VpcPublicGatewayDhcpState { */ dnsSearches?: pulumi.Input[]>; /** - * Override the DNS server list pushed to DHCP clients, instead of the gateway itself + * Override the DNS server list pushed to DHCP clients, instead of the gateway itself. */ dnsServersOverrides?: pulumi.Input[]>; /** @@ -217,7 +217,7 @@ export interface VpcPublicGatewayDhcpState { */ enableDynamic?: pulumi.Input; /** - * The organization ID the public gateway DHCP config is associated with. + * The Organization ID the Public Gateway DHCP config is associated with. */ organizationId?: pulumi.Input; /** @@ -229,7 +229,7 @@ export interface VpcPublicGatewayDhcpState { */ poolLow?: pulumi.Input; /** - * `projectId`) The ID of the project the public gateway DHCP config is associated with. + * `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. */ projectId?: pulumi.Input; /** @@ -249,19 +249,19 @@ export interface VpcPublicGatewayDhcpState { */ renewTimer?: pulumi.Input; /** - * The subnet to associate with the public gateway DHCP config. + * The subnet to associate with the Public Gateway DHCP configuration. */ subnet?: pulumi.Input; /** - * The date and time of the last update of the public gateway DHCP config. + * The date and time of the last update of the Public Gateway DHCP configuration. */ updatedAt?: pulumi.Input; /** - * For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + * How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). */ validLifetime?: pulumi.Input; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ zone?: pulumi.Input; } @@ -271,7 +271,7 @@ export interface VpcPublicGatewayDhcpState { */ export interface VpcPublicGatewayDhcpArgs { /** - * The IP address of the public gateway DHCP config. + * The IP address of the DHCP server. This will be the gateway's address in the Private Network. */ address?: pulumi.Input; /** @@ -283,7 +283,7 @@ export interface VpcPublicGatewayDhcpArgs { */ dnsSearches?: pulumi.Input[]>; /** - * Override the DNS server list pushed to DHCP clients, instead of the gateway itself + * Override the DNS server list pushed to DHCP clients, instead of the gateway itself. */ dnsServersOverrides?: pulumi.Input[]>; /** @@ -299,7 +299,7 @@ export interface VpcPublicGatewayDhcpArgs { */ poolLow?: pulumi.Input; /** - * `projectId`) The ID of the project the public gateway DHCP config is associated with. + * `projectId`) The ID of the Project the Public Gateway DHCP configuration is associated with. */ projectId?: pulumi.Input; /** @@ -319,15 +319,15 @@ export interface VpcPublicGatewayDhcpArgs { */ renewTimer?: pulumi.Input; /** - * The subnet to associate with the public gateway DHCP config. + * The subnet to associate with the Public Gateway DHCP configuration. */ subnet: pulumi.Input; /** - * For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + * How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). */ validLifetime?: pulumi.Input; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/vpcPublicGatewayDhcpReservation.ts b/sdk/nodejs/vpcPublicGatewayDhcpReservation.ts index 24bcda64..d0902157 100644 --- a/sdk/nodejs/vpcPublicGatewayDhcpReservation.ts +++ b/sdk/nodejs/vpcPublicGatewayDhcpReservation.ts @@ -5,15 +5,15 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). + * Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). * - * The static associations are used to assign IP addresses based on the MAC addresses of the Instance. + * These static associations are used to assign IP addresses based on the MAC addresses of the resource. * * Statically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range. * - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp). + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). * - * [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations. + * [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations. * * ## Example Usage * @@ -57,7 +57,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g. + * Public Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g. * * bash * @@ -94,7 +94,7 @@ export class VpcPublicGatewayDhcpReservation extends pulumi.CustomResource { } /** - * The date and time of the creation of the public gateway DHCP config. + * The date and time of the creation of the Public Gateway DHCP configuration. */ public /*out*/ readonly createdAt!: pulumi.Output; /** @@ -102,23 +102,23 @@ export class VpcPublicGatewayDhcpReservation extends pulumi.CustomResource { */ public readonly gatewayNetworkId!: pulumi.Output; /** - * The Hostname of the client machine. + * The hostname of the client machine. */ public /*out*/ readonly hostname!: pulumi.Output; /** - * The IP address to give to the machine (IP address). + * The IP address to give to the machine. */ public readonly ipAddress!: pulumi.Output; /** - * The MAC address to give a static entry to. + * The MAC address for the static entry. */ public readonly macAddress!: pulumi.Output; /** - * The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + * The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. */ public /*out*/ readonly type!: pulumi.Output; /** - * The date and time of the last update of the public gateway DHCP config. + * The date and time of the last update of the Public Gateway DHCP configuration. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** @@ -177,7 +177,7 @@ export class VpcPublicGatewayDhcpReservation extends pulumi.CustomResource { */ export interface VpcPublicGatewayDhcpReservationState { /** - * The date and time of the creation of the public gateway DHCP config. + * The date and time of the creation of the Public Gateway DHCP configuration. */ createdAt?: pulumi.Input; /** @@ -185,23 +185,23 @@ export interface VpcPublicGatewayDhcpReservationState { */ gatewayNetworkId?: pulumi.Input; /** - * The Hostname of the client machine. + * The hostname of the client machine. */ hostname?: pulumi.Input; /** - * The IP address to give to the machine (IP address). + * The IP address to give to the machine. */ ipAddress?: pulumi.Input; /** - * The MAC address to give a static entry to. + * The MAC address for the static entry. */ macAddress?: pulumi.Input; /** - * The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + * The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. */ type?: pulumi.Input; /** - * The date and time of the last update of the public gateway DHCP config. + * The date and time of the last update of the Public Gateway DHCP configuration. */ updatedAt?: pulumi.Input; /** @@ -219,11 +219,11 @@ export interface VpcPublicGatewayDhcpReservationArgs { */ gatewayNetworkId: pulumi.Input; /** - * The IP address to give to the machine (IP address). + * The IP address to give to the machine. */ ipAddress: pulumi.Input; /** - * The MAC address to give a static entry to. + * The MAC address for the static entry. */ macAddress: pulumi.Input; /** diff --git a/sdk/nodejs/vpcPublicGatewayIp.ts b/sdk/nodejs/vpcPublicGatewayIp.ts index 047a3a68..9848500c 100644 --- a/sdk/nodejs/vpcPublicGatewayIp.ts +++ b/sdk/nodejs/vpcPublicGatewayIp.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway VPC Public Gateway IP. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + * Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway can be imported using the `{zone}/{id}`, e.g. + * Public Gateway IPs can be imported using `{zone}/{id}`, e.g. * * bash * @@ -67,15 +67,15 @@ export class VpcPublicGatewayIp extends pulumi.CustomResource { */ public /*out*/ readonly address!: pulumi.Output; /** - * The date and time of the creation of the public gateway ip. + * The date and time of the creation of the Public Gateway IP. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The organization ID the public gateway ip is associated with. + * The Organization ID the Public Gateway IP is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * `projectId`) The ID of the project the public gateway ip is associated with. + * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ public readonly projectId!: pulumi.Output; /** @@ -83,15 +83,15 @@ export class VpcPublicGatewayIp extends pulumi.CustomResource { */ public readonly reverse!: pulumi.Output; /** - * The tags associated with the public gateway IP. + * The tags associated with the Public Gateway IP. */ public readonly tags!: pulumi.Output; /** - * The date and time of the last update of the public gateway ip. + * The date and time of the last update of the Public Gateway IP. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * `zone`) The zone in which the public gateway ip should be created. + * `zone`) The zone in which the Public Gateway IP should be created. */ public readonly zone!: pulumi.Output; @@ -141,15 +141,15 @@ export interface VpcPublicGatewayIpState { */ address?: pulumi.Input; /** - * The date and time of the creation of the public gateway ip. + * The date and time of the creation of the Public Gateway IP. */ createdAt?: pulumi.Input; /** - * The organization ID the public gateway ip is associated with. + * The Organization ID the Public Gateway IP is associated with. */ organizationId?: pulumi.Input; /** - * `projectId`) The ID of the project the public gateway ip is associated with. + * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ projectId?: pulumi.Input; /** @@ -157,15 +157,15 @@ export interface VpcPublicGatewayIpState { */ reverse?: pulumi.Input; /** - * The tags associated with the public gateway IP. + * The tags associated with the Public Gateway IP. */ tags?: pulumi.Input[]>; /** - * The date and time of the last update of the public gateway ip. + * The date and time of the last update of the Public Gateway IP. */ updatedAt?: pulumi.Input; /** - * `zone`) The zone in which the public gateway ip should be created. + * `zone`) The zone in which the Public Gateway IP should be created. */ zone?: pulumi.Input; } @@ -175,7 +175,7 @@ export interface VpcPublicGatewayIpState { */ export interface VpcPublicGatewayIpArgs { /** - * `projectId`) The ID of the project the public gateway ip is associated with. + * `projectId`) The ID of the Project the Public Gateway IP is associated with. */ projectId?: pulumi.Input; /** @@ -183,11 +183,11 @@ export interface VpcPublicGatewayIpArgs { */ reverse?: pulumi.Input; /** - * The tags associated with the public gateway IP. + * The tags associated with the Public Gateway IP. */ tags?: pulumi.Input[]>; /** - * `zone`) The zone in which the public gateway ip should be created. + * `zone`) The zone in which the Public Gateway IP should be created. */ zone?: pulumi.Input; } diff --git a/sdk/nodejs/vpcPublicGatewayIpReverseDns.ts b/sdk/nodejs/vpcPublicGatewayIpReverseDns.ts index 25402283..50d2b19e 100644 --- a/sdk/nodejs/vpcPublicGatewayIpReverseDns.ts +++ b/sdk/nodejs/vpcPublicGatewayIpReverseDns.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Manages Scaleway VPC Public Gateways IPs reverse DNS. - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + * Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS. + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. + * Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g. * * bash * @@ -67,7 +67,7 @@ export class VpcPublicGatewayIpReverseDns extends pulumi.CustomResource { } /** - * The public gateway IP ID + * The Public Gateway IP ID */ public readonly gatewayIpId!: pulumi.Output; /** @@ -117,7 +117,7 @@ export class VpcPublicGatewayIpReverseDns extends pulumi.CustomResource { */ export interface VpcPublicGatewayIpReverseDnsState { /** - * The public gateway IP ID + * The Public Gateway IP ID */ gatewayIpId?: pulumi.Input; /** @@ -135,7 +135,7 @@ export interface VpcPublicGatewayIpReverseDnsState { */ export interface VpcPublicGatewayIpReverseDnsArgs { /** - * The public gateway IP ID + * The Public Gateway IP ID */ gatewayIpId: pulumi.Input; /** diff --git a/sdk/nodejs/vpcPublicGatewayPatRule.ts b/sdk/nodejs/vpcPublicGatewayPatRule.ts index 6bad8373..bc03ffad 100644 --- a/sdk/nodejs/vpcPublicGatewayPatRule.ts +++ b/sdk/nodejs/vpcPublicGatewayPatRule.ts @@ -5,8 +5,8 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation). - * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). + * Creates and manages Scaleway Public Gateway PAT (Port Address Translation). + * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). * * ## Example Usage * @@ -63,7 +63,7 @@ import * as utilities from "./utilities"; * * ## Import * - * Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g. + * Public Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g. * * bash * @@ -100,39 +100,39 @@ export class VpcPublicGatewayPatRule extends pulumi.CustomResource { } /** - * The date and time of the creation of the pat rule config. + * The date and time of the creation of the PAT rule configuration. */ public /*out*/ readonly createdAt!: pulumi.Output; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ public readonly gatewayId!: pulumi.Output; /** - * The organization ID the pat rule config is associated with. + * The Organization ID the PAT rule configuration is associated with. */ public /*out*/ readonly organizationId!: pulumi.Output; /** - * The Private IP to forward data to (IP address). + * The private IP address to forward data to. */ public readonly privateIp!: pulumi.Output; /** - * The Private port to translate to. + * The private port to translate to. */ public readonly privatePort!: pulumi.Output; /** - * The Protocol the rule should apply to. Possible values are both, tcp and udp. + * The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. */ public readonly protocol!: pulumi.Output; /** - * The Public port to listen on. + * The public port to listen on. */ public readonly publicPort!: pulumi.Output; /** - * The date and time of the last update of the pat rule config. + * The date and time of the last update of the PAT rule configuration. */ public /*out*/ readonly updatedAt!: pulumi.Output; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ public readonly zone!: pulumi.Output; @@ -192,39 +192,39 @@ export class VpcPublicGatewayPatRule extends pulumi.CustomResource { */ export interface VpcPublicGatewayPatRuleState { /** - * The date and time of the creation of the pat rule config. + * The date and time of the creation of the PAT rule configuration. */ createdAt?: pulumi.Input; /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ gatewayId?: pulumi.Input; /** - * The organization ID the pat rule config is associated with. + * The Organization ID the PAT rule configuration is associated with. */ organizationId?: pulumi.Input; /** - * The Private IP to forward data to (IP address). + * The private IP address to forward data to. */ privateIp?: pulumi.Input; /** - * The Private port to translate to. + * The private port to translate to. */ privatePort?: pulumi.Input; /** - * The Protocol the rule should apply to. Possible values are both, tcp and udp. + * The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. */ protocol?: pulumi.Input; /** - * The Public port to listen on. + * The public port to listen on. */ publicPort?: pulumi.Input; /** - * The date and time of the last update of the pat rule config. + * The date and time of the last update of the PAT rule configuration. */ updatedAt?: pulumi.Input; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ zone?: pulumi.Input; } @@ -234,27 +234,27 @@ export interface VpcPublicGatewayPatRuleState { */ export interface VpcPublicGatewayPatRuleArgs { /** - * The ID of the public gateway. + * The ID of the Public Gateway. */ gatewayId: pulumi.Input; /** - * The Private IP to forward data to (IP address). + * The private IP address to forward data to. */ privateIp: pulumi.Input; /** - * The Private port to translate to. + * The private port to translate to. */ privatePort: pulumi.Input; /** - * The Protocol the rule should apply to. Possible values are both, tcp and udp. + * The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. */ protocol?: pulumi.Input; /** - * The Public port to listen on. + * The public port to listen on. */ publicPort: pulumi.Input; /** - * `zone`) The zone in which the public gateway DHCP config should be created. + * `zone`) The zone in which the Public Gateway DHCP configuration should be created. */ zone?: pulumi.Input; } diff --git a/sdk/python/pulumiverse_scaleway/__init__.py b/sdk/python/pulumiverse_scaleway/__init__.py index 0e17dbf1..d0c556cf 100644 --- a/sdk/python/pulumiverse_scaleway/__init__.py +++ b/sdk/python/pulumiverse_scaleway/__init__.py @@ -7,7 +7,7 @@ # Export this package's modules as members: from .account_project import * from .account_ssh_key import * -from .apple_slicon_valley_server import * +from .apple_silicon_server import * from .baremetal_server import * from .block_snapshot import * from .block_volume import * @@ -58,6 +58,7 @@ from .get_block_volume import * from .get_cockpit import * from .get_cockpit_plan import * +from .get_config import * from .get_container import * from .get_container_namespace import * from .get_database import * @@ -225,10 +226,10 @@ }, { "pkg": "scaleway", - "mod": "index/appleSliconValleyServer", + "mod": "index/appleSiliconServer", "fqn": "pulumiverse_scaleway", "classes": { - "scaleway:index/appleSliconValleyServer:AppleSliconValleyServer": "AppleSliconValleyServer" + "scaleway:index/appleSiliconServer:AppleSiliconServer": "AppleSiliconServer" } }, { diff --git a/sdk/python/pulumiverse_scaleway/_inputs.py b/sdk/python/pulumiverse_scaleway/_inputs.py index 5e8235dc..c8ddb481 100644 --- a/sdk/python/pulumiverse_scaleway/_inputs.py +++ b/sdk/python/pulumiverse_scaleway/_inputs.py @@ -28,6 +28,7 @@ 'DatabaseInstanceReadReplicaArgs', 'DatabaseReadReplicaDirectAccessArgs', 'DatabaseReadReplicaPrivateNetworkArgs', + 'DocumentdbPrivateNetworkEndpointPrivateNetworkArgs', 'DocumentdbReadReplicaDirectAccessArgs', 'DocumentdbReadReplicaPrivateNetworkArgs', 'DomainRecordGeoIpArgs', @@ -910,7 +911,7 @@ def __init__(__self__, *, ip: pulumi.Input[str], description: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] ip: The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + :param pulumi.Input[str] ip: The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) :param pulumi.Input[str] description: A text describing this rule. Default description: `IP allowed` """ pulumi.set(__self__, "ip", ip) @@ -921,7 +922,7 @@ def __init__(__self__, *, @pulumi.getter def ip(self) -> pulumi.Input[str]: """ - The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) """ return pulumi.get(self, "ip") @@ -1282,9 +1283,9 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None, port: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[str] endpoint_id: The ID of the endpoint of the read replica. - :param pulumi.Input[str] hostname: Hostname of the endpoint. Only one of ip and hostname may be set. - :param pulumi.Input[str] ip: IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + :param pulumi.Input[str] endpoint_id: The ID of the endpoint of the Read Replica. + :param pulumi.Input[str] hostname: Hostname of the endpoint. Only one of IP and hostname may be set. + :param pulumi.Input[str] ip: IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. :param pulumi.Input[str] name: Name of the endpoint. :param pulumi.Input[int] port: TCP port of the endpoint. """ @@ -1303,7 +1304,7 @@ def __init__(__self__, *, @pulumi.getter(name="endpointId") def endpoint_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the endpoint of the read replica. + The ID of the endpoint of the Read Replica. """ return pulumi.get(self, "endpoint_id") @@ -1315,7 +1316,7 @@ def endpoint_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: """ - Hostname of the endpoint. Only one of ip and hostname may be set. + Hostname of the endpoint. Only one of IP and hostname may be set. """ return pulumi.get(self, "hostname") @@ -1327,7 +1328,7 @@ def hostname(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def ip(self) -> Optional[pulumi.Input[str]]: """ - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. """ return pulumi.get(self, "ip") @@ -1373,13 +1374,13 @@ def __init__(__self__, *, service_ip: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] private_network_id: UUID of the private network to be connected to the read replica. + :param pulumi.Input[str] private_network_id: UUID of the Private Netork to be connected to the Read Replica. :param pulumi.Input[bool] enable_ipam: If true, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > **Important:** One of `service_ip` or `enable_ipam=true` must be set. - :param pulumi.Input[str] endpoint_id: The ID of the endpoint of the read replica. - :param pulumi.Input[str] hostname: Hostname of the endpoint. Only one of ip and hostname may be set. - :param pulumi.Input[str] ip: IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + :param pulumi.Input[str] endpoint_id: The ID of the endpoint of the Read Replica. + :param pulumi.Input[str] hostname: Hostname of the endpoint. Only one of IP and hostname may be set. + :param pulumi.Input[str] ip: IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. :param pulumi.Input[str] name: Name of the endpoint. :param pulumi.Input[int] port: TCP port of the endpoint. :param pulumi.Input[str] service_ip: The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. If not set, The IP network address within the private subnet is determined by the IP Address Management (IPAM) service. @@ -1407,7 +1408,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> pulumi.Input[str]: """ - UUID of the private network to be connected to the read replica. + UUID of the Private Netork to be connected to the Read Replica. """ return pulumi.get(self, "private_network_id") @@ -1433,7 +1434,7 @@ def enable_ipam(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="endpointId") def endpoint_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the endpoint of the read replica. + The ID of the endpoint of the Read Replica. """ return pulumi.get(self, "endpoint_id") @@ -1445,7 +1446,7 @@ def endpoint_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: """ - Hostname of the endpoint. Only one of ip and hostname may be set. + Hostname of the endpoint. Only one of IP and hostname may be set. """ return pulumi.get(self, "hostname") @@ -1457,7 +1458,7 @@ def hostname(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def ip(self) -> Optional[pulumi.Input[str]]: """ - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. """ return pulumi.get(self, "ip") @@ -1514,6 +1515,124 @@ def zone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zone", value) +@pulumi.input_type +class DocumentdbPrivateNetworkEndpointPrivateNetworkArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + hostname: Optional[pulumi.Input[str]] = None, + ip: Optional[pulumi.Input[str]] = None, + ip_net: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + zone: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] id: The private network ID. + :param pulumi.Input[str] hostname: The hostname of your endpoint. + :param pulumi.Input[str] ip: The IP of your private network service. + :param pulumi.Input[str] ip_net: The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + :param pulumi.Input[str] name: The name of your private service. + :param pulumi.Input[int] port: The port of your private service. + :param pulumi.Input[str] zone: The zone of your endpoint. + """ + pulumi.set(__self__, "id", id) + if hostname is not None: + pulumi.set(__self__, "hostname", hostname) + if ip is not None: + pulumi.set(__self__, "ip", ip) + if ip_net is not None: + pulumi.set(__self__, "ip_net", ip_net) + if name is not None: + pulumi.set(__self__, "name", name) + if port is not None: + pulumi.set(__self__, "port", port) + if zone is not None: + pulumi.set(__self__, "zone", zone) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + The private network ID. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def hostname(self) -> Optional[pulumi.Input[str]]: + """ + The hostname of your endpoint. + """ + return pulumi.get(self, "hostname") + + @hostname.setter + def hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hostname", value) + + @property + @pulumi.getter + def ip(self) -> Optional[pulumi.Input[str]]: + """ + The IP of your private network service. + """ + return pulumi.get(self, "ip") + + @ip.setter + def ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip", value) + + @property + @pulumi.getter(name="ipNet") + def ip_net(self) -> Optional[pulumi.Input[str]]: + """ + The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + """ + return pulumi.get(self, "ip_net") + + @ip_net.setter + def ip_net(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_net", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of your private service. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + The port of your private service. + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter + def zone(self) -> Optional[pulumi.Input[str]]: + """ + The zone of your endpoint. + """ + return pulumi.get(self, "zone") + + @zone.setter + def zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone", value) + + @pulumi.input_type class DocumentdbReadReplicaDirectAccessArgs: def __init__(__self__, *, @@ -2125,17 +2244,17 @@ def __init__(__self__, *, organization_id: Optional[pulumi.Input[str]] = None, project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] permission_set_names: Names of permission sets bound to the rule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] permission_set_names: Names of permission sets bind to the rule. - **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: ```shell - $ scw iam permission-set list + $ scw IAM permission-set list ``` :param pulumi.Input[str] organization_id: ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization. :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ids: List of project IDs scoped to the rule. - > **Important** One of `organization_id` or `project_ids` must be set per rule. + > **Important** One `organization_id` or `project_ids` must be set per rule. """ pulumi.set(__self__, "permission_set_names", permission_set_names) if organization_id is not None: @@ -2147,12 +2266,12 @@ def __init__(__self__, *, @pulumi.getter(name="permissionSetNames") def permission_set_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - Names of permission sets bound to the rule. + Names of permission sets bind to the rule. - **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: ```shell - $ scw iam permission-set list + $ scw IAM permission-set list ``` """ return pulumi.get(self, "permission_set_names") @@ -2179,7 +2298,7 @@ def project_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ List of project IDs scoped to the rule. - > **Important** One of `organization_id` or `project_ids` must be set per rule. + > **Important** One `organization_id` or `project_ids` must be set per rule. """ return pulumi.get(self, "project_ids") @@ -3503,8 +3622,8 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] id: The ID of the resource that the IP is bound to. - :param pulumi.Input[str] mac_address: The MAC Address of the resource the IP is attached to. + :param pulumi.Input[str] id: The ID of the resource that the IP is attached to. + :param pulumi.Input[str] mac_address: The MAC address of the resource the IP is attached to. :param pulumi.Input[str] name: The name of the resource the IP is attached to. :param pulumi.Input[str] type: The type of resource the IP is attached to. """ @@ -3521,7 +3640,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the resource that the IP is bound to. + The ID of the resource that the IP is attached to. """ return pulumi.get(self, "id") @@ -3533,7 +3652,7 @@ def id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="macAddress") def mac_address(self) -> Optional[pulumi.Input[str]]: """ - The MAC Address of the resource the IP is attached to. + The MAC address of the resource the IP is attached to. """ return pulumi.get(self, "mac_address") @@ -3612,9 +3731,9 @@ def __init__(__self__, *, subnet_id: Optional[pulumi.Input[str]] = None, zonal: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] private_network_id: The private network the IP lives in if the IP is a private IP. - :param pulumi.Input[str] subnet_id: The private network subnet the IP lives in if the IP is a private IP in a private network. - :param pulumi.Input[str] zonal: The zone the IP lives in if the IP is a public zoned one + :param pulumi.Input[str] private_network_id: The Private Network of the IP (if the IP is a private IP). + :param pulumi.Input[str] subnet_id: The Private Network subnet of the IP (if the IP is a private IP). + :param pulumi.Input[str] zonal: The zone of the IP (if the IP is public and zoned, rather than private and/or regional) """ if private_network_id is not None: pulumi.set(__self__, "private_network_id", private_network_id) @@ -3627,7 +3746,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> Optional[pulumi.Input[str]]: """ - The private network the IP lives in if the IP is a private IP. + The Private Network of the IP (if the IP is a private IP). """ return pulumi.get(self, "private_network_id") @@ -3639,7 +3758,7 @@ def private_network_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="subnetId") def subnet_id(self) -> Optional[pulumi.Input[str]]: """ - The private network subnet the IP lives in if the IP is a private IP in a private network. + The Private Network subnet of the IP (if the IP is a private IP). """ return pulumi.get(self, "subnet_id") @@ -3651,7 +3770,7 @@ def subnet_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zonal(self) -> Optional[pulumi.Input[str]]: """ - The zone the IP lives in if the IP is a public zoned one + The zone of the IP (if the IP is public and zoned, rather than private and/or regional) """ return pulumi.get(self, "zonal") @@ -4325,9 +4444,9 @@ def __init__(__self__, *, Possible values are: `acl_http_filter_none`, `path_begin`, `path_end`, `http_header_match` or `regex`. :param pulumi.Input[str] http_filter_option: If you have `http_filter` at `http_header_match`, you can use this field to filter on the HTTP header's value. :param pulumi.Input[Sequence[pulumi.Input[str]]] http_filter_values: A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. :param pulumi.Input[bool] invert: If set to `true`, the condition will be of type "unless". - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_subnets: A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_subnets: A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ if http_filter is not None: pulumi.set(__self__, "http_filter", http_filter) @@ -4371,7 +4490,7 @@ def http_filter_option(self, value: Optional[pulumi.Input[str]]): def http_filter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. """ return pulumi.get(self, "http_filter_values") @@ -4395,7 +4514,7 @@ def invert(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="ipSubnets") def ip_subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ return pulumi.get(self, "ip_subnets") @@ -4773,7 +4892,7 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[int] code: The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. - :param pulumi.Input[str] target: An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + :param pulumi.Input[str] target: A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. :param pulumi.Input[str] type: The redirect type. Possible values are: `location` or `scheme`. """ if code is not None: @@ -4799,7 +4918,7 @@ def code(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def target(self) -> Optional[pulumi.Input[str]]: """ - An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. """ return pulumi.get(self, "target") @@ -4834,9 +4953,9 @@ def __init__(__self__, *, Possible values are: `acl_http_filter_none`, `path_begin`, `path_end`, `http_header_match` or `regex`. :param pulumi.Input[str] http_filter_option: If you have `http_filter` at `http_header_match`, you can use this field to filter on the HTTP header's value. :param pulumi.Input[Sequence[pulumi.Input[str]]] http_filter_values: A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. :param pulumi.Input[bool] invert: If set to `true`, the condition will be of type "unless". - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_subnets: A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_subnets: A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ if http_filter is not None: pulumi.set(__self__, "http_filter", http_filter) @@ -4880,7 +4999,7 @@ def http_filter_option(self, value: Optional[pulumi.Input[str]]): def http_filter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. """ return pulumi.get(self, "http_filter_values") @@ -4904,7 +5023,7 @@ def invert(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="ipSubnets") def ip_subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ return pulumi.get(self, "ip_subnets") @@ -4922,15 +5041,18 @@ def __init__(__self__, *, status: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] private_network_id: (Required) The ID of the Private Network to associate. - :param pulumi.Input[bool] dhcp_config: (Optional) Set to true if you want to let DHCP assign IP addresses. See below. - :param pulumi.Input[str] static_config: (Optional) Define a local ip address of your choice for the load balancer instance. See below. + :param pulumi.Input[str] private_network_id: (Required) The ID of the Private Network to attach to. + :param pulumi.Input[bool] dhcp_config: (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. + :param pulumi.Input[str] static_config: (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. :param pulumi.Input[str] status: The status of private network connection - :param pulumi.Input[str] zone: `zone`) The zone of the load-balancer. + :param pulumi.Input[str] zone: `zone`) The zone of the Load Balancer. """ pulumi.set(__self__, "private_network_id", private_network_id) if dhcp_config is not None: pulumi.set(__self__, "dhcp_config", dhcp_config) + if static_config is not None: + warnings.warn("""static_config field is deprecated, please use dhcp_config instead""", DeprecationWarning) + pulumi.log.warn("""static_config is deprecated: static_config field is deprecated, please use dhcp_config instead""") if static_config is not None: pulumi.set(__self__, "static_config", static_config) if status is not None: @@ -4942,7 +5064,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> pulumi.Input[str]: """ - (Required) The ID of the Private Network to associate. + (Required) The ID of the Private Network to attach to. """ return pulumi.get(self, "private_network_id") @@ -4954,7 +5076,7 @@ def private_network_id(self, value: pulumi.Input[str]): @pulumi.getter(name="dhcpConfig") def dhcp_config(self) -> Optional[pulumi.Input[bool]]: """ - (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. """ return pulumi.get(self, "dhcp_config") @@ -4966,8 +5088,11 @@ def dhcp_config(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="staticConfig") def static_config(self) -> Optional[pulumi.Input[str]]: """ - (Optional) Define a local ip address of your choice for the load balancer instance. See below. + (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. """ + warnings.warn("""static_config field is deprecated, please use dhcp_config instead""", DeprecationWarning) + pulumi.log.warn("""static_config is deprecated: static_config field is deprecated, please use dhcp_config instead""") + return pulumi.get(self, "static_config") @static_config.setter @@ -4990,7 +5115,7 @@ def status(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone of the load-balancer. + `zone`) The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -5006,9 +5131,9 @@ def __init__(__self__, *, can_publish: Optional[pulumi.Input[bool]] = None, can_receive: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[bool] can_manage: . Defines if user can manage the associated resource(s). - :param pulumi.Input[bool] can_publish: . Defines if user can publish messages to the service. - :param pulumi.Input[bool] can_receive: . Defines if user can receive messages from the service. + :param pulumi.Input[bool] can_manage: . Defines whether the user can manage the associated resource(s). + :param pulumi.Input[bool] can_publish: . Defines whether the user can publish messages to the service. + :param pulumi.Input[bool] can_receive: . Defines whether the user can receive messages from the service. """ if can_manage is not None: pulumi.set(__self__, "can_manage", can_manage) @@ -5021,7 +5146,7 @@ def __init__(__self__, *, @pulumi.getter(name="canManage") def can_manage(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can manage the associated resource(s). + . Defines whether the user can manage the associated resource(s). """ return pulumi.get(self, "can_manage") @@ -5033,7 +5158,7 @@ def can_manage(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="canPublish") def can_publish(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can publish messages to the service. + . Defines whether the user can publish messages to the service. """ return pulumi.get(self, "can_publish") @@ -5045,7 +5170,7 @@ def can_publish(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="canReceive") def can_receive(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can receive messages from the service. + . Defines whether the user can receive messages from the service. """ return pulumi.get(self, "can_receive") @@ -5061,9 +5186,9 @@ def __init__(__self__, *, can_publish: Optional[pulumi.Input[bool]] = None, can_receive: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[bool] can_manage: . Defines if user can manage the associated resource(s). - :param pulumi.Input[bool] can_publish: . Defines if user can publish messages to the service. - :param pulumi.Input[bool] can_receive: . Defines if user can receive messages from the service. + :param pulumi.Input[bool] can_manage: . Defines whether the user can manage the associated resource(s). + :param pulumi.Input[bool] can_publish: . Defines whether the user can publish messages to the service. + :param pulumi.Input[bool] can_receive: . Defines whether the user can receive messages from the service. """ if can_manage is not None: pulumi.set(__self__, "can_manage", can_manage) @@ -5076,7 +5201,7 @@ def __init__(__self__, *, @pulumi.getter(name="canManage") def can_manage(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can manage the associated resource(s). + . Defines whether the user can manage the associated resource(s). """ return pulumi.get(self, "can_manage") @@ -5088,7 +5213,7 @@ def can_manage(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="canPublish") def can_publish(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can publish messages to the service. + . Defines whether the user can publish messages to the service. """ return pulumi.get(self, "can_publish") @@ -5100,7 +5225,7 @@ def can_publish(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="canReceive") def can_receive(self) -> Optional[pulumi.Input[bool]]: """ - . Defines if user can receive messages from the service. + . Defines whether the user can receive messages from the service. """ return pulumi.get(self, "can_receive") @@ -5701,7 +5826,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] ip: The ip range to whitelist + :param pulumi.Input[str] ip: The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) :param pulumi.Input[str] description: A text describing this rule. Default description: `Allow IP` @@ -5718,7 +5843,7 @@ def __init__(__self__, *, @pulumi.getter def ip(self) -> pulumi.Input[str]: """ - The ip range to whitelist + The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) """ return pulumi.get(self, "ip") @@ -5765,30 +5890,30 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The UUID of the Private Network resource. :param pulumi.Input[str] endpoint_id: The ID of the endpoint. :param pulumi.Input[Sequence[pulumi.Input[str]]] service_ips: Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > The `private_network` conflicts with `acl`. Only one should be specified. - > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side by side. - - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - require updating the private network to add IPs. + - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + require updating the Private Network to add IPs. Your `service_ips` must be listed as follows: ```python import pulumi ``` :param pulumi.Input[str] zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ pulumi.set(__self__, "id", id) if endpoint_id is not None: @@ -5827,23 +5952,23 @@ def endpoint_id(self, value: Optional[pulumi.Input[str]]): def service_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > The `private_network` conflicts with `acl`. Only one should be specified. - > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side by side. - - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - require updating the private network to add IPs. + - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + require updating the Private Network to add IPs. Your `service_ips` must be listed as follows: ```python @@ -5861,7 +5986,7 @@ def service_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] def zone(self) -> Optional[pulumi.Input[str]]: """ `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ return pulumi.get(self, "zone") @@ -6019,7 +6144,7 @@ def __init__(__self__, *, push_default_route: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] ipam_ip_id: Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. - :param pulumi.Input[bool] push_default_route: Defines whether the default route is enabled on that Gateway Network. + :param pulumi.Input[bool] push_default_route: Defines whether to enable the default route on the GatewayNetwork. """ if ipam_ip_id is not None: pulumi.set(__self__, "ipam_ip_id", ipam_ip_id) @@ -6042,7 +6167,7 @@ def ipam_ip_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="pushDefaultRoute") def push_default_route(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether the default route is enabled on that Gateway Network. + Defines whether to enable the default route on the GatewayNetwork. """ return pulumi.get(self, "push_default_route") @@ -6062,10 +6187,10 @@ def __init__(__self__, *, subnet_mask: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + :param pulumi.Input[str] address: The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. :param pulumi.Input[str] created_at: The date and time of the creation of the subnet. :param pulumi.Input[str] id: The subnet ID. - :param pulumi.Input[int] prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + :param pulumi.Input[int] prefix_length: The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. :param pulumi.Input[str] subnet: The subnet CIDR. :param pulumi.Input[str] subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet :param pulumi.Input[str] updated_at: The date and time of the last update of the subnet. @@ -6089,7 +6214,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ - The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. """ return pulumi.get(self, "address") @@ -6125,7 +6250,7 @@ def id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="prefixLength") def prefix_length(self) -> Optional[pulumi.Input[int]]: """ - The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. """ return pulumi.get(self, "prefix_length") @@ -6181,10 +6306,10 @@ def __init__(__self__, *, subnet_mask: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + :param pulumi.Input[str] address: The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. :param pulumi.Input[str] created_at: The date and time of the creation of the subnet. :param pulumi.Input[str] id: The subnet ID. - :param pulumi.Input[int] prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + :param pulumi.Input[int] prefix_length: The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. :param pulumi.Input[str] subnet: The subnet CIDR. :param pulumi.Input[str] subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet :param pulumi.Input[str] updated_at: The date and time of the last update of the subnet. @@ -6208,7 +6333,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ - The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. """ return pulumi.get(self, "address") @@ -6244,7 +6369,7 @@ def id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="prefixLength") def prefix_length(self) -> Optional[pulumi.Input[int]]: """ - The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. """ return pulumi.get(self, "prefix_length") @@ -6374,9 +6499,9 @@ def __init__(__self__, *, id: Optional[str] = None, name: Optional[str] = None): """ - :param str type: The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. - :param str id: The ID of the resource that the IP is bound to. - :param str name: The name of the resource to get the IP from. + :param str type: The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + :param str id: The ID of the resource that the IP is attached to. + :param str name: The name of the resource the IP is attached to. """ pulumi.set(__self__, "type", type) if id is not None: @@ -6388,7 +6513,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ return pulumi.get(self, "type") @@ -6400,7 +6525,7 @@ def type(self, value: str): @pulumi.getter def id(self) -> Optional[str]: """ - The ID of the resource that the IP is bound to. + The ID of the resource that the IP is attached to. """ return pulumi.get(self, "id") @@ -6412,7 +6537,7 @@ def id(self, value: Optional[str]): @pulumi.getter def name(self) -> Optional[str]: """ - The name of the resource to get the IP from. + The name of the resource the IP is attached to. """ return pulumi.get(self, "name") @@ -6428,9 +6553,9 @@ def __init__(__self__, *, id: Optional[str] = None, name: Optional[str] = None): """ - :param str type: The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. - :param str id: The ID of the resource that the IP is bound to. - :param str name: The name of the resource to get the IP from. + :param str type: The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + :param str id: The ID of the attached resource. + :param str name: The name of the attached resource. """ pulumi.set(__self__, "type", type) if id is not None: @@ -6442,7 +6567,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ return pulumi.get(self, "type") @@ -6454,7 +6579,7 @@ def type(self, value: str): @pulumi.getter def id(self) -> Optional[str]: """ - The ID of the resource that the IP is bound to. + The ID of the attached resource. """ return pulumi.get(self, "id") @@ -6466,7 +6591,7 @@ def id(self, value: Optional[str]): @pulumi.getter def name(self) -> Optional[str]: """ - The name of the resource to get the IP from. + The name of the attached resource. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumiverse_scaleway/apple_silicon_server.py b/sdk/python/pulumiverse_scaleway/apple_silicon_server.py new file mode 100644 index 00000000..5b61dffe --- /dev/null +++ b/sdk/python/pulumiverse_scaleway/apple_silicon_server.py @@ -0,0 +1,555 @@ +# 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__ = ['AppleSiliconServerArgs', 'AppleSiliconServer'] + +@pulumi.input_type +class AppleSiliconServerArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + zone: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AppleSiliconServer resource. + :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + :param pulumi.Input[str] name: The name of the server. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is + associated with. + :param pulumi.Input[str] zone: `zone`) The zone in which + the server should be created. + """ + pulumi.set(__self__, "type", type) + if name is not None: + pulumi.set(__self__, "name", name) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if zone is not None: + pulumi.set(__self__, "zone", zone) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the server. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[str]]: + """ + `project_id`) The ID of the project the server is + associated with. + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_id", value) + + @property + @pulumi.getter + def zone(self) -> Optional[pulumi.Input[str]]: + """ + `zone`) The zone in which + the server should be created. + """ + return pulumi.get(self, "zone") + + @zone.setter + def zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone", value) + + +@pulumi.input_type +class _AppleSiliconServerState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[str]] = None, + deletable_at: Optional[pulumi.Input[str]] = None, + ip: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + vnc_url: Optional[pulumi.Input[str]] = None, + zone: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering AppleSiliconServer resources. + :param pulumi.Input[str] created_at: The date and time of the creation of the Apple Silicon server. + :param pulumi.Input[str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence + :param pulumi.Input[str] ip: IPv4 address of the server (IPv4 address). + :param pulumi.Input[str] name: The name of the server. + :param pulumi.Input[str] organization_id: The organization ID the server is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is + associated with. + :param pulumi.Input[str] state: The state of the server. + :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Apple Silicon server. + :param pulumi.Input[str] vnc_url: URL of the VNC. + :param pulumi.Input[str] zone: `zone`) The zone in which + the server should be created. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if deletable_at is not None: + pulumi.set(__self__, "deletable_at", deletable_at) + if ip is not None: + pulumi.set(__self__, "ip", ip) + if name is not None: + pulumi.set(__self__, "name", name) + if organization_id is not None: + pulumi.set(__self__, "organization_id", organization_id) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if state is not None: + pulumi.set(__self__, "state", state) + if type is not None: + pulumi.set(__self__, "type", type) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if vnc_url is not None: + pulumi.set(__self__, "vnc_url", vnc_url) + if zone is not None: + pulumi.set(__self__, "zone", zone) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[str]]: + """ + The date and time of the creation of the Apple Silicon server. + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="deletableAt") + def deletable_at(self) -> Optional[pulumi.Input[str]]: + """ + The minimal date and time on which you can delete this server due to Apple licence + """ + return pulumi.get(self, "deletable_at") + + @deletable_at.setter + def deletable_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deletable_at", value) + + @property + @pulumi.getter + def ip(self) -> Optional[pulumi.Input[str]]: + """ + IPv4 address of the server (IPv4 address). + """ + return pulumi.get(self, "ip") + + @ip.setter + def ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the server. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> Optional[pulumi.Input[str]]: + """ + The organization ID the server is associated with. + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organization_id", value) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[str]]: + """ + `project_id`) The ID of the project the server is + associated with. + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_id", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The state of the server. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[str]]: + """ + The date and time of the last update of the Apple Silicon server. + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="vncUrl") + def vnc_url(self) -> Optional[pulumi.Input[str]]: + """ + URL of the VNC. + """ + return pulumi.get(self, "vnc_url") + + @vnc_url.setter + def vnc_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vnc_url", value) + + @property + @pulumi.getter + def zone(self) -> Optional[pulumi.Input[str]]: + """ + `zone`) The zone in which + the server should be created. + """ + return pulumi.get(self, "zone") + + @zone.setter + def zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone", value) + + +class AppleSiliconServer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + zone: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Creates and manages Scaleway Apple silicon. For more information, + see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/). + + ## Example Usage + + ### Basic + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + server = scaleway.AppleSiliconServer("server", type="M1-M") + ``` + + ## Import + + Instance servers can be imported using the `{zone}/{id}`, e.g. + + bash + + ```sh + $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] name: The name of the server. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is + associated with. + :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + :param pulumi.Input[str] zone: `zone`) The zone in which + the server should be created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AppleSiliconServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Creates and manages Scaleway Apple silicon. For more information, + see [the documentation](https://www.scaleway.com/en/developers/api/apple-silicon/). + + ## Example Usage + + ### Basic + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + server = scaleway.AppleSiliconServer("server", type="M1-M") + ``` + + ## Import + + Instance servers can be imported using the `{zone}/{id}`, e.g. + + bash + + ```sh + $ pulumi import scaleway:index/appleSiliconServer:AppleSiliconServer main fr-par-1/11111111-1111-1111-1111-111111111111 + ``` + + :param str resource_name: The name of the resource. + :param AppleSiliconServerArgs 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(AppleSiliconServerArgs, 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, + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + zone: 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__ = AppleSiliconServerArgs.__new__(AppleSiliconServerArgs) + + __props__.__dict__["name"] = name + __props__.__dict__["project_id"] = project_id + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["zone"] = zone + __props__.__dict__["created_at"] = None + __props__.__dict__["deletable_at"] = None + __props__.__dict__["ip"] = None + __props__.__dict__["organization_id"] = None + __props__.__dict__["state"] = None + __props__.__dict__["updated_at"] = None + __props__.__dict__["vnc_url"] = None + super(AppleSiliconServer, __self__).__init__( + 'scaleway:index/appleSiliconServer:AppleSiliconServer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[str]] = None, + deletable_at: Optional[pulumi.Input[str]] = None, + ip: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + vnc_url: Optional[pulumi.Input[str]] = None, + zone: Optional[pulumi.Input[str]] = None) -> 'AppleSiliconServer': + """ + Get an existing AppleSiliconServer 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] created_at: The date and time of the creation of the Apple Silicon server. + :param pulumi.Input[str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence + :param pulumi.Input[str] ip: IPv4 address of the server (IPv4 address). + :param pulumi.Input[str] name: The name of the server. + :param pulumi.Input[str] organization_id: The organization ID the server is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is + associated with. + :param pulumi.Input[str] state: The state of the server. + :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Apple Silicon server. + :param pulumi.Input[str] vnc_url: URL of the VNC. + :param pulumi.Input[str] zone: `zone`) The zone in which + the server should be created. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AppleSiliconServerState.__new__(_AppleSiliconServerState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["deletable_at"] = deletable_at + __props__.__dict__["ip"] = ip + __props__.__dict__["name"] = name + __props__.__dict__["organization_id"] = organization_id + __props__.__dict__["project_id"] = project_id + __props__.__dict__["state"] = state + __props__.__dict__["type"] = type + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["vnc_url"] = vnc_url + __props__.__dict__["zone"] = zone + return AppleSiliconServer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[str]: + """ + The date and time of the creation of the Apple Silicon server. + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="deletableAt") + def deletable_at(self) -> pulumi.Output[str]: + """ + The minimal date and time on which you can delete this server due to Apple licence + """ + return pulumi.get(self, "deletable_at") + + @property + @pulumi.getter + def ip(self) -> pulumi.Output[str]: + """ + IPv4 address of the server (IPv4 address). + """ + return pulumi.get(self, "ip") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the server. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> pulumi.Output[str]: + """ + The organization ID the server is associated with. + """ + return pulumi.get(self, "organization_id") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Output[str]: + """ + `project_id`) The ID of the project the server is + associated with. + """ + return pulumi.get(self, "project_id") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The state of the server. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The commercial type of the server. You find all the available types on + the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new + resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[str]: + """ + The date and time of the last update of the Apple Silicon server. + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="vncUrl") + def vnc_url(self) -> pulumi.Output[str]: + """ + URL of the VNC. + """ + return pulumi.get(self, "vnc_url") + + @property + @pulumi.getter + def zone(self) -> pulumi.Output[str]: + """ + `zone`) The zone in which + the server should be created. + """ + return pulumi.get(self, "zone") + diff --git a/sdk/python/pulumiverse_scaleway/block_snapshot.py b/sdk/python/pulumiverse_scaleway/block_snapshot.py index f270f530..1054956d 100644 --- a/sdk/python/pulumiverse_scaleway/block_snapshot.py +++ b/sdk/python/pulumiverse_scaleway/block_snapshot.py @@ -207,7 +207,10 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - block_snapshot = scaleway.BlockSnapshot("blockSnapshot", volume_id="11111111-1111-1111-1111-111111111111") + block_volume = scaleway.BlockVolume("blockVolume", + iops=5000, + size_in_gb=20) + block_snapshot = scaleway.BlockSnapshot("blockSnapshot", volume_id=block_volume.id) ``` ## Import @@ -244,7 +247,10 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - block_snapshot = scaleway.BlockSnapshot("blockSnapshot", volume_id="11111111-1111-1111-1111-111111111111") + block_volume = scaleway.BlockVolume("blockVolume", + iops=5000, + size_in_gb=20) + block_snapshot = scaleway.BlockSnapshot("blockSnapshot", volume_id=block_volume.id) ``` ## Import diff --git a/sdk/python/pulumiverse_scaleway/block_volume.py b/sdk/python/pulumiverse_scaleway/block_volume.py index d62beeee..0d98c69d 100644 --- a/sdk/python/pulumiverse_scaleway/block_volume.py +++ b/sdk/python/pulumiverse_scaleway/block_volume.py @@ -269,6 +269,8 @@ def __init__(__self__, ## Example Usage + ### Basic + ```python import pulumi import pulumiverse_scaleway as scaleway @@ -278,6 +280,21 @@ def __init__(__self__, size_in_gb=20) ``` + ### With snapshot + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + base = scaleway.BlockVolume("base", + iops=5000, + size_in_gb=20) + main_block_snapshot = scaleway.BlockSnapshot("mainBlockSnapshot", volume_id=base.id) + main_block_volume = scaleway.BlockVolume("mainBlockVolume", + iops=5000, + snapshot_id=main_block_snapshot.id) + ``` + ## Import Block Volumes can be imported using the `{zone}/{id}`, e.g. @@ -310,6 +327,8 @@ def __init__(__self__, ## Example Usage + ### Basic + ```python import pulumi import pulumiverse_scaleway as scaleway @@ -319,6 +338,21 @@ def __init__(__self__, size_in_gb=20) ``` + ### With snapshot + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + base = scaleway.BlockVolume("base", + iops=5000, + size_in_gb=20) + main_block_snapshot = scaleway.BlockSnapshot("mainBlockSnapshot", volume_id=base.id) + main_block_volume = scaleway.BlockVolume("mainBlockVolume", + iops=5000, + snapshot_id=main_block_snapshot.id) + ``` + ## Import Block Volumes can be imported using the `{zone}/{id}`, e.g. diff --git a/sdk/python/pulumiverse_scaleway/database.py b/sdk/python/pulumiverse_scaleway/database.py index a8662dab..fafd5ef4 100644 --- a/sdk/python/pulumiverse_scaleway/database.py +++ b/sdk/python/pulumiverse_scaleway/database.py @@ -19,9 +19,9 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Database resource. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. :param pulumi.Input[str] name: Name of the database (e.g. `my-new-database`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. """ @@ -35,9 +35,9 @@ def __init__(__self__, *, @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. """ return pulumi.get(self, "instance_id") @@ -81,9 +81,9 @@ def __init__(__self__, *, size: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Database resources. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. :param pulumi.Input[bool] managed: Whether the database is managed or not. :param pulumi.Input[str] name: Name of the database (e.g. `my-new-database`). :param pulumi.Input[str] owner: The name of the owner of the database. @@ -107,9 +107,9 @@ def __init__(__self__, *, @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. """ return pulumi.get(self, "instance_id") @@ -188,8 +188,8 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway RDB database. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages databases. + For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -199,7 +199,14 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.Database("main", instance_id=scaleway_rdb_instance["main"]["id"]) + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database = scaleway.Database("mainDatabase", instance_id=main_database_instance.id) ``` ## Import @@ -214,9 +221,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. :param pulumi.Input[str] name: Name of the database (e.g. `my-new-database`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. """ @@ -227,8 +234,8 @@ def __init__(__self__, args: DatabaseArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway RDB database. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages databases. + For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -238,7 +245,14 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.Database("main", instance_id=scaleway_rdb_instance["main"]["id"]) + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database = scaleway.Database("mainDatabase", instance_id=main_database_instance.id) ``` ## Import @@ -309,9 +323,9 @@ def get(resource_name: str, :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] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. :param pulumi.Input[bool] managed: Whether the database is managed or not. :param pulumi.Input[str] name: Name of the database (e.g. `my-new-database`). :param pulumi.Input[str] owner: The name of the owner of the database. @@ -334,9 +348,9 @@ def get(resource_name: str, @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database. + > **Important:** Updates to `instance_id` will recreate the database. """ return pulumi.get(self, "instance_id") diff --git a/sdk/python/pulumiverse_scaleway/database_acl.py b/sdk/python/pulumiverse_scaleway/database_acl.py index 62cfd707..9e8de634 100644 --- a/sdk/python/pulumiverse_scaleway/database_acl.py +++ b/sdk/python/pulumiverse_scaleway/database_acl.py @@ -22,7 +22,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a DatabaseAcl resource. :param pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below) - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. @@ -48,7 +48,7 @@ def acl_rules(self, value: pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRul @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. """ @@ -80,7 +80,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DatabaseAcl resources. :param pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below) - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. @@ -108,7 +108,7 @@ def acl_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Database @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ - UUID of the rdb instance. + UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. """ @@ -142,7 +142,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway Database instance authorized IPs. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). + For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). ## Example Usage @@ -152,8 +152,15 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DatabaseAcl("main", - instance_id=scaleway_rdb_instance["main"]["id"], + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database_acl = scaleway.DatabaseAcl("mainDatabaseAcl", + instance_id=main_database_instance.id, acl_rules=[scaleway.DatabaseAclAclRuleArgs( ip="1.2.3.4/32", description="foo", @@ -173,7 +180,7 @@ def __init__(__self__, :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['DatabaseAclAclRuleArgs']]]] acl_rules: A list of ACLs (structure is described below) - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. @@ -186,7 +193,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway Database instance authorized IPs. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). + For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#acl-rules-allowed-ips). ## Example Usage @@ -196,8 +203,15 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DatabaseAcl("main", - instance_id=scaleway_rdb_instance["main"]["id"], + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database_acl = scaleway.DatabaseAcl("mainDatabaseAcl", + instance_id=main_database_instance.id, acl_rules=[scaleway.DatabaseAclAclRuleArgs( ip="1.2.3.4/32", description="foo", @@ -269,7 +283,7 @@ def get(resource_name: str, :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['DatabaseAclAclRuleArgs']]]] acl_rules: A list of ACLs (structure is described below) - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. @@ -295,7 +309,7 @@ def acl_rules(self) -> pulumi.Output[Sequence['outputs.DatabaseAclAclRule']]: @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. > **Important:** Updates to `instance_id` will recreate the Database ACL. """ diff --git a/sdk/python/pulumiverse_scaleway/database_backup.py b/sdk/python/pulumiverse_scaleway/database_backup.py index 0e0b8d7c..190867f3 100644 --- a/sdk/python/pulumiverse_scaleway/database_backup.py +++ b/sdk/python/pulumiverse_scaleway/database_backup.py @@ -22,9 +22,9 @@ def __init__(__self__, *, """ The set of arguments for constructing a DatabaseBackup resource. :param pulumi.Input[str] database_name: Name of the database of this backup. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. :param pulumi.Input[str] expires_at: Expiration date (Format ISO 8601). > **Important:** `expires_at` cannot be removed after being set. @@ -56,9 +56,9 @@ def database_name(self, value: pulumi.Input[str]): @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. """ return pulumi.get(self, "instance_id") @@ -124,9 +124,9 @@ def __init__(__self__, *, :param pulumi.Input[str] expires_at: Expiration date (Format ISO 8601). > **Important:** `expires_at` cannot be removed after being set. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. :param pulumi.Input[str] instance_name: Name of the instance of the backup. :param pulumi.Input[str] name: Name of the database (e.g. `my-database`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. @@ -194,9 +194,9 @@ def expires_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. """ return pulumi.get(self, "instance_id") @@ -277,8 +277,8 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway RDB database backup. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages database backups. + For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -288,9 +288,17 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DatabaseBackup("main", - instance_id=data["scaleway_rdb_instance"]["main"]["id"], - database_name=data["scaleway_rdb_database"]["main"]["name"]) + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database = scaleway.Database("mainDatabase", instance_id=main_database_instance.id) + main_database_backup = scaleway.DatabaseBackup("mainDatabaseBackup", + instance_id=main_database_instance.id, + database_name=main_database.name) ``` ### With expiration @@ -307,7 +315,7 @@ def __init__(__self__, ## Import - RDB Database can be imported using the `{region}/{id}`, e.g. + Databases can be imported using the `{region}/{id}`, e.g. bash @@ -321,9 +329,9 @@ def __init__(__self__, :param pulumi.Input[str] expires_at: Expiration date (Format ISO 8601). > **Important:** `expires_at` cannot be removed after being set. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. :param pulumi.Input[str] name: Name of the database (e.g. `my-database`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. """ @@ -334,8 +342,8 @@ def __init__(__self__, args: DatabaseBackupArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway RDB database backup. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages database backups. + For more information, refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -345,9 +353,17 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DatabaseBackup("main", - instance_id=data["scaleway_rdb_instance"]["main"]["id"], - database_name=data["scaleway_rdb_database"]["main"]["name"]) + main_database_instance = scaleway.DatabaseInstance("mainDatabaseInstance", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") + main_database = scaleway.Database("mainDatabase", instance_id=main_database_instance.id) + main_database_backup = scaleway.DatabaseBackup("mainDatabaseBackup", + instance_id=main_database_instance.id, + database_name=main_database.name) ``` ### With expiration @@ -364,7 +380,7 @@ def __init__(__self__, ## Import - RDB Database can be imported using the `{region}/{id}`, e.g. + Databases can be imported using the `{region}/{id}`, e.g. bash @@ -445,9 +461,9 @@ def get(resource_name: str, :param pulumi.Input[str] expires_at: Expiration date (Format ISO 8601). > **Important:** `expires_at` cannot be removed after being set. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. :param pulumi.Input[str] instance_name: Name of the instance of the backup. :param pulumi.Input[str] name: Name of the database (e.g. `my-database`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. @@ -499,9 +515,9 @@ def expires_at(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Backup. + > **Important:** Updates to `instance_id` will recreate the backup. """ return pulumi.get(self, "instance_id") diff --git a/sdk/python/pulumiverse_scaleway/database_instance.py b/sdk/python/pulumiverse_scaleway/database_instance.py index ea5425c7..d8e125f9 100644 --- a/sdk/python/pulumiverse_scaleway/database_instance.py +++ b/sdk/python/pulumiverse_scaleway/database_instance.py @@ -40,39 +40,38 @@ def __init__(__self__, *, The set of arguments for constructing a DatabaseInstance resource. :param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. - :param pulumi.Input[str] node_type: The type of database instance you want to create (e.g. `db-dev-s`). + > **Important** Updates to `engine` will recreate the Database Instance. + :param pulumi.Input[str] node_type: The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. :param pulumi.Input[bool] backup_same_region: Boolean to store logical backups in the same region as the database instance :param pulumi.Input[int] backup_schedule_frequency: Backup schedule frequency in hours :param pulumi.Input[int] backup_schedule_retention: Backup schedule retention in days :param pulumi.Input[bool] disable_backup: Disable automated backup for the database instance :param pulumi.Input[Mapping[str, pulumi.Input[str]]] init_settings: Map of engine settings to be set at database initialisation. - :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the database instance. + :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. - :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]] load_balancers: List of load balancer endpoints of the database instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. + :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]] load_balancers: List of Load Balancer endpoints of the Database Instance. :param pulumi.Input['DatabaseInstanceLogsPolicyArgs'] logs_policy: Logs policy configuration :param pulumi.Input[str] name: The name of the Database Instance. - :param pulumi.Input[str] password: Password for the first user of the database instance. - :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] private_network: List of private networks endpoints of the database instance. + :param pulumi.Input[str] password: Password for the first user of the Database Instance. + :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database Instance is associated with. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance. - :param pulumi.Input[str] user_name: Identifier for the first user of the database instance. + :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`). """ pulumi.set(__self__, "engine", engine) @@ -120,7 +119,7 @@ def engine(self) -> pulumi.Input[str]: """ Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. """ return pulumi.get(self, "engine") @@ -132,13 +131,12 @@ def engine(self, value: pulumi.Input[str]): @pulumi.getter(name="nodeType") def node_type(self) -> pulumi.Input[str]: """ - The type of database instance you want to create (e.g. `db-dev-s`). + The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. """ return pulumi.get(self, "node_type") @@ -210,9 +208,9 @@ def init_settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @pulumi.getter(name="isHaCluster") def is_ha_cluster(self) -> Optional[pulumi.Input[bool]]: """ - Enable or disable high availability for the database instance. + Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. """ return pulumi.get(self, "is_ha_cluster") @@ -224,7 +222,7 @@ def is_ha_cluster(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="loadBalancers") def load_balancers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]]]: """ - List of load balancer endpoints of the database instance. + List of Load Balancer endpoints of the Database Instance. """ return pulumi.get(self, "load_balancers") @@ -260,7 +258,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - Password for the first user of the database instance. + Password for the first user of the Database Instance. """ return pulumi.get(self, "password") @@ -272,7 +270,7 @@ def password(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetwork") def private_network(self) -> Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']]: """ - List of private networks endpoints of the database instance. + List of Private Networks endpoints of the Database Instance. """ return pulumi.get(self, "private_network") @@ -334,9 +332,9 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="userName") def user_name(self) -> Optional[pulumi.Input[str]]: """ - Identifier for the first user of the database instance. + Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. """ return pulumi.get(self, "user_name") @@ -350,7 +348,7 @@ def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]: """ Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. """ return pulumi.get(self, "volume_size_in_gb") @@ -404,43 +402,42 @@ def __init__(__self__, *, :param pulumi.Input[bool] backup_same_region: Boolean to store logical backups in the same region as the database instance :param pulumi.Input[int] backup_schedule_frequency: Backup schedule frequency in hours :param pulumi.Input[int] backup_schedule_retention: Backup schedule retention in days - :param pulumi.Input[str] certificate: Certificate of the database instance. + :param pulumi.Input[str] certificate: Certificate of the Database Instance. :param pulumi.Input[bool] disable_backup: Disable automated backup for the database instance :param pulumi.Input[str] endpoint_ip: (Deprecated) The IP of the Database Instance. :param pulumi.Input[int] endpoint_port: (Deprecated) The port of the Database Instance. :param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] init_settings: Map of engine settings to be set at database initialisation. - :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the database instance. + :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. - :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]] load_balancers: List of load balancer endpoints of the database instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. + :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]] load_balancers: List of Load Balancer endpoints of the Database Instance. :param pulumi.Input['DatabaseInstanceLogsPolicyArgs'] logs_policy: Logs policy configuration :param pulumi.Input[str] name: The name of the Database Instance. - :param pulumi.Input[str] node_type: The type of database instance you want to create (e.g. `db-dev-s`). + :param pulumi.Input[str] node_type: The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with. - :param pulumi.Input[str] password: Password for the first user of the database instance. - :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] private_network: List of private networks endpoints of the database instance. + :param pulumi.Input[str] password: Password for the first user of the Database Instance. + :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database Instance is associated with. - :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]] read_replicas: List of read replicas of the database instance. + :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]] read_replicas: List of read replicas of the Database Instance. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance. - :param pulumi.Input[str] user_name: Identifier for the first user of the database instance. + :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`). """ if backup_same_region is not None: @@ -537,7 +534,7 @@ def backup_schedule_retention(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def certificate(self) -> Optional[pulumi.Input[str]]: """ - Certificate of the database instance. + Certificate of the Database Instance. """ return pulumi.get(self, "certificate") @@ -590,7 +587,7 @@ def engine(self) -> Optional[pulumi.Input[str]]: """ Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. """ return pulumi.get(self, "engine") @@ -614,9 +611,9 @@ def init_settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @pulumi.getter(name="isHaCluster") def is_ha_cluster(self) -> Optional[pulumi.Input[bool]]: """ - Enable or disable high availability for the database instance. + Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. """ return pulumi.get(self, "is_ha_cluster") @@ -628,7 +625,7 @@ def is_ha_cluster(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="loadBalancers") def load_balancers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]]]: """ - List of load balancer endpoints of the database instance. + List of Load Balancer endpoints of the Database Instance. """ return pulumi.get(self, "load_balancers") @@ -664,13 +661,12 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="nodeType") def node_type(self) -> Optional[pulumi.Input[str]]: """ - The type of database instance you want to create (e.g. `db-dev-s`). + The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. """ return pulumi.get(self, "node_type") @@ -694,7 +690,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - Password for the first user of the database instance. + Password for the first user of the Database Instance. """ return pulumi.get(self, "password") @@ -706,7 +702,7 @@ def password(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetwork") def private_network(self) -> Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']]: """ - List of private networks endpoints of the database instance. + List of Private Networks endpoints of the Database Instance. """ return pulumi.get(self, "private_network") @@ -731,7 +727,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="readReplicas") def read_replicas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]]]: """ - List of read replicas of the database instance. + List of read replicas of the Database Instance. """ return pulumi.get(self, "read_replicas") @@ -780,9 +776,9 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="userName") def user_name(self) -> Optional[pulumi.Input[str]]: """ - Identifier for the first user of the database instance. + Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. """ return pulumi.get(self, "user_name") @@ -796,7 +792,7 @@ def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]: """ Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. """ return pulumi.get(self, "volume_size_in_gb") @@ -845,7 +841,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway Database Instances. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + For more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -918,11 +914,11 @@ def __init__(__self__, user_name="my_initial_user") ``` - ### Examples of endpoints configuration + ### Examples of endpoint configuration - RDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none. + Database Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none. - ### 1 static private network endpoint + ### 1 static Private Network endpoint ```python import pulumi @@ -940,7 +936,7 @@ def __init__(__self__, )) ``` - ### 1 IPAM private network endpoint + 1 public endpoint + ### 1 IPAM Private Network endpoint + 1 public endpoint ```python import pulumi @@ -968,11 +964,11 @@ def __init__(__self__, node_type="db-dev-s") ``` - > If nothing is defined, your instance will have a default public load-balancer endpoint + > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint. ## Limitations - The Managed Database product is only compliant with the private network in the default availability zone (AZ). + The Managed Database product is only compliant with the Private Network in the default availability zone (AZ). i.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our section [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/) @@ -994,35 +990,34 @@ def __init__(__self__, :param pulumi.Input[bool] disable_backup: Disable automated backup for the database instance :param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] init_settings: Map of engine settings to be set at database initialisation. - :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the database instance. + :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceLoadBalancerArgs']]]] load_balancers: List of load balancer endpoints of the database instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceLoadBalancerArgs']]]] load_balancers: List of Load Balancer endpoints of the Database Instance. :param pulumi.Input[pulumi.InputType['DatabaseInstanceLogsPolicyArgs']] logs_policy: Logs policy configuration :param pulumi.Input[str] name: The name of the Database Instance. - :param pulumi.Input[str] node_type: The type of database instance you want to create (e.g. `db-dev-s`). + :param pulumi.Input[str] node_type: The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. - :param pulumi.Input[str] password: Password for the first user of the database instance. - :param pulumi.Input[pulumi.InputType['DatabaseInstancePrivateNetworkArgs']] private_network: List of private networks endpoints of the database instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. + :param pulumi.Input[str] password: Password for the first user of the Database Instance. + :param pulumi.Input[pulumi.InputType['DatabaseInstancePrivateNetworkArgs']] private_network: List of Private Networks endpoints of the Database Instance. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database Instance is associated with. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance. - :param pulumi.Input[str] user_name: Identifier for the first user of the database instance. + :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`). """ ... @@ -1033,7 +1028,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway Database Instances. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + For more information, see refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -1106,11 +1101,11 @@ def __init__(__self__, user_name="my_initial_user") ``` - ### Examples of endpoints configuration + ### Examples of endpoint configuration - RDB Instances can have a maximum of 1 public endpoint and 1 private endpoint. It can have both, or none. + Database Instances can have a maximum of 1 public endpoint and 1 private endpoint. They can have both, or none. - ### 1 static private network endpoint + ### 1 static Private Network endpoint ```python import pulumi @@ -1128,7 +1123,7 @@ def __init__(__self__, )) ``` - ### 1 IPAM private network endpoint + 1 public endpoint + ### 1 IPAM Private Network endpoint + 1 public endpoint ```python import pulumi @@ -1156,11 +1151,11 @@ def __init__(__self__, node_type="db-dev-s") ``` - > If nothing is defined, your instance will have a default public load-balancer endpoint + > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint. ## Limitations - The Managed Database product is only compliant with the private network in the default availability zone (AZ). + The Managed Database product is only compliant with the Private Network in the default availability zone (AZ). i.e. `fr-par-1`, `nl-ams-1`, `pl-waw-1`. To learn more, read our section [How to connect a PostgreSQL and MySQL Database Instance to a Private Network](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/how-to/connect-database-private-network/) @@ -1294,43 +1289,42 @@ def get(resource_name: str, :param pulumi.Input[bool] backup_same_region: Boolean to store logical backups in the same region as the database instance :param pulumi.Input[int] backup_schedule_frequency: Backup schedule frequency in hours :param pulumi.Input[int] backup_schedule_retention: Backup schedule retention in days - :param pulumi.Input[str] certificate: Certificate of the database instance. + :param pulumi.Input[str] certificate: Certificate of the Database Instance. :param pulumi.Input[bool] disable_backup: Disable automated backup for the database instance :param pulumi.Input[str] endpoint_ip: (Deprecated) The IP of the Database Instance. :param pulumi.Input[int] endpoint_port: (Deprecated) The port of the Database Instance. :param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] init_settings: Map of engine settings to be set at database initialisation. - :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the database instance. + :param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceLoadBalancerArgs']]]] load_balancers: List of load balancer endpoints of the database instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceLoadBalancerArgs']]]] load_balancers: List of Load Balancer endpoints of the Database Instance. :param pulumi.Input[pulumi.InputType['DatabaseInstanceLogsPolicyArgs']] logs_policy: Logs policy configuration :param pulumi.Input[str] name: The name of the Database Instance. - :param pulumi.Input[str] node_type: The type of database instance you want to create (e.g. `db-dev-s`). + :param pulumi.Input[str] node_type: The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with. - :param pulumi.Input[str] password: Password for the first user of the database instance. - :param pulumi.Input[pulumi.InputType['DatabaseInstancePrivateNetworkArgs']] private_network: List of private networks endpoints of the database instance. + :param pulumi.Input[str] password: Password for the first user of the Database Instance. + :param pulumi.Input[pulumi.InputType['DatabaseInstancePrivateNetworkArgs']] private_network: List of Private Networks endpoints of the Database Instance. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database Instance is associated with. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceReadReplicaArgs']]]] read_replicas: List of read replicas of the database instance. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatabaseInstanceReadReplicaArgs']]]] read_replicas: List of read replicas of the Database Instance. :param pulumi.Input[str] region: `region`) The region in which the Database Instance should be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance. - :param pulumi.Input[str] user_name: Identifier for the first user of the database instance. + :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`). """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -1392,7 +1386,7 @@ def backup_schedule_retention(self) -> pulumi.Output[int]: @pulumi.getter def certificate(self) -> pulumi.Output[str]: """ - Certificate of the database instance. + Certificate of the Database Instance. """ return pulumi.get(self, "certificate") @@ -1429,7 +1423,7 @@ def engine(self) -> pulumi.Output[str]: """ Database Instance's engine version (e.g. `PostgreSQL-11`). - > **Important:** Updates to `engine` will recreate the Database Instance. + > **Important** Updates to `engine` will recreate the Database Instance. """ return pulumi.get(self, "engine") @@ -1445,9 +1439,9 @@ def init_settings(self) -> pulumi.Output[Optional[Mapping[str, str]]]: @pulumi.getter(name="isHaCluster") def is_ha_cluster(self) -> pulumi.Output[Optional[bool]]: """ - Enable or disable high availability for the database instance. + Enable or disable high availability for the Database Instance. - > **Important:** Updates to `is_ha_cluster` will recreate the Database Instance. + > **Important** Updates to `is_ha_cluster` will recreate the Database Instance. """ return pulumi.get(self, "is_ha_cluster") @@ -1455,7 +1449,7 @@ def is_ha_cluster(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="loadBalancers") def load_balancers(self) -> pulumi.Output[Sequence['outputs.DatabaseInstanceLoadBalancer']]: """ - List of load balancer endpoints of the database instance. + List of Load Balancer endpoints of the Database Instance. """ return pulumi.get(self, "load_balancers") @@ -1479,13 +1473,12 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="nodeType") def node_type(self) -> pulumi.Output[str]: """ - The type of database instance you want to create (e.g. `db-dev-s`). + The type of Database Instance you want to create (e.g. `db-dev-s`). - > **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any + > **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any interruption. - > **Important:** Once your instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the node_type, - and if you are using `bssd` storage, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance. """ return pulumi.get(self, "node_type") @@ -1501,7 +1494,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter def password(self) -> pulumi.Output[Optional[str]]: """ - Password for the first user of the database instance. + Password for the first user of the Database Instance. """ return pulumi.get(self, "password") @@ -1509,7 +1502,7 @@ def password(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="privateNetwork") def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseInstancePrivateNetwork']]: """ - List of private networks endpoints of the database instance. + List of Private Networks endpoints of the Database Instance. """ return pulumi.get(self, "private_network") @@ -1526,7 +1519,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter(name="readReplicas") def read_replicas(self) -> pulumi.Output[Sequence['outputs.DatabaseInstanceReadReplica']]: """ - List of read replicas of the database instance. + List of read replicas of the Database Instance. """ return pulumi.get(self, "read_replicas") @@ -1559,9 +1552,9 @@ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter(name="userName") def user_name(self) -> pulumi.Output[str]: """ - Identifier for the first user of the database instance. + Identifier for the first user of the Database Instance. - > **Important:** Updates to `user_name` will recreate the Database Instance. + > **Important** Updates to `user_name` will recreate the Database Instance. """ return pulumi.get(self, "user_name") @@ -1571,7 +1564,7 @@ def volume_size_in_gb(self) -> pulumi.Output[int]: """ Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`. - > **Important:** Once your instance reaches `disk_full` status, you should increase the volume size before making any other change to your instance. + > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance. """ return pulumi.get(self, "volume_size_in_gb") diff --git a/sdk/python/pulumiverse_scaleway/database_privilege.py b/sdk/python/pulumiverse_scaleway/database_privilege.py index 1606f84e..5bddf875 100644 --- a/sdk/python/pulumiverse_scaleway/database_privilege.py +++ b/sdk/python/pulumiverse_scaleway/database_privilege.py @@ -22,7 +22,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a DatabasePrivilege resource. :param pulumi.Input[str] database_name: Name of the database (e.g. `my-db-name`). - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. :param pulumi.Input[str] permission: Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. :param pulumi.Input[str] user_name: Name of the user (e.g. `my-db-user`). :param pulumi.Input[str] region: `region`) The region in which the resource exists. @@ -50,7 +50,7 @@ def database_name(self, value: pulumi.Input[str]): @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. """ return pulumi.get(self, "instance_id") @@ -106,7 +106,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DatabasePrivilege resources. :param pulumi.Input[str] database_name: Name of the database (e.g. `my-db-name`). - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. :param pulumi.Input[str] permission: Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. :param pulumi.Input[str] region: `region`) The region in which the resource exists. :param pulumi.Input[str] user_name: Name of the user (e.g. `my-db-user`). @@ -138,7 +138,7 @@ def database_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ - UUID of the rdb instance. + UUID of the Database Instance. """ return pulumi.get(self, "instance_id") @@ -195,8 +195,8 @@ def __init__(__self__, user_name: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create and manage Scaleway RDB database privilege. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). + Create and manage Scaleway database privileges. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). ## Example Usage @@ -236,7 +236,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] database_name: Name of the database (e.g. `my-db-name`). - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. :param pulumi.Input[str] permission: Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. :param pulumi.Input[str] region: `region`) The region in which the resource exists. :param pulumi.Input[str] user_name: Name of the user (e.g. `my-db-user`). @@ -248,8 +248,8 @@ def __init__(__self__, args: DatabasePrivilegeArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Create and manage Scaleway RDB database privilege. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). + Create and manage Scaleway database privileges. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/#user-and-permissions). ## Example Usage @@ -351,7 +351,7 @@ def get(resource_name: str, :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] database_name: Name of the database (e.g. `my-db-name`). - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. :param pulumi.Input[str] permission: Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`. :param pulumi.Input[str] region: `region`) The region in which the resource exists. :param pulumi.Input[str] user_name: Name of the user (e.g. `my-db-user`). @@ -379,7 +379,7 @@ def database_name(self) -> pulumi.Output[str]: @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. """ return pulumi.get(self, "instance_id") diff --git a/sdk/python/pulumiverse_scaleway/database_read_replica.py b/sdk/python/pulumiverse_scaleway/database_read_replica.py index 58bdcd37..bbae7ccc 100644 --- a/sdk/python/pulumiverse_scaleway/database_read_replica.py +++ b/sdk/python/pulumiverse_scaleway/database_read_replica.py @@ -25,11 +25,11 @@ def __init__(__self__, *, The set of arguments for constructing a DatabaseReadReplica resource. :param pulumi.Input[str] instance_id: UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. :param pulumi.Input['DatabaseReadReplicaDirectAccessArgs'] direct_access: Creates a direct access endpoint to rdb replica. - :param pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs'] private_network: Create an endpoint in a private network. + :param pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs'] private_network: Create an endpoint in a Private Netork. :param pulumi.Input[str] region: `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. :param pulumi.Input[bool] same_zone: Defines whether to create the replica in the same availability zone as the main instance nodes or not. """ pulumi.set(__self__, "instance_id", instance_id) @@ -48,7 +48,7 @@ def instance_id(self) -> pulumi.Input[str]: """ UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. """ return pulumi.get(self, "instance_id") @@ -72,7 +72,7 @@ def direct_access(self, value: Optional[pulumi.Input['DatabaseReadReplicaDirectA @pulumi.getter(name="privateNetwork") def private_network(self) -> Optional[pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs']]: """ - Create an endpoint in a private network. + Create an endpoint in a Private Netork. """ return pulumi.get(self, "private_network") @@ -85,7 +85,7 @@ def private_network(self, value: Optional[pulumi.Input['DatabaseReadReplicaPriva def region(self) -> Optional[pulumi.Input[str]]: """ `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. """ return pulumi.get(self, "region") @@ -119,10 +119,10 @@ def __init__(__self__, *, :param pulumi.Input['DatabaseReadReplicaDirectAccessArgs'] direct_access: Creates a direct access endpoint to rdb replica. :param pulumi.Input[str] instance_id: UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. - :param pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs'] private_network: Create an endpoint in a private network. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. + :param pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs'] private_network: Create an endpoint in a Private Netork. :param pulumi.Input[str] region: `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. :param pulumi.Input[bool] same_zone: Defines whether to create the replica in the same availability zone as the main instance nodes or not. """ if direct_access is not None: @@ -154,7 +154,7 @@ def instance_id(self) -> Optional[pulumi.Input[str]]: """ UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. """ return pulumi.get(self, "instance_id") @@ -166,7 +166,7 @@ def instance_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetwork") def private_network(self) -> Optional[pulumi.Input['DatabaseReadReplicaPrivateNetworkArgs']]: """ - Create an endpoint in a private network. + Create an endpoint in a Private Netork. """ return pulumi.get(self, "private_network") @@ -179,7 +179,7 @@ def private_network(self, value: Optional[pulumi.Input['DatabaseReadReplicaPriva def region(self) -> Optional[pulumi.Input[str]]: """ `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. """ return pulumi.get(self, "region") @@ -212,8 +212,8 @@ def __init__(__self__, same_zone: Optional[pulumi.Input[bool]] = None, __props__=None): """ - Creates and manages Scaleway Database read replicas. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages Read Replicas. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -286,7 +286,7 @@ def __init__(__self__, ## Import - Database Read replica can be imported using the `{region}/{id}`, e.g. + Read Replicas can be imported using the `{region}/{id}`, e.g. bash @@ -299,10 +299,10 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaDirectAccessArgs']] direct_access: Creates a direct access endpoint to rdb replica. :param pulumi.Input[str] instance_id: UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. - :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaPrivateNetworkArgs']] private_network: Create an endpoint in a private network. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. + :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaPrivateNetworkArgs']] private_network: Create an endpoint in a Private Netork. :param pulumi.Input[str] region: `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. :param pulumi.Input[bool] same_zone: Defines whether to create the replica in the same availability zone as the main instance nodes or not. """ ... @@ -312,8 +312,8 @@ def __init__(__self__, args: DatabaseReadReplicaArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Database read replicas. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages Read Replicas. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -386,7 +386,7 @@ def __init__(__self__, ## Import - Database Read replica can be imported using the `{region}/{id}`, e.g. + Read Replicas can be imported using the `{region}/{id}`, e.g. bash @@ -455,10 +455,10 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaDirectAccessArgs']] direct_access: Creates a direct access endpoint to rdb replica. :param pulumi.Input[str] instance_id: UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. - :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaPrivateNetworkArgs']] private_network: Create an endpoint in a private network. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. + :param pulumi.Input[pulumi.InputType['DatabaseReadReplicaPrivateNetworkArgs']] private_network: Create an endpoint in a Private Netork. :param pulumi.Input[str] region: `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. :param pulumi.Input[bool] same_zone: Defines whether to create the replica in the same availability zone as the main instance nodes or not. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -486,7 +486,7 @@ def instance_id(self) -> pulumi.Output[str]: """ UUID of the rdb instance. - > **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both. + > **Important:** The replica musts contains at least one `direct_access` or `private_network`. It can contain both. """ return pulumi.get(self, "instance_id") @@ -494,7 +494,7 @@ def instance_id(self) -> pulumi.Output[str]: @pulumi.getter(name="privateNetwork") def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseReadReplicaPrivateNetwork']]: """ - Create an endpoint in a private network. + Create an endpoint in a Private Netork. """ return pulumi.get(self, "private_network") @@ -503,7 +503,7 @@ def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseReadReplica def region(self) -> pulumi.Output[str]: """ `region`) The region - in which the Database read replica should be created. + in which the Read Replica should be created. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/database_user.py b/sdk/python/pulumiverse_scaleway/database_user.py index cddbe11b..415eec3c 100644 --- a/sdk/python/pulumiverse_scaleway/database_user.py +++ b/sdk/python/pulumiverse_scaleway/database_user.py @@ -21,14 +21,14 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a DatabaseUser resource. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. - :param pulumi.Input[str] password: Database User password. - :param pulumi.Input[bool] is_admin: Grant admin permissions to the Database User. - :param pulumi.Input[str] name: Database User name. + > **Important:** Updates to `instance_id` will recreate the database user. + :param pulumi.Input[str] password: database user password. + :param pulumi.Input[bool] is_admin: Grant admin permissions to the database user. + :param pulumi.Input[str] name: database user name. - > **Important:** Updates to `name` will recreate the Database User. + > **Important:** Updates to `name` will recreate the database user. :param pulumi.Input[str] region: The Scaleway region this resource resides in. """ pulumi.set(__self__, "instance_id", instance_id) @@ -44,9 +44,9 @@ def __init__(__self__, *, @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. + > **Important:** Updates to `instance_id` will recreate the database user. """ return pulumi.get(self, "instance_id") @@ -58,7 +58,7 @@ def instance_id(self, value: pulumi.Input[str]): @pulumi.getter def password(self) -> pulumi.Input[str]: """ - Database User password. + database user password. """ return pulumi.get(self, "password") @@ -70,7 +70,7 @@ def password(self, value: pulumi.Input[str]): @pulumi.getter(name="isAdmin") def is_admin(self) -> Optional[pulumi.Input[bool]]: """ - Grant admin permissions to the Database User. + Grant admin permissions to the database user. """ return pulumi.get(self, "is_admin") @@ -82,9 +82,9 @@ def is_admin(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Database User name. + database user name. - > **Important:** Updates to `name` will recreate the Database User. + > **Important:** Updates to `name` will recreate the database user. """ return pulumi.get(self, "name") @@ -115,14 +115,14 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering DatabaseUser resources. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. - :param pulumi.Input[bool] is_admin: Grant admin permissions to the Database User. - :param pulumi.Input[str] name: Database User name. + > **Important:** Updates to `instance_id` will recreate the database user. + :param pulumi.Input[bool] is_admin: Grant admin permissions to the database user. + :param pulumi.Input[str] name: database user name. - > **Important:** Updates to `name` will recreate the Database User. - :param pulumi.Input[str] password: Database User password. + > **Important:** Updates to `name` will recreate the database user. + :param pulumi.Input[str] password: database user password. :param pulumi.Input[str] region: The Scaleway region this resource resides in. """ if instance_id is not None: @@ -140,9 +140,9 @@ def __init__(__self__, *, @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. + > **Important:** Updates to `instance_id` will recreate the database user. """ return pulumi.get(self, "instance_id") @@ -154,7 +154,7 @@ def instance_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="isAdmin") def is_admin(self) -> Optional[pulumi.Input[bool]]: """ - Grant admin permissions to the Database User. + Grant admin permissions to the database user. """ return pulumi.get(self, "is_admin") @@ -166,9 +166,9 @@ def is_admin(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Database User name. + database user name. - > **Important:** Updates to `name` will recreate the Database User. + > **Important:** Updates to `name` will recreate the database user. """ return pulumi.get(self, "name") @@ -180,7 +180,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - Database User password. + database user password. """ return pulumi.get(self, "password") @@ -213,8 +213,8 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Database Users. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages database users. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -225,18 +225,25 @@ def __init__(__self__, import pulumi_random as random import pulumiverse_scaleway as scaleway + main = scaleway.DatabaseInstance("main", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") db_password = random.RandomPassword("dbPassword", length=16, special=True) db_admin = scaleway.DatabaseUser("dbAdmin", - instance_id=scaleway_rdb_instance["main"]["id"], + instance_id=main.id, password=db_password.result, is_admin=True) ``` ## Import - Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g. + Database users can be imported using `{region}/{instance_id}/{user_name}`, e.g. bash @@ -246,14 +253,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. - :param pulumi.Input[bool] is_admin: Grant admin permissions to the Database User. - :param pulumi.Input[str] name: Database User name. + > **Important:** Updates to `instance_id` will recreate the database user. + :param pulumi.Input[bool] is_admin: Grant admin permissions to the database user. + :param pulumi.Input[str] name: database user name. - > **Important:** Updates to `name` will recreate the Database User. - :param pulumi.Input[str] password: Database User password. + > **Important:** Updates to `name` will recreate the database user. + :param pulumi.Input[str] password: database user password. :param pulumi.Input[str] region: The Scaleway region this resource resides in. """ ... @@ -263,8 +270,8 @@ def __init__(__self__, args: DatabaseUserArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Database Users. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). + Creates and manages database users. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-postgre-mysql/). ## Example Usage @@ -275,18 +282,25 @@ def __init__(__self__, import pulumi_random as random import pulumiverse_scaleway as scaleway + main = scaleway.DatabaseInstance("main", + node_type="DB-DEV-S", + engine="PostgreSQL-15", + is_ha_cluster=True, + disable_backup=True, + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret") db_password = random.RandomPassword("dbPassword", length=16, special=True) db_admin = scaleway.DatabaseUser("dbAdmin", - instance_id=scaleway_rdb_instance["main"]["id"], + instance_id=main.id, password=db_password.result, is_admin=True) ``` ## Import - Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g. + Database users can be imported using `{region}/{instance_id}/{user_name}`, e.g. bash @@ -356,14 +370,14 @@ def get(resource_name: str, :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] instance_id: UUID of the rdb instance. + :param pulumi.Input[str] instance_id: UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. - :param pulumi.Input[bool] is_admin: Grant admin permissions to the Database User. - :param pulumi.Input[str] name: Database User name. + > **Important:** Updates to `instance_id` will recreate the database user. + :param pulumi.Input[bool] is_admin: Grant admin permissions to the database user. + :param pulumi.Input[str] name: database user name. - > **Important:** Updates to `name` will recreate the Database User. - :param pulumi.Input[str] password: Database User password. + > **Important:** Updates to `name` will recreate the database user. + :param pulumi.Input[str] password: database user password. :param pulumi.Input[str] region: The Scaleway region this resource resides in. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -381,9 +395,9 @@ def get(resource_name: str, @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ - UUID of the rdb instance. + UUID of the Database Instance. - > **Important:** Updates to `instance_id` will recreate the Database User. + > **Important:** Updates to `instance_id` will recreate the database user. """ return pulumi.get(self, "instance_id") @@ -391,7 +405,7 @@ def instance_id(self) -> pulumi.Output[str]: @pulumi.getter(name="isAdmin") def is_admin(self) -> pulumi.Output[Optional[bool]]: """ - Grant admin permissions to the Database User. + Grant admin permissions to the database user. """ return pulumi.get(self, "is_admin") @@ -399,9 +413,9 @@ def is_admin(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - Database User name. + database user name. - > **Important:** Updates to `name` will recreate the Database User. + > **Important:** Updates to `name` will recreate the database user. """ return pulumi.get(self, "name") @@ -409,7 +423,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter def password(self) -> pulumi.Output[str]: """ - Database User password. + database user password. """ return pulumi.get(self, "password") diff --git a/sdk/python/pulumiverse_scaleway/documentdb_database.py b/sdk/python/pulumiverse_scaleway/documentdb_database.py index e8b5987c..f1544387 100644 --- a/sdk/python/pulumiverse_scaleway/documentdb_database.py +++ b/sdk/python/pulumiverse_scaleway/documentdb_database.py @@ -231,7 +231,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DocumentdbDatabase("main", instance_id="11111111-1111-1111-1111-111111111111") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) + main = scaleway.DocumentdbDatabase("main", instance_id=instance.id) ``` ## Import @@ -270,7 +276,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - main = scaleway.DocumentdbDatabase("main", instance_id="11111111-1111-1111-1111-111111111111") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) + main = scaleway.DocumentdbDatabase("main", instance_id=instance.id) ``` ## Import diff --git a/sdk/python/pulumiverse_scaleway/documentdb_private_network_endpoint.py b/sdk/python/pulumiverse_scaleway/documentdb_private_network_endpoint.py index 8d5a86e1..fd891720 100644 --- a/sdk/python/pulumiverse_scaleway/documentdb_private_network_endpoint.py +++ b/sdk/python/pulumiverse_scaleway/documentdb_private_network_endpoint.py @@ -8,6 +8,8 @@ import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['DocumentdbPrivateNetworkEndpointArgs', 'DocumentdbPrivateNetworkEndpoint'] @@ -15,32 +17,24 @@ class DocumentdbPrivateNetworkEndpointArgs: def __init__(__self__, *, instance_id: pulumi.Input[str], - private_network_id: pulumi.Input[str], - ip_net: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - region: Optional[pulumi.Input[str]] = None, - zone: Optional[pulumi.Input[str]] = None): + private_network: Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']] = None, + region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a DocumentdbPrivateNetworkEndpoint resource. :param pulumi.Input[str] instance_id: UUID of the documentdb instance. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] ip_net: The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - :param pulumi.Input[int] port: Port in the Private Network. - :param pulumi.Input[str] region: The region you want to attach the resource to - :param pulumi.Input[str] zone: The zone you want to attach the resource to + :param pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs'] private_network: The private network specs details. This is a list with maximum one element and supports the following attributes: + :param pulumi.Input[str] region: The region of the endpoint. + + + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "private_network_id", private_network_id) - if ip_net is not None: - pulumi.set(__self__, "ip_net", ip_net) - if port is not None: - pulumi.set(__self__, "port", port) + if private_network is not None: + pulumi.set(__self__, "private_network", private_network) if region is not None: pulumi.set(__self__, "region", region) - if zone is not None: - pulumi.set(__self__, "zone", zone) @property @pulumi.getter(name="instanceId") @@ -55,48 +49,27 @@ def instance_id(self, value: pulumi.Input[str]): pulumi.set(self, "instance_id", value) @property - @pulumi.getter(name="privateNetworkId") - def private_network_id(self) -> pulumi.Input[str]: - """ - The ID of the private network. - """ - return pulumi.get(self, "private_network_id") - - @private_network_id.setter - def private_network_id(self, value: pulumi.Input[str]): - pulumi.set(self, "private_network_id", value) - - @property - @pulumi.getter(name="ipNet") - def ip_net(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="privateNetwork") + def private_network(self) -> Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]: """ - The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. + The private network specs details. This is a list with maximum one element and supports the following attributes: """ - return pulumi.get(self, "ip_net") + return pulumi.get(self, "private_network") - @ip_net.setter - def ip_net(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_net", value) + @private_network.setter + def private_network(self, value: Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]): + pulumi.set(self, "private_network", value) @property @pulumi.getter - def port(self) -> Optional[pulumi.Input[int]]: - """ - Port in the Private Network. + def region(self) -> Optional[pulumi.Input[str]]: """ - return pulumi.get(self, "port") + The region of the endpoint. - @port.setter - def port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "port", value) - @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - """ - The region you want to attach the resource to + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ return pulumi.get(self, "region") @@ -104,75 +77,30 @@ def region(self) -> Optional[pulumi.Input[str]]: def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) - @property - @pulumi.getter - def zone(self) -> Optional[pulumi.Input[str]]: - """ - The zone you want to attach the resource to - """ - return pulumi.get(self, "zone") - - @zone.setter - def zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone", value) - @pulumi.input_type class _DocumentdbPrivateNetworkEndpointState: def __init__(__self__, *, - hostname: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, - ip: Optional[pulumi.Input[str]] = None, - ip_net: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - private_network_id: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None, - zone: Optional[pulumi.Input[str]] = None): + private_network: Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']] = None, + region: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering DocumentdbPrivateNetworkEndpoint resources. - :param pulumi.Input[str] hostname: Hostname of the endpoint. :param pulumi.Input[str] instance_id: UUID of the documentdb instance. - :param pulumi.Input[str] ip: IPv4 address on the network. - :param pulumi.Input[str] ip_net: The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - :param pulumi.Input[str] name: Name of the endpoint. - :param pulumi.Input[int] port: Port in the Private Network. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] region: The region you want to attach the resource to - :param pulumi.Input[str] zone: The zone you want to attach the resource to + :param pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs'] private_network: The private network specs details. This is a list with maximum one element and supports the following attributes: + :param pulumi.Input[str] region: The region of the endpoint. + + + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ - if hostname is not None: - pulumi.set(__self__, "hostname", hostname) if instance_id is not None: pulumi.set(__self__, "instance_id", instance_id) - if ip is not None: - pulumi.set(__self__, "ip", ip) - if ip_net is not None: - pulumi.set(__self__, "ip_net", ip_net) - if name is not None: - pulumi.set(__self__, "name", name) - if port is not None: - pulumi.set(__self__, "port", port) - if private_network_id is not None: - pulumi.set(__self__, "private_network_id", private_network_id) + if private_network is not None: + pulumi.set(__self__, "private_network", private_network) if region is not None: pulumi.set(__self__, "region", region) - if zone is not None: - pulumi.set(__self__, "zone", zone) - - @property - @pulumi.getter - def hostname(self) -> Optional[pulumi.Input[str]]: - """ - Hostname of the endpoint. - """ - return pulumi.get(self, "hostname") - - @hostname.setter - def hostname(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hostname", value) @property @pulumi.getter(name="instanceId") @@ -187,72 +115,27 @@ def instance_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_id", value) @property - @pulumi.getter - def ip(self) -> Optional[pulumi.Input[str]]: - """ - IPv4 address on the network. - """ - return pulumi.get(self, "ip") - - @ip.setter - def ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip", value) - - @property - @pulumi.getter(name="ipNet") - def ip_net(self) -> Optional[pulumi.Input[str]]: - """ - The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - """ - return pulumi.get(self, "ip_net") - - @ip_net.setter - def ip_net(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_net", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="privateNetwork") + def private_network(self) -> Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]: """ - Name of the endpoint. + The private network specs details. This is a list with maximum one element and supports the following attributes: """ - return pulumi.get(self, "name") + return pulumi.get(self, "private_network") - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) + @private_network.setter + def private_network(self, value: Optional[pulumi.Input['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]): + pulumi.set(self, "private_network", value) @property @pulumi.getter - def port(self) -> Optional[pulumi.Input[int]]: - """ - Port in the Private Network. + def region(self) -> Optional[pulumi.Input[str]]: """ - return pulumi.get(self, "port") + The region of the endpoint. - @port.setter - def port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "port", value) - @property - @pulumi.getter(name="privateNetworkId") - def private_network_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the private network. - """ - return pulumi.get(self, "private_network_id") - - @private_network_id.setter - def private_network_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_network_id", value) - - @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - """ - The region you want to attach the resource to + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ return pulumi.get(self, "region") @@ -260,18 +143,6 @@ def region(self) -> Optional[pulumi.Input[str]]: def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) - @property - @pulumi.getter - def zone(self) -> Optional[pulumi.Input[str]]: - """ - The zone you want to attach the resource to - """ - return pulumi.get(self, "zone") - - @zone.setter - def zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone", value) - class DocumentdbPrivateNetworkEndpoint(pulumi.CustomResource): @overload @@ -279,17 +150,36 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, instance_id: Optional[pulumi.Input[str]] = None, - ip_net: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - private_network_id: Optional[pulumi.Input[str]] = None, + private_network: Optional[pulumi.Input[pulumi.InputType['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]] = None, region: Optional[pulumi.Input[str]] = None, - zone: Optional[pulumi.Input[str]] = None, __props__=None): """ Creates and manages Scaleway Database Private Network Endpoint. ## Example Usage + ### Example Basic + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + pn = scaleway.VpcPrivateNetwork("pn") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) + main = scaleway.DocumentdbPrivateNetworkEndpoint("main", + instance_id=instance.id, + private_network=scaleway.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs( + ip_net="172.16.32.3/22", + id=pn.id, + ), + opts=pulumi.ResourceOptions(depends_on=[pn])) + ``` + ## Import Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g. @@ -303,13 +193,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] instance_id: UUID of the documentdb instance. - :param pulumi.Input[str] ip_net: The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - :param pulumi.Input[int] port: Port in the Private Network. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] region: The region you want to attach the resource to - :param pulumi.Input[str] zone: The zone you want to attach the resource to + :param pulumi.Input[pulumi.InputType['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']] private_network: The private network specs details. This is a list with maximum one element and supports the following attributes: + :param pulumi.Input[str] region: The region of the endpoint. + + + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ ... @overload @@ -322,6 +212,28 @@ def __init__(__self__, ## Example Usage + ### Example Basic + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + pn = scaleway.VpcPrivateNetwork("pn") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) + main = scaleway.DocumentdbPrivateNetworkEndpoint("main", + instance_id=instance.id, + private_network=scaleway.DocumentdbPrivateNetworkEndpointPrivateNetworkArgs( + ip_net="172.16.32.3/22", + id=pn.id, + ), + opts=pulumi.ResourceOptions(depends_on=[pn])) + ``` + ## Import Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g. @@ -348,11 +260,8 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, instance_id: Optional[pulumi.Input[str]] = None, - ip_net: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - private_network_id: Optional[pulumi.Input[str]] = None, + private_network: Optional[pulumi.Input[pulumi.InputType['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]] = None, region: Optional[pulumi.Input[str]] = None, - zone: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -365,16 +274,8 @@ def _internal_init(__self__, if instance_id is None and not opts.urn: raise TypeError("Missing required property 'instance_id'") __props__.__dict__["instance_id"] = instance_id - __props__.__dict__["ip_net"] = ip_net - __props__.__dict__["port"] = port - if private_network_id is None and not opts.urn: - raise TypeError("Missing required property 'private_network_id'") - __props__.__dict__["private_network_id"] = private_network_id + __props__.__dict__["private_network"] = private_network __props__.__dict__["region"] = region - __props__.__dict__["zone"] = zone - __props__.__dict__["hostname"] = None - __props__.__dict__["ip"] = None - __props__.__dict__["name"] = None super(DocumentdbPrivateNetworkEndpoint, __self__).__init__( 'scaleway:index/documentdbPrivateNetworkEndpoint:DocumentdbPrivateNetworkEndpoint', resource_name, @@ -385,15 +286,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - hostname: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, - ip: Optional[pulumi.Input[str]] = None, - ip_net: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - private_network_id: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None, - zone: Optional[pulumi.Input[str]] = None) -> 'DocumentdbPrivateNetworkEndpoint': + private_network: Optional[pulumi.Input[pulumi.InputType['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']]] = None, + region: Optional[pulumi.Input[str]] = None) -> 'DocumentdbPrivateNetworkEndpoint': """ Get an existing DocumentdbPrivateNetworkEndpoint resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -401,41 +296,24 @@ def get(resource_name: str, :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] hostname: Hostname of the endpoint. :param pulumi.Input[str] instance_id: UUID of the documentdb instance. - :param pulumi.Input[str] ip: IPv4 address on the network. - :param pulumi.Input[str] ip_net: The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - :param pulumi.Input[str] name: Name of the endpoint. - :param pulumi.Input[int] port: Port in the Private Network. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] region: The region you want to attach the resource to - :param pulumi.Input[str] zone: The zone you want to attach the resource to + :param pulumi.Input[pulumi.InputType['DocumentdbPrivateNetworkEndpointPrivateNetworkArgs']] private_network: The private network specs details. This is a list with maximum one element and supports the following attributes: + :param pulumi.Input[str] region: The region of the endpoint. + + + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _DocumentdbPrivateNetworkEndpointState.__new__(_DocumentdbPrivateNetworkEndpointState) - __props__.__dict__["hostname"] = hostname __props__.__dict__["instance_id"] = instance_id - __props__.__dict__["ip"] = ip - __props__.__dict__["ip_net"] = ip_net - __props__.__dict__["name"] = name - __props__.__dict__["port"] = port - __props__.__dict__["private_network_id"] = private_network_id + __props__.__dict__["private_network"] = private_network __props__.__dict__["region"] = region - __props__.__dict__["zone"] = zone return DocumentdbPrivateNetworkEndpoint(resource_name, opts=opts, __props__=__props__) - @property - @pulumi.getter - def hostname(self) -> pulumi.Output[str]: - """ - Hostname of the endpoint. - """ - return pulumi.get(self, "hostname") - @property @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: @@ -445,60 +323,23 @@ def instance_id(self) -> pulumi.Output[str]: return pulumi.get(self, "instance_id") @property - @pulumi.getter - def ip(self) -> pulumi.Output[str]: + @pulumi.getter(name="privateNetwork") + def private_network(self) -> pulumi.Output[Optional['outputs.DocumentdbPrivateNetworkEndpointPrivateNetwork']]: """ - IPv4 address on the network. + The private network specs details. This is a list with maximum one element and supports the following attributes: """ - return pulumi.get(self, "ip") - - @property - @pulumi.getter(name="ipNet") - def ip_net(self) -> pulumi.Output[str]: - """ - The IP network address within the private subnet. This must be an IPv4 address with a - CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) - service if not set. - """ - return pulumi.get(self, "ip_net") + return pulumi.get(self, "private_network") @property @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - Name of the endpoint. + def region(self) -> pulumi.Output[str]: """ - return pulumi.get(self, "name") + The region of the endpoint. - @property - @pulumi.getter - def port(self) -> pulumi.Output[int]: - """ - Port in the Private Network. - """ - return pulumi.get(self, "port") - @property - @pulumi.getter(name="privateNetworkId") - def private_network_id(self) -> pulumi.Output[str]: - """ - The ID of the private network. - """ - return pulumi.get(self, "private_network_id") - - @property - @pulumi.getter - def region(self) -> pulumi.Output[str]: - """ - The region you want to attach the resource to + > **NOTE:** Please calculate your host IP. + using cirhost. Otherwise, lets IPAM service + handle the host IP on the network. """ return pulumi.get(self, "region") - @property - @pulumi.getter - def zone(self) -> pulumi.Output[str]: - """ - The zone you want to attach the resource to - """ - return pulumi.get(self, "zone") - diff --git a/sdk/python/pulumiverse_scaleway/documentdb_privilege.py b/sdk/python/pulumiverse_scaleway/documentdb_privilege.py index c841bd08..df6d34b1 100644 --- a/sdk/python/pulumiverse_scaleway/documentdb_privilege.py +++ b/sdk/python/pulumiverse_scaleway/documentdb_privilege.py @@ -203,11 +203,17 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) main = scaleway.DocumentdbPrivilege("main", + instance_id=instance.id, + user_name="my-db-user", database_name="my-db-name", - instance_id="11111111-1111-1111-1111-111111111111", - permission="all", - user_name="my-db-user") + permission="all") ``` ## Import @@ -243,11 +249,17 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) main = scaleway.DocumentdbPrivilege("main", + instance_id=instance.id, + user_name="my-db-user", database_name="my-db-name", - instance_id="11111111-1111-1111-1111-111111111111", - permission="all", - user_name="my-db-user") + permission="all") ``` ## Import diff --git a/sdk/python/pulumiverse_scaleway/documentdb_read_replica.py b/sdk/python/pulumiverse_scaleway/documentdb_read_replica.py index a330ca4c..bb6e4741 100644 --- a/sdk/python/pulumiverse_scaleway/documentdb_read_replica.py +++ b/sdk/python/pulumiverse_scaleway/documentdb_read_replica.py @@ -201,8 +201,14 @@ def __init__(__self__, import pulumiverse_scaleway as scaleway pn = scaleway.VpcPrivateNetwork("pn") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) replica = scaleway.DocumentdbReadReplica("replica", - instance_id=scaleway_rdb_instance["instance"]["id"], + instance_id=instance.id, private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs( private_network_id=pn.id, service_ip="192.168.1.254/24", @@ -258,8 +264,14 @@ def __init__(__self__, import pulumiverse_scaleway as scaleway pn = scaleway.VpcPrivateNetwork("pn") + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) replica = scaleway.DocumentdbReadReplica("replica", - instance_id=scaleway_rdb_instance["instance"]["id"], + instance_id=instance.id, private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs( private_network_id=pn.id, service_ip="192.168.1.254/24", diff --git a/sdk/python/pulumiverse_scaleway/documentdb_user.py b/sdk/python/pulumiverse_scaleway/documentdb_user.py index 5fb1f37d..b03e0be8 100644 --- a/sdk/python/pulumiverse_scaleway/documentdb_user.py +++ b/sdk/python/pulumiverse_scaleway/documentdb_user.py @@ -224,11 +224,17 @@ def __init__(__self__, import pulumi_random as random import pulumiverse_scaleway as scaleway + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) db_password = random.RandomPassword("dbPassword", length=16, special=True) db_admin = scaleway.DocumentdbUser("dbAdmin", - instance_id="11111111-1111-1111-1111-111111111111", + instance_id=instance.id, password=db_password.result, is_admin=True) ``` @@ -273,11 +279,17 @@ def __init__(__self__, import pulumi_random as random import pulumiverse_scaleway as scaleway + instance = scaleway.DocumentdbInstance("instance", + node_type="docdb-play2-pico", + engine="FerretDB-1", + user_name="my_initial_user", + password="thiZ_is_v&ry_s3cret", + volume_size_in_gb=20) db_password = random.RandomPassword("dbPassword", length=16, special=True) db_admin = scaleway.DocumentdbUser("dbAdmin", - instance_id="11111111-1111-1111-1111-111111111111", + instance_id=instance.id, password=db_password.result, is_admin=True) ``` diff --git a/sdk/python/pulumiverse_scaleway/function.py b/sdk/python/pulumiverse_scaleway/function.py index 3940472a..d2ffd88c 100644 --- a/sdk/python/pulumiverse_scaleway/function.py +++ b/sdk/python/pulumiverse_scaleway/function.py @@ -35,7 +35,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a Function resource. :param pulumi.Input[str] handler: Handler of the function. Depends on the runtime ([function guide](https://www.scaleway.com/en/developers/api/serverless-functions/#create-a-function)) - :param pulumi.Input[str] namespace_id: The namespace ID the function is associated with. + :param pulumi.Input[str] namespace_id: The function namespace ID of the function. :param pulumi.Input[str] privacy: Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) :param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a :param pulumi.Input[str] description: The description of the function. @@ -103,7 +103,7 @@ def handler(self, value: pulumi.Input[str]): @pulumi.getter(name="namespaceId") def namespace_id(self) -> pulumi.Input[str]: """ - The namespace ID the function is associated with. + The function namespace ID of the function. """ return pulumi.get(self, "namespace_id") @@ -341,7 +341,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The unique name of the function. > **Important** Updates to `name` will recreate the function. - :param pulumi.Input[str] namespace_id: The namespace ID the function is associated with. + :param pulumi.Input[str] namespace_id: The function namespace ID of the function. :param pulumi.Input[str] organization_id: The organization ID the function is associated with. :param pulumi.Input[str] privacy: Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with. @@ -530,7 +530,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="namespaceId") def namespace_id(self) -> Optional[pulumi.Input[str]]: """ - The namespace ID the function is associated with. + The function namespace ID of the function. """ return pulumi.get(self, "namespace_id") @@ -713,7 +713,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The unique name of the function. > **Important** Updates to `name` will recreate the function. - :param pulumi.Input[str] namespace_id: The namespace ID the function is associated with. + :param pulumi.Input[str] namespace_id: The function namespace ID of the function. :param pulumi.Input[str] privacy: Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with. :param pulumi.Input[str] region: `region`). The region in which the namespace should be created. @@ -882,7 +882,7 @@ def get(resource_name: str, :param pulumi.Input[str] name: The unique name of the function. > **Important** Updates to `name` will recreate the function. - :param pulumi.Input[str] namespace_id: The namespace ID the function is associated with. + :param pulumi.Input[str] namespace_id: The function namespace ID of the function. :param pulumi.Input[str] organization_id: The organization ID the function is associated with. :param pulumi.Input[str] privacy: Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication) :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with. @@ -1011,7 +1011,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="namespaceId") def namespace_id(self) -> pulumi.Output[str]: """ - The namespace ID the function is associated with. + The function namespace ID of the function. """ return pulumi.get(self, "namespace_id") diff --git a/sdk/python/pulumiverse_scaleway/function_trigger.py b/sdk/python/pulumiverse_scaleway/function_trigger.py index 8005808d..47e98bae 100644 --- a/sdk/python/pulumiverse_scaleway/function_trigger.py +++ b/sdk/python/pulumiverse_scaleway/function_trigger.py @@ -253,6 +253,21 @@ def __init__(__self__, )) ``` + ### Nats + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + main = scaleway.FunctionTrigger("main", + function_id=scaleway_function["main"]["id"], + nats=scaleway.FunctionTriggerNatsArgs( + account_id=scaleway_mnq_nats_account["main"]["id"], + subject="MySubject", + region=scaleway_mnq_nats_account["main"]["region"], + )) + ``` + ## Import Function Triggers can be imported using the `{region}/{id}`, e.g. @@ -299,6 +314,21 @@ def __init__(__self__, )) ``` + ### Nats + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + main = scaleway.FunctionTrigger("main", + function_id=scaleway_function["main"]["id"], + nats=scaleway.FunctionTriggerNatsArgs( + account_id=scaleway_mnq_nats_account["main"]["id"], + subject="MySubject", + region=scaleway_mnq_nats_account["main"]["region"], + )) + ``` + ## Import Function Triggers can be imported using the `{region}/{id}`, e.g. diff --git a/sdk/python/pulumiverse_scaleway/get_account_ssh_key.py b/sdk/python/pulumiverse_scaleway/get_account_ssh_key.py index c9eb8947..45958562 100644 --- a/sdk/python/pulumiverse_scaleway/get_account_ssh_key.py +++ b/sdk/python/pulumiverse_scaleway/get_account_ssh_key.py @@ -148,9 +148,11 @@ def get_account_ssh_key(name: Optional[str] = None, ``` - :param str name: The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + :param str name: The SSH key name. :param str project_id: `project_id`) The ID of the project the SSH key is associated with. - :param str ssh_key_id: The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + :param str ssh_key_id: The SSH key id. + + > **Note** You must specify at least one: `name` and/or `ssh_key_id`. """ __args__ = dict() __args__['name'] = name @@ -190,8 +192,10 @@ def get_account_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = Non ``` - :param str name: The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + :param str name: The SSH key name. :param str project_id: `project_id`) The ID of the project the SSH key is associated with. - :param str ssh_key_id: The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + :param str ssh_key_id: The SSH key id. + + > **Note** You must specify at least one: `name` and/or `ssh_key_id`. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_billing_consumptions.py b/sdk/python/pulumiverse_scaleway/get_billing_consumptions.py index bf76b765..efe246de 100644 --- a/sdk/python/pulumiverse_scaleway/get_billing_consumptions.py +++ b/sdk/python/pulumiverse_scaleway/get_billing_consumptions.py @@ -42,6 +42,9 @@ def __init__(__self__, consumptions=None, id=None, organization_id=None, project @property @pulumi.getter def consumptions(self) -> Sequence['outputs.GetBillingConsumptionsConsumptionResult']: + """ + List of found consumptions + """ return pulumi.get(self, "consumptions") @property @@ -60,11 +63,17 @@ def organization_id(self) -> str: @property @pulumi.getter(name="projectId") def project_id(self) -> str: + """ + The project ID of the consumption. + """ return pulumi.get(self, "project_id") @property @pulumi.getter(name="updatedAt") def updated_at(self) -> str: + """ + The last consumption update date. + """ return pulumi.get(self, "updated_at") @@ -84,7 +93,10 @@ def __await__(self): def get_billing_consumptions(project_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBillingConsumptionsResult: """ - Use this data source to access information about an existing resource. + Gets information about your Consumptions. + + + :param str project_id: `project_id`) The ID of the project the consumption list is associated with. """ __args__ = dict() __args__['projectId'] = project_id @@ -103,6 +115,9 @@ def get_billing_consumptions(project_id: Optional[str] = None, def get_billing_consumptions_output(project_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingConsumptionsResult]: """ - Use this data source to access information about an existing resource. + Gets information about your Consumptions. + + + :param str project_id: `project_id`) The ID of the project the consumption list is associated with. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_billing_invoices.py b/sdk/python/pulumiverse_scaleway/get_billing_invoices.py index d85b58e3..6082e597 100644 --- a/sdk/python/pulumiverse_scaleway/get_billing_invoices.py +++ b/sdk/python/pulumiverse_scaleway/get_billing_invoices.py @@ -101,7 +101,7 @@ def get_billing_invoices(invoice_type: Optional[str] = None, started_before: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBillingInvoicesResult: """ - Gets information about your Invoices. + Gets information about your Scaleway invoices. ## Example Usage @@ -139,7 +139,7 @@ def get_billing_invoices_output(invoice_type: Optional[pulumi.Input[Optional[str started_before: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingInvoicesResult]: """ - Gets information about your Invoices. + Gets information about your Scaleway invoices. ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/get_block_snapshot.py b/sdk/python/pulumiverse_scaleway/get_block_snapshot.py index 042aa618..fc1b87f7 100644 --- a/sdk/python/pulumiverse_scaleway/get_block_snapshot.py +++ b/sdk/python/pulumiverse_scaleway/get_block_snapshot.py @@ -105,7 +105,23 @@ def get_block_snapshot(name: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBlockSnapshotResult: """ - Use this data source to access information about an existing resource. + Gets information about a Block Snapshot. + + ## Example Usage + + ```python + import pulumi + import pulumi_scaleway as scaleway + + my_snapshot = scaleway.get_block_snapshot(snapshot_id="11111111-1111-1111-1111-111111111111") + ``` + + + :param str name: The name of the snapshot. Only one of `name` and `snapshot_id` should be specified. + :param str project_id: The ID of the project the snapshot is associated with. + :param str snapshot_id: The ID of the snapshot. Only one of `name` and `snapshot_id` should be specified. + :param str volume_id: The ID of the volume from which the snapshot has been created. + :param str zone: `zone`) The zone in which the snapshot exists. """ __args__ = dict() __args__['name'] = name @@ -134,6 +150,22 @@ def get_block_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBlockSnapshotResult]: """ - Use this data source to access information about an existing resource. + Gets information about a Block Snapshot. + + ## Example Usage + + ```python + import pulumi + import pulumi_scaleway as scaleway + + my_snapshot = scaleway.get_block_snapshot(snapshot_id="11111111-1111-1111-1111-111111111111") + ``` + + + :param str name: The name of the snapshot. Only one of `name` and `snapshot_id` should be specified. + :param str project_id: The ID of the project the snapshot is associated with. + :param str snapshot_id: The ID of the snapshot. Only one of `name` and `snapshot_id` should be specified. + :param str volume_id: The ID of the volume from which the snapshot has been created. + :param str zone: `zone`) The zone in which the snapshot exists. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_config.py b/sdk/python/pulumiverse_scaleway/get_config.py new file mode 100644 index 00000000..32945a78 --- /dev/null +++ b/sdk/python/pulumiverse_scaleway/get_config.py @@ -0,0 +1,164 @@ +# 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__ = [ + 'GetConfigResult', + 'AwaitableGetConfigResult', + 'get_config', + 'get_config_output', +] + +@pulumi.output_type +class GetConfigResult: + """ + A collection of values returned by getConfig. + """ + def __init__(__self__, access_key=None, access_key_source=None, id=None, project_id=None, project_id_source=None, region=None, region_source=None, secret_key=None, secret_key_source=None, zone=None, zone_source=None): + if access_key and not isinstance(access_key, str): + raise TypeError("Expected argument 'access_key' to be a str") + pulumi.set(__self__, "access_key", access_key) + if access_key_source and not isinstance(access_key_source, str): + raise TypeError("Expected argument 'access_key_source' to be a str") + pulumi.set(__self__, "access_key_source", access_key_source) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if project_id_source and not isinstance(project_id_source, str): + raise TypeError("Expected argument 'project_id_source' to be a str") + pulumi.set(__self__, "project_id_source", project_id_source) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if region_source and not isinstance(region_source, str): + raise TypeError("Expected argument 'region_source' to be a str") + pulumi.set(__self__, "region_source", region_source) + if secret_key and not isinstance(secret_key, str): + raise TypeError("Expected argument 'secret_key' to be a str") + pulumi.set(__self__, "secret_key", secret_key) + if secret_key_source and not isinstance(secret_key_source, str): + raise TypeError("Expected argument 'secret_key_source' to be a str") + pulumi.set(__self__, "secret_key_source", secret_key_source) + if zone and not isinstance(zone, str): + raise TypeError("Expected argument 'zone' to be a str") + pulumi.set(__self__, "zone", zone) + if zone_source and not isinstance(zone_source, str): + raise TypeError("Expected argument 'zone_source' to be a str") + pulumi.set(__self__, "zone_source", zone_source) + + @property + @pulumi.getter(name="accessKey") + def access_key(self) -> str: + return pulumi.get(self, "access_key") + + @property + @pulumi.getter(name="accessKeySource") + def access_key_source(self) -> str: + return pulumi.get(self, "access_key_source") + + @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="projectId") + def project_id(self) -> str: + return pulumi.get(self, "project_id") + + @property + @pulumi.getter(name="projectIdSource") + def project_id_source(self) -> str: + return pulumi.get(self, "project_id_source") + + @property + @pulumi.getter + def region(self) -> str: + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="regionSource") + def region_source(self) -> str: + return pulumi.get(self, "region_source") + + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> str: + return pulumi.get(self, "secret_key") + + @property + @pulumi.getter(name="secretKeySource") + def secret_key_source(self) -> str: + return pulumi.get(self, "secret_key_source") + + @property + @pulumi.getter + def zone(self) -> str: + return pulumi.get(self, "zone") + + @property + @pulumi.getter(name="zoneSource") + def zone_source(self) -> str: + return pulumi.get(self, "zone_source") + + +class AwaitableGetConfigResult(GetConfigResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigResult( + access_key=self.access_key, + access_key_source=self.access_key_source, + id=self.id, + project_id=self.project_id, + project_id_source=self.project_id_source, + region=self.region, + region_source=self.region_source, + secret_key=self.secret_key, + secret_key_source=self.secret_key_source, + zone=self.zone, + zone_source=self.zone_source) + + +def get_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigResult: + """ + 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('scaleway:index/getConfig:getConfig', __args__, opts=opts, typ=GetConfigResult).value + + return AwaitableGetConfigResult( + access_key=pulumi.get(__ret__, 'access_key'), + access_key_source=pulumi.get(__ret__, 'access_key_source'), + id=pulumi.get(__ret__, 'id'), + project_id=pulumi.get(__ret__, 'project_id'), + project_id_source=pulumi.get(__ret__, 'project_id_source'), + region=pulumi.get(__ret__, 'region'), + region_source=pulumi.get(__ret__, 'region_source'), + secret_key=pulumi.get(__ret__, 'secret_key'), + secret_key_source=pulumi.get(__ret__, 'secret_key_source'), + zone=pulumi.get(__ret__, 'zone'), + zone_source=pulumi.get(__ret__, 'zone_source')) + + +@_utilities.lift_output_func(get_config) +def get_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigResult]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/pulumiverse_scaleway/get_database.py b/sdk/python/pulumiverse_scaleway/get_database.py index f49fde4a..07b14449 100644 --- a/sdk/python/pulumiverse_scaleway/get_database.py +++ b/sdk/python/pulumiverse_scaleway/get_database.py @@ -112,7 +112,7 @@ def get_database(instance_id: Optional[str] = None, region: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult: """ - Gets information about a RDB database. + Gets information about a database. ## Example Usage @@ -151,7 +151,7 @@ def get_database_output(instance_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: """ - Gets information about a RDB database. + Gets information about a database. ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/get_database_acl.py b/sdk/python/pulumiverse_scaleway/get_database_acl.py index 3eff5b32..80cf32cd 100644 --- a/sdk/python/pulumiverse_scaleway/get_database_acl.py +++ b/sdk/python/pulumiverse_scaleway/get_database_acl.py @@ -79,7 +79,7 @@ def get_database_acl(instance_id: Optional[str] = None, region: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseAclResult: """ - Gets information about the RDB instance network Access Control List. + Gets information about the Database Instance network Access Control List. ## Example Usage @@ -112,7 +112,7 @@ def get_database_acl_output(instance_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseAclResult]: """ - Gets information about the RDB instance network Access Control List. + Gets information about the Database Instance network Access Control List. ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/get_database_backup.py b/sdk/python/pulumiverse_scaleway/get_database_backup.py index 9325f4b5..554fa702 100644 --- a/sdk/python/pulumiverse_scaleway/get_database_backup.py +++ b/sdk/python/pulumiverse_scaleway/get_database_backup.py @@ -165,11 +165,11 @@ def get_database_backup(backup_id: Optional[str] = None, ``` - :param str backup_id: The RDB backup ID. - Only one of the `name` and `backup_id` should be specified. - :param str instance_id: The RDB instance ID. + :param str backup_id: The backup ID. + :param str instance_id: The Database Instance ID. :param str name: The name of the RDB instance. - Only one of the `name` and `backup_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `backup_id`. :param str project_id: The ID of the project the Database Backup is associated with. :param str region: `region`) The region in which the Database Backup is associated with. """ @@ -220,11 +220,11 @@ def get_database_backup_output(backup_id: Optional[pulumi.Input[Optional[str]]] ``` - :param str backup_id: The RDB backup ID. - Only one of the `name` and `backup_id` should be specified. - :param str instance_id: The RDB instance ID. + :param str backup_id: The backup ID. + :param str instance_id: The Database Instance ID. :param str name: The name of the RDB instance. - Only one of the `name` and `backup_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `backup_id`. :param str project_id: The ID of the project the Database Backup is associated with. :param str region: `region`) The region in which the Database Backup is associated with. """ diff --git a/sdk/python/pulumiverse_scaleway/get_database_instance.py b/sdk/python/pulumiverse_scaleway/get_database_instance.py index b4877cc8..063e6fbb 100644 --- a/sdk/python/pulumiverse_scaleway/get_database_instance.py +++ b/sdk/python/pulumiverse_scaleway/get_database_instance.py @@ -285,15 +285,17 @@ def get_database_instance(instance_id: Optional[str] = None, region: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstanceResult: """ - Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + Gets information about an Database Instance. + + For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) :param str instance_id: The RDB instance ID. - Only one of `name` and `instance_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `instance_id`. :param str name: The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. - :param str project_id: The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. - :param str region: `region`) The region in which the RDB instance exists. + :param str project_id: The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. + :param str region: `region`) The region in which the Database Instance exists. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -340,14 +342,16 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str region: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseInstanceResult]: """ - Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance) + Gets information about an Database Instance. + + For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance) :param str instance_id: The RDB instance ID. - Only one of `name` and `instance_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `instance_id`. :param str name: The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. - :param str project_id: The ID of the project the RDB instance is in. Can be used to filter instances when using `name`. - :param str region: `region`) The region in which the RDB instance exists. + :param str project_id: The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. + :param str region: `region`) The region in which the Database Instance exists. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_database_privilege.py b/sdk/python/pulumiverse_scaleway/get_database_privilege.py index 2a7ef052..cb0c10a6 100644 --- a/sdk/python/pulumiverse_scaleway/get_database_privilege.py +++ b/sdk/python/pulumiverse_scaleway/get_database_privilege.py @@ -99,7 +99,7 @@ def get_database_privilege(database_name: Optional[str] = None, user_name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabasePrivilegeResult: """ - Gets information about the privilege on RDB database. + Gets information about the privileges in a database. ## Example Usage @@ -114,7 +114,7 @@ def get_database_privilege(database_name: Optional[str] = None, :param str database_name: The database name. - :param str instance_id: The RDB instance ID. + :param str instance_id: The Database Instance ID. :param str region: `region`) The region in which the resource exists. :param str user_name: The user name. """ @@ -142,7 +142,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N user_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasePrivilegeResult]: """ - Gets information about the privilege on RDB database. + Gets information about the privileges in a database. ## Example Usage @@ -157,7 +157,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N :param str database_name: The database name. - :param str instance_id: The RDB instance ID. + :param str instance_id: The Database Instance ID. :param str region: `region`) The region in which the resource exists. :param str user_name: The user name. """ diff --git a/sdk/python/pulumiverse_scaleway/get_iam_application.py b/sdk/python/pulumiverse_scaleway/get_iam_application.py index 7dafedd4..6e64ca24 100644 --- a/sdk/python/pulumiverse_scaleway/get_iam_application.py +++ b/sdk/python/pulumiverse_scaleway/get_iam_application.py @@ -135,11 +135,11 @@ def get_iam_application(application_id: Optional[str] = None, :param str application_id: The ID of the IAM application. - Only one of the `name` and `application_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `application_id`. :param str name: The name of the IAM application. - Only one of the `name` and `application_id` should be specified. :param str organization_id: `organization_id`) The ID of the - organization the application is associated with. + Organization the application is associated with. """ __args__ = dict() __args__['applicationId'] = application_id @@ -180,10 +180,10 @@ def get_iam_application_output(application_id: Optional[pulumi.Input[Optional[st :param str application_id: The ID of the IAM application. - Only one of the `name` and `application_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `application_id`. :param str name: The name of the IAM application. - Only one of the `name` and `application_id` should be specified. :param str organization_id: `organization_id`) The ID of the - organization the application is associated with. + Organization the application is associated with. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_iam_group.py b/sdk/python/pulumiverse_scaleway/get_iam_group.py index 5deadd00..d40ec0bc 100644 --- a/sdk/python/pulumiverse_scaleway/get_iam_group.py +++ b/sdk/python/pulumiverse_scaleway/get_iam_group.py @@ -139,8 +139,9 @@ def get_iam_group(group_id: Optional[str] = None, organization_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamGroupResult: """ - Gets information about an existing IAM group. For more information, please - check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + Gets information about an existing IAM group. + + For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) ## Example Usage @@ -154,9 +155,9 @@ def get_iam_group(group_id: Optional[str] = None, :param str group_id: The ID of the IAM group. - Only one of the `name` and `group_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `group_id`. :param str name: The name of the IAM group. - Only one of the `name` and `group_id` should be specified. :param str organization_id: `organization_id`) The ID of the organization the group is associated with. """ @@ -187,8 +188,9 @@ def get_iam_group_output(group_id: Optional[pulumi.Input[Optional[str]]] = None, organization_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamGroupResult]: """ - Gets information about an existing IAM group. For more information, please - check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) + Gets information about an existing IAM group. + + For more information, refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e) ## Example Usage @@ -202,9 +204,9 @@ def get_iam_group_output(group_id: Optional[pulumi.Input[Optional[str]]] = None, :param str group_id: The ID of the IAM group. - Only one of the `name` and `group_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `group_id`. :param str name: The name of the IAM group. - Only one of the `name` and `group_id` should be specified. :param str organization_id: `organization_id`) The ID of the organization the group is associated with. """ diff --git a/sdk/python/pulumiverse_scaleway/get_iam_ssh_key.py b/sdk/python/pulumiverse_scaleway/get_iam_ssh_key.py index 017679bd..9540d004 100644 --- a/sdk/python/pulumiverse_scaleway/get_iam_ssh_key.py +++ b/sdk/python/pulumiverse_scaleway/get_iam_ssh_key.py @@ -157,10 +157,12 @@ def get_iam_ssh_key(name: Optional[str] = None, ``` - :param str name: The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + :param str name: The SSH key name. :param str project_id: `project_id`) The ID of the project the SSH key is associated with. - :param str ssh_key_id: The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + :param str ssh_key_id: The SSH key id. + + > **Note** You must specify at least one: `name` and/or `ssh_key_id`. """ __args__ = dict() __args__['name'] = name @@ -200,9 +202,11 @@ def get_iam_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str name: The SSH key name. Only one of `name` and `ssh_key_id` should be specified. + :param str name: The SSH key name. :param str project_id: `project_id`) The ID of the project the SSH key is associated with. - :param str ssh_key_id: The SSH key id. Only one of `name` and `ssh_key_id` should be specified. + :param str ssh_key_id: The SSH key id. + + > **Note** You must specify at least one: `name` and/or `ssh_key_id`. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_iam_user.py b/sdk/python/pulumiverse_scaleway/get_iam_user.py index 90e666e7..dda65ac9 100644 --- a/sdk/python/pulumiverse_scaleway/get_iam_user.py +++ b/sdk/python/pulumiverse_scaleway/get_iam_user.py @@ -77,8 +77,7 @@ def get_iam_user(email: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamUserResult: """ Use this data source to get information on an existing IAM user based on its ID or email address. - For more information, - see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). ## Example Usage @@ -91,10 +90,12 @@ def get_iam_user(email: Optional[str] = None, ``` - :param str email: The email address of the IAM user. Only one of the `email` and `user_id` should be specified. + :param str email: The email address of the IAM user. :param str organization_id: `organization_id`) The ID of the organization the user is associated with. - :param str user_id: The ID of the IAM user. Only one of the `email` and `user_id` should be specified. + :param str user_id: The ID of the IAM user. + + > **Note** You must specify at least one: `name` and/or `user_id`. """ __args__ = dict() __args__['email'] = email @@ -117,8 +118,7 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamUserResult]: """ Use this data source to get information on an existing IAM user based on its ID or email address. - For more information, - see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). + For more information refer to the [IAM API documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf). ## Example Usage @@ -131,9 +131,11 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str email: The email address of the IAM user. Only one of the `email` and `user_id` should be specified. + :param str email: The email address of the IAM user. :param str organization_id: `organization_id`) The ID of the organization the user is associated with. - :param str user_id: The ID of the IAM user. Only one of the `email` and `user_id` should be specified. + :param str user_id: The ID of the IAM user. + + > **Note** You must specify at least one: `name` and/or `user_id`. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_ipam_ip.py b/sdk/python/pulumiverse_scaleway/get_ipam_ip.py index 6b072c2b..8eb0eab3 100644 --- a/sdk/python/pulumiverse_scaleway/get_ipam_ip.py +++ b/sdk/python/pulumiverse_scaleway/get_ipam_ip.py @@ -79,7 +79,7 @@ def address(self) -> str: @pulumi.getter(name="addressCidr") def address_cidr(self) -> str: """ - the IP address with a CIDR notation. + the IP address in CIDR notation. """ return pulumi.get(self, "address_cidr") @@ -181,7 +181,9 @@ def get_ipam_ip(attached: Optional[bool] = None, zonal: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpamIpResult: """ - Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Examples @@ -196,7 +198,7 @@ def get_ipam_ip(attached: Optional[bool] = None, ### Instance Private Network IP - Get Instance IP in a private network. + Get an Instance's IP on a Private Network. ```python import pulumi @@ -244,16 +246,16 @@ def get_ipam_ip(attached: Optional[bool] = None, :param bool attached: Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipam_ip_id`. - :param str ipam_ip_id: The IPAM IP ID. Cannot be used with the rest of the arguments. - :param str mac_address: The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`. - :param str private_network_id: The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`. - :param str project_id: `project_id`) The ID of the project the IP is associated with. + :param str ipam_ip_id: The IPAM IP ID. Cannot be used with any other arguments. + :param str mac_address: The MAC address linked to the IP. Cannot be used with `ipam_ip_id`. + :param str private_network_id: The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`. + :param str project_id: `project_id`) The ID of the Project the IP is associated with. :param str region: `region`) The region in which the IP exists. :param pulumi.InputType['GetIpamIpResourceArgs'] resource: Filter by resource ID, type or name. Cannot be used with `ipam_ip_id`. If specified, `type` is required, and at least one of `id` or `name` must be set. :param Sequence[str] tags: The tags associated with the IP. Cannot be used with `ipam_ip_id`. As datasource only returns one IP, the search with given tags must return only one result. - :param str type: The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`. + :param str type: The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`. :param str zonal: Only IPs that are zonal, and in this zone, will be returned. """ __args__ = dict() @@ -300,7 +302,9 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None, zonal: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamIpResult]: """ - Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks. + Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Examples @@ -315,7 +319,7 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None, ### Instance Private Network IP - Get Instance IP in a private network. + Get an Instance's IP on a Private Network. ```python import pulumi @@ -363,16 +367,16 @@ def get_ipam_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None, :param bool attached: Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipam_ip_id`. - :param str ipam_ip_id: The IPAM IP ID. Cannot be used with the rest of the arguments. - :param str mac_address: The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`. - :param str private_network_id: The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`. - :param str project_id: `project_id`) The ID of the project the IP is associated with. + :param str ipam_ip_id: The IPAM IP ID. Cannot be used with any other arguments. + :param str mac_address: The MAC address linked to the IP. Cannot be used with `ipam_ip_id`. + :param str private_network_id: The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`. + :param str project_id: `project_id`) The ID of the Project the IP is associated with. :param str region: `region`) The region in which the IP exists. :param pulumi.InputType['GetIpamIpResourceArgs'] resource: Filter by resource ID, type or name. Cannot be used with `ipam_ip_id`. If specified, `type` is required, and at least one of `id` or `name` must be set. :param Sequence[str] tags: The tags associated with the IP. Cannot be used with `ipam_ip_id`. As datasource only returns one IP, the search with given tags must return only one result. - :param str type: The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`. + :param str type: The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`. :param str zonal: Only IPs that are zonal, and in this zone, will be returned. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_ipam_ips.py b/sdk/python/pulumiverse_scaleway/get_ipam_ips.py index 05ed95b9..c047d431 100644 --- a/sdk/python/pulumiverse_scaleway/get_ipam_ips.py +++ b/sdk/python/pulumiverse_scaleway/get_ipam_ips.py @@ -78,7 +78,7 @@ def id(self) -> str: @pulumi.getter def ips(self) -> Sequence['outputs.GetIpamIpsIpResult']: """ - List of found IPs + List of found IPs. """ return pulumi.get(self, "ips") @@ -86,7 +86,7 @@ def ips(self) -> Sequence['outputs.GetIpamIpsIpResult']: @pulumi.getter(name="macAddress") def mac_address(self) -> Optional[str]: """ - The mac address. + The associated MAC address. """ return pulumi.get(self, "mac_address") @@ -104,7 +104,7 @@ def private_network_id(self) -> Optional[str]: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the server is associated with. + The ID of the Project the resource is associated with. """ return pulumi.get(self, "project_id") @@ -112,7 +112,7 @@ def project_id(self) -> str: @pulumi.getter def region(self) -> str: """ - The region in which the IP is. + The region of the IP. """ return pulumi.get(self, "region") @@ -120,7 +120,7 @@ def region(self) -> str: @pulumi.getter def resource(self) -> Optional['outputs.GetIpamIpsResourceResult']: """ - The list of public IPs of the server. + The list of public IPs attached to the resource. """ return pulumi.get(self, "resource") @@ -177,7 +177,9 @@ def get_ipam_ips(attached: Optional[bool] = None, zonal: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpamIpsResult: """ - Gets information about multiple IPs managed by IPAM service. + Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Examples @@ -221,13 +223,13 @@ def get_ipam_ips(attached: Optional[bool] = None, :param bool attached: Defines whether to filter only for IPs which are attached to a resource. - :param str mac_address: The Mac Address used as filter. - :param str private_network_id: The ID of the private network used as filter. - :param str project_id: The ID of the project used as filter. - :param str region: The region used as filter. - :param pulumi.InputType['GetIpamIpsResourceArgs'] resource: Filter by resource ID, type or name. - :param Sequence[str] tags: The tags used as filter. - :param str type: The type of IP used as filter (ipv4, ipv6). + :param str mac_address: The linked MAC address to filter for. + :param str private_network_id: The ID of the Private Network to filter for. + :param str project_id: The ID of the Project to filter for. + :param str region: The region to filter for. + :param pulumi.InputType['GetIpamIpsResourceArgs'] resource: Filter for a resource attached to the IP, using resource ID, type or name. + :param Sequence[str] tags: The IP tags to filter for. + :param str type: The type of IP to filter for (`ipv4` or `ipv6`). :param str zonal: Only IPs that are zonal, and in this zone, will be returned. """ __args__ = dict() @@ -270,7 +272,9 @@ def get_ipam_ips_output(attached: Optional[pulumi.Input[Optional[bool]]] = None, zonal: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamIpsResult]: """ - Gets information about multiple IPs managed by IPAM service. + Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Examples @@ -314,13 +318,13 @@ def get_ipam_ips_output(attached: Optional[pulumi.Input[Optional[bool]]] = None, :param bool attached: Defines whether to filter only for IPs which are attached to a resource. - :param str mac_address: The Mac Address used as filter. - :param str private_network_id: The ID of the private network used as filter. - :param str project_id: The ID of the project used as filter. - :param str region: The region used as filter. - :param pulumi.InputType['GetIpamIpsResourceArgs'] resource: Filter by resource ID, type or name. - :param Sequence[str] tags: The tags used as filter. - :param str type: The type of IP used as filter (ipv4, ipv6). + :param str mac_address: The linked MAC address to filter for. + :param str private_network_id: The ID of the Private Network to filter for. + :param str project_id: The ID of the Project to filter for. + :param str region: The region to filter for. + :param pulumi.InputType['GetIpamIpsResourceArgs'] resource: Filter for a resource attached to the IP, using resource ID, type or name. + :param Sequence[str] tags: The IP tags to filter for. + :param str type: The type of IP to filter for (`ipv4` or `ipv6`). :param str zonal: Only IPs that are zonal, and in this zone, will be returned. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_acls.py b/sdk/python/pulumiverse_scaleway/get_lb_acls.py index 82503822..1859aa53 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_acls.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_acls.py @@ -49,7 +49,7 @@ def __init__(__self__, acls=None, frontend_id=None, id=None, name=None, organiza @pulumi.getter def acls(self) -> Sequence['outputs.GetLbAclsAclResult']: """ - List of found ACLs + List of retrieved ACLs """ return pulumi.get(self, "acls") @@ -110,6 +110,8 @@ def get_lb_acls(frontend_id: Optional[str] = None, """ Gets information about multiple Load Balancer ACLs. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + ## Example Usage ```python @@ -122,10 +124,10 @@ def get_lb_acls(frontend_id: Optional[str] = None, ``` - :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` - :param str name: The ACL name used as filter. ACLs with a name like it are listed. - :param str zone: `zone`) The zone in which ACLs exist. + :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + :param str name: The ACL name to filter for. ACLs with a matching name are listed. + :param str zone: `zone`) The zone in which the ACLs exist. """ __args__ = dict() __args__['frontendId'] = frontend_id @@ -154,6 +156,8 @@ def get_lb_acls_output(frontend_id: Optional[pulumi.Input[str]] = None, """ Gets information about multiple Load Balancer ACLs. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). + ## Example Usage ```python @@ -166,9 +170,9 @@ def get_lb_acls_output(frontend_id: Optional[pulumi.Input[str]] = None, ``` - :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` - :param str name: The ACL name used as filter. ACLs with a name like it are listed. - :param str zone: `zone`) The zone in which ACLs exist. + :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + :param str name: The ACL name to filter for. ACLs with a matching name are listed. + :param str zone: `zone`) The zone in which the ACLs exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_backend.py b/sdk/python/pulumiverse_scaleway/get_lb_backend.py index 28cc5db5..1df58783 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_backend.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_backend.py @@ -329,8 +329,9 @@ def get_lb_backend(backend_id: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbBackendResult: """ - Get information about Scaleway Load-Balancer Backends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + Get information about Scaleway Load Balancer backends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). ## Example Usage @@ -353,11 +354,11 @@ def get_lb_backend(backend_id: Optional[str] = None, ``` - :param str backend_id: The backend id. + :param str backend_id: The backend ID. - Only one of `name` and `backend_id` should be specified. - :param str lb_id: The load-balancer ID this backend is attached to. + :param str lb_id: Load Balancer ID this backend is attached to. :param str name: The name of the backend. - - When using the `name` you should specify the `lb-id` + - When using `name` you should specify the `lb-id` """ __args__ = dict() __args__['backendId'] = backend_id @@ -407,8 +408,9 @@ def get_lb_backend_output(backend_id: Optional[pulumi.Input[Optional[str]]] = No name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbBackendResult]: """ - Get information about Scaleway Load-Balancer Backends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + Get information about Scaleway Load Balancer backends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). ## Example Usage @@ -431,10 +433,10 @@ def get_lb_backend_output(backend_id: Optional[pulumi.Input[Optional[str]]] = No ``` - :param str backend_id: The backend id. + :param str backend_id: The backend ID. - Only one of `name` and `backend_id` should be specified. - :param str lb_id: The load-balancer ID this backend is attached to. + :param str lb_id: Load Balancer ID this backend is attached to. :param str name: The name of the backend. - - When using the `name` you should specify the `lb-id` + - When using `name` you should specify the `lb-id` """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_backends.py b/sdk/python/pulumiverse_scaleway/get_lb_backends.py index 31d0d6ef..bb51e72d 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_backends.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_backends.py @@ -49,7 +49,7 @@ def __init__(__self__, backends=None, id=None, lb_id=None, name=None, organizati @pulumi.getter def backends(self) -> Sequence['outputs.GetLbBackendsBackendResult']: """ - List of found backends + List of retrieved backends """ return pulumi.get(self, "backends") @@ -110,6 +110,8 @@ def get_lb_backends(lb_id: Optional[str] = None, """ Gets information about multiple Load Balancer Backends. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + ## Example Usage ```python @@ -122,8 +124,8 @@ def get_lb_backends(lb_id: Optional[str] = None, ``` - :param str lb_id: The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. - :param str name: The backend name used as filter. Backends with a name like it are listed. + :param str lb_id: The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. + :param str name: The backend name to filter for. Backends with a matching name are listed. :param str zone: `zone`) The zone in which backends exist. """ __args__ = dict() @@ -153,6 +155,8 @@ def get_lb_backends_output(lb_id: Optional[pulumi.Input[str]] = None, """ Gets information about multiple Load Balancer Backends. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + ## Example Usage ```python @@ -165,8 +169,8 @@ def get_lb_backends_output(lb_id: Optional[pulumi.Input[str]] = None, ``` - :param str lb_id: The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. - :param str name: The backend name used as filter. Backends with a name like it are listed. + :param str lb_id: The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. + :param str name: The backend name to filter for. Backends with a matching name are listed. :param str zone: `zone`) The zone in which backends exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_frontend.py b/sdk/python/pulumiverse_scaleway/get_lb_frontend.py index 1b0b658b..1a799663 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_frontend.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_frontend.py @@ -149,8 +149,9 @@ def get_lb_frontend(frontend_id: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbFrontendResult: """ - Get information about Scaleway Load-Balancer Frontends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + Get information about Scaleway Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -178,9 +179,9 @@ def get_lb_frontend(frontend_id: Optional[str] = None, ``` - :param str frontend_id: The frontend id. + :param str frontend_id: The frontend ID. - Only one of `name` and `frontend_id` should be specified. - :param str lb_id: The load-balancer ID this frontend is attached to. + :param str lb_id: The Load Balancer ID this frontend is attached to. :param str name: The name of the frontend. - When using the `name` you should specify the `lb-id` """ @@ -212,8 +213,9 @@ def get_lb_frontend_output(frontend_id: Optional[pulumi.Input[Optional[str]]] = name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbFrontendResult]: """ - Get information about Scaleway Load-Balancer Frontends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + Get information about Scaleway Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -241,9 +243,9 @@ def get_lb_frontend_output(frontend_id: Optional[pulumi.Input[Optional[str]]] = ``` - :param str frontend_id: The frontend id. + :param str frontend_id: The frontend ID. - Only one of `name` and `frontend_id` should be specified. - :param str lb_id: The load-balancer ID this frontend is attached to. + :param str lb_id: The Load Balancer ID this frontend is attached to. :param str name: The name of the frontend. - When using the `name` you should specify the `lb-id` """ diff --git a/sdk/python/pulumiverse_scaleway/get_lb_frontends.py b/sdk/python/pulumiverse_scaleway/get_lb_frontends.py index a457fa06..194a87f6 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_frontends.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_frontends.py @@ -49,7 +49,7 @@ def __init__(__self__, frontends=None, id=None, lb_id=None, name=None, organizat @pulumi.getter def frontends(self) -> Sequence['outputs.GetLbFrontendsFrontendResult']: """ - List of found frontends + List of retrieved frontends """ return pulumi.get(self, "frontends") @@ -108,7 +108,9 @@ def get_lb_frontends(lb_id: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbFrontendsResult: """ - Gets information about multiple Load Balancer Frontends. + Gets information about multiple Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -122,9 +124,9 @@ def get_lb_frontends(lb_id: Optional[str] = None, ``` - :param str lb_id: The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. - :param str name: The frontend name used as filter. Frontends with a name like it are listed. - :param str zone: `zone`) The zone in which frontends exist. + :param str lb_id: The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. + :param str name: The frontend name to filter for. Frontends with a matching name are listed. + :param str zone: `zone`) The zone in which the frontends exist. """ __args__ = dict() __args__['lbId'] = lb_id @@ -151,7 +153,9 @@ def get_lb_frontends_output(lb_id: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbFrontendsResult]: """ - Gets information about multiple Load Balancer Frontends. + Gets information about multiple Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -165,8 +169,8 @@ def get_lb_frontends_output(lb_id: Optional[pulumi.Input[str]] = None, ``` - :param str lb_id: The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. - :param str name: The frontend name used as filter. Frontends with a name like it are listed. - :param str zone: `zone`) The zone in which frontends exist. + :param str lb_id: The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. + :param str name: The frontend name to filter for. Frontends with a matching name are listed. + :param str zone: `zone`) The zone in which the frontends exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_ips.py b/sdk/python/pulumiverse_scaleway/get_lb_ips.py index 238edf79..75750d72 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_ips.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_ips.py @@ -59,7 +59,7 @@ def ip_cidr_range(self) -> Optional[str]: @pulumi.getter def ips(self) -> Sequence['outputs.GetLbIpsIpResult']: """ - List of found IPs + List of retrieved IPs """ return pulumi.get(self, "ips") @@ -67,7 +67,7 @@ def ips(self) -> Sequence['outputs.GetLbIpsIpResult']: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the load-balancer is associated with. + The ID of the Organization the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -75,7 +75,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the load-balancer is associated with. + The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -83,7 +83,7 @@ def project_id(self) -> str: @pulumi.getter def zone(self) -> str: """ - The zone in which the load-balancer is. + The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -107,7 +107,9 @@ def get_lb_ips(ip_cidr_range: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbIpsResult: """ - Gets information about multiple Load Balancer IPs. + Gets information about multiple Load Balancer IP addresses. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -120,9 +122,9 @@ def get_lb_ips(ip_cidr_range: Optional[str] = None, ``` - :param str ip_cidr_range: The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. - :param str project_id: The ID of the project the load-balancer is associated with. - :param str zone: `zone`) The zone in which IPs exist. + :param str ip_cidr_range: The IP CIDR range to filter for. IPs within a matching CIDR block are listed. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param str zone: `zone`) The zone in which the IPs exist. """ __args__ = dict() __args__['ipCidrRange'] = ip_cidr_range @@ -146,7 +148,9 @@ def get_lb_ips_output(ip_cidr_range: Optional[pulumi.Input[Optional[str]]] = Non zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbIpsResult]: """ - Gets information about multiple Load Balancer IPs. + Gets information about multiple Load Balancer IP addresses. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -159,8 +163,8 @@ def get_lb_ips_output(ip_cidr_range: Optional[pulumi.Input[Optional[str]]] = Non ``` - :param str ip_cidr_range: The IP CIDR range used as a filter. IPs within a CIDR block like it are listed. - :param str project_id: The ID of the project the load-balancer is associated with. - :param str zone: `zone`) The zone in which IPs exist. + :param str ip_cidr_range: The IP CIDR range to filter for. IPs within a matching CIDR block are listed. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param str zone: `zone`) The zone in which the IPs exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_route.py b/sdk/python/pulumiverse_scaleway/get_lb_route.py index 8aa0df03..1e933232 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_route.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_route.py @@ -110,8 +110,9 @@ def __await__(self): def get_lb_route(route_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbRouteResult: """ - Get information about Scaleway Load-Balancer Routes. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + Get information about Scaleway Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -141,7 +142,7 @@ def get_lb_route(route_id: Optional[str] = None, ``` - :param str route_id: The route id. + :param str route_id: The route ID. """ __args__ = dict() __args__['routeId'] = route_id @@ -163,8 +164,9 @@ def get_lb_route(route_id: Optional[str] = None, def get_lb_route_output(route_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbRouteResult]: """ - Get information about Scaleway Load-Balancer Routes. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + Get information about Scaleway Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -194,6 +196,6 @@ def get_lb_route_output(route_id: Optional[pulumi.Input[str]] = None, ``` - :param str route_id: The route id. + :param str route_id: The route ID. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lb_routes.py b/sdk/python/pulumiverse_scaleway/get_lb_routes.py index 46817cfd..8027177b 100644 --- a/sdk/python/pulumiverse_scaleway/get_lb_routes.py +++ b/sdk/python/pulumiverse_scaleway/get_lb_routes.py @@ -69,7 +69,7 @@ def project_id(self) -> str: @pulumi.getter def routes(self) -> Sequence['outputs.GetLbRoutesRouteResult']: """ - List of found routes + List of retrieved routes """ return pulumi.get(self, "routes") @@ -98,7 +98,9 @@ def get_lb_routes(frontend_id: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLbRoutesResult: """ - Gets information about multiple Load Balancer Routes. + Gets information about multiple Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -112,8 +114,8 @@ def get_lb_routes(frontend_id: Optional[str] = None, ``` - :param str frontend_id: The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. - :param str zone: `zone`) The zone in which routes exist. + :param str frontend_id: The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. + :param str zone: `zone`) The zone in which the routes exist. """ __args__ = dict() __args__['frontendId'] = frontend_id @@ -137,7 +139,9 @@ def get_lb_routes_output(frontend_id: Optional[pulumi.Input[Optional[str]]] = No zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLbRoutesResult]: """ - Gets information about multiple Load Balancer Routes. + Gets information about multiple Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -151,7 +155,7 @@ def get_lb_routes_output(frontend_id: Optional[pulumi.Input[Optional[str]]] = No ``` - :param str frontend_id: The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. - :param str zone: `zone`) The zone in which routes exist. + :param str frontend_id: The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. + :param str zone: `zone`) The zone in which the routes exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_lbs.py b/sdk/python/pulumiverse_scaleway/get_lbs.py index 9ec0de8b..f055ba12 100644 --- a/sdk/python/pulumiverse_scaleway/get_lbs.py +++ b/sdk/python/pulumiverse_scaleway/get_lbs.py @@ -57,7 +57,7 @@ def id(self) -> str: @pulumi.getter def lbs(self) -> Sequence['outputs.GetLbsLbResult']: """ - List of found LBs + List of retrieved Load Balancers """ return pulumi.get(self, "lbs") @@ -65,7 +65,7 @@ def lbs(self) -> Sequence['outputs.GetLbsLbResult']: @pulumi.getter def name(self) -> Optional[str]: """ - The name of the load-balancer. + The name of the Load Balancer. """ return pulumi.get(self, "name") @@ -73,7 +73,7 @@ def name(self) -> Optional[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the load-balancer is associated with. + The ID of the Organization the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -81,7 +81,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the load-balancer is associated with. + The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -89,7 +89,7 @@ def project_id(self) -> str: @pulumi.getter def tags(self) -> Optional[Sequence[str]]: """ - The tags associated with the load-balancer. + The tags associated with the Load Balancer. """ return pulumi.get(self, "tags") @@ -97,7 +97,7 @@ def tags(self) -> Optional[Sequence[str]]: @pulumi.getter def zone(self) -> str: """ - The zone in which the load-balancer is. + The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -125,6 +125,8 @@ def get_lbs(name: Optional[str] = None, """ Gets information about multiple Load Balancers. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + ## Example Usage ```python @@ -137,10 +139,10 @@ def get_lbs(name: Optional[str] = None, ``` - :param str name: The load balancer name used as a filter. LBs with a name like it are listed. - :param str project_id: The ID of the project the load-balancer is associated with. - :param Sequence[str] tags: List of tags used as filter. LBs with these exact tags are listed. - :param str zone: `zone`) The zone in which LBs exist. + :param str name: The Load Balancer name to filter for. Load Balancers with a matching name are listed. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param Sequence[str] tags: List of tags to filter for. Load Balancers with these exact tags are listed. + :param str zone: `zone`) The zone in which the Load Balancers exist. """ __args__ = dict() __args__['name'] = name @@ -169,6 +171,8 @@ def get_lbs_output(name: Optional[pulumi.Input[Optional[str]]] = None, """ Gets information about multiple Load Balancers. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + ## Example Usage ```python @@ -181,9 +185,9 @@ def get_lbs_output(name: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str name: The load balancer name used as a filter. LBs with a name like it are listed. - :param str project_id: The ID of the project the load-balancer is associated with. - :param Sequence[str] tags: List of tags used as filter. LBs with these exact tags are listed. - :param str zone: `zone`) The zone in which LBs exist. + :param str name: The Load Balancer name to filter for. Load Balancers with a matching name are listed. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param Sequence[str] tags: List of tags to filter for. Load Balancers with these exact tags are listed. + :param str zone: `zone`) The zone in which the Load Balancers exist. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_loadbalancer.py b/sdk/python/pulumiverse_scaleway/get_loadbalancer.py index a9e5f131..ffa107b1 100644 --- a/sdk/python/pulumiverse_scaleway/get_loadbalancer.py +++ b/sdk/python/pulumiverse_scaleway/get_loadbalancer.py @@ -108,7 +108,7 @@ def id(self) -> str: @pulumi.getter(name="ipAddress") def ip_address(self) -> str: """ - The load-balancer public IP Address. + The Load Balancer public IP address. """ return pulumi.get(self, "ip_address") @@ -171,7 +171,7 @@ def ssl_compatibility_level(self) -> str: @pulumi.getter def tags(self) -> Sequence[str]: """ - The tags associated with the load-balancer. + The tags associated with the Load Balancer. """ return pulumi.get(self, "tags") @@ -179,7 +179,7 @@ def tags(self) -> Sequence[str]: @pulumi.getter def type(self) -> str: """ - The type of the load-balancer. + The Load Balancer type. """ return pulumi.get(self, "type") @@ -187,7 +187,7 @@ def type(self) -> str: @pulumi.getter def zone(self) -> Optional[str]: """ - (Defaults to provider `zone`) The zone in which the LB exists. + (Defaults to provider `zone`) The zone in which the Load Balancer exists. """ return pulumi.get(self, "zone") @@ -228,6 +228,8 @@ def get_loadbalancer(lb_id: Optional[str] = None, """ Gets information about a Load Balancer. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + ## Example Usage ```python @@ -239,9 +241,9 @@ def get_loadbalancer(lb_id: Optional[str] = None, ``` - :param str name: The load balancer name. - :param str project_id: The ID of the project the LB is associated with. - :param str zone: (Defaults to provider `zone`) The zone in which the LB exists. + :param str name: The Load Balancer name. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param str zone: (Defaults to provider `zone`) The zone in which the Load Balancer exists. """ __args__ = dict() __args__['lbId'] = lb_id @@ -284,6 +286,8 @@ def get_loadbalancer_output(lb_id: Optional[pulumi.Input[Optional[str]]] = None, """ Gets information about a Load Balancer. + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). + ## Example Usage ```python @@ -295,8 +299,8 @@ def get_loadbalancer_output(lb_id: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str name: The load balancer name. - :param str project_id: The ID of the project the LB is associated with. - :param str zone: (Defaults to provider `zone`) The zone in which the LB exists. + :param str name: The Load Balancer name. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param str zone: (Defaults to provider `zone`) The zone in which the Load Balancer exists. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_loadbalancer_certificate.py b/sdk/python/pulumiverse_scaleway/get_loadbalancer_certificate.py index a11c5a3f..24f3c244 100644 --- a/sdk/python/pulumiverse_scaleway/get_loadbalancer_certificate.py +++ b/sdk/python/pulumiverse_scaleway/get_loadbalancer_certificate.py @@ -149,19 +149,19 @@ def get_loadbalancer_certificate(certificate_id: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadbalancerCertificateResult: """ - Get information about Scaleway Load-Balancer Certificates. + Get information about Scaleway Load Balancer certificates. - This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). ## Examples - :param str certificate_id: The certificate id. + :param str certificate_id: The certificate ID. - Only one of `name` and `certificate_id` should be specified. - :param str lb_id: The load-balancer ID this certificate is attached to. - :param str name: The name of the certificate backend. + :param str lb_id: The Load Balancer ID this certificate is attached to. + :param str name: The name of the Load Balancer certificate. - When using a certificate `name` you should specify the `lb-id` """ __args__ = dict() @@ -192,19 +192,19 @@ def get_loadbalancer_certificate_output(certificate_id: Optional[pulumi.Input[Op name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadbalancerCertificateResult]: """ - Get information about Scaleway Load-Balancer Certificates. + Get information about Scaleway Load Balancer certificates. - This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. + This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). ## Examples - :param str certificate_id: The certificate id. + :param str certificate_id: The certificate ID. - Only one of `name` and `certificate_id` should be specified. - :param str lb_id: The load-balancer ID this certificate is attached to. - :param str name: The name of the certificate backend. + :param str lb_id: The Load Balancer ID this certificate is attached to. + :param str name: The name of the Load Balancer certificate. - When using a certificate `name` you should specify the `lb-id` """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_loadbalancer_ip.py b/sdk/python/pulumiverse_scaleway/get_loadbalancer_ip.py index 61f8db09..7aae20cf 100644 --- a/sdk/python/pulumiverse_scaleway/get_loadbalancer_ip.py +++ b/sdk/python/pulumiverse_scaleway/get_loadbalancer_ip.py @@ -80,7 +80,7 @@ def is_ipv6(self) -> bool: @pulumi.getter(name="lbId") def lb_id(self) -> str: """ - The associated load-balancer ID if any + The ID of the associated Load Balancer, if any """ return pulumi.get(self, "lb_id") @@ -88,7 +88,7 @@ def lb_id(self) -> str: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - (Defaults to provider `organization_id`) The ID of the organization the LB IP is associated with. + (Defaults to provider `organization_id`) The ID of the Organization the Load Balancer IP is associated with. """ return pulumi.get(self, "organization_id") @@ -139,7 +139,9 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None, project_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadbalancerIpResult: """ - Gets information about a Load Balancer IP. + Gets information about a Load Balancer IP address. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -155,7 +157,7 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None, Only one of `ip_address` and `ip_id` should be specified. :param str ip_id: The IP ID. Only one of `ip_address` and `ip_id` should be specified. - :param str project_id: The ID of the project the LB IP associated with. + :param str project_id: The ID of the Project the Load Balancer IP is associated with. """ __args__ = dict() __args__['ipAddress'] = ip_address @@ -183,7 +185,9 @@ def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]] project_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadbalancerIpResult]: """ - Gets information about a Load Balancer IP. + Gets information about a Load Balancer IP address. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -199,6 +203,6 @@ def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]] Only one of `ip_address` and `ip_id` should be specified. :param str ip_id: The IP ID. Only one of `ip_address` and `ip_id` should be specified. - :param str project_id: The ID of the project the LB IP associated with. + :param str project_id: The ID of the Project the Load Balancer IP is associated with. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_mnq_sqs.py b/sdk/python/pulumiverse_scaleway/get_mnq_sqs.py index fb53ef3e..011d4760 100644 --- a/sdk/python/pulumiverse_scaleway/get_mnq_sqs.py +++ b/sdk/python/pulumiverse_scaleway/get_mnq_sqs.py @@ -39,7 +39,7 @@ def __init__(__self__, endpoint=None, id=None, project_id=None, region=None): @pulumi.getter def endpoint(self) -> str: """ - The endpoint of the SQS service for this project. + The endpoint of the SQS service for this Project. """ return pulumi.get(self, "endpoint") @@ -78,7 +78,7 @@ def get_mnq_sqs(project_id: Optional[str] = None, region: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMnqSqsResult: """ - Gets information about SQS for a project + Gets information about SQS for a Project ## Examples @@ -93,8 +93,8 @@ def get_mnq_sqs(project_id: Optional[str] = None, ``` - :param str project_id: `project_id`) The ID of the project for which sqs is enabled. - :param str region: `region`). The region in which sqs is enabled. + :param str project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param str region: `region`). The region in which SQS is enabled. """ __args__ = dict() __args__['projectId'] = project_id @@ -114,7 +114,7 @@ def get_mnq_sqs_output(project_id: Optional[pulumi.Input[Optional[str]]] = None, region: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMnqSqsResult]: """ - Gets information about SQS for a project + Gets information about SQS for a Project ## Examples @@ -129,7 +129,7 @@ def get_mnq_sqs_output(project_id: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str project_id: `project_id`) The ID of the project for which sqs is enabled. - :param str region: `region`). The region in which sqs is enabled. + :param str project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param str region: `region`). The region in which SQS is enabled. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_redis_cluster.py b/sdk/python/pulumiverse_scaleway/get_redis_cluster.py index a3ba2eb3..fdd055f4 100644 --- a/sdk/python/pulumiverse_scaleway/get_redis_cluster.py +++ b/sdk/python/pulumiverse_scaleway/get_redis_cluster.py @@ -84,11 +84,17 @@ def __init__(__self__, acls=None, certificate=None, cluster_id=None, cluster_siz @property @pulumi.getter def acls(self) -> Sequence['outputs.GetRedisClusterAclResult']: + """ + List of acl rules. + """ return pulumi.get(self, "acls") @property @pulumi.getter def certificate(self) -> str: + """ + The PEM of the certificate used by redis, only when `tls_enabled` is true. + """ return pulumi.get(self, "certificate") @property @@ -99,11 +105,17 @@ def cluster_id(self) -> Optional[str]: @property @pulumi.getter(name="clusterSize") def cluster_size(self) -> int: + """ + The number of nodes in the Redis Cluster. + """ return pulumi.get(self, "cluster_size") @property @pulumi.getter(name="createdAt") def created_at(self) -> str: + """ + The date and time of creation of the Redis Cluster. + """ return pulumi.get(self, "created_at") @property @@ -122,16 +134,25 @@ def name(self) -> Optional[str]: @property @pulumi.getter(name="nodeType") def node_type(self) -> str: + """ + The type of Redis Cluster (e.g. `RED1-M`). + """ return pulumi.get(self, "node_type") @property @pulumi.getter def password(self) -> str: + """ + Password of the first user of the Redis Cluster. + """ return pulumi.get(self, "password") @property @pulumi.getter(name="privateNetworks") def private_networks(self) -> Sequence['outputs.GetRedisClusterPrivateNetworkResult']: + """ + List of private networks endpoints of the Redis Cluster. + """ return pulumi.get(self, "private_networks") @property @@ -142,36 +163,57 @@ def project_id(self) -> Optional[str]: @property @pulumi.getter(name="publicNetworks") def public_networks(self) -> Sequence['outputs.GetRedisClusterPublicNetworkResult']: + """ + Public network details. + """ return pulumi.get(self, "public_networks") @property @pulumi.getter def settings(self) -> Mapping[str, str]: + """ + Map of settings for redis cluster. + """ return pulumi.get(self, "settings") @property @pulumi.getter def tags(self) -> Sequence[str]: + """ + The tags associated with the Redis Cluster. + """ return pulumi.get(self, "tags") @property @pulumi.getter(name="tlsEnabled") def tls_enabled(self) -> bool: + """ + Whether TLS is enabled or not. + """ return pulumi.get(self, "tls_enabled") @property @pulumi.getter(name="updatedAt") def updated_at(self) -> str: + """ + The date and time of the last update of the Redis Cluster. + """ return pulumi.get(self, "updated_at") @property @pulumi.getter(name="userName") def user_name(self) -> str: + """ + The first user of the Redis Cluster. + """ return pulumi.get(self, "user_name") @property @pulumi.getter def version(self) -> str: + """ + Redis's Cluster version (e.g. `6.2.7`). + """ return pulumi.get(self, "version") @property @@ -213,7 +255,9 @@ def get_redis_cluster(cluster_id: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisClusterResult: """ - Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + Gets information about a Redis™ cluster. + + For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). ## Example Usage @@ -226,9 +270,9 @@ def get_redis_cluster(cluster_id: Optional[str] = None, :param str cluster_id: The Redis cluster ID. - Only one of the `name` and `cluster_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `cluster_id`. :param str name: The name of the Redis cluster. - Only one of the `name` and `cluster_id` should be specified. :param str project_id: The ID of the project the Redis cluster is associated with. :param str zone: `region`) The zone in which the server exists. """ @@ -269,7 +313,9 @@ def get_redis_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisClusterResult]: """ - Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) + Gets information about a Redis™ cluster. + + For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). ## Example Usage @@ -282,9 +328,9 @@ def get_redis_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = :param str cluster_id: The Redis cluster ID. - Only one of the `name` and `cluster_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `cluster_id`. :param str name: The name of the Redis cluster. - Only one of the `name` and `cluster_id` should be specified. :param str project_id: The ID of the project the Redis cluster is associated with. :param str zone: `region`) The zone in which the server exists. """ diff --git a/sdk/python/pulumiverse_scaleway/get_registry_image.py b/sdk/python/pulumiverse_scaleway/get_registry_image.py index 2361d956..0978eaef 100644 --- a/sdk/python/pulumiverse_scaleway/get_registry_image.py +++ b/sdk/python/pulumiverse_scaleway/get_registry_image.py @@ -157,7 +157,7 @@ def get_registry_image(image_id: Optional[str] = None, tags: Optional[Sequence[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryImageResult: """ - Gets information about a registry image. + Gets information about a Container Registry image. ## Example Usage @@ -171,9 +171,9 @@ def get_registry_image(image_id: Optional[str] = None, :param str image_id: The image ID. - Only one of `name` and `image_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `image_id`. :param str name: The image name. - Only one of `name` and `image_id` should be specified. :param str namespace_id: The namespace ID in which the image is. :param str project_id: `project_id`) The ID of the project the image is associated with. :param str region: `region`) The region in which the image exists. @@ -212,7 +212,7 @@ def get_registry_image_output(image_id: Optional[pulumi.Input[Optional[str]]] = tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryImageResult]: """ - Gets information about a registry image. + Gets information about a Container Registry image. ## Example Usage @@ -226,9 +226,9 @@ def get_registry_image_output(image_id: Optional[pulumi.Input[Optional[str]]] = :param str image_id: The image ID. - Only one of `name` and `image_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `image_id`. :param str name: The image name. - Only one of `name` and `image_id` should be specified. :param str namespace_id: The namespace ID in which the image is. :param str project_id: `project_id`) The ID of the project the image is associated with. :param str region: `region`) The region in which the image exists. diff --git a/sdk/python/pulumiverse_scaleway/get_registry_namespace.py b/sdk/python/pulumiverse_scaleway/get_registry_namespace.py index 08550790..439d9fa7 100644 --- a/sdk/python/pulumiverse_scaleway/get_registry_namespace.py +++ b/sdk/python/pulumiverse_scaleway/get_registry_namespace.py @@ -144,9 +144,9 @@ def get_registry_namespace(name: Optional[str] = None, :param str name: The namespace name. - Only one of `name` and `namespace_id` should be specified. :param str namespace_id: The namespace id. - Only one of `name` and `namespace_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `image_id`. :param str project_id: `project_id`) The ID of the project the namespace is associated with. :param str region: `region`) The region in which the namespace exists. """ @@ -190,9 +190,9 @@ def get_registry_namespace_output(name: Optional[pulumi.Input[Optional[str]]] = :param str name: The namespace name. - Only one of `name` and `namespace_id` should be specified. :param str namespace_id: The namespace id. - Only one of `name` and `namespace_id` should be specified. + + > **Note** You must specify at least one: `name` and/or `image_id`. :param str project_id: `project_id`) The ID of the project the namespace is associated with. :param str region: `region`) The region in which the namespace exists. """ diff --git a/sdk/python/pulumiverse_scaleway/get_vpc.py b/sdk/python/pulumiverse_scaleway/get_vpc.py index a692e214..365adccd 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc.py @@ -156,11 +156,11 @@ def get_vpc(is_default: Optional[bool] = None, ``` - :param bool is_default: To get default VPC's information. - :param str name: Name of the VPC. One of `name` and `vpc_id` should be specified. - :param str organization_id: The ID of the organization the VPC is associated with. - :param str project_id: `project_id`) The ID of the project the VPC is associated with. - :param str vpc_id: ID of the VPC. One of `name` and `vpc_id` should be specified. + :param bool is_default: Whether the targeted VPC is the default VPC. + :param str name: Name of the VPC. A maximum of one of `name` and `vpc_id` should be specified. + :param str organization_id: The ID of the Organization the VPC is associated with. + :param str project_id: `project_id`) The ID of the Project the VPC is associated with. + :param str vpc_id: ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified. """ __args__ = dict() __args__['isDefault'] = is_default @@ -209,10 +209,10 @@ def get_vpc_output(is_default: Optional[pulumi.Input[Optional[bool]]] = None, ``` - :param bool is_default: To get default VPC's information. - :param str name: Name of the VPC. One of `name` and `vpc_id` should be specified. - :param str organization_id: The ID of the organization the VPC is associated with. - :param str project_id: `project_id`) The ID of the project the VPC is associated with. - :param str vpc_id: ID of the VPC. One of `name` and `vpc_id` should be specified. + :param bool is_default: Whether the targeted VPC is the default VPC. + :param str name: Name of the VPC. A maximum of one of `name` and `vpc_id` should be specified. + :param str organization_id: The ID of the Organization the VPC is associated with. + :param str project_id: `project_id`) The ID of the Project the VPC is associated with. + :param str vpc_id: ID of the VPC. A maximum of one of `name` and `vpc_id` should be specified. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_gateway_network.py b/sdk/python/pulumiverse_scaleway/get_vpc_gateway_network.py index f840d514..b301833c 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_gateway_network.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_gateway_network.py @@ -178,7 +178,7 @@ def get_vpc_gateway_network(dhcp_id: Optional[str] = None, private_network_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcGatewayNetworkResult: """ - Gets information about a gateway network. + Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). ## Example Usage @@ -199,13 +199,7 @@ def get_vpc_gateway_network(dhcp_id: Optional[str] = None, ``` - :param str dhcp_id: ID of the public gateway DHCP config - :param bool enable_masquerade: If masquerade is enabled on requested network - :param str gateway_id: ID of the public gateway the gateway network is linked to - :param str gateway_network_id: ID of the gateway network. - - > Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want. - :param str private_network_id: ID of the private network the gateway network is linked to + :param str gateway_network_id: ID of the GatewayNetwork. """ __args__ = dict() __args__['dhcpId'] = dhcp_id @@ -242,7 +236,7 @@ def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]] private_network_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcGatewayNetworkResult]: """ - Gets information about a gateway network. + Gets information about a GatewayNetwork (a connection between a Public Gateway and a Private Network). ## Example Usage @@ -263,12 +257,6 @@ def get_vpc_gateway_network_output(dhcp_id: Optional[pulumi.Input[Optional[str]] ``` - :param str dhcp_id: ID of the public gateway DHCP config - :param bool enable_masquerade: If masquerade is enabled on requested network - :param str gateway_id: ID of the public gateway the gateway network is linked to - :param str gateway_network_id: ID of the gateway network. - - > Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want. - :param str private_network_id: ID of the private network the gateway network is linked to + :param str gateway_network_id: ID of the GatewayNetwork. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_private_network.py b/sdk/python/pulumiverse_scaleway/get_vpc_private_network.py index e4aabe10..1c05d349 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_private_network.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_private_network.py @@ -83,7 +83,7 @@ def id(self) -> str: @pulumi.getter(name="ipv4Subnets") def ipv4_subnets(self) -> Sequence['outputs.GetVpcPrivateNetworkIpv4SubnetResult']: """ - The IPv4 subnet associated with the private network. + The IPv4 subnet associated with the Private Network. """ return pulumi.get(self, "ipv4_subnets") @@ -91,7 +91,7 @@ def ipv4_subnets(self) -> Sequence['outputs.GetVpcPrivateNetworkIpv4SubnetResult @pulumi.getter(name="ipv6Subnets") def ipv6_subnets(self) -> Sequence['outputs.GetVpcPrivateNetworkIpv6SubnetResult']: """ - The IPv6 subnets associated with the private network. + The IPv6 subnets associated with the Private Network. """ return pulumi.get(self, "ipv6_subnets") @@ -175,7 +175,7 @@ def get_vpc_private_network(name: Optional[str] = None, vpc_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPrivateNetworkResult: """ - Gets information about a private network. + Gets information about a Private Network. ## Example Usage @@ -190,10 +190,10 @@ def get_vpc_private_network(name: Optional[str] = None, ``` - :param str name: Name of the private network. Cannot be used with `private_network_id`. - :param str private_network_id: ID of the private network. Cannot be used with `name` and `vpc_id`. - :param str project_id: The ID of the project the private network is associated with. - :param str vpc_id: ID of the VPC in which the private network is. Cannot be used with `private_network_id`. + :param str name: Name of the Private Network. Cannot be used with `private_network_id`. + :param str private_network_id: ID of the Private Network. Cannot be used with `name` or `vpc_id`. + :param str project_id: The ID of the Project the Private Network is associated with. + :param str vpc_id: ID of the VPC the Private Network is in. Cannot be used with `private_network_id`. """ __args__ = dict() __args__['name'] = name @@ -229,7 +229,7 @@ def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] = vpc_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPrivateNetworkResult]: """ - Gets information about a private network. + Gets information about a Private Network. ## Example Usage @@ -244,9 +244,9 @@ def get_vpc_private_network_output(name: Optional[pulumi.Input[Optional[str]]] = ``` - :param str name: Name of the private network. Cannot be used with `private_network_id`. - :param str private_network_id: ID of the private network. Cannot be used with `name` and `vpc_id`. - :param str project_id: The ID of the project the private network is associated with. - :param str vpc_id: ID of the VPC in which the private network is. Cannot be used with `private_network_id`. + :param str name: Name of the Private Network. Cannot be used with `private_network_id`. + :param str private_network_id: ID of the Private Network. Cannot be used with `name` or `vpc_id`. + :param str project_id: The ID of the Project the Private Network is associated with. + :param str vpc_id: ID of the VPC the Private Network is in. Cannot be used with `private_network_id`. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway.py b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway.py index 7f0adbb6..e668dcdd 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway.py @@ -194,7 +194,7 @@ def get_vpc_public_gateway(name: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayResult: """ - Gets information about a public gateway. + Gets information about a Public Gateway. ## Example Usage @@ -212,10 +212,9 @@ def get_vpc_public_gateway(name: Optional[str] = None, ``` - :param str name: Exact name of the public gateway. - :param str project_id: The ID of the project the public gateway is associated with. - :param str zone: `zone`) The zone in which - the public gateway should be created. + :param str name: Exact name of the Public Gateway. + :param str project_id: The ID of the Project the Public Gateway is associated with. + :param str zone: `zone`) The Public Gateway's zone. """ __args__ = dict() __args__['name'] = name @@ -252,7 +251,7 @@ def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] = zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayResult]: """ - Gets information about a public gateway. + Gets information about a Public Gateway. ## Example Usage @@ -270,9 +269,8 @@ def get_vpc_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] = ``` - :param str name: Exact name of the public gateway. - :param str project_id: The ID of the project the public gateway is associated with. - :param str zone: `zone`) The zone in which - the public gateway should be created. + :param str name: Exact name of the Public Gateway. + :param str project_id: The ID of the Project the Public Gateway is associated with. + :param str zone: `zone`) The Public Gateway's zone. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py index 762b01c6..d4d0918c 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py @@ -218,7 +218,7 @@ def __await__(self): def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayDhcpResult: """ - Gets information about a public gateway DHCP. + Gets information about a Public Gateway DHCP configuration. ## Example Usage @@ -263,7 +263,7 @@ def get_vpc_public_gateway_dhcp(dhcp_id: Optional[str] = None, def get_vpc_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpResult]: """ - Gets information about a public gateway DHCP. + Gets information about a Public Gateway DHCP configuration. ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py index 6b46ceee..3e231f73 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py @@ -141,8 +141,8 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] = zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayDhcpReservationResult: """ - Gets information about a dhcp entries. For further information please check the - API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + Gets information about a DHCP entry. For further information, please see the + API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ ## Example Dynamic @@ -175,7 +175,7 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] = gateway_network_id=main_vpc_gateway_network.id) ``` - ## Example Static and PAT rule + ## Example Static and PAT Rule ```python import pulumi @@ -228,9 +228,9 @@ def get_vpc_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] = > Only one of `reservation_id` or `mac_address` with `gateway_network_id` should be specified. :param str mac_address: The MAC address of the reservation to retrieve. - :param str reservation_id: The ID of the Reservation to retrieve. - :param bool wait_for_dhcp: Boolean to wait for mac_address to exist in dhcp. - :param str zone: `zone`) The zone in which the image exists. + :param str reservation_id: The ID of the reservation (DHCP entry) to retrieve. + :param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP. + :param str zone: `zone`). The zone in which the reservation exists. """ __args__ = dict() __args__['gatewayNetworkId'] = gateway_network_id @@ -263,8 +263,8 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[ zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayDhcpReservationResult]: """ - Gets information about a dhcp entries. For further information please check the - API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6) + Gets information about a DHCP entry. For further information, please see the + API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries)/ ## Example Dynamic @@ -297,7 +297,7 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[ gateway_network_id=main_vpc_gateway_network.id) ``` - ## Example Static and PAT rule + ## Example Static and PAT Rule ```python import pulumi @@ -350,8 +350,8 @@ def get_vpc_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[ > Only one of `reservation_id` or `mac_address` with `gateway_network_id` should be specified. :param str mac_address: The MAC address of the reservation to retrieve. - :param str reservation_id: The ID of the Reservation to retrieve. - :param bool wait_for_dhcp: Boolean to wait for mac_address to exist in dhcp. - :param str zone: `zone`) The zone in which the image exists. + :param str reservation_id: The ID of the reservation (DHCP entry) to retrieve. + :param bool wait_for_dhcp: Whether to wait for `mac_address` to exist in DHCP. + :param str zone: `zone`). The zone in which the reservation exists. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_ip.py b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_ip.py index 99d52535..462a75d9 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_ip.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_public_gateway_ip.py @@ -128,9 +128,9 @@ def __await__(self): def get_vpc_public_gateway_ip(ip_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicGatewayIpResult: """ - Gets information about a public gateway IP. + Gets information about a Public Gateway public flexible IP address. - For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage @@ -165,9 +165,9 @@ def get_vpc_public_gateway_ip(ip_id: Optional[str] = None, def get_vpc_public_gateway_ip_output(ip_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicGatewayIpResult]: """ - Gets information about a public gateway IP. + Gets information about a Public Gateway public flexible IP address. - For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) + For further information, please see the API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/get_vpc_public_pat_rule.py b/sdk/python/pulumiverse_scaleway/get_vpc_public_pat_rule.py index b68f43b1..9db96305 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpc_public_pat_rule.py +++ b/sdk/python/pulumiverse_scaleway/get_vpc_public_pat_rule.py @@ -65,7 +65,7 @@ def created_at(self) -> str: @pulumi.getter(name="gatewayId") def gateway_id(self) -> str: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -91,7 +91,7 @@ def pat_rule_id(self) -> str: @pulumi.getter(name="privateIp") def private_ip(self) -> str: """ - The Private IP to forward data to (IP address). + The private IP address to forward data to. """ return pulumi.get(self, "private_ip") @@ -99,7 +99,7 @@ def private_ip(self) -> str: @pulumi.getter(name="privatePort") def private_port(self) -> int: """ - The Private port to translate to. + The private port to translate to. """ return pulumi.get(self, "private_port") @@ -107,7 +107,7 @@ def private_port(self) -> int: @pulumi.getter def protocol(self) -> str: """ - The Protocol the rule should apply to. Possible values are both, tcp and udp. + The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. """ return pulumi.get(self, "protocol") @@ -115,7 +115,7 @@ def protocol(self) -> str: @pulumi.getter(name="publicPort") def public_port(self) -> int: """ - The Public port to listen on. + The public port to listen on. """ return pulumi.get(self, "public_port") @@ -153,8 +153,8 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None, zone: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPublicPatRuleResult: """ - Gets information about a public gateway PAT rule. For further information please check the - API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + Gets information about a Public Gateway PAT rule. For further information, please see the + API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). ## Example Usage @@ -206,7 +206,7 @@ def get_vpc_public_pat_rule(pat_rule_id: Optional[str] = None, :param str pat_rule_id: The ID of the PAT rule to retrieve :param str zone: `zone`) The zone in which - the image exists. + the rule exists. """ __args__ = dict() __args__['patRuleId'] = pat_rule_id @@ -233,8 +233,8 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No zone: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPublicPatRuleResult]: """ - Gets information about a public gateway PAT rule. For further information please check the - API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea) + Gets information about a Public Gateway PAT rule. For further information, please see the + API [documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-pat-rules-list-pat-rules). ## Example Usage @@ -286,6 +286,6 @@ def get_vpc_public_pat_rule_output(pat_rule_id: Optional[pulumi.Input[str]] = No :param str pat_rule_id: The ID of the PAT rule to retrieve :param str zone: `zone`) The zone in which - the image exists. + the rule exists. """ ... diff --git a/sdk/python/pulumiverse_scaleway/get_vpcs.py b/sdk/python/pulumiverse_scaleway/get_vpcs.py index 121974d9..d332c1f6 100644 --- a/sdk/python/pulumiverse_scaleway/get_vpcs.py +++ b/sdk/python/pulumiverse_scaleway/get_vpcs.py @@ -62,7 +62,7 @@ def name(self) -> Optional[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the VPC is associated with. + The Organization ID the VPC is associated with. """ return pulumi.get(self, "organization_id") @@ -70,7 +70,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the VPC is associated with. + The ID of the Project the VPC is associated with. """ return pulumi.get(self, "project_id") @@ -88,7 +88,7 @@ def tags(self) -> Optional[Sequence[str]]: @pulumi.getter def vpcs(self) -> Sequence['outputs.GetVpcsVpcResult']: """ - List of found vpcs + List of retrieved VPCs """ return pulumi.get(self, "vpcs") @@ -127,10 +127,10 @@ def get_vpcs(name: Optional[str] = None, ``` - :param str name: The VPC name used as filter. VPCs with a name like it are listed. - :param str project_id: The ID of the project the VPC is associated with. - :param str region: `region`). The region in which vpcs exist. - :param Sequence[str] tags: List of tags used as filter. VPCs with these exact tags are listed. + :param str name: The VPC name to filter for. VPCs with a similar name are listed. + :param str project_id: The ID of the Project the VPC is associated with. + :param str region: `region`). The region in which the VPCs exist. + :param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed. """ __args__ = dict() __args__['name'] = name @@ -170,9 +170,9 @@ def get_vpcs_output(name: Optional[pulumi.Input[Optional[str]]] = None, ``` - :param str name: The VPC name used as filter. VPCs with a name like it are listed. - :param str project_id: The ID of the project the VPC is associated with. - :param str region: `region`). The region in which vpcs exist. - :param Sequence[str] tags: List of tags used as filter. VPCs with these exact tags are listed. + :param str name: The VPC name to filter for. VPCs with a similar name are listed. + :param str project_id: The ID of the Project the VPC is associated with. + :param str region: `region`). The region in which the VPCs exist. + :param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed. """ ... diff --git a/sdk/python/pulumiverse_scaleway/iam_api_key.py b/sdk/python/pulumiverse_scaleway/iam_api_key.py index f22cdb78..0234be27 100644 --- a/sdk/python/pulumiverse_scaleway/iam_api_key.py +++ b/sdk/python/pulumiverse_scaleway/iam_api_key.py @@ -21,14 +21,13 @@ def __init__(__self__, *, user_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a IamApiKey resource. - :param pulumi.Input[str] application_id: ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. - :param pulumi.Input[str] default_project_id: The default project ID to use with object storage. - :param pulumi.Input[str] description: The description of the iam api key. - :param pulumi.Input[str] expires_at: The date and time of the expiration of the iam api key. Please note that in case of change, + :param pulumi.Input[str] application_id: ID of the application attached to the API key. + :param pulumi.Input[str] default_project_id: The default Project ID to use with Object Storage. + :param pulumi.Input[str] description: The description of the API key. + :param pulumi.Input[str] expires_at: The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. - :param pulumi.Input[str] user_id: ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + :param pulumi.Input[str] user_id: ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ if application_id is not None: pulumi.set(__self__, "application_id", application_id) @@ -45,8 +44,7 @@ def __init__(__self__, *, @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the application attached to the API key. """ return pulumi.get(self, "application_id") @@ -58,7 +56,7 @@ def application_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="defaultProjectId") def default_project_id(self) -> Optional[pulumi.Input[str]]: """ - The default project ID to use with object storage. + The default Project ID to use with Object Storage. """ return pulumi.get(self, "default_project_id") @@ -70,7 +68,7 @@ def default_project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the iam api key. + The description of the API key. """ return pulumi.get(self, "description") @@ -82,7 +80,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="expiresAt") def expires_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the expiration of the iam api key. Please note that in case of change, + The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. """ return pulumi.get(self, "expires_at") @@ -95,8 +93,8 @@ def expires_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") @@ -121,20 +119,19 @@ def __init__(__self__, *, user_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering IamApiKey resources. - :param pulumi.Input[str] access_key: The access key of the iam api key. - :param pulumi.Input[str] application_id: ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. - :param pulumi.Input[str] created_at: The date and time of the creation of the iam api key. + :param pulumi.Input[str] access_key: The access key of the IAM API key. + :param pulumi.Input[str] application_id: ID of the application attached to the API key. + :param pulumi.Input[str] created_at: The date and time of the creation of the IAM API key. :param pulumi.Input[str] creation_ip: The IP Address of the device which created the API key. - :param pulumi.Input[str] default_project_id: The default project ID to use with object storage. - :param pulumi.Input[str] description: The description of the iam api key. - :param pulumi.Input[bool] editable: Whether the iam api key is editable. - :param pulumi.Input[str] expires_at: The date and time of the expiration of the iam api key. Please note that in case of change, + :param pulumi.Input[str] default_project_id: The default Project ID to use with Object Storage. + :param pulumi.Input[str] description: The description of the API key. + :param pulumi.Input[bool] editable: Whether the IAM API key is editable. + :param pulumi.Input[str] expires_at: The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. - :param pulumi.Input[str] secret_key: The secret Key of the iam api key. - :param pulumi.Input[str] updated_at: The date and time of the last update of the iam api key. - :param pulumi.Input[str] user_id: ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + :param pulumi.Input[str] secret_key: The secret Key of the IAM API key. + :param pulumi.Input[str] updated_at: The date and time of the last update of the IAM API key. + :param pulumi.Input[str] user_id: ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ if access_key is not None: pulumi.set(__self__, "access_key", access_key) @@ -163,7 +160,7 @@ def __init__(__self__, *, @pulumi.getter(name="accessKey") def access_key(self) -> Optional[pulumi.Input[str]]: """ - The access key of the iam api key. + The access key of the IAM API key. """ return pulumi.get(self, "access_key") @@ -175,8 +172,7 @@ def access_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the application attached to the API key. """ return pulumi.get(self, "application_id") @@ -188,7 +184,7 @@ def application_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the iam api key. + The date and time of the creation of the IAM API key. """ return pulumi.get(self, "created_at") @@ -212,7 +208,7 @@ def creation_ip(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="defaultProjectId") def default_project_id(self) -> Optional[pulumi.Input[str]]: """ - The default project ID to use with object storage. + The default Project ID to use with Object Storage. """ return pulumi.get(self, "default_project_id") @@ -224,7 +220,7 @@ def default_project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the iam api key. + The description of the API key. """ return pulumi.get(self, "description") @@ -236,7 +232,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def editable(self) -> Optional[pulumi.Input[bool]]: """ - Whether the iam api key is editable. + Whether the IAM API key is editable. """ return pulumi.get(self, "editable") @@ -248,7 +244,7 @@ def editable(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="expiresAt") def expires_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the expiration of the iam api key. Please note that in case of change, + The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. """ return pulumi.get(self, "expires_at") @@ -261,7 +257,7 @@ def expires_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="secretKey") def secret_key(self) -> Optional[pulumi.Input[str]]: """ - The secret Key of the iam api key. + The secret Key of the IAM API key. """ return pulumi.get(self, "secret_key") @@ -273,7 +269,7 @@ def secret_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the iam api key. + The date and time of the last update of the IAM API key. """ return pulumi.get(self, "updated_at") @@ -285,8 +281,8 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") @@ -307,11 +303,12 @@ def __init__(__self__, user_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway IAM API Keys. For more information, please - check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae) + Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae). ## Example Usage + ### With application + ```python import pulumi import pulumiverse_scaleway as scaleway @@ -322,6 +319,18 @@ def __init__(__self__, description="a description") ``` + ### With user + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + main_iam_user = scaleway.IamUser("mainIamUser", email="test@test.com") + main_iam_api_key = scaleway.IamApiKey("mainIamApiKey", + user_id=main_iam_user.id, + description="a description") + ``` + ## Import Api keys can be imported using the `{id}`, e.g. @@ -334,14 +343,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] application_id: ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. - :param pulumi.Input[str] default_project_id: The default project ID to use with object storage. - :param pulumi.Input[str] description: The description of the iam api key. - :param pulumi.Input[str] expires_at: The date and time of the expiration of the iam api key. Please note that in case of change, + :param pulumi.Input[str] application_id: ID of the application attached to the API key. + :param pulumi.Input[str] default_project_id: The default Project ID to use with Object Storage. + :param pulumi.Input[str] description: The description of the API key. + :param pulumi.Input[str] expires_at: The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. - :param pulumi.Input[str] user_id: ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + :param pulumi.Input[str] user_id: ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ ... @overload @@ -350,11 +358,12 @@ def __init__(__self__, args: Optional[IamApiKeyArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway IAM API Keys. For more information, please - check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae) + Creates and manages Scaleway API Keys. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae). ## Example Usage + ### With application + ```python import pulumi import pulumiverse_scaleway as scaleway @@ -365,6 +374,18 @@ def __init__(__self__, description="a description") ``` + ### With user + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + main_iam_user = scaleway.IamUser("mainIamUser", email="test@test.com") + main_iam_api_key = scaleway.IamApiKey("mainIamApiKey", + user_id=main_iam_user.id, + description="a description") + ``` + ## Import Api keys can be imported using the `{id}`, e.g. @@ -445,20 +466,19 @@ def get(resource_name: str, :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: The access key of the iam api key. - :param pulumi.Input[str] application_id: ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. - :param pulumi.Input[str] created_at: The date and time of the creation of the iam api key. + :param pulumi.Input[str] access_key: The access key of the IAM API key. + :param pulumi.Input[str] application_id: ID of the application attached to the API key. + :param pulumi.Input[str] created_at: The date and time of the creation of the IAM API key. :param pulumi.Input[str] creation_ip: The IP Address of the device which created the API key. - :param pulumi.Input[str] default_project_id: The default project ID to use with object storage. - :param pulumi.Input[str] description: The description of the iam api key. - :param pulumi.Input[bool] editable: Whether the iam api key is editable. - :param pulumi.Input[str] expires_at: The date and time of the expiration of the iam api key. Please note that in case of change, + :param pulumi.Input[str] default_project_id: The default Project ID to use with Object Storage. + :param pulumi.Input[str] description: The description of the API key. + :param pulumi.Input[bool] editable: Whether the IAM API key is editable. + :param pulumi.Input[str] expires_at: The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. - :param pulumi.Input[str] secret_key: The secret Key of the iam api key. - :param pulumi.Input[str] updated_at: The date and time of the last update of the iam api key. - :param pulumi.Input[str] user_id: ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + :param pulumi.Input[str] secret_key: The secret Key of the IAM API key. + :param pulumi.Input[str] updated_at: The date and time of the last update of the IAM API key. + :param pulumi.Input[str] user_id: ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -481,7 +501,7 @@ def get(resource_name: str, @pulumi.getter(name="accessKey") def access_key(self) -> pulumi.Output[str]: """ - The access key of the iam api key. + The access key of the IAM API key. """ return pulumi.get(self, "access_key") @@ -489,8 +509,7 @@ def access_key(self) -> pulumi.Output[str]: @pulumi.getter(name="applicationId") def application_id(self) -> pulumi.Output[Optional[str]]: """ - ID of the application attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the application attached to the API key. """ return pulumi.get(self, "application_id") @@ -498,7 +517,7 @@ def application_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the iam api key. + The date and time of the creation of the IAM API key. """ return pulumi.get(self, "created_at") @@ -514,7 +533,7 @@ def creation_ip(self) -> pulumi.Output[str]: @pulumi.getter(name="defaultProjectId") def default_project_id(self) -> pulumi.Output[str]: """ - The default project ID to use with object storage. + The default Project ID to use with Object Storage. """ return pulumi.get(self, "default_project_id") @@ -522,7 +541,7 @@ def default_project_id(self) -> pulumi.Output[str]: @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: """ - The description of the iam api key. + The description of the API key. """ return pulumi.get(self, "description") @@ -530,7 +549,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def editable(self) -> pulumi.Output[bool]: """ - Whether the iam api key is editable. + Whether the IAM API key is editable. """ return pulumi.get(self, "editable") @@ -538,7 +557,7 @@ def editable(self) -> pulumi.Output[bool]: @pulumi.getter(name="expiresAt") def expires_at(self) -> pulumi.Output[Optional[str]]: """ - The date and time of the expiration of the iam api key. Please note that in case of change, + The date and time of the expiration of the IAM API key. Please note that in case of any changes, the resource will be recreated. """ return pulumi.get(self, "expires_at") @@ -547,7 +566,7 @@ def expires_at(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="secretKey") def secret_key(self) -> pulumi.Output[str]: """ - The secret Key of the iam api key. + The secret Key of the IAM API key. """ return pulumi.get(self, "secret_key") @@ -555,7 +574,7 @@ def secret_key(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the iam api key. + The date and time of the last update of the IAM API key. """ return pulumi.get(self, "updated_at") @@ -563,8 +582,8 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="userId") def user_id(self) -> pulumi.Output[Optional[str]]: """ - ID of the user attached to the api key. - Only one of the `application_id` and `user_id` should be specified. + ID of the user attached to the API key. + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") diff --git a/sdk/python/pulumiverse_scaleway/iam_application.py b/sdk/python/pulumiverse_scaleway/iam_application.py index 3abd66c4..6dba861d 100644 --- a/sdk/python/pulumiverse_scaleway/iam_application.py +++ b/sdk/python/pulumiverse_scaleway/iam_application.py @@ -214,7 +214,7 @@ def __init__(__self__, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): """ - Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). + Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). ## Example Usage @@ -249,7 +249,7 @@ def __init__(__self__, args: Optional[IamApplicationArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). + Creates and manages Scaleway IAM Applications. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e). ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/iam_group.py b/sdk/python/pulumiverse_scaleway/iam_group.py index fb5ca45b..1c4d2b27 100644 --- a/sdk/python/pulumiverse_scaleway/iam_group.py +++ b/sdk/python/pulumiverse_scaleway/iam_group.py @@ -298,7 +298,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway IAM Groups. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). ## Example Usage @@ -354,7 +354,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway IAM Groups. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/iam_group_membership.py b/sdk/python/pulumiverse_scaleway/iam_group_membership.py index 63556ed5..a94b938e 100644 --- a/sdk/python/pulumiverse_scaleway/iam_group_membership.py +++ b/sdk/python/pulumiverse_scaleway/iam_group_membership.py @@ -23,7 +23,7 @@ def __init__(__self__, *, :param pulumi.Input[str] application_id: The ID of the application that will be added to the group. :param pulumi.Input[str] user_id: The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ pulumi.set(__self__, "group_id", group_id) if application_id is not None: @@ -61,7 +61,7 @@ def user_id(self) -> Optional[pulumi.Input[str]]: """ The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") @@ -82,7 +82,7 @@ def __init__(__self__, *, :param pulumi.Input[str] group_id: ID of the group to add members to. :param pulumi.Input[str] user_id: The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ if application_id is not None: pulumi.set(__self__, "application_id", application_id) @@ -121,7 +121,7 @@ def user_id(self) -> Optional[pulumi.Input[str]]: """ The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") @@ -141,7 +141,7 @@ def __init__(__self__, __props__=None): """ Add members to an IAM group. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). ## Example Usage @@ -178,7 +178,7 @@ def __init__(__self__, :param pulumi.Input[str] group_id: ID of the group to add members to. :param pulumi.Input[str] user_id: The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ ... @overload @@ -188,7 +188,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Add members to an IAM group. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb). ## Example Usage @@ -275,7 +275,7 @@ def get(resource_name: str, :param pulumi.Input[str] group_id: ID of the group to add members to. :param pulumi.Input[str] user_id: The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -308,7 +308,7 @@ def user_id(self) -> pulumi.Output[Optional[str]]: """ The ID of the user that will be added to the group - - > Only one of `application_id` or `user_id` must be specified + > **Note** You must specify at least one: `application_id` and/or `user_id`. """ return pulumi.get(self, "user_id") diff --git a/sdk/python/pulumiverse_scaleway/iam_policy.py b/sdk/python/pulumiverse_scaleway/iam_policy.py index 2d6a6bec..4ab0b72f 100644 --- a/sdk/python/pulumiverse_scaleway/iam_policy.py +++ b/sdk/python/pulumiverse_scaleway/iam_policy.py @@ -28,16 +28,16 @@ def __init__(__self__, *, """ The set of arguments for constructing a IamPolicy resource. :param pulumi.Input[Sequence[pulumi.Input['IamPolicyRuleArgs']]] rules: List of rules in the policy. - :param pulumi.Input[str] application_id: ID of the Application the policy will be linked to - :param pulumi.Input[str] description: The description of the iam policy. - :param pulumi.Input[str] group_id: ID of the Group the policy will be linked to - :param pulumi.Input[str] name: The name of the iam policy. + :param pulumi.Input[str] application_id: ID of the application the policy will be linked to + :param pulumi.Input[str] description: The description of the IAM policy. + :param pulumi.Input[str] group_id: ID of the group the policy will be linked to + :param pulumi.Input[str] name: The name of the IAM policy. :param pulumi.Input[bool] no_principal: If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the policy is associated with. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the iam policy. - :param pulumi.Input[str] user_id: ID of the User the policy will be linked to + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IAM policy. + :param pulumi.Input[str] user_id: ID of the user the policy will be linked to """ pulumi.set(__self__, "rules", rules) if application_id is not None: @@ -73,7 +73,7 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['IamPolicyRuleArgs']]] @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the Application the policy will be linked to + ID of the application the policy will be linked to """ return pulumi.get(self, "application_id") @@ -85,7 +85,7 @@ def application_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the iam policy. + The description of the IAM policy. """ return pulumi.get(self, "description") @@ -97,7 +97,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="groupId") def group_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the Group the policy will be linked to + ID of the group the policy will be linked to """ return pulumi.get(self, "group_id") @@ -109,7 +109,7 @@ def group_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the iam policy. + The name of the IAM policy. """ return pulumi.get(self, "name") @@ -123,7 +123,7 @@ def no_principal(self) -> Optional[pulumi.Input[bool]]: """ If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. """ return pulumi.get(self, "no_principal") @@ -147,7 +147,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the iam policy. + The tags associated with the IAM policy. """ return pulumi.get(self, "tags") @@ -159,7 +159,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the User the policy will be linked to + ID of the user the policy will be linked to """ return pulumi.get(self, "user_id") @@ -185,20 +185,20 @@ def __init__(__self__, *, user_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering IamPolicy resources. - :param pulumi.Input[str] application_id: ID of the Application the policy will be linked to + :param pulumi.Input[str] application_id: ID of the application the policy will be linked to :param pulumi.Input[str] created_at: The date and time of the creation of the policy. - :param pulumi.Input[str] description: The description of the iam policy. + :param pulumi.Input[str] description: The description of the IAM policy. :param pulumi.Input[bool] editable: Whether the policy is editable. - :param pulumi.Input[str] group_id: ID of the Group the policy will be linked to - :param pulumi.Input[str] name: The name of the iam policy. + :param pulumi.Input[str] group_id: ID of the group the policy will be linked to + :param pulumi.Input[str] name: The name of the IAM policy. :param pulumi.Input[bool] no_principal: If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the policy is associated with. :param pulumi.Input[Sequence[pulumi.Input['IamPolicyRuleArgs']]] rules: List of rules in the policy. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the iam policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IAM policy. :param pulumi.Input[str] updated_at: The date and time of the last update of the policy. - :param pulumi.Input[str] user_id: ID of the User the policy will be linked to + :param pulumi.Input[str] user_id: ID of the user the policy will be linked to """ if application_id is not None: pulumi.set(__self__, "application_id", application_id) @@ -229,7 +229,7 @@ def __init__(__self__, *, @pulumi.getter(name="applicationId") def application_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the Application the policy will be linked to + ID of the application the policy will be linked to """ return pulumi.get(self, "application_id") @@ -253,7 +253,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the iam policy. + The description of the IAM policy. """ return pulumi.get(self, "description") @@ -277,7 +277,7 @@ def editable(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="groupId") def group_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the Group the policy will be linked to + ID of the group the policy will be linked to """ return pulumi.get(self, "group_id") @@ -289,7 +289,7 @@ def group_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the iam policy. + The name of the IAM policy. """ return pulumi.get(self, "name") @@ -303,7 +303,7 @@ def no_principal(self) -> Optional[pulumi.Input[bool]]: """ If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. """ return pulumi.get(self, "no_principal") @@ -339,7 +339,7 @@ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IamPolicyRul @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the iam policy. + The tags associated with the IAM policy. """ return pulumi.get(self, "tags") @@ -363,7 +363,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the User the policy will be linked to + ID of the user the policy will be linked to """ return pulumi.get(self, "user_id") @@ -388,7 +388,7 @@ def __init__(__self__, user_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7). + Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy). > You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/). @@ -440,17 +440,17 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] application_id: ID of the Application the policy will be linked to - :param pulumi.Input[str] description: The description of the iam policy. - :param pulumi.Input[str] group_id: ID of the Group the policy will be linked to - :param pulumi.Input[str] name: The name of the iam policy. + :param pulumi.Input[str] application_id: ID of the application the policy will be linked to + :param pulumi.Input[str] description: The description of the IAM policy. + :param pulumi.Input[str] group_id: ID of the group the policy will be linked to + :param pulumi.Input[str] name: The name of the IAM policy. :param pulumi.Input[bool] no_principal: If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the policy is associated with. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IamPolicyRuleArgs']]]] rules: List of rules in the policy. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the iam policy. - :param pulumi.Input[str] user_id: ID of the User the policy will be linked to + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IAM policy. + :param pulumi.Input[str] user_id: ID of the user the policy will be linked to """ ... @overload @@ -459,7 +459,7 @@ def __init__(__self__, args: IamPolicyArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7). + Creates and manages Scaleway IAM Policies. For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#path-policies-create-a-new-policy). > You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/). @@ -585,20 +585,20 @@ def get(resource_name: str, :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] application_id: ID of the Application the policy will be linked to + :param pulumi.Input[str] application_id: ID of the application the policy will be linked to :param pulumi.Input[str] created_at: The date and time of the creation of the policy. - :param pulumi.Input[str] description: The description of the iam policy. + :param pulumi.Input[str] description: The description of the IAM policy. :param pulumi.Input[bool] editable: Whether the policy is editable. - :param pulumi.Input[str] group_id: ID of the Group the policy will be linked to - :param pulumi.Input[str] name: The name of the iam policy. + :param pulumi.Input[str] group_id: ID of the group the policy will be linked to + :param pulumi.Input[str] name: The name of the IAM policy. :param pulumi.Input[bool] no_principal: If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the policy is associated with. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IamPolicyRuleArgs']]]] rules: List of rules in the policy. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the iam policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IAM policy. :param pulumi.Input[str] updated_at: The date and time of the last update of the policy. - :param pulumi.Input[str] user_id: ID of the User the policy will be linked to + :param pulumi.Input[str] user_id: ID of the user the policy will be linked to """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -622,7 +622,7 @@ def get(resource_name: str, @pulumi.getter(name="applicationId") def application_id(self) -> pulumi.Output[Optional[str]]: """ - ID of the Application the policy will be linked to + ID of the application the policy will be linked to """ return pulumi.get(self, "application_id") @@ -638,7 +638,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: """ - The description of the iam policy. + The description of the IAM policy. """ return pulumi.get(self, "description") @@ -654,7 +654,7 @@ def editable(self) -> pulumi.Output[bool]: @pulumi.getter(name="groupId") def group_id(self) -> pulumi.Output[Optional[str]]: """ - ID of the Group the policy will be linked to + ID of the group the policy will be linked to """ return pulumi.get(self, "group_id") @@ -662,7 +662,7 @@ def group_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the iam policy. + The name of the IAM policy. """ return pulumi.get(self, "name") @@ -672,7 +672,7 @@ def no_principal(self) -> pulumi.Output[Optional[bool]]: """ If the policy doesn't apply to a principal. - > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. + > **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set. """ return pulumi.get(self, "no_principal") @@ -696,7 +696,7 @@ def rules(self) -> pulumi.Output[Sequence['outputs.IamPolicyRule']]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the iam policy. + The tags associated with the IAM policy. """ return pulumi.get(self, "tags") @@ -712,7 +712,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="userId") def user_id(self) -> pulumi.Output[Optional[str]]: """ - ID of the User the policy will be linked to + ID of the user the policy will be linked to """ return pulumi.get(self, "user_id") diff --git a/sdk/python/pulumiverse_scaleway/iam_ssh_key.py b/sdk/python/pulumiverse_scaleway/iam_ssh_key.py index d6ef32e1..b0be51e8 100644 --- a/sdk/python/pulumiverse_scaleway/iam_ssh_key.py +++ b/sdk/python/pulumiverse_scaleway/iam_ssh_key.py @@ -234,8 +234,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway IAM SSH Keys. - For more information, - see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). ## Example Usage @@ -272,8 +271,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway IAM SSH Keys. - For more information, - see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). + For more information refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4). ## Example Usage diff --git a/sdk/python/pulumiverse_scaleway/iam_user.py b/sdk/python/pulumiverse_scaleway/iam_user.py index 56eff566..b0cf0ac6 100644 --- a/sdk/python/pulumiverse_scaleway/iam_user.py +++ b/sdk/python/pulumiverse_scaleway/iam_user.py @@ -66,15 +66,15 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering IamUser resources. :param pulumi.Input[str] account_root_user_id: The ID of the account root user associated with the user. - :param pulumi.Input[str] created_at: The date and time of the creation of the iam user. - :param pulumi.Input[bool] deletable: Whether the iam user is deletable. + :param pulumi.Input[str] created_at: The date and time of the creation of the IAM user. + :param pulumi.Input[bool] deletable: Whether the IAM user is deletable. :param pulumi.Input[str] email: The email of the IAM user. :param pulumi.Input[str] last_login_at: The date of the last login. :param pulumi.Input[bool] mfa: Whether the MFA is enabled. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with. - :param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). - :param pulumi.Input[str] type: The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). - :param pulumi.Input[str] updated_at: The date and time of the last update of the iam user. + :param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + :param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + :param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user. """ if account_root_user_id is not None: pulumi.set(__self__, "account_root_user_id", account_root_user_id) @@ -113,7 +113,7 @@ def account_root_user_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the iam user. + The date and time of the creation of the IAM user. """ return pulumi.get(self, "created_at") @@ -125,7 +125,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def deletable(self) -> Optional[pulumi.Input[bool]]: """ - Whether the iam user is deletable. + Whether the IAM user is deletable. """ return pulumi.get(self, "deletable") @@ -185,7 +185,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ - The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). """ return pulumi.get(self, "status") @@ -197,7 +197,7 @@ def status(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). """ return pulumi.get(self, "type") @@ -209,7 +209,7 @@ def type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the iam user. + The date and time of the last update of the IAM user. """ return pulumi.get(self, "updated_at") @@ -353,15 +353,15 @@ def get(resource_name: str, :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_root_user_id: The ID of the account root user associated with the user. - :param pulumi.Input[str] created_at: The date and time of the creation of the iam user. - :param pulumi.Input[bool] deletable: Whether the iam user is deletable. + :param pulumi.Input[str] created_at: The date and time of the creation of the IAM user. + :param pulumi.Input[bool] deletable: Whether the IAM user is deletable. :param pulumi.Input[str] email: The email of the IAM user. :param pulumi.Input[str] last_login_at: The date of the last login. :param pulumi.Input[bool] mfa: Whether the MFA is enabled. :param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with. - :param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). - :param pulumi.Input[str] type: The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). - :param pulumi.Input[str] updated_at: The date and time of the last update of the iam user. + :param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + :param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + :param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -391,7 +391,7 @@ def account_root_user_id(self) -> pulumi.Output[str]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the iam user. + The date and time of the creation of the IAM user. """ return pulumi.get(self, "created_at") @@ -399,7 +399,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter def deletable(self) -> pulumi.Output[bool]: """ - Whether the iam user is deletable. + Whether the IAM user is deletable. """ return pulumi.get(self, "deletable") @@ -439,7 +439,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). """ return pulumi.get(self, "status") @@ -447,7 +447,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). + The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). """ return pulumi.get(self, "type") @@ -455,7 +455,7 @@ def type(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the iam user. + The date and time of the last update of the IAM user. """ return pulumi.get(self, "updated_at") diff --git a/sdk/python/pulumiverse_scaleway/ipam_ip.py b/sdk/python/pulumiverse_scaleway/ipam_ip.py index d86bfe40..ab1df547 100644 --- a/sdk/python/pulumiverse_scaleway/ipam_ip.py +++ b/sdk/python/pulumiverse_scaleway/ipam_ip.py @@ -26,8 +26,8 @@ def __init__(__self__, *, The set of arguments for constructing a IpamIp resource. :param pulumi.Input[Sequence[pulumi.Input['IpamIpSourceArgs']]] sources: The source in which to book the IP. :param pulumi.Input[str] address: Request a specific IP in the requested source pool - :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 instead of an IPv4. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: `region`) The region of the IP. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IP. """ @@ -71,7 +71,7 @@ def address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="isIpv6") def is_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to request an IPv6 instead of an IPv4. + Defines whether to request an IPv6 address instead of IPv4. """ return pulumi.get(self, "is_ipv6") @@ -83,7 +83,7 @@ def is_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") @@ -134,11 +134,11 @@ def __init__(__self__, *, Input properties used for looking up and filtering IpamIp resources. :param pulumi.Input[str] address: Request a specific IP in the requested source pool :param pulumi.Input[str] created_at: Date and time of IP's creation (RFC 3339 format). - :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 instead of an IPv4. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: `region`) The region of the IP. :param pulumi.Input[Sequence[pulumi.Input['IpamIpResourceArgs']]] resources: The IP resource. - :param pulumi.Input[Sequence[pulumi.Input['IpamIpReverseArgs']]] reverses: The reverses DNS for this IP. + :param pulumi.Input[Sequence[pulumi.Input['IpamIpReverseArgs']]] reverses: The reverse DNS for this IP. :param pulumi.Input[Sequence[pulumi.Input['IpamIpSourceArgs']]] sources: The source in which to book the IP. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IP. :param pulumi.Input[str] updated_at: Date and time of IP's last update (RFC 3339 format). @@ -195,7 +195,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="isIpv6") def is_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to request an IPv6 instead of an IPv4. + Defines whether to request an IPv6 address instead of IPv4. """ return pulumi.get(self, "is_ipv6") @@ -207,7 +207,7 @@ def is_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") @@ -243,7 +243,7 @@ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpRe @pulumi.getter def reverses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpReverseArgs']]]]: """ - The reverses DNS for this IP. + The reverse DNS for this IP. """ return pulumi.get(self, "reverses") @@ -313,7 +313,9 @@ def __init__(__self__, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): """ - Books and manages Scaleway IPAM IPs. + Books and manages IPAM IPs. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Example Usage @@ -334,7 +336,7 @@ def __init__(__self__, )]) ``` - ### Request a specific IPv4 + ### Request a specific IPv4 address ```python import pulumi @@ -353,7 +355,7 @@ def __init__(__self__, )]) ``` - ### Request an IPv6 + ### Request an IPv6 address ```python import pulumi @@ -374,7 +376,7 @@ def __init__(__self__, ## Import - IPAM IPs can be imported using the `{region}/{id}`, e.g. + IPAM IPs can be imported using `{region}/{id}`, e.g. bash @@ -385,8 +387,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] address: Request a specific IP in the requested source pool - :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 instead of an IPv4. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: `region`) The region of the IP. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpamIpSourceArgs']]]] sources: The source in which to book the IP. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IP. @@ -398,7 +400,9 @@ def __init__(__self__, args: IpamIpArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Books and manages Scaleway IPAM IPs. + Books and manages IPAM IPs. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Example Usage @@ -419,7 +423,7 @@ def __init__(__self__, )]) ``` - ### Request a specific IPv4 + ### Request a specific IPv4 address ```python import pulumi @@ -438,7 +442,7 @@ def __init__(__self__, )]) ``` - ### Request an IPv6 + ### Request an IPv6 address ```python import pulumi @@ -459,7 +463,7 @@ def __init__(__self__, ## Import - IPAM IPs can be imported using the `{region}/{id}`, e.g. + IPAM IPs can be imported using `{region}/{id}`, e.g. bash @@ -540,11 +544,11 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] address: Request a specific IP in the requested source pool :param pulumi.Input[str] created_at: Date and time of IP's creation (RFC 3339 format). - :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 instead of an IPv4. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: `region`) The region of the IP. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpamIpResourceArgs']]]] resources: The IP resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpamIpReverseArgs']]]] reverses: The reverses DNS for this IP. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpamIpReverseArgs']]]] reverses: The reverse DNS for this IP. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpamIpSourceArgs']]]] sources: The source in which to book the IP. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the IP. :param pulumi.Input[str] updated_at: Date and time of IP's last update (RFC 3339 format). @@ -587,7 +591,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="isIpv6") def is_ipv6(self) -> pulumi.Output[Optional[bool]]: """ - Defines whether to request an IPv6 instead of an IPv4. + Defines whether to request an IPv6 address instead of IPv4. """ return pulumi.get(self, "is_ipv6") @@ -595,7 +599,7 @@ def is_ipv6(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") @@ -619,7 +623,7 @@ def resources(self) -> pulumi.Output[Sequence['outputs.IpamIpResource']]: @pulumi.getter def reverses(self) -> pulumi.Output[Sequence['outputs.IpamIpReverse']]: """ - The reverses DNS for this IP. + The reverse DNS for this IP. """ return pulumi.get(self, "reverses") diff --git a/sdk/python/pulumiverse_scaleway/ipam_ip_reverse_dns.py b/sdk/python/pulumiverse_scaleway/ipam_ip_reverse_dns.py index 309335c0..0065466f 100644 --- a/sdk/python/pulumiverse_scaleway/ipam_ip_reverse_dns.py +++ b/sdk/python/pulumiverse_scaleway/ipam_ip_reverse_dns.py @@ -163,11 +163,13 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Manages Scaleway IPAM IP Reverse DNS. + Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Import - IPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g. + IPAM IP reverse DNS can be imported using `{region}/{id}`, e.g. bash @@ -189,11 +191,13 @@ def __init__(__self__, args: IpamIpReverseDnsArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Manages Scaleway IPAM IP Reverse DNS. + Manage the reverse DNS of IP addresses managed by Scaleway's IP Address Management (IPAM) service. + + For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam). ## Import - IPAM IP reverse DNS can be imported using the `{region}/{id}`, e.g. + IPAM IP reverse DNS can be imported using `{region}/{id}`, e.g. bash diff --git a/sdk/python/pulumiverse_scaleway/kubernetes_cluster.py b/sdk/python/pulumiverse_scaleway/kubernetes_cluster.py index 84070388..f3e275b3 100644 --- a/sdk/python/pulumiverse_scaleway/kubernetes_cluster.py +++ b/sdk/python/pulumiverse_scaleway/kubernetes_cluster.py @@ -755,14 +755,14 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - hedy = scaleway.VpcPrivateNetwork("hedy") - jack = scaleway.KubernetesCluster("jack", - version="1.24.3", + pn = scaleway.VpcPrivateNetwork("pn") + cluster = scaleway.KubernetesCluster("cluster", + version="1.29.1", cni="cilium", - private_network_id=hedy.id, + private_network_id=pn.id, delete_additional_resources=False) - john = scaleway.KubernetesNodePool("john", - cluster_id=jack.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="DEV1-M", size=1) ``` @@ -773,13 +773,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - henry = scaleway.KubernetesCluster("henry", + cluster = scaleway.KubernetesCluster("cluster", type="multicloud", - version="1.24.3", + version="1.29.1", cni="kilo", delete_additional_resources=False) - friend_from_outer_space = scaleway.KubernetesNodePool("friendFromOuterSpace", - cluster_id=henry.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="external", size=0, min_size=0) @@ -793,16 +793,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - hedy = scaleway.VpcPrivateNetwork("hedy") - john_kubernetes_cluster = scaleway.KubernetesCluster("johnKubernetesCluster", - description="my awesome cluster", - version="1.24.3", + pn = scaleway.VpcPrivateNetwork("pn") + cluster = scaleway.KubernetesCluster("cluster", + description="cluster made in terraform", + version="1.29.1", cni="calico", - tags=[ - "i'm an awesome tag", - "yay", - ], - private_network_id=hedy.id, + tags=["terraform"], + private_network_id=pn.id, delete_additional_resources=False, autoscaler_config=scaleway.KubernetesClusterAutoscalerConfigArgs( disable_scale_down=False, @@ -813,8 +810,8 @@ def __init__(__self__, balance_similar_node_groups=True, expendable_pods_priority_cutoff=-5, )) - john_kubernetes_node_pool = scaleway.KubernetesNodePool("johnKubernetesNodePool", - cluster_id=john_kubernetes_cluster.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="DEV1-M", size=3, autoscaling=True, @@ -883,14 +880,14 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - hedy = scaleway.VpcPrivateNetwork("hedy") - jack = scaleway.KubernetesCluster("jack", - version="1.24.3", + pn = scaleway.VpcPrivateNetwork("pn") + cluster = scaleway.KubernetesCluster("cluster", + version="1.29.1", cni="cilium", - private_network_id=hedy.id, + private_network_id=pn.id, delete_additional_resources=False) - john = scaleway.KubernetesNodePool("john", - cluster_id=jack.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="DEV1-M", size=1) ``` @@ -901,13 +898,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - henry = scaleway.KubernetesCluster("henry", + cluster = scaleway.KubernetesCluster("cluster", type="multicloud", - version="1.24.3", + version="1.29.1", cni="kilo", delete_additional_resources=False) - friend_from_outer_space = scaleway.KubernetesNodePool("friendFromOuterSpace", - cluster_id=henry.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="external", size=0, min_size=0) @@ -921,16 +918,13 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway - hedy = scaleway.VpcPrivateNetwork("hedy") - john_kubernetes_cluster = scaleway.KubernetesCluster("johnKubernetesCluster", - description="my awesome cluster", - version="1.24.3", + pn = scaleway.VpcPrivateNetwork("pn") + cluster = scaleway.KubernetesCluster("cluster", + description="cluster made in terraform", + version="1.29.1", cni="calico", - tags=[ - "i'm an awesome tag", - "yay", - ], - private_network_id=hedy.id, + tags=["terraform"], + private_network_id=pn.id, delete_additional_resources=False, autoscaler_config=scaleway.KubernetesClusterAutoscalerConfigArgs( disable_scale_down=False, @@ -941,8 +935,8 @@ def __init__(__self__, balance_similar_node_groups=True, expendable_pods_priority_cutoff=-5, )) - john_kubernetes_node_pool = scaleway.KubernetesNodePool("johnKubernetesNodePool", - cluster_id=john_kubernetes_cluster.id, + pool = scaleway.KubernetesNodePool("pool", + cluster_id=cluster.id, node_type="DEV1-M", size=3, autoscaling=True, diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer.py b/sdk/python/pulumiverse_scaleway/loadbalancer.py index 63f3bc61..ae818603 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer.py @@ -31,21 +31,21 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Loadbalancer resource. - :param pulumi.Input[str] type: The type of the load-balancer. Please check the migration section to upgrade the type. - :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the load-balancer. - :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the load-balancer. - :param pulumi.Input[str] description: The description of the load-balancer. - :param pulumi.Input[str] ip_id: The ID of the associated LB IP. See below. + :param pulumi.Input[str] type: The type of the Load Balancer. Please check the migration section to upgrade the type. + :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. + :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. + :param pulumi.Input[str] description: The description of the Load Balancer. + :param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer. - :param pulumi.Input[str] name: The name of the load-balancer. + :param pulumi.Input[str] name: The name of the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the load-balancer is associated with. - :param pulumi.Input[bool] release_ip: The release_ip allow release the ip address associated with the load-balancers. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with. + :param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer. :param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the load-balancers. - :param pulumi.Input[str] zone: `zone`) The zone of the load-balancer. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Load Balancer. + :param pulumi.Input[str] zone: `zone`) The zone of the Load Balancer. """ pulumi.set(__self__, "type", type) if assign_flexible_ip is not None: @@ -83,7 +83,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> pulumi.Input[str]: """ - The type of the load-balancer. Please check the migration section to upgrade the type. + The type of the Load Balancer. Please check the migration section to upgrade the type. """ return pulumi.get(self, "type") @@ -95,7 +95,7 @@ def type(self, value: pulumi.Input[str]): @pulumi.getter(name="assignFlexibleIp") def assign_flexible_ip(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to automatically assign a flexible public IP to the load-balancer. + Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ip") @@ -107,7 +107,7 @@ def assign_flexible_ip(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="assignFlexibleIpv6") def assign_flexible_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ipv6") @@ -119,7 +119,7 @@ def assign_flexible_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the load-balancer. + The description of the Load Balancer. """ return pulumi.get(self, "description") @@ -131,9 +131,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipId") def ip_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the associated LB IP. See below. + The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. """ warnings.warn("""Please use ip_ids""", DeprecationWarning) pulumi.log.warn("""ip_id is deprecated: Please use ip_ids""") @@ -160,7 +160,7 @@ def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the load-balancer. + The name of the Load Balancer. """ return pulumi.get(self, "name") @@ -184,7 +184,7 @@ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['L @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the load-balancer is associated with. + `project_id`) The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -196,7 +196,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="releaseIp") def release_ip(self) -> Optional[pulumi.Input[bool]]: """ - The release_ip allow release the ip address associated with the load-balancers. + The `release_ip` allow the release of the IP address associated with the Load Balancer. """ warnings.warn("""The resource ip will be destroyed by it's own resource. Please set this to `false`""", DeprecationWarning) pulumi.log.warn("""release_ip is deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false`""") @@ -223,7 +223,7 @@ def ssl_compatibility_level(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the load-balancers. + The tags associated with the Load Balancer. """ return pulumi.get(self, "tags") @@ -235,7 +235,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone of the load-balancer. + `zone`) The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -266,25 +266,25 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Loadbalancer resources. - :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the load-balancer. - :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the load-balancer. - :param pulumi.Input[str] description: The description of the load-balancer. - :param pulumi.Input[str] ip_address: The load-balancer public IPv4 Address. - :param pulumi.Input[str] ip_id: The ID of the associated LB IP. See below. + :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. + :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. + :param pulumi.Input[str] description: The description of the Load Balancer. + :param pulumi.Input[str] ip_address: The Load Balancer public IPv4 address. + :param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer. - :param pulumi.Input[str] ipv6_address: The load-balancer public IPv6 Address. - :param pulumi.Input[str] name: The name of the load-balancer. - :param pulumi.Input[str] organization_id: The organization ID the load-balancer is associated with. + :param pulumi.Input[str] ipv6_address: The Load Balancer public IPv6 address. + :param pulumi.Input[str] name: The name of the Load Balancer. + :param pulumi.Input[str] organization_id: The ID of the Organization ID the Load Balancer is associated with. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the load-balancer is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with. :param pulumi.Input[str] region: The region of the resource - :param pulumi.Input[bool] release_ip: The release_ip allow release the ip address associated with the load-balancers. + :param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer. :param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the load-balancers. - :param pulumi.Input[str] type: The type of the load-balancer. Please check the migration section to upgrade the type. - :param pulumi.Input[str] zone: `zone`) The zone of the load-balancer. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Load Balancer. + :param pulumi.Input[str] type: The type of the Load Balancer. Please check the migration section to upgrade the type. + :param pulumi.Input[str] zone: `zone`) The zone of the Load Balancer. """ if assign_flexible_ip is not None: pulumi.set(__self__, "assign_flexible_ip", assign_flexible_ip) @@ -331,7 +331,7 @@ def __init__(__self__, *, @pulumi.getter(name="assignFlexibleIp") def assign_flexible_ip(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to automatically assign a flexible public IP to the load-balancer. + Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ip") @@ -343,7 +343,7 @@ def assign_flexible_ip(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="assignFlexibleIpv6") def assign_flexible_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ipv6") @@ -355,7 +355,7 @@ def assign_flexible_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - The description of the load-balancer. + The description of the Load Balancer. """ return pulumi.get(self, "description") @@ -367,7 +367,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ - The load-balancer public IPv4 Address. + The Load Balancer public IPv4 address. """ return pulumi.get(self, "ip_address") @@ -379,9 +379,9 @@ def ip_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipId") def ip_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the associated LB IP. See below. + The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. """ warnings.warn("""Please use ip_ids""", DeprecationWarning) pulumi.log.warn("""ip_id is deprecated: Please use ip_ids""") @@ -408,7 +408,7 @@ def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="ipv6Address") def ipv6_address(self) -> Optional[pulumi.Input[str]]: """ - The load-balancer public IPv6 Address. + The Load Balancer public IPv6 address. """ return pulumi.get(self, "ipv6_address") @@ -420,7 +420,7 @@ def ipv6_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the load-balancer. + The name of the Load Balancer. """ return pulumi.get(self, "name") @@ -432,7 +432,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the load-balancer is associated with. + The ID of the Organization ID the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -456,7 +456,7 @@ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['L @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the load-balancer is associated with. + `project_id`) The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -480,7 +480,7 @@ def region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="releaseIp") def release_ip(self) -> Optional[pulumi.Input[bool]]: """ - The release_ip allow release the ip address associated with the load-balancers. + The `release_ip` allow the release of the IP address associated with the Load Balancer. """ warnings.warn("""The resource ip will be destroyed by it's own resource. Please set this to `false`""", DeprecationWarning) pulumi.log.warn("""release_ip is deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false`""") @@ -507,7 +507,7 @@ def ssl_compatibility_level(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the load-balancers. + The tags associated with the Load Balancer. """ return pulumi.get(self, "tags") @@ -519,7 +519,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - The type of the load-balancer. Please check the migration section to upgrade the type. + The type of the Load Balancer. Please check the migration section to upgrade the type. """ return pulumi.get(self, "type") @@ -531,7 +531,7 @@ def type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone of the load-balancer. + `zone`) The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -560,8 +560,9 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancers. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api). + Creates and manages Scaleway Load Balancers. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). ## Example Usage @@ -605,10 +606,63 @@ def __init__(__self__, type="LB-S") ``` + ### Multiple configurations + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + ### IP for Public Gateway + main_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp") + ### Scaleway Private Network + main_vpc_private_network = scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork") + ### VPC Public Gateway Network + main_vpc_public_gateway = scaleway.VpcPublicGateway("mainVpcPublicGateway", + type="VPC-GW-S", + ip_id=main_vpc_public_gateway_ip.id) + ### VPC Public Gateway Network DHCP config + main_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", subnet="10.0.0.0/24") + ### VPC Gateway Network + main_vpc_gateway_network = scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", + gateway_id=main_vpc_public_gateway.id, + private_network_id=main_vpc_private_network.id, + dhcp_id=main_vpc_public_gateway_dhcp.id, + cleanup_dhcp=True, + enable_masquerade=True) + ### Scaleway Instance + main_instance_server = scaleway.InstanceServer("mainInstanceServer", + type="DEV1-S", + image="debian_bullseye", + enable_ipv6=False, + private_networks=[scaleway.InstanceServerPrivateNetworkArgs( + pn_id=main_vpc_private_network.id, + )]) + ### IP for LB IP + main_loadbalancer_ip = scaleway.LoadbalancerIp("mainLoadbalancerIp") + ### Scaleway Private Network + main_index_vpc_private_network_vpc_private_network = scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork") + ### Scaleway Load Balancer + main_loadbalancer = scaleway.Loadbalancer("mainLoadbalancer", + ip_id=main_loadbalancer_ip.id, + type="LB-S", + private_networks=[scaleway.LoadbalancerPrivateNetworkArgs( + private_network_id=main_vpc_private_network.id, + dhcp_config=True, + )], + opts=pulumi.ResourceOptions(depends_on=[main_vpc_public_gateway])) + ``` + + ## Migration + + In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`. + This change will not recreate your Load Balancer. + + Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details + ## IP ID Since v1.15.0, `ip_id` is a required field. This means that now a separate `LoadbalancerIp` is required. - When importing, the IP needs to be imported as well as the LB. + When importing, the IP needs to be imported as well as the Load Balancer. When upgrading to v1.15.0, you will need to create a new `LoadbalancerIp` resource and import it. For instance, if you had the following: @@ -638,7 +692,7 @@ def __init__(__self__, ## Import - Load-Balancer can be imported using the `{zone}/{id}`, e.g. + Load Balancers can be imported using `{zone}/{id}`, e.g. bash @@ -650,21 +704,21 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the load-balancer. - :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the load-balancer. - :param pulumi.Input[str] description: The description of the load-balancer. - :param pulumi.Input[str] ip_id: The ID of the associated LB IP. See below. + :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. + :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. + :param pulumi.Input[str] description: The description of the Load Balancer. + :param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer. - :param pulumi.Input[str] name: The name of the load-balancer. + :param pulumi.Input[str] name: The name of the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadbalancerPrivateNetworkArgs']]]] private_networks: List of private network to connect with your load balancer - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the load-balancer is associated with. - :param pulumi.Input[bool] release_ip: The release_ip allow release the ip address associated with the load-balancers. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with. + :param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer. :param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the load-balancers. - :param pulumi.Input[str] type: The type of the load-balancer. Please check the migration section to upgrade the type. - :param pulumi.Input[str] zone: `zone`) The zone of the load-balancer. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Load Balancer. + :param pulumi.Input[str] type: The type of the Load Balancer. Please check the migration section to upgrade the type. + :param pulumi.Input[str] zone: `zone`) The zone of the Load Balancer. """ ... @overload @@ -673,8 +727,9 @@ def __init__(__self__, args: LoadbalancerArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancers. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api). + Creates and manages Scaleway Load Balancers. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). ## Example Usage @@ -718,10 +773,63 @@ def __init__(__self__, type="LB-S") ``` + ### Multiple configurations + + ```python + import pulumi + import pulumiverse_scaleway as scaleway + + ### IP for Public Gateway + main_vpc_public_gateway_ip = scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp") + ### Scaleway Private Network + main_vpc_private_network = scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork") + ### VPC Public Gateway Network + main_vpc_public_gateway = scaleway.VpcPublicGateway("mainVpcPublicGateway", + type="VPC-GW-S", + ip_id=main_vpc_public_gateway_ip.id) + ### VPC Public Gateway Network DHCP config + main_vpc_public_gateway_dhcp = scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", subnet="10.0.0.0/24") + ### VPC Gateway Network + main_vpc_gateway_network = scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", + gateway_id=main_vpc_public_gateway.id, + private_network_id=main_vpc_private_network.id, + dhcp_id=main_vpc_public_gateway_dhcp.id, + cleanup_dhcp=True, + enable_masquerade=True) + ### Scaleway Instance + main_instance_server = scaleway.InstanceServer("mainInstanceServer", + type="DEV1-S", + image="debian_bullseye", + enable_ipv6=False, + private_networks=[scaleway.InstanceServerPrivateNetworkArgs( + pn_id=main_vpc_private_network.id, + )]) + ### IP for LB IP + main_loadbalancer_ip = scaleway.LoadbalancerIp("mainLoadbalancerIp") + ### Scaleway Private Network + main_index_vpc_private_network_vpc_private_network = scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork") + ### Scaleway Load Balancer + main_loadbalancer = scaleway.Loadbalancer("mainLoadbalancer", + ip_id=main_loadbalancer_ip.id, + type="LB-S", + private_networks=[scaleway.LoadbalancerPrivateNetworkArgs( + private_network_id=main_vpc_private_network.id, + dhcp_config=True, + )], + opts=pulumi.ResourceOptions(depends_on=[main_vpc_public_gateway])) + ``` + + ## Migration + + In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`. + This change will not recreate your Load Balancer. + + Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details + ## IP ID Since v1.15.0, `ip_id` is a required field. This means that now a separate `LoadbalancerIp` is required. - When importing, the IP needs to be imported as well as the LB. + When importing, the IP needs to be imported as well as the Load Balancer. When upgrading to v1.15.0, you will need to create a new `LoadbalancerIp` resource and import it. For instance, if you had the following: @@ -751,7 +859,7 @@ def __init__(__self__, ## Import - Load-Balancer can be imported using the `{zone}/{id}`, e.g. + Load Balancers can be imported using `{zone}/{id}`, e.g. bash @@ -851,25 +959,25 @@ def get(resource_name: str, :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] assign_flexible_ip: Defines whether to automatically assign a flexible public IP to the load-balancer. - :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the load-balancer. - :param pulumi.Input[str] description: The description of the load-balancer. - :param pulumi.Input[str] ip_address: The load-balancer public IPv4 Address. - :param pulumi.Input[str] ip_id: The ID of the associated LB IP. See below. + :param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. + :param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. + :param pulumi.Input[str] description: The description of the Load Balancer. + :param pulumi.Input[str] ip_address: The Load Balancer public IPv4 address. + :param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer. - :param pulumi.Input[str] ipv6_address: The load-balancer public IPv6 Address. - :param pulumi.Input[str] name: The name of the load-balancer. - :param pulumi.Input[str] organization_id: The organization ID the load-balancer is associated with. + :param pulumi.Input[str] ipv6_address: The Load Balancer public IPv6 address. + :param pulumi.Input[str] name: The name of the Load Balancer. + :param pulumi.Input[str] organization_id: The ID of the Organization ID the Load Balancer is associated with. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadbalancerPrivateNetworkArgs']]]] private_networks: List of private network to connect with your load balancer - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the load-balancer is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with. :param pulumi.Input[str] region: The region of the resource - :param pulumi.Input[bool] release_ip: The release_ip allow release the ip address associated with the load-balancers. + :param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer. :param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer). - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the load-balancers. - :param pulumi.Input[str] type: The type of the load-balancer. Please check the migration section to upgrade the type. - :param pulumi.Input[str] zone: `zone`) The zone of the load-balancer. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Load Balancer. + :param pulumi.Input[str] type: The type of the Load Balancer. Please check the migration section to upgrade the type. + :param pulumi.Input[str] zone: `zone`) The zone of the Load Balancer. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -898,7 +1006,7 @@ def get(resource_name: str, @pulumi.getter(name="assignFlexibleIp") def assign_flexible_ip(self) -> pulumi.Output[Optional[bool]]: """ - Defines whether to automatically assign a flexible public IP to the load-balancer. + Defines whether to automatically assign a flexible public IPv4 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ip") @@ -906,7 +1014,7 @@ def assign_flexible_ip(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="assignFlexibleIpv6") def assign_flexible_ipv6(self) -> pulumi.Output[Optional[bool]]: """ - Defines whether to automatically assign a flexible public IPv6 to the load-balancer. + Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. """ return pulumi.get(self, "assign_flexible_ipv6") @@ -914,7 +1022,7 @@ def assign_flexible_ipv6(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: """ - The description of the load-balancer. + The description of the Load Balancer. """ return pulumi.get(self, "description") @@ -922,7 +1030,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Output[str]: """ - The load-balancer public IPv4 Address. + The Load Balancer public IPv4 address. """ return pulumi.get(self, "ip_address") @@ -930,9 +1038,9 @@ def ip_address(self) -> pulumi.Output[str]: @pulumi.getter(name="ipId") def ip_id(self) -> pulumi.Output[str]: """ - The ID of the associated LB IP. See below. + The ID of the associated Load Balancer IP. See below. - > **Important:** Updates to `ip_id` will recreate the load-balancer. + > **Important:** Updates to `ip_id` will recreate the Load Balancer. """ warnings.warn("""Please use ip_ids""", DeprecationWarning) pulumi.log.warn("""ip_id is deprecated: Please use ip_ids""") @@ -951,7 +1059,7 @@ def ip_ids(self) -> pulumi.Output[Sequence[str]]: @pulumi.getter(name="ipv6Address") def ipv6_address(self) -> pulumi.Output[str]: """ - The load-balancer public IPv6 Address. + The Load Balancer public IPv6 address. """ return pulumi.get(self, "ipv6_address") @@ -959,7 +1067,7 @@ def ipv6_address(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the load-balancer. + The name of the Load Balancer. """ return pulumi.get(self, "name") @@ -967,7 +1075,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the load-balancer is associated with. + The ID of the Organization ID the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -983,7 +1091,7 @@ def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.Loadbalan @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the load-balancer is associated with. + `project_id`) The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -999,7 +1107,7 @@ def region(self) -> pulumi.Output[str]: @pulumi.getter(name="releaseIp") def release_ip(self) -> pulumi.Output[Optional[bool]]: """ - The release_ip allow release the ip address associated with the load-balancers. + The `release_ip` allow the release of the IP address associated with the Load Balancer. """ warnings.warn("""The resource ip will be destroyed by it's own resource. Please set this to `false`""", DeprecationWarning) pulumi.log.warn("""release_ip is deprecated: The resource ip will be destroyed by it's own resource. Please set this to `false`""") @@ -1018,7 +1126,7 @@ def ssl_compatibility_level(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the load-balancers. + The tags associated with the Load Balancer. """ return pulumi.get(self, "tags") @@ -1026,7 +1134,7 @@ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The type of the load-balancer. Please check the migration section to upgrade the type. + The type of the Load Balancer. Please check the migration section to upgrade the type. """ return pulumi.get(self, "type") @@ -1034,7 +1142,7 @@ def type(self) -> pulumi.Output[str]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - `zone`) The zone of the load-balancer. + `zone`) The zone of the Load Balancer. """ return pulumi.get(self, "zone") diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer_acl.py b/sdk/python/pulumiverse_scaleway/loadbalancer_acl.py index 6ab2f4f5..5e0f7bac 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer_acl.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer_acl.py @@ -25,8 +25,8 @@ def __init__(__self__, *, """ The set of arguments for constructing a LoadbalancerAcl resource. :param pulumi.Input['LoadbalancerAclActionArgs'] action: Action to undertake when an ACL filter matches. - :param pulumi.Input[str] frontend_id: The load-balancer Frontend ID to attach the ACL to. - :param pulumi.Input[int] index: The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + :param pulumi.Input[str] frontend_id: The ID of the Load Balancer frontend to attach the ACL to. + :param pulumi.Input[int] index: The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param pulumi.Input[str] description: The ACL description. :param pulumi.Input['LoadbalancerAclMatchArgs'] match: The ACL match rule. At least `ip_subnet` or `http_filter` and `http_filter_value` are required. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. @@ -57,7 +57,7 @@ def action(self, value: pulumi.Input['LoadbalancerAclActionArgs']): @pulumi.getter(name="frontendId") def frontend_id(self) -> pulumi.Input[str]: """ - The load-balancer Frontend ID to attach the ACL to. + The ID of the Load Balancer frontend to attach the ACL to. """ return pulumi.get(self, "frontend_id") @@ -69,7 +69,7 @@ def frontend_id(self, value: pulumi.Input[str]): @pulumi.getter def index(self) -> pulumi.Input[int]: """ - The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). """ return pulumi.get(self, "index") @@ -130,8 +130,8 @@ def __init__(__self__, *, :param pulumi.Input['LoadbalancerAclActionArgs'] action: Action to undertake when an ACL filter matches. :param pulumi.Input[str] created_at: IsDate and time of ACL's creation (RFC 3339 format) :param pulumi.Input[str] description: The ACL description. - :param pulumi.Input[str] frontend_id: The load-balancer Frontend ID to attach the ACL to. - :param pulumi.Input[int] index: The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + :param pulumi.Input[str] frontend_id: The ID of the Load Balancer frontend to attach the ACL to. + :param pulumi.Input[int] index: The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param pulumi.Input['LoadbalancerAclMatchArgs'] match: The ACL match rule. At least `ip_subnet` or `http_filter` and `http_filter_value` are required. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. :param pulumi.Input[str] updated_at: IsDate and time of ACL's update (RFC 3339 format) @@ -193,7 +193,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="frontendId") def frontend_id(self) -> Optional[pulumi.Input[str]]: """ - The load-balancer Frontend ID to attach the ACL to. + The ID of the Load Balancer frontend to attach the ACL to. """ return pulumi.get(self, "frontend_id") @@ -205,7 +205,7 @@ def frontend_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def index(self) -> Optional[pulumi.Input[int]]: """ - The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). """ return pulumi.get(self, "index") @@ -263,7 +263,9 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls). + Creates and manages Scaleway Load Balancer ACLs. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). ## Example Usage @@ -291,7 +293,7 @@ def __init__(__self__, ## Import - Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. + Load Balancer ACLs can be imported using `{zone}/{id}`, e.g. bash @@ -303,8 +305,8 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['LoadbalancerAclActionArgs']] action: Action to undertake when an ACL filter matches. :param pulumi.Input[str] description: The ACL description. - :param pulumi.Input[str] frontend_id: The load-balancer Frontend ID to attach the ACL to. - :param pulumi.Input[int] index: The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + :param pulumi.Input[str] frontend_id: The ID of the Load Balancer frontend to attach the ACL to. + :param pulumi.Input[int] index: The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param pulumi.Input[pulumi.InputType['LoadbalancerAclMatchArgs']] match: The ACL match rule. At least `ip_subnet` or `http_filter` and `http_filter_value` are required. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. """ @@ -315,7 +317,9 @@ def __init__(__self__, args: LoadbalancerAclArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls). + Creates and manages Scaleway Load Balancer ACLs. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl). ## Example Usage @@ -343,7 +347,7 @@ def __init__(__self__, ## Import - Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. + Load Balancer ACLs can be imported using `{zone}/{id}`, e.g. bash @@ -423,8 +427,8 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['LoadbalancerAclActionArgs']] action: Action to undertake when an ACL filter matches. :param pulumi.Input[str] created_at: IsDate and time of ACL's creation (RFC 3339 format) :param pulumi.Input[str] description: The ACL description. - :param pulumi.Input[str] frontend_id: The load-balancer Frontend ID to attach the ACL to. - :param pulumi.Input[int] index: The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + :param pulumi.Input[str] frontend_id: The ID of the Load Balancer frontend to attach the ACL to. + :param pulumi.Input[int] index: The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). :param pulumi.Input[pulumi.InputType['LoadbalancerAclMatchArgs']] match: The ACL match rule. At least `ip_subnet` or `http_filter` and `http_filter_value` are required. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. :param pulumi.Input[str] updated_at: IsDate and time of ACL's update (RFC 3339 format) @@ -471,7 +475,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="frontendId") def frontend_id(self) -> pulumi.Output[str]: """ - The load-balancer Frontend ID to attach the ACL to. + The ID of the Load Balancer frontend to attach the ACL to. """ return pulumi.get(self, "frontend_id") @@ -479,7 +483,7 @@ def frontend_id(self) -> pulumi.Output[str]: @pulumi.getter def index(self) -> pulumi.Output[int]: """ - The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). + The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed). """ return pulumi.get(self, "index") diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer_backend.py b/sdk/python/pulumiverse_scaleway/loadbalancer_backend.py index 7aa561ee..c1829c4c 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer_backend.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer_backend.py @@ -1019,8 +1019,9 @@ def __init__(__self__, timeout_tunnel: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancer Backends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + Creates and manages Scaleway Load Balancer backends. + + or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). ## Example Usage @@ -1053,7 +1054,7 @@ def __init__(__self__, ## Import - Load-Balancer backend can be imported using the `{zone}/{id}`, e.g. + Load Balancer backends can be imported using `{zone}/{id}`, e.g. bash @@ -1100,8 +1101,9 @@ def __init__(__self__, args: LoadbalancerBackendArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancer Backends. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). + Creates and manages Scaleway Load Balancer backends. + + or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). ## Example Usage @@ -1134,7 +1136,7 @@ def __init__(__self__, ## Import - Load-Balancer backend can be imported using the `{zone}/{id}`, e.g. + Load Balancer backends can be imported using `{zone}/{id}`, e.g. bash diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer_frontend.py b/sdk/python/pulumiverse_scaleway/loadbalancer_frontend.py index ca4dd203..5ac1eae0 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer_frontend.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer_frontend.py @@ -27,20 +27,20 @@ def __init__(__self__, *, timeout_client: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a LoadbalancerFrontend resource. - :param pulumi.Input[str] backend_id: The load-balancer backend ID this frontend is attached to. + :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. - :param pulumi.Input[int] inbound_port: TCP port to listen on the front side. - :param pulumi.Input[str] lb_id: The load-balancer ID this frontend is attached to. - :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]] acls: A list of ACL rules to apply to the load-balancer frontend. Defined below. - :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of Certificate IDs that should be used by the frontend. + :param pulumi.Input[int] inbound_port: TCP port to listen to on the front side. + :param pulumi.Input[str] lb_id: The ID of the Load Balancer this frontend is attached to. + :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]] acls: A list of ACL rules to apply to the Load Balancer frontend. Defined below. + :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. :param pulumi.Input[bool] enable_http3: Activates HTTP/3 protocol. :param pulumi.Input[bool] external_acls: A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. - :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g.: `1s`) + :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g. `1s`) """ pulumi.set(__self__, "backend_id", backend_id) pulumi.set(__self__, "inbound_port", inbound_port) @@ -62,7 +62,7 @@ def __init__(__self__, *, @pulumi.getter(name="backendId") def backend_id(self) -> pulumi.Input[str]: """ - The load-balancer backend ID this frontend is attached to. + The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. """ @@ -76,7 +76,7 @@ def backend_id(self, value: pulumi.Input[str]): @pulumi.getter(name="inboundPort") def inbound_port(self) -> pulumi.Input[int]: """ - TCP port to listen on the front side. + TCP port to listen to on the front side. """ return pulumi.get(self, "inbound_port") @@ -88,7 +88,7 @@ def inbound_port(self, value: pulumi.Input[int]): @pulumi.getter(name="lbId") def lb_id(self) -> pulumi.Input[str]: """ - The load-balancer ID this frontend is attached to. + The ID of the Load Balancer this frontend is attached to. """ return pulumi.get(self, "lb_id") @@ -100,7 +100,7 @@ def lb_id(self, value: pulumi.Input[str]): @pulumi.getter def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]]]: """ - A list of ACL rules to apply to the load-balancer frontend. Defined below. + A list of ACL rules to apply to the Load Balancer frontend. Defined below. """ return pulumi.get(self, "acls") @@ -112,7 +112,7 @@ def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerF @pulumi.getter(name="certificateIds") def certificate_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - List of Certificate IDs that should be used by the frontend. + List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. """ @@ -139,7 +139,7 @@ def enable_http3(self, value: Optional[pulumi.Input[bool]]): def external_acls(self) -> Optional[pulumi.Input[bool]]: """ A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. """ return pulumi.get(self, "external_acls") @@ -163,7 +163,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="timeoutClient") def timeout_client(self) -> Optional[pulumi.Input[str]]: """ - Maximum inactivity time on the client side. (e.g.: `1s`) + Maximum inactivity time on the client side. (e.g. `1s`) """ return pulumi.get(self, "timeout_client") @@ -187,21 +187,21 @@ def __init__(__self__, *, timeout_client: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering LoadbalancerFrontend resources. - :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]] acls: A list of ACL rules to apply to the load-balancer frontend. Defined below. - :param pulumi.Input[str] backend_id: The load-balancer backend ID this frontend is attached to. + :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]] acls: A list of ACL rules to apply to the Load Balancer frontend. Defined below. + :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. - :param pulumi.Input[str] certificate_id: (Deprecated) first certificate ID used by the frontend. - :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of Certificate IDs that should be used by the frontend. + :param pulumi.Input[str] certificate_id: (Deprecated) First certificate ID used by the frontend. + :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. :param pulumi.Input[bool] enable_http3: Activates HTTP/3 protocol. :param pulumi.Input[bool] external_acls: A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. - :param pulumi.Input[int] inbound_port: TCP port to listen on the front side. - :param pulumi.Input[str] lb_id: The load-balancer ID this frontend is attached to. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. + :param pulumi.Input[int] inbound_port: TCP port to listen to on the front side. + :param pulumi.Input[str] lb_id: The ID of the Load Balancer this frontend is attached to. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. - :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g.: `1s`) + :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g. `1s`) """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -231,7 +231,7 @@ def __init__(__self__, *, @pulumi.getter def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclArgs']]]]: """ - A list of ACL rules to apply to the load-balancer frontend. Defined below. + A list of ACL rules to apply to the Load Balancer frontend. Defined below. """ return pulumi.get(self, "acls") @@ -243,7 +243,7 @@ def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerF @pulumi.getter(name="backendId") def backend_id(self) -> Optional[pulumi.Input[str]]: """ - The load-balancer backend ID this frontend is attached to. + The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. """ @@ -257,7 +257,7 @@ def backend_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="certificateId") def certificate_id(self) -> Optional[pulumi.Input[str]]: """ - (Deprecated) first certificate ID used by the frontend. + (Deprecated) First certificate ID used by the frontend. """ warnings.warn("""Please use certificate_ids""", DeprecationWarning) pulumi.log.warn("""certificate_id is deprecated: Please use certificate_ids""") @@ -272,7 +272,7 @@ def certificate_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="certificateIds") def certificate_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - List of Certificate IDs that should be used by the frontend. + List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. """ @@ -299,7 +299,7 @@ def enable_http3(self, value: Optional[pulumi.Input[bool]]): def external_acls(self) -> Optional[pulumi.Input[bool]]: """ A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. """ return pulumi.get(self, "external_acls") @@ -311,7 +311,7 @@ def external_acls(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="inboundPort") def inbound_port(self) -> Optional[pulumi.Input[int]]: """ - TCP port to listen on the front side. + TCP port to listen to on the front side. """ return pulumi.get(self, "inbound_port") @@ -323,7 +323,7 @@ def inbound_port(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="lbId") def lb_id(self) -> Optional[pulumi.Input[str]]: """ - The load-balancer ID this frontend is attached to. + The ID of the Load Balancer this frontend is attached to. """ return pulumi.get(self, "lb_id") @@ -347,7 +347,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="timeoutClient") def timeout_client(self) -> Optional[pulumi.Input[str]]: """ - Maximum inactivity time on the client side. (e.g.: `1s`) + Maximum inactivity time on the client side. (e.g. `1s`) """ return pulumi.get(self, "timeout_client") @@ -372,7 +372,9 @@ def __init__(__self__, timeout_client: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + Creates and manages Scaleway Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -477,7 +479,7 @@ def __init__(__self__, ## Import - Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + Load Balancer frontends can be imported using `{zone}/{id}`, e.g. bash @@ -487,20 +489,20 @@ def __init__(__self__, :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['LoadbalancerFrontendAclArgs']]]] acls: A list of ACL rules to apply to the load-balancer frontend. Defined below. - :param pulumi.Input[str] backend_id: The load-balancer backend ID this frontend is attached to. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadbalancerFrontendAclArgs']]]] acls: A list of ACL rules to apply to the Load Balancer frontend. Defined below. + :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. - :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of Certificate IDs that should be used by the frontend. + :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. :param pulumi.Input[bool] enable_http3: Activates HTTP/3 protocol. :param pulumi.Input[bool] external_acls: A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. - :param pulumi.Input[int] inbound_port: TCP port to listen on the front side. - :param pulumi.Input[str] lb_id: The load-balancer ID this frontend is attached to. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. + :param pulumi.Input[int] inbound_port: TCP port to listen to on the front side. + :param pulumi.Input[str] lb_id: The ID of the Load Balancer this frontend is attached to. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. - :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g.: `1s`) + :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g. `1s`) """ ... @overload @@ -509,7 +511,9 @@ def __init__(__self__, args: LoadbalancerFrontendArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). + Creates and manages Scaleway Load Balancer frontends. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends). ## Example Usage @@ -614,7 +618,7 @@ def __init__(__self__, ## Import - Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + Load Balancer frontends can be imported using `{zone}/{id}`, e.g. bash @@ -698,21 +702,21 @@ def get(resource_name: str, :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['LoadbalancerFrontendAclArgs']]]] acls: A list of ACL rules to apply to the load-balancer frontend. Defined below. - :param pulumi.Input[str] backend_id: The load-balancer backend ID this frontend is attached to. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadbalancerFrontendAclArgs']]]] acls: A list of ACL rules to apply to the Load Balancer frontend. Defined below. + :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. - :param pulumi.Input[str] certificate_id: (Deprecated) first certificate ID used by the frontend. - :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of Certificate IDs that should be used by the frontend. + :param pulumi.Input[str] certificate_id: (Deprecated) First certificate ID used by the frontend. + :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. :param pulumi.Input[bool] enable_http3: Activates HTTP/3 protocol. :param pulumi.Input[bool] external_acls: A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. - :param pulumi.Input[int] inbound_port: TCP port to listen on the front side. - :param pulumi.Input[str] lb_id: The load-balancer ID this frontend is attached to. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. + :param pulumi.Input[int] inbound_port: TCP port to listen to on the front side. + :param pulumi.Input[str] lb_id: The ID of the Load Balancer this frontend is attached to. :param pulumi.Input[str] name: The ACL name. If not provided it will be randomly generated. - :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g.: `1s`) + :param pulumi.Input[str] timeout_client: Maximum inactivity time on the client side. (e.g. `1s`) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -734,7 +738,7 @@ def get(resource_name: str, @pulumi.getter def acls(self) -> pulumi.Output[Optional[Sequence['outputs.LoadbalancerFrontendAcl']]]: """ - A list of ACL rules to apply to the load-balancer frontend. Defined below. + A list of ACL rules to apply to the Load Balancer frontend. Defined below. """ return pulumi.get(self, "acls") @@ -742,7 +746,7 @@ def acls(self) -> pulumi.Output[Optional[Sequence['outputs.LoadbalancerFrontendA @pulumi.getter(name="backendId") def backend_id(self) -> pulumi.Output[str]: """ - The load-balancer backend ID this frontend is attached to. + The ID of the Load Balancer backend this frontend is attached to. > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend. """ @@ -752,7 +756,7 @@ def backend_id(self) -> pulumi.Output[str]: @pulumi.getter(name="certificateId") def certificate_id(self) -> pulumi.Output[str]: """ - (Deprecated) first certificate ID used by the frontend. + (Deprecated) First certificate ID used by the frontend. """ warnings.warn("""Please use certificate_ids""", DeprecationWarning) pulumi.log.warn("""certificate_id is deprecated: Please use certificate_ids""") @@ -763,7 +767,7 @@ def certificate_id(self) -> pulumi.Output[str]: @pulumi.getter(name="certificateIds") def certificate_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - List of Certificate IDs that should be used by the frontend. + List of certificate IDs that should be used by the frontend. > **Important:** Certificates are not allowed on port 80. """ @@ -782,7 +786,7 @@ def enable_http3(self) -> pulumi.Output[Optional[bool]]: def external_acls(self) -> pulumi.Output[Optional[bool]]: """ A boolean to specify whether to use lb_acl. - If `external_acls` is set to `true`, `acl` can not be set directly in the lb frontend. + If `external_acls` is set to `true`, `acl` can not be set directly in the Load Balancer frontend. """ return pulumi.get(self, "external_acls") @@ -790,7 +794,7 @@ def external_acls(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="inboundPort") def inbound_port(self) -> pulumi.Output[int]: """ - TCP port to listen on the front side. + TCP port to listen to on the front side. """ return pulumi.get(self, "inbound_port") @@ -798,7 +802,7 @@ def inbound_port(self) -> pulumi.Output[int]: @pulumi.getter(name="lbId") def lb_id(self) -> pulumi.Output[str]: """ - The load-balancer ID this frontend is attached to. + The ID of the Load Balancer this frontend is attached to. """ return pulumi.get(self, "lb_id") @@ -814,7 +818,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="timeoutClient") def timeout_client(self) -> pulumi.Output[Optional[str]]: """ - Maximum inactivity time on the client side. (e.g.: `1s`) + Maximum inactivity time on the client side. (e.g. `1s`) """ return pulumi.get(self, "timeout_client") diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer_ip.py b/sdk/python/pulumiverse_scaleway/loadbalancer_ip.py index 8656ef13..9b9d05d0 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer_ip.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer_ip.py @@ -20,8 +20,8 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a LoadbalancerIp resource. - :param pulumi.Input[bool] is_ipv6: If true, creates a Flexible IP with an IPv6 address. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: If true, creates a flexible IP with an IPv6 address. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] reverse: The reverse domain associated with this IP. :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -38,7 +38,7 @@ def __init__(__self__, *, @pulumi.getter(name="isIpv6") def is_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - If true, creates a Flexible IP with an IPv6 address. + If true, creates a flexible IP with an IPv6 address. """ return pulumi.get(self, "is_ipv6") @@ -50,7 +50,7 @@ def is_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") @@ -96,11 +96,11 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering LoadbalancerIp resources. - :param pulumi.Input[str] ip_address: The IP Address - :param pulumi.Input[bool] is_ipv6: If true, creates a Flexible IP with an IPv6 address. - :param pulumi.Input[str] lb_id: The associated load-balance ID if any + :param pulumi.Input[str] ip_address: The IP address + :param pulumi.Input[bool] is_ipv6: If true, creates a flexible IP with an IPv6 address. + :param pulumi.Input[str] lb_id: The associated Load Balancer ID if any :param pulumi.Input[str] organization_id: The organization_id you want to attach the resource to - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: The region of the resource :param pulumi.Input[str] reverse: The reverse domain associated with this IP. :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. @@ -126,7 +126,7 @@ def __init__(__self__, *, @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ - The IP Address + The IP address """ return pulumi.get(self, "ip_address") @@ -138,7 +138,7 @@ def ip_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="isIpv6") def is_ipv6(self) -> Optional[pulumi.Input[bool]]: """ - If true, creates a Flexible IP with an IPv6 address. + If true, creates a flexible IP with an IPv6 address. """ return pulumi.get(self, "is_ipv6") @@ -150,7 +150,7 @@ def is_ipv6(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="lbId") def lb_id(self) -> Optional[pulumi.Input[str]]: """ - The associated load-balance ID if any + The associated Load Balancer ID if any """ return pulumi.get(self, "lb_id") @@ -174,7 +174,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") @@ -230,8 +230,9 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancers IPs. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses). + Creates and manages Scaleway Load Balancer IP addresses. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -255,7 +256,7 @@ def __init__(__self__, ## Import - IPs can be imported using the `{zone}/{id}`, e.g. + IPs can be imported using `{zone}/{id}`, e.g. bash @@ -265,8 +266,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] is_ipv6: If true, creates a Flexible IP with an IPv6 address. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[bool] is_ipv6: If true, creates a flexible IP with an IPv6 address. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] reverse: The reverse domain associated with this IP. :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -277,8 +278,9 @@ def __init__(__self__, args: Optional[LoadbalancerIpArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancers IPs. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses). + Creates and manages Scaleway Load Balancer IP addresses. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses). ## Example Usage @@ -302,7 +304,7 @@ def __init__(__self__, ## Import - IPs can be imported using the `{zone}/{id}`, e.g. + IPs can be imported using `{zone}/{id}`, e.g. bash @@ -371,11 +373,11 @@ def get(resource_name: str, :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] ip_address: The IP Address - :param pulumi.Input[bool] is_ipv6: If true, creates a Flexible IP with an IPv6 address. - :param pulumi.Input[str] lb_id: The associated load-balance ID if any + :param pulumi.Input[str] ip_address: The IP address + :param pulumi.Input[bool] is_ipv6: If true, creates a flexible IP with an IPv6 address. + :param pulumi.Input[str] lb_id: The associated Load Balancer ID if any :param pulumi.Input[str] organization_id: The organization_id you want to attach the resource to - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the IP is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with. :param pulumi.Input[str] region: The region of the resource :param pulumi.Input[str] reverse: The reverse domain associated with this IP. :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. @@ -398,7 +400,7 @@ def get(resource_name: str, @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Output[str]: """ - The IP Address + The IP address """ return pulumi.get(self, "ip_address") @@ -406,7 +408,7 @@ def ip_address(self) -> pulumi.Output[str]: @pulumi.getter(name="isIpv6") def is_ipv6(self) -> pulumi.Output[Optional[bool]]: """ - If true, creates a Flexible IP with an IPv6 address. + If true, creates a flexible IP with an IPv6 address. """ return pulumi.get(self, "is_ipv6") @@ -414,7 +416,7 @@ def is_ipv6(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="lbId") def lb_id(self) -> pulumi.Output[str]: """ - The associated load-balance ID if any + The associated Load Balancer ID if any """ return pulumi.get(self, "lb_id") @@ -430,7 +432,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the IP is associated with. + `project_id`) The ID of the Project the IP is associated with. """ return pulumi.get(self, "project_id") diff --git a/sdk/python/pulumiverse_scaleway/loadbalancer_route.py b/sdk/python/pulumiverse_scaleway/loadbalancer_route.py index 7c5f9c97..9bd00bc4 100644 --- a/sdk/python/pulumiverse_scaleway/loadbalancer_route.py +++ b/sdk/python/pulumiverse_scaleway/loadbalancer_route.py @@ -20,8 +20,8 @@ def __init__(__self__, *, match_sni: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a LoadbalancerRoute resource. - :param pulumi.Input[str] backend_id: The ID of the backend to which the route is associated. - :param pulumi.Input[str] frontend_id: The ID of the frontend to which the route is associated. + :param pulumi.Input[str] backend_id: The ID of the backend the route is associated with. + :param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with. :param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of `match_sni` and `match_host_header` should be specified. @@ -42,7 +42,7 @@ def __init__(__self__, *, @pulumi.getter(name="backendId") def backend_id(self) -> pulumi.Input[str]: """ - The ID of the backend to which the route is associated. + The ID of the backend the route is associated with. """ return pulumi.get(self, "backend_id") @@ -54,7 +54,7 @@ def backend_id(self, value: pulumi.Input[str]): @pulumi.getter(name="frontendId") def frontend_id(self) -> pulumi.Input[str]: """ - The ID of the frontend to which the route is associated. + The ID of the frontend the route is associated with. """ return pulumi.get(self, "frontend_id") @@ -104,9 +104,9 @@ def __init__(__self__, *, updated_at: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering LoadbalancerRoute resources. - :param pulumi.Input[str] backend_id: The ID of the backend to which the route is associated. - :param pulumi.Input[str] created_at: The date at which the route was created. - :param pulumi.Input[str] frontend_id: The ID of the frontend to which the route is associated. + :param pulumi.Input[str] backend_id: The ID of the backend the route is associated with. + :param pulumi.Input[str] created_at: The date on which the route was created. + :param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with. :param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of `match_sni` and `match_host_header` should be specified. @@ -115,7 +115,7 @@ def __init__(__self__, *, Only one of `match_sni` and `match_host_header` should be specified. > **Important:** This field should be set for routes on TCP Load Balancers. - :param pulumi.Input[str] updated_at: The date at which the route was last updated. + :param pulumi.Input[str] updated_at: The date on which the route was last updated. """ if backend_id is not None: pulumi.set(__self__, "backend_id", backend_id) @@ -134,7 +134,7 @@ def __init__(__self__, *, @pulumi.getter(name="backendId") def backend_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the backend to which the route is associated. + The ID of the backend the route is associated with. """ return pulumi.get(self, "backend_id") @@ -146,7 +146,7 @@ def backend_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date at which the route was created. + The date on which the route was created. """ return pulumi.get(self, "created_at") @@ -158,7 +158,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="frontendId") def frontend_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the frontend to which the route is associated. + The ID of the frontend the route is associated with. """ return pulumi.get(self, "frontend_id") @@ -200,7 +200,7 @@ def match_sni(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date at which the route was last updated. + The date on which the route was last updated. """ return pulumi.get(self, "updated_at") @@ -220,8 +220,9 @@ def __init__(__self__, match_sni: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Load-Balancer Routes. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + Creates and manages Scaleway Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -277,7 +278,7 @@ def __init__(__self__, ## Import - Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + Load Balancer frontends can be imported using `{zone}/{id}`, e.g. bash @@ -287,8 +288,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] backend_id: The ID of the backend to which the route is associated. - :param pulumi.Input[str] frontend_id: The ID of the frontend to which the route is associated. + :param pulumi.Input[str] backend_id: The ID of the backend the route is associated with. + :param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with. :param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of `match_sni` and `match_host_header` should be specified. @@ -305,8 +306,9 @@ def __init__(__self__, args: LoadbalancerRouteArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Load-Balancer Routes. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). + Creates and manages Scaleway Load Balancer routes. + + For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). ## Example Usage @@ -362,7 +364,7 @@ def __init__(__self__, ## Import - Load-Balancer frontend can be imported using the `{zone}/{id}`, e.g. + Load Balancer frontends can be imported using `{zone}/{id}`, e.g. bash @@ -431,9 +433,9 @@ def get(resource_name: str, :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] backend_id: The ID of the backend to which the route is associated. - :param pulumi.Input[str] created_at: The date at which the route was created. - :param pulumi.Input[str] frontend_id: The ID of the frontend to which the route is associated. + :param pulumi.Input[str] backend_id: The ID of the backend the route is associated with. + :param pulumi.Input[str] created_at: The date on which the route was created. + :param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with. :param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of `match_sni` and `match_host_header` should be specified. @@ -442,7 +444,7 @@ def get(resource_name: str, Only one of `match_sni` and `match_host_header` should be specified. > **Important:** This field should be set for routes on TCP Load Balancers. - :param pulumi.Input[str] updated_at: The date at which the route was last updated. + :param pulumi.Input[str] updated_at: The date on which the route was last updated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -460,7 +462,7 @@ def get(resource_name: str, @pulumi.getter(name="backendId") def backend_id(self) -> pulumi.Output[str]: """ - The ID of the backend to which the route is associated. + The ID of the backend the route is associated with. """ return pulumi.get(self, "backend_id") @@ -468,7 +470,7 @@ def backend_id(self) -> pulumi.Output[str]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date at which the route was created. + The date on which the route was created. """ return pulumi.get(self, "created_at") @@ -476,7 +478,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="frontendId") def frontend_id(self) -> pulumi.Output[str]: """ - The ID of the frontend to which the route is associated. + The ID of the frontend the route is associated with. """ return pulumi.get(self, "frontend_id") @@ -506,7 +508,7 @@ def match_sni(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date at which the route was last updated. + The date on which the route was last updated. """ return pulumi.get(self, "updated_at") diff --git a/sdk/python/pulumiverse_scaleway/mnq_nats_account.py b/sdk/python/pulumiverse_scaleway/mnq_nats_account.py index 6d80a227..534f2ca6 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_nats_account.py +++ b/sdk/python/pulumiverse_scaleway/mnq_nats_account.py @@ -19,8 +19,8 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqNatsAccount resource. - :param pulumi.Input[str] name: The unique name of the nats account. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the + :param pulumi.Input[str] name: The unique name of the NATS account. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the account is associated with. :param pulumi.Input[str] region: `region`). The region in which the account should be created. @@ -36,7 +36,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the nats account. + The unique name of the NATS account. """ return pulumi.get(self, "name") @@ -48,7 +48,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the + `project_id`) The ID of the Project the account is associated with. """ return pulumi.get(self, "project_id") @@ -81,8 +81,8 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering MnqNatsAccount resources. :param pulumi.Input[str] endpoint: The endpoint of the NATS service for this account. - :param pulumi.Input[str] name: The unique name of the nats account. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the + :param pulumi.Input[str] name: The unique name of the NATS account. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the account is associated with. :param pulumi.Input[str] region: `region`). The region in which the account should be created. @@ -112,7 +112,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the nats account. + The unique name of the NATS account. """ return pulumi.get(self, "name") @@ -124,7 +124,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the + `project_id`) The ID of the Project the account is associated with. """ return pulumi.get(self, "project_id") @@ -157,10 +157,10 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Messaging and queuing Nats Accounts. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) - To use Scaleway's provider with official nats jetstream provider, check out the corresponding guide + Creates and manages Scaleway Messaging and Queuing NATS accounts. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide. ## Example Usage @@ -175,7 +175,7 @@ def __init__(__self__, ## Import - Namespaces can be imported using the `{region}/{id}`, e.g. + Namespaces can be imported using `{region}/{id}`, e.g. bash @@ -185,8 +185,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] name: The unique name of the nats account. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the + :param pulumi.Input[str] name: The unique name of the NATS account. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the account is associated with. :param pulumi.Input[str] region: `region`). The region in which the account should be created. @@ -198,10 +198,10 @@ def __init__(__self__, args: Optional[MnqNatsAccountArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Messaging and queuing Nats Accounts. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) - To use Scaleway's provider with official nats jetstream provider, check out the corresponding guide + Creates and manages Scaleway Messaging and Queuing NATS accounts. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide. ## Example Usage @@ -216,7 +216,7 @@ def __init__(__self__, ## Import - Namespaces can be imported using the `{region}/{id}`, e.g. + Namespaces can be imported using `{region}/{id}`, e.g. bash @@ -277,8 +277,8 @@ def get(resource_name: str, :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] endpoint: The endpoint of the NATS service for this account. - :param pulumi.Input[str] name: The unique name of the nats account. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the + :param pulumi.Input[str] name: The unique name of the NATS account. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the account is associated with. :param pulumi.Input[str] region: `region`). The region in which the account should be created. @@ -305,7 +305,7 @@ def endpoint(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the nats account. + The unique name of the NATS account. """ return pulumi.get(self, "name") @@ -313,7 +313,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the + `project_id`) The ID of the Project the account is associated with. """ return pulumi.get(self, "project_id") diff --git a/sdk/python/pulumiverse_scaleway/mnq_nats_credentials.py b/sdk/python/pulumiverse_scaleway/mnq_nats_credentials.py index bd8f1d5d..a23fd219 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_nats_credentials.py +++ b/sdk/python/pulumiverse_scaleway/mnq_nats_credentials.py @@ -19,8 +19,8 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqNatsCredentials resource. - :param pulumi.Input[str] account_id: The ID of the nats account the credentials are generated from - :param pulumi.Input[str] name: The unique name of the nats credentials. + :param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from + :param pulumi.Input[str] name: The unique name of the NATS credentials. :param pulumi.Input[str] region: `region`). The region in which the account exists. """ @@ -34,7 +34,7 @@ def __init__(__self__, *, @pulumi.getter(name="accountId") def account_id(self) -> pulumi.Input[str]: """ - The ID of the nats account the credentials are generated from + The ID of the NATS account the credentials are generated from """ return pulumi.get(self, "account_id") @@ -46,7 +46,7 @@ def account_id(self, value: pulumi.Input[str]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the nats credentials. + The unique name of the NATS credentials. """ return pulumi.get(self, "name") @@ -77,9 +77,9 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering MnqNatsCredentials resources. - :param pulumi.Input[str] account_id: The ID of the nats account the credentials are generated from + :param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from :param pulumi.Input[str] file: The content of the credentials file. - :param pulumi.Input[str] name: The unique name of the nats credentials. + :param pulumi.Input[str] name: The unique name of the NATS credentials. :param pulumi.Input[str] region: `region`). The region in which the account exists. """ @@ -96,7 +96,7 @@ def __init__(__self__, *, @pulumi.getter(name="accountId") def account_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the nats account the credentials are generated from + The ID of the NATS account the credentials are generated from """ return pulumi.get(self, "account_id") @@ -120,7 +120,7 @@ def file(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the nats credentials. + The unique name of the NATS credentials. """ return pulumi.get(self, "name") @@ -152,9 +152,9 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Messaging and queuing Nats Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + Creates and manages Scaleway Messaging and Queuing NATS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/). ## Example Usage @@ -170,7 +170,7 @@ def __init__(__self__, ## Import - Namespaces can be imported using the `{region}/{id}`, e.g. + Namespaces can be imported using `{region}/{id}`, e.g. bash @@ -180,8 +180,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: The ID of the nats account the credentials are generated from - :param pulumi.Input[str] name: The unique name of the nats credentials. + :param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from + :param pulumi.Input[str] name: The unique name of the NATS credentials. :param pulumi.Input[str] region: `region`). The region in which the account exists. """ @@ -192,9 +192,9 @@ def __init__(__self__, args: MnqNatsCredentialsArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Messaging and queuing Nats Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/) + Creates and manages Scaleway Messaging and Queuing NATS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/). ## Example Usage @@ -210,7 +210,7 @@ def __init__(__self__, ## Import - Namespaces can be imported using the `{region}/{id}`, e.g. + Namespaces can be imported using `{region}/{id}`, e.g. bash @@ -272,9 +272,9 @@ def get(resource_name: str, :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 ID of the nats account the credentials are generated from + :param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from :param pulumi.Input[str] file: The content of the credentials file. - :param pulumi.Input[str] name: The unique name of the nats credentials. + :param pulumi.Input[str] name: The unique name of the NATS credentials. :param pulumi.Input[str] region: `region`). The region in which the account exists. """ @@ -292,7 +292,7 @@ def get(resource_name: str, @pulumi.getter(name="accountId") def account_id(self) -> pulumi.Output[str]: """ - The ID of the nats account the credentials are generated from + The ID of the NATS account the credentials are generated from """ return pulumi.get(self, "account_id") @@ -308,7 +308,7 @@ def file(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the nats credentials. + The unique name of the NATS credentials. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sns.py b/sdk/python/pulumiverse_scaleway/mnq_sns.py index 7450fd71..6636ed70 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sns.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sns.py @@ -18,9 +18,9 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqSns resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns will be enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project in which SNS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ if project_id is not None: pulumi.set(__self__, "project_id", project_id) @@ -31,7 +31,7 @@ def __init__(__self__, *, @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns will be enabled for. + `project_id`) The ID of the project in which SNS will be enabled. """ return pulumi.get(self, "project_id") @@ -44,7 +44,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ return pulumi.get(self, "region") @@ -61,10 +61,10 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering MnqSns resources. - :param pulumi.Input[str] endpoint: The endpoint of the SNS service for this project. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns will be enabled for. + :param pulumi.Input[str] endpoint: The endpoint of the SNS service for this Project. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project in which SNS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ if endpoint is not None: pulumi.set(__self__, "endpoint", endpoint) @@ -77,7 +77,7 @@ def __init__(__self__, *, @pulumi.getter def endpoint(self) -> Optional[pulumi.Input[str]]: """ - The endpoint of the SNS service for this project. + The endpoint of the SNS service for this Project. """ return pulumi.get(self, "endpoint") @@ -89,7 +89,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns will be enabled for. + `project_id`) The ID of the project in which SNS will be enabled. """ return pulumi.get(self, "project_id") @@ -102,7 +102,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ return pulumi.get(self, "region") @@ -120,15 +120,15 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Activate Scaleway Messaging and queuing SNS for a project. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Activates Scaleway Messaging and Queuing SNS in a Project. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). ## Example Usage ### Basic - Activate SNS for default project + Activate SNS in the default Project ```python import pulumi @@ -137,7 +137,7 @@ def __init__(__self__, main = scaleway.MnqSns("main") ``` - Activate SNS for a specific project + Activate SNS in a specific Project ```python import pulumi @@ -145,13 +145,13 @@ def __init__(__self__, import pulumiverse_scaleway as scaleway project = scaleway.get_account_project(name="default") - # For specific project in default region + # For specific Project in default region for_project = scaleway.MnqSns("forProject", project_id=project.id) ``` ## Import - SNS status can be imported using the `{region}/{project_id}`, e.g. + SNS status can be imported using `{region}/{project_id}`, e.g. bash @@ -161,9 +161,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns will be enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project in which SNS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ ... @overload @@ -172,15 +172,15 @@ def __init__(__self__, args: Optional[MnqSnsArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Activate Scaleway Messaging and queuing SNS for a project. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Activates Scaleway Messaging and Queuing SNS in a Project. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). ## Example Usage ### Basic - Activate SNS for default project + Activate SNS in the default Project ```python import pulumi @@ -189,7 +189,7 @@ def __init__(__self__, main = scaleway.MnqSns("main") ``` - Activate SNS for a specific project + Activate SNS in a specific Project ```python import pulumi @@ -197,13 +197,13 @@ def __init__(__self__, import pulumiverse_scaleway as scaleway project = scaleway.get_account_project(name="default") - # For specific project in default region + # For specific Project in default region for_project = scaleway.MnqSns("forProject", project_id=project.id) ``` ## Import - SNS status can be imported using the `{region}/{project_id}`, e.g. + SNS status can be imported using `{region}/{project_id}`, e.g. bash @@ -260,10 +260,10 @@ def get(resource_name: str, :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] endpoint: The endpoint of the SNS service for this project. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns will be enabled for. + :param pulumi.Input[str] endpoint: The endpoint of the SNS service for this Project. + :param pulumi.Input[str] project_id: `project_id`) The ID of the project in which SNS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -278,7 +278,7 @@ def get(resource_name: str, @pulumi.getter def endpoint(self) -> pulumi.Output[str]: """ - The endpoint of the SNS service for this project. + The endpoint of the SNS service for this Project. """ return pulumi.get(self, "endpoint") @@ -286,7 +286,7 @@ def endpoint(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sns will be enabled for. + `project_id`) The ID of the project in which SNS will be enabled. """ return pulumi.get(self, "project_id") @@ -295,7 +295,7 @@ def project_id(self) -> pulumi.Output[str]: def region(self) -> pulumi.Output[str]: """ `region`). The region - in which sns will be enabled. + in which SNS will be enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sns_credentials.py b/sdk/python/pulumiverse_scaleway/mnq_sns_credentials.py index ebab1af0..644c8772 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sns_credentials.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sns_credentials.py @@ -22,10 +22,10 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqSnsCredentials resource. - :param pulumi.Input[str] name: The unique name of the sns credentials. - :param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sns is enabled. + :param pulumi.Input[str] name: The unique name of the SNS credentials. + :param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SNS is enabled. """ if name is not None: pulumi.set(__self__, "name", name) @@ -40,7 +40,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sns credentials. + The unique name of the SNS credentials. """ return pulumi.get(self, "name") @@ -52,7 +52,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def permissions(self) -> Optional[pulumi.Input['MnqSnsCredentialsPermissionsArgs']]: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -64,7 +64,7 @@ def permissions(self, value: Optional[pulumi.Input['MnqSnsCredentialsPermissions @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -76,7 +76,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sns is enabled. + `region`). The region in which SNS is enabled. """ return pulumi.get(self, "region") @@ -97,10 +97,10 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering MnqSnsCredentials resources. :param pulumi.Input[str] access_key: The ID of the key. - :param pulumi.Input[str] name: The unique name of the sns credentials. - :param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sns is enabled. + :param pulumi.Input[str] name: The unique name of the SNS credentials. + :param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret value of the key. """ if access_key is not None: @@ -132,7 +132,7 @@ def access_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sns credentials. + The unique name of the SNS credentials. """ return pulumi.get(self, "name") @@ -144,7 +144,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def permissions(self) -> Optional[pulumi.Input['MnqSnsCredentialsPermissionsArgs']]: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -156,7 +156,7 @@ def permissions(self, value: Optional[pulumi.Input['MnqSnsCredentialsPermissions @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -168,7 +168,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sns is enabled. + `region`). The region in which SNS is enabled. """ return pulumi.get(self, "region") @@ -200,9 +200,9 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Messaging and queuing SNS Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Creates and manages Scaleway Messaging and Queuing SNS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) ## Example Usage @@ -224,7 +224,7 @@ def __init__(__self__, ## Import - SNS credentials can be imported using the `{region}/{id}`, e.g. + SNS credentials can be imported using `{region}/{id}`, e.g. bash @@ -234,10 +234,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] name: The unique name of the sns credentials. - :param pulumi.Input[pulumi.InputType['MnqSnsCredentialsPermissionsArgs']] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sns is enabled. + :param pulumi.Input[str] name: The unique name of the SNS credentials. + :param pulumi.Input[pulumi.InputType['MnqSnsCredentialsPermissionsArgs']] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SNS is enabled. """ ... @overload @@ -246,9 +246,9 @@ def __init__(__self__, args: Optional[MnqSnsCredentialsArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Messaging and queuing SNS Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Creates and manages Scaleway Messaging and Queuing SNS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) ## Example Usage @@ -270,7 +270,7 @@ def __init__(__self__, ## Import - SNS credentials can be imported using the `{region}/{id}`, e.g. + SNS credentials can be imported using `{region}/{id}`, e.g. bash @@ -338,10 +338,10 @@ def get(resource_name: str, :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: The ID of the key. - :param pulumi.Input[str] name: The unique name of the sns credentials. - :param pulumi.Input[pulumi.InputType['MnqSnsCredentialsPermissionsArgs']] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sns is enabled. + :param pulumi.Input[str] name: The unique name of the SNS credentials. + :param pulumi.Input[pulumi.InputType['MnqSnsCredentialsPermissionsArgs']] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret value of the key. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -368,7 +368,7 @@ def access_key(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the sns credentials. + The unique name of the SNS credentials. """ return pulumi.get(self, "name") @@ -376,7 +376,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter def permissions(self) -> pulumi.Output['outputs.MnqSnsCredentialsPermissions']: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -384,7 +384,7 @@ def permissions(self) -> pulumi.Output['outputs.MnqSnsCredentialsPermissions']: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -392,7 +392,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter def region(self) -> pulumi.Output[str]: """ - `region`). The region in which sns is enabled. + `region`). The region in which SNS is enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sns_topic.py b/sdk/python/pulumiverse_scaleway/mnq_sns_topic.py index 9e45cfe2..18699544 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sns_topic.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sns_topic.py @@ -28,12 +28,12 @@ def __init__(__self__, *, :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[bool] content_based_deduplication: Specifies whether to enable content-based deduplication. - :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO. If true, the topic name must end with .fifo. - :param pulumi.Input[str] name: The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. + :param pulumi.Input[str] name: The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. """ pulumi.set(__self__, "access_key", access_key) @@ -93,7 +93,7 @@ def content_based_deduplication(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="fifoTopic") def fifo_topic(self) -> Optional[pulumi.Input[bool]]: """ - Whether the topic is a FIFO. If true, the topic name must end with .fifo. + Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. """ return pulumi.get(self, "fifo_topic") @@ -105,7 +105,7 @@ def fifo_topic(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -129,7 +129,7 @@ def name_prefix(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -142,7 +142,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") @@ -182,13 +182,13 @@ def __init__(__self__, *, :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] arn: The ARN of the topic :param pulumi.Input[bool] content_based_deduplication: Specifies whether to enable content-based deduplication. - :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO. If true, the topic name must end with .fifo. - :param pulumi.Input[str] name: The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. + :param pulumi.Input[str] name: The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. :param pulumi.Input[str] owner: Owner of the SNS topic, should have format 'project-${project_id}' - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. """ @@ -255,7 +255,7 @@ def content_based_deduplication(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="fifoTopic") def fifo_topic(self) -> Optional[pulumi.Input[bool]]: """ - Whether the topic is a FIFO. If true, the topic name must end with .fifo. + Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. """ return pulumi.get(self, "fifo_topic") @@ -267,7 +267,7 @@ def fifo_topic(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -303,7 +303,7 @@ def owner(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -316,7 +316,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") @@ -365,9 +365,9 @@ def __init__(__self__, sns_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): """ - Manage Scaleway Messaging and queuing SNS Topics. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Manage Scaleway Messaging and queuing SNS topics. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/). ## Example Usage @@ -391,7 +391,7 @@ def __init__(__self__, ## Import - SNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g. + SNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g. bash @@ -403,12 +403,12 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[bool] content_based_deduplication: Specifies whether to enable content-based deduplication. - :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO. If true, the topic name must end with .fifo. - :param pulumi.Input[str] name: The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. + :param pulumi.Input[str] name: The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. """ @@ -419,9 +419,9 @@ def __init__(__self__, args: MnqSnsTopicArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Manage Scaleway Messaging and queuing SNS Topics. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Manage Scaleway Messaging and queuing SNS topics. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-topics/). ## Example Usage @@ -445,7 +445,7 @@ def __init__(__self__, ## Import - SNS topic can be imported using the `{region}/{project-id}/{topic-name}`, e.g. + SNS topics can be imported using `{region}/{project-id}/{topic-name}`, e.g. bash @@ -534,13 +534,13 @@ def get(resource_name: str, :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] arn: The ARN of the topic :param pulumi.Input[bool] content_based_deduplication: Specifies whether to enable content-based deduplication. - :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO. If true, the topic name must end with .fifo. - :param pulumi.Input[str] name: The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[bool] fifo_topic: Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. + :param pulumi.Input[str] name: The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. :param pulumi.Input[str] owner: Owner of the SNS topic, should have format 'project-${project_id}' - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. """ @@ -589,7 +589,7 @@ def content_based_deduplication(self) -> pulumi.Output[bool]: @pulumi.getter(name="fifoTopic") def fifo_topic(self) -> pulumi.Output[bool]: """ - Whether the topic is a FIFO. If true, the topic name must end with .fifo. + Whether the topic is a FIFO topic. If true, the topic name must end with .fifo. """ return pulumi.get(self, "fifo_topic") @@ -597,7 +597,7 @@ def fifo_topic(self) -> pulumi.Output[bool]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the sns topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SNS topic. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -621,7 +621,7 @@ def owner(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -630,7 +630,7 @@ def project_id(self) -> pulumi.Output[str]: def region(self) -> pulumi.Output[str]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sns_topic_subscription.py b/sdk/python/pulumiverse_scaleway/mnq_sns_topic_subscription.py index e0f30e0f..d8432cf9 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sns_topic_subscription.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sns_topic_subscription.py @@ -27,13 +27,13 @@ def __init__(__self__, *, """ The set of arguments for constructing a MnqSnsTopicSubscription resource. :param pulumi.Input[str] access_key: The access key of the SNS credentials. - :param pulumi.Input[str] protocol: Protocol of the SNS Topic Subscription. + :param pulumi.Input[str] protocol: Protocol of the SNS topic subscription. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] endpoint: Endpoint of the subscription - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[bool] redrive_policy: Activate JSON Redrive Policy. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[bool] redrive_policy: Activate JSON redrive policy. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. :param pulumi.Input[str] topic_arn: The ARN of the topic. Either `topic_id` or `topic_arn` is required. :param pulumi.Input[str] topic_id: The ID of the topic. Either `topic_id` or `topic_arn` is required. Conflicts with `topic_arn`. @@ -72,7 +72,7 @@ def access_key(self, value: pulumi.Input[str]): @pulumi.getter def protocol(self) -> pulumi.Input[str]: """ - Protocol of the SNS Topic Subscription. + Protocol of the SNS topic subscription. """ return pulumi.get(self, "protocol") @@ -108,7 +108,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -120,7 +120,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="redrivePolicy") def redrive_policy(self) -> Optional[pulumi.Input[bool]]: """ - Activate JSON Redrive Policy. + Activate JSON redrive policy. """ return pulumi.get(self, "redrive_policy") @@ -133,7 +133,7 @@ def redrive_policy(self, value: Optional[pulumi.Input[bool]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") @@ -197,11 +197,11 @@ def __init__(__self__, *, :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] arn: The ARN of the topic subscription :param pulumi.Input[str] endpoint: Endpoint of the subscription - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] protocol: Protocol of the SNS Topic Subscription. - :param pulumi.Input[bool] redrive_policy: Activate JSON Redrive Policy. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] protocol: Protocol of the SNS topic subscription. + :param pulumi.Input[bool] redrive_policy: Activate JSON redrive policy. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. :param pulumi.Input[str] topic_arn: The ARN of the topic. Either `topic_id` or `topic_arn` is required. @@ -270,7 +270,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -282,7 +282,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def protocol(self) -> Optional[pulumi.Input[str]]: """ - Protocol of the SNS Topic Subscription. + Protocol of the SNS topic subscription. """ return pulumi.get(self, "protocol") @@ -294,7 +294,7 @@ def protocol(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="redrivePolicy") def redrive_policy(self) -> Optional[pulumi.Input[bool]]: """ - Activate JSON Redrive Policy. + Activate JSON redrive policy. """ return pulumi.get(self, "redrive_policy") @@ -307,7 +307,7 @@ def redrive_policy(self, value: Optional[pulumi.Input[bool]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") @@ -381,9 +381,9 @@ def __init__(__self__, topic_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Manage Scaleway Messaging and queuing SNS Topic Subscriptions. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Manages Scaleway Messaging and Queuing SNS topic subscriptions. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). ## Example Usage @@ -417,7 +417,7 @@ def __init__(__self__, ## Import - SNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. + SNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. bash @@ -429,11 +429,11 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] endpoint: Endpoint of the subscription - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] protocol: Protocol of the SNS Topic Subscription. - :param pulumi.Input[bool] redrive_policy: Activate JSON Redrive Policy. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] protocol: Protocol of the SNS topic subscription. + :param pulumi.Input[bool] redrive_policy: Activate JSON redrive policy. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. :param pulumi.Input[str] topic_arn: The ARN of the topic. Either `topic_id` or `topic_arn` is required. @@ -446,9 +446,9 @@ def __init__(__self__, args: MnqSnsTopicSubscriptionArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Manage Scaleway Messaging and queuing SNS Topic Subscriptions. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/) + Manages Scaleway Messaging and Queuing SNS topic subscriptions. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). ## Example Usage @@ -482,7 +482,7 @@ def __init__(__self__, ## Import - SNS topic subscriptions can be imported using the `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. + SNS topic subscriptions can be imported using `{region}/{project-id}/{topic-name}/{subscription-id}`, e.g. bash @@ -574,11 +574,11 @@ def get(resource_name: str, :param pulumi.Input[str] access_key: The access key of the SNS credentials. :param pulumi.Input[str] arn: The ARN of the topic subscription :param pulumi.Input[str] endpoint: Endpoint of the subscription - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sns is enabled for. - :param pulumi.Input[str] protocol: Protocol of the SNS Topic Subscription. - :param pulumi.Input[bool] redrive_policy: Activate JSON Redrive Policy. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled. + :param pulumi.Input[str] protocol: Protocol of the SNS topic subscription. + :param pulumi.Input[bool] redrive_policy: Activate JSON redrive policy. :param pulumi.Input[str] region: `region`). The region - in which sns is enabled. + in which SNS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SNS credentials. :param pulumi.Input[str] sns_endpoint: The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to `https://sns.mnq.{region}.scaleway.com`. :param pulumi.Input[str] topic_arn: The ARN of the topic. Either `topic_id` or `topic_arn` is required. @@ -629,7 +629,7 @@ def endpoint(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sns is enabled for. + `project_id`) The ID of the Project in which SNS is enabled. """ return pulumi.get(self, "project_id") @@ -637,7 +637,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter def protocol(self) -> pulumi.Output[str]: """ - Protocol of the SNS Topic Subscription. + Protocol of the SNS topic subscription. """ return pulumi.get(self, "protocol") @@ -645,7 +645,7 @@ def protocol(self) -> pulumi.Output[str]: @pulumi.getter(name="redrivePolicy") def redrive_policy(self) -> pulumi.Output[bool]: """ - Activate JSON Redrive Policy. + Activate JSON redrive policy. """ return pulumi.get(self, "redrive_policy") @@ -654,7 +654,7 @@ def redrive_policy(self) -> pulumi.Output[bool]: def region(self) -> pulumi.Output[str]: """ `region`). The region - in which sns is enabled. + in which SNS is enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sqs.py b/sdk/python/pulumiverse_scaleway/mnq_sqs.py index 22704cd3..352011e6 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sqs.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sqs.py @@ -18,9 +18,9 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqSqs resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs will be enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ if project_id is not None: pulumi.set(__self__, "project_id", project_id) @@ -31,7 +31,7 @@ def __init__(__self__, *, @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs will be enabled for. + `project_id`) The ID of the Project in which SQS will be enabled. """ return pulumi.get(self, "project_id") @@ -44,7 +44,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ return pulumi.get(self, "region") @@ -61,10 +61,10 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering MnqSqs resources. - :param pulumi.Input[str] endpoint: The endpoint of the SQS service for this project. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs will be enabled for. + :param pulumi.Input[str] endpoint: The endpoint of the SQS service for this Project. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ if endpoint is not None: pulumi.set(__self__, "endpoint", endpoint) @@ -77,7 +77,7 @@ def __init__(__self__, *, @pulumi.getter def endpoint(self) -> Optional[pulumi.Input[str]]: """ - The endpoint of the SQS service for this project. + The endpoint of the SQS service for this Project. """ return pulumi.get(self, "endpoint") @@ -89,7 +89,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs will be enabled for. + `project_id`) The ID of the Project in which SQS will be enabled. """ return pulumi.get(self, "project_id") @@ -102,7 +102,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): def region(self) -> Optional[pulumi.Input[str]]: """ `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ return pulumi.get(self, "region") @@ -120,15 +120,15 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Activate Scaleway Messaging and queuing SQS for a project. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + Activate Scaleway Messaging and Queuing SQS in a Project. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/). ## Example Usage ### Basic - Activate SQS for default project + Activate SQS in the default Project ```python import pulumi @@ -160,9 +160,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs will be enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ ... @overload @@ -171,15 +171,15 @@ def __init__(__self__, args: Optional[MnqSqsArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Activate Scaleway Messaging and queuing SQS for a project. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + Activate Scaleway Messaging and Queuing SQS in a Project. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/). ## Example Usage ### Basic - Activate SQS for default project + Activate SQS in the default Project ```python import pulumi @@ -258,10 +258,10 @@ def get(resource_name: str, :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] endpoint: The endpoint of the SQS service for this project. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs will be enabled for. + :param pulumi.Input[str] endpoint: The endpoint of the SQS service for this Project. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS will be enabled. :param pulumi.Input[str] region: `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -276,7 +276,7 @@ def get(resource_name: str, @pulumi.getter def endpoint(self) -> pulumi.Output[str]: """ - The endpoint of the SQS service for this project. + The endpoint of the SQS service for this Project. """ return pulumi.get(self, "endpoint") @@ -284,7 +284,7 @@ def endpoint(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sqs will be enabled for. + `project_id`) The ID of the Project in which SQS will be enabled. """ return pulumi.get(self, "project_id") @@ -293,7 +293,7 @@ def project_id(self) -> pulumi.Output[str]: def region(self) -> pulumi.Output[str]: """ `region`). The region - in which sqs will be enabled. + in which SQS will be enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sqs_credentials.py b/sdk/python/pulumiverse_scaleway/mnq_sqs_credentials.py index 84f28b64..1dd68b11 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sqs_credentials.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sqs_credentials.py @@ -22,10 +22,10 @@ def __init__(__self__, *, region: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MnqSqsCredentials resource. - :param pulumi.Input[str] name: The unique name of the sqs credentials. - :param pulumi.Input['MnqSqsCredentialsPermissionsArgs'] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] name: The unique name of the SQS credentials. + :param pulumi.Input['MnqSqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. """ if name is not None: pulumi.set(__self__, "name", name) @@ -40,7 +40,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sqs credentials. + The unique name of the SQS credentials. """ return pulumi.get(self, "name") @@ -52,7 +52,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def permissions(self) -> Optional[pulumi.Input['MnqSqsCredentialsPermissionsArgs']]: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -64,7 +64,7 @@ def permissions(self, value: Optional[pulumi.Input['MnqSqsCredentialsPermissions @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -76,7 +76,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") @@ -97,10 +97,10 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering MnqSqsCredentials resources. :param pulumi.Input[str] access_key: The ID of the key. - :param pulumi.Input[str] name: The unique name of the sqs credentials. - :param pulumi.Input['MnqSqsCredentialsPermissionsArgs'] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] name: The unique name of the SQS credentials. + :param pulumi.Input['MnqSqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] secret_key: The secret value of the key. """ if access_key is not None: @@ -132,7 +132,7 @@ def access_key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sqs credentials. + The unique name of the SQS credentials. """ return pulumi.get(self, "name") @@ -144,7 +144,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def permissions(self) -> Optional[pulumi.Input['MnqSqsCredentialsPermissionsArgs']]: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -156,7 +156,7 @@ def permissions(self, value: Optional[pulumi.Input['MnqSqsCredentialsPermissions @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -168,7 +168,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") @@ -200,9 +200,9 @@ def __init__(__self__, region: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Messaging and queuing SQS Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + Creates and manages Scaleway Messaging and Queuing SQS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) ## Example Usage @@ -224,7 +224,7 @@ def __init__(__self__, ## Import - SQS credentials can be imported using the `{region}/{id}`, e.g. + SQS credentials can be imported using `{region}/{id}`, e.g. bash @@ -234,10 +234,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] name: The unique name of the sqs credentials. - :param pulumi.Input[pulumi.InputType['MnqSqsCredentialsPermissionsArgs']] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] name: The unique name of the SQS credentials. + :param pulumi.Input[pulumi.InputType['MnqSqsCredentialsPermissionsArgs']] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. """ ... @overload @@ -246,9 +246,9 @@ def __init__(__self__, args: Optional[MnqSqsCredentialsArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Messaging and queuing SQS Credentials. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) + Creates and manages Scaleway Messaging and Queuing SQS credentials. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) ## Example Usage @@ -270,7 +270,7 @@ def __init__(__self__, ## Import - SQS credentials can be imported using the `{region}/{id}`, e.g. + SQS credentials can be imported using `{region}/{id}`, e.g. bash @@ -338,10 +338,10 @@ def get(resource_name: str, :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: The ID of the key. - :param pulumi.Input[str] name: The unique name of the sqs credentials. - :param pulumi.Input[pulumi.InputType['MnqSqsCredentialsPermissionsArgs']] permissions: . List of permissions associated to these credentials. Only one of permissions may be set. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] name: The unique name of the SQS credentials. + :param pulumi.Input[pulumi.InputType['MnqSqsCredentialsPermissionsArgs']] permissions: . List of permissions associated with these credentials. Only one of the following permissions may be set: + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] secret_key: The secret value of the key. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -368,7 +368,7 @@ def access_key(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the sqs credentials. + The unique name of the SQS credentials. """ return pulumi.get(self, "name") @@ -376,7 +376,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter def permissions(self) -> pulumi.Output['outputs.MnqSqsCredentialsPermissions']: """ - . List of permissions associated to these credentials. Only one of permissions may be set. + . List of permissions associated with these credentials. Only one of the following permissions may be set: """ return pulumi.get(self, "permissions") @@ -384,7 +384,7 @@ def permissions(self) -> pulumi.Output['outputs.MnqSqsCredentialsPermissions']: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -392,7 +392,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter def region(self) -> pulumi.Output[str]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/mnq_sqs_queue.py b/sdk/python/pulumiverse_scaleway/mnq_sqs_queue.py index 30070c0d..5a8e3e81 100644 --- a/sdk/python/pulumiverse_scaleway/mnq_sqs_queue.py +++ b/sdk/python/pulumiverse_scaleway/mnq_sqs_queue.py @@ -35,11 +35,11 @@ def __init__(__self__, *, :param pulumi.Input[bool] fifo_queue: Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`. :param pulumi.Input[int] message_max_age: The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600. :param pulumi.Input[int] message_max_size: The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. - :param pulumi.Input[str] name: The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[str] name: The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. :param pulumi.Input[int] receive_wait_time_seconds: The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] sqs_endpoint: The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `https://sqs.mnq.{region}.scaleway.com`. :param pulumi.Input[int] visibility_timeout_seconds: The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30. """ @@ -144,7 +144,7 @@ def message_max_size(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -168,7 +168,7 @@ def name_prefix(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -192,7 +192,7 @@ def receive_wait_time_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") @@ -249,11 +249,11 @@ def __init__(__self__, *, :param pulumi.Input[bool] fifo_queue: Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`. :param pulumi.Input[int] message_max_age: The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600. :param pulumi.Input[int] message_max_size: The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. - :param pulumi.Input[str] name: The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[str] name: The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. :param pulumi.Input[int] receive_wait_time_seconds: The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SQS queue. :param pulumi.Input[str] sqs_endpoint: The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `https://sqs.mnq.{region}.scaleway.com`. :param pulumi.Input[str] url: The URL of the queue. @@ -352,7 +352,7 @@ def message_max_size(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -376,7 +376,7 @@ def name_prefix(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -400,7 +400,7 @@ def receive_wait_time_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") @@ -477,9 +477,9 @@ def __init__(__self__, visibility_timeout_seconds: Optional[pulumi.Input[int]] = None, __props__=None): """ - Creates and manages Scaleway Messaging and queuing SQS Queues. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/) + Creates and manages Scaleway Messaging and Queuing SQS queues. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/). ## Example Usage @@ -511,11 +511,11 @@ def __init__(__self__, :param pulumi.Input[bool] fifo_queue: Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`. :param pulumi.Input[int] message_max_age: The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600. :param pulumi.Input[int] message_max_size: The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. - :param pulumi.Input[str] name: The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[str] name: The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. :param pulumi.Input[int] receive_wait_time_seconds: The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SQS queue. :param pulumi.Input[str] sqs_endpoint: The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `https://sqs.mnq.{region}.scaleway.com`. :param pulumi.Input[int] visibility_timeout_seconds: The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30. @@ -527,9 +527,9 @@ def __init__(__self__, args: MnqSqsQueueArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Messaging and queuing SQS Queues. - For further information please check - our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/) + Creates and manages Scaleway Messaging and Queuing SQS queues. + For further information, see + our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/). ## Example Usage @@ -647,11 +647,11 @@ def get(resource_name: str, :param pulumi.Input[bool] fifo_queue: Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`. :param pulumi.Input[int] message_max_age: The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600. :param pulumi.Input[int] message_max_size: The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144. - :param pulumi.Input[str] name: The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + :param pulumi.Input[str] name: The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the sqs is enabled for. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled. :param pulumi.Input[int] receive_wait_time_seconds: The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0. - :param pulumi.Input[str] region: `region`). The region in which sqs is enabled. + :param pulumi.Input[str] region: `region`). The region in which SQS is enabled. :param pulumi.Input[str] secret_key: The secret key of the SQS queue. :param pulumi.Input[str] sqs_endpoint: The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `https://sqs.mnq.{region}.scaleway.com`. :param pulumi.Input[str] url: The URL of the queue. @@ -721,7 +721,7 @@ def message_max_size(self) -> pulumi.Output[Optional[int]]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The unique name of the sqs queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. + The unique name of the SQS queue. Either `name` or `name_prefix` is required. Conflicts with `name_prefix`. """ return pulumi.get(self, "name") @@ -737,7 +737,7 @@ def name_prefix(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the sqs is enabled for. + `project_id`) The ID of the Project in which SQS is enabled. """ return pulumi.get(self, "project_id") @@ -753,7 +753,7 @@ def receive_wait_time_seconds(self) -> pulumi.Output[Optional[int]]: @pulumi.getter def region(self) -> pulumi.Output[str]: """ - `region`). The region in which sqs is enabled. + `region`). The region in which SQS is enabled. """ return pulumi.get(self, "region") diff --git a/sdk/python/pulumiverse_scaleway/outputs.py b/sdk/python/pulumiverse_scaleway/outputs.py index 3f890427..b6a3cb64 100644 --- a/sdk/python/pulumiverse_scaleway/outputs.py +++ b/sdk/python/pulumiverse_scaleway/outputs.py @@ -29,6 +29,7 @@ 'DatabaseInstanceReadReplica', 'DatabaseReadReplicaDirectAccess', 'DatabaseReadReplicaPrivateNetwork', + 'DocumentdbPrivateNetworkEndpointPrivateNetwork', 'DocumentdbReadReplicaDirectAccess', 'DocumentdbReadReplicaPrivateNetwork', 'DomainRecordGeoIp', @@ -961,7 +962,7 @@ def __init__(__self__, *, ip: str, description: Optional[str] = None): """ - :param str ip: The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + :param str ip: The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) :param str description: A text describing this rule. Default description: `IP allowed` """ pulumi.set(__self__, "ip", ip) @@ -972,7 +973,7 @@ def __init__(__self__, *, @pulumi.getter def ip(self) -> str: """ - The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) + The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) """ return pulumi.get(self, "ip") @@ -1325,9 +1326,9 @@ def __init__(__self__, *, name: Optional[str] = None, port: Optional[int] = None): """ - :param str endpoint_id: The ID of the endpoint of the read replica. - :param str hostname: Hostname of the endpoint. Only one of ip and hostname may be set. - :param str ip: IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + :param str endpoint_id: The ID of the endpoint of the Read Replica. + :param str hostname: Hostname of the endpoint. Only one of IP and hostname may be set. + :param str ip: IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. :param str name: Name of the endpoint. :param int port: TCP port of the endpoint. """ @@ -1346,7 +1347,7 @@ def __init__(__self__, *, @pulumi.getter(name="endpointId") def endpoint_id(self) -> Optional[str]: """ - The ID of the endpoint of the read replica. + The ID of the endpoint of the Read Replica. """ return pulumi.get(self, "endpoint_id") @@ -1354,7 +1355,7 @@ def endpoint_id(self) -> Optional[str]: @pulumi.getter def hostname(self) -> Optional[str]: """ - Hostname of the endpoint. Only one of ip and hostname may be set. + Hostname of the endpoint. Only one of IP and hostname may be set. """ return pulumi.get(self, "hostname") @@ -1362,7 +1363,7 @@ def hostname(self) -> Optional[str]: @pulumi.getter def ip(self) -> Optional[str]: """ - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. """ return pulumi.get(self, "ip") @@ -1419,13 +1420,13 @@ def __init__(__self__, *, service_ip: Optional[str] = None, zone: Optional[str] = None): """ - :param str private_network_id: UUID of the private network to be connected to the read replica. + :param str private_network_id: UUID of the Private Netork to be connected to the Read Replica. :param bool enable_ipam: If true, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > **Important:** One of `service_ip` or `enable_ipam=true` must be set. - :param str endpoint_id: The ID of the endpoint of the read replica. - :param str hostname: Hostname of the endpoint. Only one of ip and hostname may be set. - :param str ip: IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + :param str endpoint_id: The ID of the endpoint of the Read Replica. + :param str hostname: Hostname of the endpoint. Only one of IP and hostname may be set. + :param str ip: IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. :param str name: Name of the endpoint. :param int port: TCP port of the endpoint. :param str service_ip: The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. If not set, The IP network address within the private subnet is determined by the IP Address Management (IPAM) service. @@ -1453,7 +1454,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> str: """ - UUID of the private network to be connected to the read replica. + UUID of the Private Netork to be connected to the Read Replica. """ return pulumi.get(self, "private_network_id") @@ -1471,7 +1472,7 @@ def enable_ipam(self) -> Optional[bool]: @pulumi.getter(name="endpointId") def endpoint_id(self) -> Optional[str]: """ - The ID of the endpoint of the read replica. + The ID of the endpoint of the Read Replica. """ return pulumi.get(self, "endpoint_id") @@ -1479,7 +1480,7 @@ def endpoint_id(self) -> Optional[str]: @pulumi.getter def hostname(self) -> Optional[str]: """ - Hostname of the endpoint. Only one of ip and hostname may be set. + Hostname of the endpoint. Only one of IP and hostname may be set. """ return pulumi.get(self, "hostname") @@ -1487,7 +1488,7 @@ def hostname(self) -> Optional[str]: @pulumi.getter def ip(self) -> Optional[str]: """ - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set. + IPv4 address of the endpoint (IP address). Only one of IP and hostname may be set. """ return pulumi.get(self, "ip") @@ -1524,6 +1525,113 @@ def zone(self) -> Optional[str]: return pulumi.get(self, "zone") +@pulumi.output_type +class DocumentdbPrivateNetworkEndpointPrivateNetwork(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipNet": + suggest = "ip_net" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DocumentdbPrivateNetworkEndpointPrivateNetwork. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DocumentdbPrivateNetworkEndpointPrivateNetwork.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DocumentdbPrivateNetworkEndpointPrivateNetwork.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + hostname: Optional[str] = None, + ip: Optional[str] = None, + ip_net: Optional[str] = None, + name: Optional[str] = None, + port: Optional[int] = None, + zone: Optional[str] = None): + """ + :param str id: The private network ID. + :param str hostname: The hostname of your endpoint. + :param str ip: The IP of your private network service. + :param str ip_net: The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + :param str name: The name of your private service. + :param int port: The port of your private service. + :param str zone: The zone of your endpoint. + """ + pulumi.set(__self__, "id", id) + if hostname is not None: + pulumi.set(__self__, "hostname", hostname) + if ip is not None: + pulumi.set(__self__, "ip", ip) + if ip_net is not None: + pulumi.set(__self__, "ip_net", ip_net) + if name is not None: + pulumi.set(__self__, "name", name) + if port is not None: + pulumi.set(__self__, "port", port) + if zone is not None: + pulumi.set(__self__, "zone", zone) + + @property + @pulumi.getter + def id(self) -> str: + """ + The private network ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def hostname(self) -> Optional[str]: + """ + The hostname of your endpoint. + """ + return pulumi.get(self, "hostname") + + @property + @pulumi.getter + def ip(self) -> Optional[str]: + """ + The IP of your private network service. + """ + return pulumi.get(self, "ip") + + @property + @pulumi.getter(name="ipNet") + def ip_net(self) -> Optional[str]: + """ + The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set. + """ + return pulumi.get(self, "ip_net") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of your private service. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def port(self) -> Optional[int]: + """ + The port of your private service. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter + def zone(self) -> Optional[str]: + """ + The zone of your endpoint. + """ + return pulumi.get(self, "zone") + + @pulumi.output_type class DocumentdbReadReplicaDirectAccess(dict): @staticmethod @@ -2112,17 +2220,17 @@ def __init__(__self__, *, organization_id: Optional[str] = None, project_ids: Optional[Sequence[str]] = None): """ - :param Sequence[str] permission_set_names: Names of permission sets bound to the rule. + :param Sequence[str] permission_set_names: Names of permission sets bind to the rule. - **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: ```shell - $ scw iam permission-set list + $ scw IAM permission-set list ``` :param str organization_id: ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization. :param Sequence[str] project_ids: List of project IDs scoped to the rule. - > **Important** One of `organization_id` or `project_ids` must be set per rule. + > **Important** One `organization_id` or `project_ids` must be set per rule. """ pulumi.set(__self__, "permission_set_names", permission_set_names) if organization_id is not None: @@ -2134,12 +2242,12 @@ def __init__(__self__, *, @pulumi.getter(name="permissionSetNames") def permission_set_names(self) -> Sequence[str]: """ - Names of permission sets bound to the rule. + Names of permission sets bind to the rule. - **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: + **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g: ```shell - $ scw iam permission-set list + $ scw IAM permission-set list ``` """ return pulumi.get(self, "permission_set_names") @@ -2158,7 +2266,7 @@ def project_ids(self) -> Optional[Sequence[str]]: """ List of project IDs scoped to the rule. - > **Important** One of `organization_id` or `project_ids` must be set per rule. + > **Important** One `organization_id` or `project_ids` must be set per rule. """ return pulumi.get(self, "project_ids") @@ -3355,8 +3463,8 @@ def __init__(__self__, *, name: Optional[str] = None, type: Optional[str] = None): """ - :param str id: The ID of the resource that the IP is bound to. - :param str mac_address: The MAC Address of the resource the IP is attached to. + :param str id: The ID of the resource that the IP is attached to. + :param str mac_address: The MAC address of the resource the IP is attached to. :param str name: The name of the resource the IP is attached to. :param str type: The type of resource the IP is attached to. """ @@ -3373,7 +3481,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> Optional[str]: """ - The ID of the resource that the IP is bound to. + The ID of the resource that the IP is attached to. """ return pulumi.get(self, "id") @@ -3381,7 +3489,7 @@ def id(self) -> Optional[str]: @pulumi.getter(name="macAddress") def mac_address(self) -> Optional[str]: """ - The MAC Address of the resource the IP is attached to. + The MAC address of the resource the IP is attached to. """ return pulumi.get(self, "mac_address") @@ -3459,9 +3567,9 @@ def __init__(__self__, *, subnet_id: Optional[str] = None, zonal: Optional[str] = None): """ - :param str private_network_id: The private network the IP lives in if the IP is a private IP. - :param str subnet_id: The private network subnet the IP lives in if the IP is a private IP in a private network. - :param str zonal: The zone the IP lives in if the IP is a public zoned one + :param str private_network_id: The Private Network of the IP (if the IP is a private IP). + :param str subnet_id: The Private Network subnet of the IP (if the IP is a private IP). + :param str zonal: The zone of the IP (if the IP is public and zoned, rather than private and/or regional) """ if private_network_id is not None: pulumi.set(__self__, "private_network_id", private_network_id) @@ -3474,7 +3582,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> Optional[str]: """ - The private network the IP lives in if the IP is a private IP. + The Private Network of the IP (if the IP is a private IP). """ return pulumi.get(self, "private_network_id") @@ -3482,7 +3590,7 @@ def private_network_id(self) -> Optional[str]: @pulumi.getter(name="subnetId") def subnet_id(self) -> Optional[str]: """ - The private network subnet the IP lives in if the IP is a private IP in a private network. + The Private Network subnet of the IP (if the IP is a private IP). """ return pulumi.get(self, "subnet_id") @@ -3490,7 +3598,7 @@ def subnet_id(self) -> Optional[str]: @pulumi.getter def zonal(self) -> Optional[str]: """ - The zone the IP lives in if the IP is a public zoned one + The zone of the IP (if the IP is public and zoned, rather than private and/or regional) """ return pulumi.get(self, "zonal") @@ -4171,9 +4279,9 @@ def __init__(__self__, *, Possible values are: `acl_http_filter_none`, `path_begin`, `path_end`, `http_header_match` or `regex`. :param str http_filter_option: If you have `http_filter` at `http_header_match`, you can use this field to filter on the HTTP header's value. :param Sequence[str] http_filter_values: A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. :param bool invert: If set to `true`, the condition will be of type "unless". - :param Sequence[str] ip_subnets: A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + :param Sequence[str] ip_subnets: A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ if http_filter is not None: pulumi.set(__self__, "http_filter", http_filter) @@ -4209,7 +4317,7 @@ def http_filter_option(self) -> Optional[str]: def http_filter_values(self) -> Optional[Sequence[str]]: """ A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. """ return pulumi.get(self, "http_filter_values") @@ -4225,7 +4333,7 @@ def invert(self) -> Optional[bool]: @pulumi.getter(name="ipSubnets") def ip_subnets(self) -> Optional[Sequence[str]]: """ - A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ return pulumi.get(self, "ip_subnets") @@ -4608,7 +4716,7 @@ def __init__(__self__, *, type: Optional[str] = None): """ :param int code: The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. - :param str target: An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + :param str target: A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. :param str type: The redirect type. Possible values are: `location` or `scheme`. """ if code is not None: @@ -4630,7 +4738,7 @@ def code(self) -> Optional[int]: @pulumi.getter def target(self) -> Optional[str]: """ - An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + A URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. """ return pulumi.get(self, "target") @@ -4680,9 +4788,9 @@ def __init__(__self__, *, Possible values are: `acl_http_filter_none`, `path_begin`, `path_end`, `http_header_match` or `regex`. :param str http_filter_option: If you have `http_filter` at `http_header_match`, you can use this field to filter on the HTTP header's value. :param Sequence[str] http_filter_values: A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. :param bool invert: If set to `true`, the condition will be of type "unless". - :param Sequence[str] ip_subnets: A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + :param Sequence[str] ip_subnets: A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ if http_filter is not None: pulumi.set(__self__, "http_filter", http_filter) @@ -4718,7 +4826,7 @@ def http_filter_option(self) -> Optional[str]: def http_filter_values(self) -> Optional[Sequence[str]]: """ A list of possible values to match for the given HTTP filter. - Keep in mind that in the case of `http_header_match` the HTTP header field name is case-insensitive. + Keep in mind that in the case of `http_header_match` the HTTP header field name is case insensitive. """ return pulumi.get(self, "http_filter_values") @@ -4734,7 +4842,7 @@ def invert(self) -> Optional[bool]: @pulumi.getter(name="ipSubnets") def ip_subnets(self) -> Optional[Sequence[str]]: """ - A list of IPs or CIDR v4/v6 addresses of the client of the session to match. + A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ return pulumi.get(self, "ip_subnets") @@ -4769,11 +4877,11 @@ def __init__(__self__, *, status: Optional[str] = None, zone: Optional[str] = None): """ - :param str private_network_id: (Required) The ID of the Private Network to associate. - :param bool dhcp_config: (Optional) Set to true if you want to let DHCP assign IP addresses. See below. - :param str static_config: (Optional) Define a local ip address of your choice for the load balancer instance. See below. + :param str private_network_id: (Required) The ID of the Private Network to attach to. + :param bool dhcp_config: (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. + :param str static_config: (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. :param str status: The status of private network connection - :param str zone: `zone`) The zone of the load-balancer. + :param str zone: `zone`) The zone of the Load Balancer. """ pulumi.set(__self__, "private_network_id", private_network_id) if dhcp_config is not None: @@ -4789,7 +4897,7 @@ def __init__(__self__, *, @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> str: """ - (Required) The ID of the Private Network to associate. + (Required) The ID of the Private Network to attach to. """ return pulumi.get(self, "private_network_id") @@ -4797,7 +4905,7 @@ def private_network_id(self) -> str: @pulumi.getter(name="dhcpConfig") def dhcp_config(self) -> Optional[bool]: """ - (Optional) Set to true if you want to let DHCP assign IP addresses. See below. + (Optional) Set to `true` if you want to let DHCP assign IP addresses. See below. """ return pulumi.get(self, "dhcp_config") @@ -4805,8 +4913,11 @@ def dhcp_config(self) -> Optional[bool]: @pulumi.getter(name="staticConfig") def static_config(self) -> Optional[str]: """ - (Optional) Define a local ip address of your choice for the load balancer instance. See below. + (Deprecated) Please use `dhcp_config`. Define a local ip address of your choice for the load balancer instance. """ + warnings.warn("""static_config field is deprecated, please use dhcp_config instead""", DeprecationWarning) + pulumi.log.warn("""static_config is deprecated: static_config field is deprecated, please use dhcp_config instead""") + return pulumi.get(self, "static_config") @property @@ -4821,7 +4932,7 @@ def status(self) -> Optional[str]: @pulumi.getter def zone(self) -> Optional[str]: """ - `zone`) The zone of the load-balancer. + `zone`) The zone of the Load Balancer. """ return pulumi.get(self, "zone") @@ -4854,9 +4965,9 @@ def __init__(__self__, *, can_publish: Optional[bool] = None, can_receive: Optional[bool] = None): """ - :param bool can_manage: . Defines if user can manage the associated resource(s). - :param bool can_publish: . Defines if user can publish messages to the service. - :param bool can_receive: . Defines if user can receive messages from the service. + :param bool can_manage: . Defines whether the user can manage the associated resource(s). + :param bool can_publish: . Defines whether the user can publish messages to the service. + :param bool can_receive: . Defines whether the user can receive messages from the service. """ if can_manage is not None: pulumi.set(__self__, "can_manage", can_manage) @@ -4869,7 +4980,7 @@ def __init__(__self__, *, @pulumi.getter(name="canManage") def can_manage(self) -> Optional[bool]: """ - . Defines if user can manage the associated resource(s). + . Defines whether the user can manage the associated resource(s). """ return pulumi.get(self, "can_manage") @@ -4877,7 +4988,7 @@ def can_manage(self) -> Optional[bool]: @pulumi.getter(name="canPublish") def can_publish(self) -> Optional[bool]: """ - . Defines if user can publish messages to the service. + . Defines whether the user can publish messages to the service. """ return pulumi.get(self, "can_publish") @@ -4885,7 +4996,7 @@ def can_publish(self) -> Optional[bool]: @pulumi.getter(name="canReceive") def can_receive(self) -> Optional[bool]: """ - . Defines if user can receive messages from the service. + . Defines whether the user can receive messages from the service. """ return pulumi.get(self, "can_receive") @@ -4918,9 +5029,9 @@ def __init__(__self__, *, can_publish: Optional[bool] = None, can_receive: Optional[bool] = None): """ - :param bool can_manage: . Defines if user can manage the associated resource(s). - :param bool can_publish: . Defines if user can publish messages to the service. - :param bool can_receive: . Defines if user can receive messages from the service. + :param bool can_manage: . Defines whether the user can manage the associated resource(s). + :param bool can_publish: . Defines whether the user can publish messages to the service. + :param bool can_receive: . Defines whether the user can receive messages from the service. """ if can_manage is not None: pulumi.set(__self__, "can_manage", can_manage) @@ -4933,7 +5044,7 @@ def __init__(__self__, *, @pulumi.getter(name="canManage") def can_manage(self) -> Optional[bool]: """ - . Defines if user can manage the associated resource(s). + . Defines whether the user can manage the associated resource(s). """ return pulumi.get(self, "can_manage") @@ -4941,7 +5052,7 @@ def can_manage(self) -> Optional[bool]: @pulumi.getter(name="canPublish") def can_publish(self) -> Optional[bool]: """ - . Defines if user can publish messages to the service. + . Defines whether the user can publish messages to the service. """ return pulumi.get(self, "can_publish") @@ -4949,7 +5060,7 @@ def can_publish(self) -> Optional[bool]: @pulumi.getter(name="canReceive") def can_receive(self) -> Optional[bool]: """ - . Defines if user can receive messages from the service. + . Defines whether the user can receive messages from the service. """ return pulumi.get(self, "can_receive") @@ -5532,7 +5643,7 @@ def __init__(__self__, *, description: Optional[str] = None, id: Optional[str] = None): """ - :param str ip: The ip range to whitelist + :param str ip: The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) :param str description: A text describing this rule. Default description: `Allow IP` @@ -5549,7 +5660,7 @@ def __init__(__self__, *, @pulumi.getter def ip(self) -> str: """ - The ip range to whitelist + The IP range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) """ return pulumi.get(self, "ip") @@ -5603,30 +5714,30 @@ def __init__(__self__, *, :param str id: The UUID of the Private Network resource. :param str endpoint_id: The ID of the endpoint. :param Sequence[str] service_ips: Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > The `private_network` conflicts with `acl`. Only one should be specified. - > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side by side. - - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - require updating the private network to add IPs. + - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + require updating the Private Network to add IPs. Your `service_ips` must be listed as follows: ```python import pulumi ``` :param str zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ pulumi.set(__self__, "id", id) if endpoint_id is not None: @@ -5657,23 +5768,23 @@ def endpoint_id(self) -> Optional[str]: def service_ips(self) -> Optional[Sequence[str]]: """ Endpoint IPv4 addresses in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation). You must provide at least one IP per node. - Keep in mind that in Cluster mode you cannot edit your Private Network after its creation so if you want to be able to - scale your Cluster horizontally (adding nodes) later, you should provide more IPs than nodes. + Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to + scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes. If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service. > The `private_network` conflicts with `acl`. Only one should be specified. - > **Important:** The way to use private networks differs whether you are using Redis in Standalone or Cluster mode. + > **Important:** The way to use Private Networks differs whether you are using Redis™ in Standalone or cluster mode. - Standalone mode (`cluster_size` = 1) : you can attach as many Private Networks as you want (each must be a separate - block). If you detach your only private network, your cluster won't be reachable until you define a new Private or + block). If you detach your only Private Network, your cluster won't be reachable until you define a new Private or Public Network. You can modify your `private_network` and its specs, you can have both a Private and Public Network side by side. - - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your Cluster, you won't be - able to edit or detach it afterward, unless you create another Cluster. This also means that, if you are using a static - configuration (`service_ips`), you won't be able to scale your Cluster horizontally (add more nodes) since it would - require updating the private network to add IPs. + - Cluster mode (`cluster_size` > 2) : you can define a single Private Network as you create your cluster, you won't be + able to edit or detach it afterward, unless you create another cluster. This also means that, if you are using a static + configuration (`service_ips`), you won't be able to scale your cluster horizontally (add more nodes) since it would + require updating the Private Network to add IPs. Your `service_ips` must be listed as follows: ```python @@ -5687,7 +5798,7 @@ def service_ips(self) -> Optional[Sequence[str]]: def zone(self) -> Optional[str]: """ `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ return pulumi.get(self, "zone") @@ -5849,7 +5960,7 @@ def __init__(__self__, *, push_default_route: Optional[bool] = None): """ :param str ipam_ip_id: Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. - :param bool push_default_route: Defines whether the default route is enabled on that Gateway Network. + :param bool push_default_route: Defines whether to enable the default route on the GatewayNetwork. """ if ipam_ip_id is not None: pulumi.set(__self__, "ipam_ip_id", ipam_ip_id) @@ -5868,7 +5979,7 @@ def ipam_ip_id(self) -> Optional[str]: @pulumi.getter(name="pushDefaultRoute") def push_default_route(self) -> Optional[bool]: """ - Defines whether the default route is enabled on that Gateway Network. + Defines whether to enable the default route on the GatewayNetwork. """ return pulumi.get(self, "push_default_route") @@ -5907,10 +6018,10 @@ def __init__(__self__, *, subnet_mask: Optional[str] = None, updated_at: Optional[str] = None): """ - :param str address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + :param str address: The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. :param str created_at: The date and time of the creation of the subnet. :param str id: The subnet ID. - :param int prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + :param int prefix_length: The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. :param str subnet: The subnet CIDR. :param str subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet :param str updated_at: The date and time of the last update of the subnet. @@ -5934,7 +6045,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> Optional[str]: """ - The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. """ return pulumi.get(self, "address") @@ -5958,7 +6069,7 @@ def id(self) -> Optional[str]: @pulumi.getter(name="prefixLength") def prefix_length(self) -> Optional[int]: """ - The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. """ return pulumi.get(self, "prefix_length") @@ -6021,10 +6132,10 @@ def __init__(__self__, *, subnet_mask: Optional[str] = None, updated_at: Optional[str] = None): """ - :param str address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + :param str address: The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. :param str created_at: The date and time of the creation of the subnet. :param str id: The subnet ID. - :param int prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + :param int prefix_length: The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. :param str subnet: The subnet CIDR. :param str subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet :param str updated_at: The date and time of the last update of the subnet. @@ -6048,7 +6159,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> Optional[str]: """ - The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet. + The network address of the subnet in hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' subnet. """ return pulumi.get(self, "address") @@ -6072,7 +6183,7 @@ def id(self) -> Optional[str]: @pulumi.getter(name="prefixLength") def prefix_length(self) -> Optional[int]: """ - The length of the network prefix, e.g., 24 for a 255.255.255.0 mask. + The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask. """ return pulumi.get(self, "prefix_length") @@ -6560,13 +6671,13 @@ def __init__(__self__, *, unit: str, value: str): """ - :param str billed_quantity: Consumed quantity - :param str category_name: Name of consumption category - :param str product_name: The product name - :param str project_id: Project ID of the consumption - :param str sku: Unique identifier of the product - :param str unit: Unit of consumed quantity - :param str value: Monetary value of the consumption + :param str billed_quantity: The consumed quantity. + :param str category_name: The name of the consumption category. + :param str product_name: The product name. + :param str project_id: `project_id`) The ID of the project the consumption list is associated with. + :param str sku: The unique identifier of the product. + :param str unit: The unit of consumed quantity. + :param str value: The monetary value of the consumption. """ pulumi.set(__self__, "billed_quantity", billed_quantity) pulumi.set(__self__, "category_name", category_name) @@ -6580,7 +6691,7 @@ def __init__(__self__, *, @pulumi.getter(name="billedQuantity") def billed_quantity(self) -> str: """ - Consumed quantity + The consumed quantity. """ return pulumi.get(self, "billed_quantity") @@ -6588,7 +6699,7 @@ def billed_quantity(self) -> str: @pulumi.getter(name="categoryName") def category_name(self) -> str: """ - Name of consumption category + The name of the consumption category. """ return pulumi.get(self, "category_name") @@ -6596,7 +6707,7 @@ def category_name(self) -> str: @pulumi.getter(name="productName") def product_name(self) -> str: """ - The product name + The product name. """ return pulumi.get(self, "product_name") @@ -6604,7 +6715,7 @@ def product_name(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - Project ID of the consumption + `project_id`) The ID of the project the consumption list is associated with. """ return pulumi.get(self, "project_id") @@ -6612,7 +6723,7 @@ def project_id(self) -> str: @pulumi.getter def sku(self) -> str: """ - Unique identifier of the product + The unique identifier of the product. """ return pulumi.get(self, "sku") @@ -6620,7 +6731,7 @@ def sku(self) -> str: @pulumi.getter def unit(self) -> str: """ - Unit of consumed quantity + The unit of consumed quantity. """ return pulumi.get(self, "unit") @@ -6628,7 +6739,7 @@ def unit(self) -> str: @pulumi.getter def value(self) -> str: """ - Monetary value of the consumption + The monetary value of the consumption. """ return pulumi.get(self, "value") @@ -6949,7 +7060,6 @@ def __init__(__self__, *, :param str hostname: The hostname of your endpoint :param str ip: The IP of your load balancer service :param str name: The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. :param int port: The port of your load balancer service """ pulumi.set(__self__, "endpoint_id", endpoint_id) @@ -6987,7 +7097,6 @@ def ip(self) -> str: def name(self) -> str: """ The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. """ return pulumi.get(self, "name") @@ -7048,7 +7157,6 @@ def __init__(__self__, *, :param str ip: The IP of your Instance within the private service :param str ip_net: The IP with the given mask within the private subnet :param str name: The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. :param str pn_id: The private network ID :param int port: The port of your private service :param str zone: The zone you want to attach the resource to @@ -7108,7 +7216,6 @@ def ip_net(self) -> str: def name(self) -> str: """ The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. """ return pulumi.get(self, "name") @@ -7146,7 +7253,6 @@ def __init__(__self__, *, """ :param str ip: IP of the replica :param str name: The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. :param int port: Port of the replica """ pulumi.set(__self__, "ip", ip) @@ -7166,7 +7272,6 @@ def ip(self) -> str: def name(self) -> str: """ The name of the RDB instance. - Only one of `name` and `instance_id` should be specified. """ return pulumi.get(self, "name") @@ -8335,9 +8440,9 @@ def __init__(__self__, *, id: Optional[str] = None, name: Optional[str] = None): """ - :param str type: The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. - :param str id: The ID of the resource that the IP is bound to. - :param str name: The name of the resource to get the IP from. + :param str type: The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + :param str id: The ID of the resource that the IP is attached to. + :param str name: The name of the resource the IP is attached to. """ pulumi.set(__self__, "type", type) if id is not None: @@ -8349,7 +8454,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + The type of the resource the IP is attached to. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ return pulumi.get(self, "type") @@ -8357,7 +8462,7 @@ def type(self) -> str: @pulumi.getter def id(self) -> Optional[str]: """ - The ID of the resource that the IP is bound to. + The ID of the resource that the IP is attached to. """ return pulumi.get(self, "id") @@ -8365,7 +8470,7 @@ def id(self) -> Optional[str]: @pulumi.getter def name(self) -> Optional[str]: """ - The name of the resource to get the IP from. + The name of the resource the IP is attached to. """ return pulumi.get(self, "name") @@ -8383,15 +8488,15 @@ def __init__(__self__, *, updated_at: str, zone: str): """ - :param str address: The Scaleway internal IP address of the server. + :param str address: The Scaleway internal IP address of the resource. :param str created_at: The date and time of the creation of the IP. :param str id: The ID of the resource. - :param str project_id: The ID of the project used as filter. - :param str region: The region used as filter. - :param Sequence['GetIpamIpsIpResourceArgs'] resources: Filter by resource ID, type or name. - :param Sequence[str] tags: The tags used as filter. + :param str project_id: The ID of the Project to filter for. + :param str region: The region to filter for. + :param Sequence['GetIpamIpsIpResourceArgs'] resources: Filter for a resource attached to the IP, using resource ID, type or name. + :param Sequence[str] tags: The IP tags to filter for. :param str updated_at: The date and time of the last update of the IP. - :param str zone: The zone in which the IP is. + :param str zone: The zone of the IP. """ pulumi.set(__self__, "address", address) pulumi.set(__self__, "created_at", created_at) @@ -8407,7 +8512,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> str: """ - The Scaleway internal IP address of the server. + The Scaleway internal IP address of the resource. """ return pulumi.get(self, "address") @@ -8431,7 +8536,7 @@ def id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project used as filter. + The ID of the Project to filter for. """ return pulumi.get(self, "project_id") @@ -8439,7 +8544,7 @@ def project_id(self) -> str: @pulumi.getter def region(self) -> str: """ - The region used as filter. + The region to filter for. """ return pulumi.get(self, "region") @@ -8447,7 +8552,7 @@ def region(self) -> str: @pulumi.getter def resources(self) -> Sequence['outputs.GetIpamIpsIpResourceResult']: """ - Filter by resource ID, type or name. + Filter for a resource attached to the IP, using resource ID, type or name. """ return pulumi.get(self, "resources") @@ -8455,7 +8560,7 @@ def resources(self) -> Sequence['outputs.GetIpamIpsIpResourceResult']: @pulumi.getter def tags(self) -> Sequence[str]: """ - The tags used as filter. + The IP tags to filter for. """ return pulumi.get(self, "tags") @@ -8471,7 +8576,7 @@ def updated_at(self) -> str: @pulumi.getter def zone(self) -> str: """ - The zone in which the IP is. + The zone of the IP. """ return pulumi.get(self, "zone") @@ -8484,10 +8589,10 @@ def __init__(__self__, *, name: str, type: str): """ - :param str id: The ID of the resource that the IP is bound to. - :param str mac_address: The Mac Address used as filter. - :param str name: The name of the resource to get the IP from. - :param str type: The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + :param str id: The ID of the attached resource. + :param str mac_address: The linked MAC address to filter for. + :param str name: The name of the attached resource. + :param str type: The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "mac_address", mac_address) @@ -8498,7 +8603,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> str: """ - The ID of the resource that the IP is bound to. + The ID of the attached resource. """ return pulumi.get(self, "id") @@ -8506,7 +8611,7 @@ def id(self) -> str: @pulumi.getter(name="macAddress") def mac_address(self) -> str: """ - The Mac Address used as filter. + The linked MAC address to filter for. """ return pulumi.get(self, "mac_address") @@ -8514,7 +8619,7 @@ def mac_address(self) -> str: @pulumi.getter def name(self) -> str: """ - The name of the resource to get the IP from. + The name of the attached resource. """ return pulumi.get(self, "name") @@ -8522,7 +8627,7 @@ def name(self) -> str: @pulumi.getter def type(self) -> str: """ - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ return pulumi.get(self, "type") @@ -8534,9 +8639,9 @@ def __init__(__self__, *, id: Optional[str] = None, name: Optional[str] = None): """ - :param str type: The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. - :param str id: The ID of the resource that the IP is bound to. - :param str name: The name of the resource to get the IP from. + :param str type: The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + :param str id: The ID of the attached resource. + :param str name: The name of the attached resource. """ pulumi.set(__self__, "type", type) if id is not None: @@ -8548,7 +8653,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. + The type of the attached resource. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list. """ return pulumi.get(self, "type") @@ -8556,7 +8661,7 @@ def type(self) -> str: @pulumi.getter def id(self) -> Optional[str]: """ - The ID of the resource that the IP is bound to. + The ID of the attached resource. """ return pulumi.get(self, "id") @@ -8564,7 +8669,7 @@ def id(self) -> Optional[str]: @pulumi.getter def name(self) -> Optional[str]: """ - The name of the resource to get the IP from. + The name of the attached resource. """ return pulumi.get(self, "name") @@ -8954,17 +9059,17 @@ def __init__(__self__, *, name: str, update_at: str): """ - :param Sequence['GetLbAclsAclActionArgs'] actions: The action that has been undertaken when an ACL filter had matched. - :param str created_at: The date at which the ACL was created (RFC 3339 format). + :param Sequence['GetLbAclsAclActionArgs'] actions: The action to be undertaken when an ACL filter matches. + :param str created_at: The date on which the ACL was created (RFC 3339 format). :param str description: The description of the ACL resource. - :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + :param str frontend_id: The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` :param str id: The associated ACL ID. > **Important:** LB ACLs' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` - :param int index: The order between the ACLs. + :param int index: The priority of this ACL in the ordered list. :param Sequence['GetLbAclsAclMatchArgs'] matches: The ACL match rule. - :param str name: The ACL name used as filter. ACLs with a name like it are listed. - :param str update_at: The date at which the ACL was last updated (RFC 3339 format). + :param str name: The ACL name to filter for. ACLs with a matching name are listed. + :param str update_at: The date on which the ACL was last updated (RFC 3339 format). """ pulumi.set(__self__, "actions", actions) pulumi.set(__self__, "created_at", created_at) @@ -8980,7 +9085,7 @@ def __init__(__self__, *, @pulumi.getter def actions(self) -> Sequence['outputs.GetLbAclsAclActionResult']: """ - The action that has been undertaken when an ACL filter had matched. + The action to be undertaken when an ACL filter matches. """ return pulumi.get(self, "actions") @@ -8988,7 +9093,7 @@ def actions(self) -> Sequence['outputs.GetLbAclsAclActionResult']: @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - The date at which the ACL was created (RFC 3339 format). + The date on which the ACL was created (RFC 3339 format). """ return pulumi.get(self, "created_at") @@ -9004,8 +9109,8 @@ def description(self) -> str: @pulumi.getter(name="frontendId") def frontend_id(self) -> str: """ - The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed. - > **Important:** LB Frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + The frontend ID this ACL is attached to. ACLs with a matching frontend ID are listed. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` """ return pulumi.get(self, "frontend_id") @@ -9022,7 +9127,7 @@ def id(self) -> str: @pulumi.getter def index(self) -> int: """ - The order between the ACLs. + The priority of this ACL in the ordered list. """ return pulumi.get(self, "index") @@ -9038,7 +9143,7 @@ def matches(self) -> Sequence['outputs.GetLbAclsAclMatchResult']: @pulumi.getter def name(self) -> str: """ - The ACL name used as filter. ACLs with a name like it are listed. + The ACL name to filter for. ACLs with a matching name are listed. """ return pulumi.get(self, "name") @@ -9046,7 +9151,7 @@ def name(self) -> str: @pulumi.getter(name="updateAt") def update_at(self) -> str: """ - The date at which the ACL was last updated (RFC 3339 format). + The date on which the ACL was last updated (RFC 3339 format). """ return pulumi.get(self, "update_at") @@ -9087,8 +9192,8 @@ def __init__(__self__, *, target: str, type: str): """ - :param int code: The HTTP redirect code used. - :param str target: The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + :param int code: The HTTP redirect code to use. + :param str target: The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. :param str type: The redirect type. """ pulumi.set(__self__, "code", code) @@ -9099,7 +9204,7 @@ def __init__(__self__, *, @pulumi.getter def code(self) -> int: """ - The HTTP redirect code used. + The HTTP redirect code to use. """ return pulumi.get(self, "code") @@ -9107,7 +9212,7 @@ def code(self) -> int: @pulumi.getter def target(self) -> str: """ - The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + The URL used in case of a location redirect, or the scheme name that replaces the request's original scheme. """ return pulumi.get(self, "target") @@ -9129,11 +9234,11 @@ def __init__(__self__, *, invert: bool, ip_subnets: Sequence[str]): """ - :param str http_filter: The matched HTTP filter. + :param str http_filter: The HTTP filter to match. :param str http_filter_option: A list of possible values for the HTTP filter based on the HTTP header. - :param Sequence[str] http_filter_values: The possible values matched for a given HTTP filter. + :param Sequence[str] http_filter_values: The possible values to match for a given HTTP filter. :param bool invert: The condition will be of type "unless" if invert is set to `true` - :param Sequence[str] ip_subnets: A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + :param Sequence[str] ip_subnets: A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ pulumi.set(__self__, "http_filter", http_filter) pulumi.set(__self__, "http_filter_option", http_filter_option) @@ -9145,7 +9250,7 @@ def __init__(__self__, *, @pulumi.getter(name="httpFilter") def http_filter(self) -> str: """ - The matched HTTP filter. + The HTTP filter to match. """ return pulumi.get(self, "http_filter") @@ -9161,7 +9266,7 @@ def http_filter_option(self) -> str: @pulumi.getter(name="httpFilterValues") def http_filter_values(self) -> Sequence[str]: """ - The possible values matched for a given HTTP filter. + The possible values to match for a given HTTP filter. """ return pulumi.get(self, "http_filter_values") @@ -9177,7 +9282,7 @@ def invert(self) -> bool: @pulumi.getter(name="ipSubnets") def ip_subnets(self) -> Sequence[str]: """ - A list of matched IPs or CIDR v4/v6 addresses of the client of the session. + A list of IPs, or CIDR v4/v6 addresses of the session client, to match. """ return pulumi.get(self, "ip_subnets") @@ -9280,32 +9385,32 @@ def __init__(__self__, *, timeout_tunnel: str, update_at: str): """ - :param str created_at: The date at which the backend was created (RFC 3339 format). - :param str failover_host: Scaleway S3 bucket website to be served in case all backend servers are down. - :param int forward_port: User sessions will be forwarded to this port of backend servers. + :param str created_at: The date on which the backend was created (RFC 3339 format). + :param str failover_host: Scaleway S3 bucket website to be served if all backend servers are down. + :param int forward_port: User sessions will be forwarded to this backend server port. :param str forward_port_algorithm: Load balancing algorithm. :param str forward_protocol: Backend protocol. - :param str health_check_delay: Interval between two HC requests. - :param Sequence['GetLbBackendsBackendHealthCheckHttpArgs'] health_check_http: This block enable HTTP health check. - :param Sequence['GetLbBackendsBackendHealthCheckHttpArgs'] health_check_https: This block enable HTTPS health check. - :param int health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down. - :param int health_check_port: Port the HC requests will be sent to. - :param Sequence['GetLbBackendsBackendHealthCheckTcpArgs'] health_check_tcps: This block enable TCP health check. - :param str health_check_timeout: Timeout before we consider a HC request failed. + :param str health_check_delay: Interval between two health check requests. + :param Sequence['GetLbBackendsBackendHealthCheckHttpArgs'] health_check_http: This block enables HTTP health checks. + :param Sequence['GetLbBackendsBackendHealthCheckHttpArgs'] health_check_https: This block enables HTTPS health checks. + :param int health_check_max_retries: Number of allowed failed health check requests before the backend server is marked as down. + :param int health_check_port: Port the health check requests will be sent to. + :param Sequence['GetLbBackendsBackendHealthCheckTcpArgs'] health_check_tcps: This block enables TCP health checks. + :param str health_check_timeout: Timeout before a health check request is considered failed. :param str id: The associated backend ID. :param bool ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection. - :param str lb_id: The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. - :param str name: The backend name used as filter. Backends with a name like it are listed. + :param str lb_id: The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. + :param str name: The backend name to filter for. Backends with a matching name are listed. :param str on_marked_down_action: Modify what occurs when a backend server is marked down. :param str proxy_protocol: The type of PROXY protocol. :param Sequence[str] server_ips: List of backend server IP addresses. - :param bool ssl_bridging: Enables SSL between load balancer and backend servers. + :param bool ssl_bridging: Enables SSL between Load Balancer and backend servers. :param str sticky_sessions: Enables cookie-based session persistence. :param str sticky_sessions_cookie_name: Cookie name for sticky sessions. :param str timeout_connect: Maximum initial server connection establishment time. :param str timeout_server: Maximum server connection inactivity time. :param str timeout_tunnel: Maximum tunnel inactivity time. - :param str update_at: The date at which the backend was last updated (RFC 3339 format). + :param str update_at: The date on which the backend was last updated (RFC 3339 format). """ pulumi.set(__self__, "created_at", created_at) pulumi.set(__self__, "failover_host", failover_host) @@ -9338,7 +9443,7 @@ def __init__(__self__, *, @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - The date at which the backend was created (RFC 3339 format). + The date on which the backend was created (RFC 3339 format). """ return pulumi.get(self, "created_at") @@ -9346,7 +9451,7 @@ def created_at(self) -> str: @pulumi.getter(name="failoverHost") def failover_host(self) -> str: """ - Scaleway S3 bucket website to be served in case all backend servers are down. + Scaleway S3 bucket website to be served if all backend servers are down. """ return pulumi.get(self, "failover_host") @@ -9354,7 +9459,7 @@ def failover_host(self) -> str: @pulumi.getter(name="forwardPort") def forward_port(self) -> int: """ - User sessions will be forwarded to this port of backend servers. + User sessions will be forwarded to this backend server port. """ return pulumi.get(self, "forward_port") @@ -9378,7 +9483,7 @@ def forward_protocol(self) -> str: @pulumi.getter(name="healthCheckDelay") def health_check_delay(self) -> str: """ - Interval between two HC requests. + Interval between two health check requests. """ return pulumi.get(self, "health_check_delay") @@ -9386,7 +9491,7 @@ def health_check_delay(self) -> str: @pulumi.getter(name="healthCheckHttp") def health_check_http(self) -> Sequence['outputs.GetLbBackendsBackendHealthCheckHttpResult']: """ - This block enable HTTP health check. + This block enables HTTP health checks. """ return pulumi.get(self, "health_check_http") @@ -9394,7 +9499,7 @@ def health_check_http(self) -> Sequence['outputs.GetLbBackendsBackendHealthCheck @pulumi.getter(name="healthCheckHttps") def health_check_https(self) -> Sequence['outputs.GetLbBackendsBackendHealthCheckHttpResult']: """ - This block enable HTTPS health check. + This block enables HTTPS health checks. """ return pulumi.get(self, "health_check_https") @@ -9402,7 +9507,7 @@ def health_check_https(self) -> Sequence['outputs.GetLbBackendsBackendHealthChec @pulumi.getter(name="healthCheckMaxRetries") def health_check_max_retries(self) -> int: """ - Number of allowed failed HC requests before the backend server is marked down. + Number of allowed failed health check requests before the backend server is marked as down. """ return pulumi.get(self, "health_check_max_retries") @@ -9410,7 +9515,7 @@ def health_check_max_retries(self) -> int: @pulumi.getter(name="healthCheckPort") def health_check_port(self) -> int: """ - Port the HC requests will be sent to. + Port the health check requests will be sent to. """ return pulumi.get(self, "health_check_port") @@ -9418,7 +9523,7 @@ def health_check_port(self) -> int: @pulumi.getter(name="healthCheckTcps") def health_check_tcps(self) -> Sequence['outputs.GetLbBackendsBackendHealthCheckTcpResult']: """ - This block enable TCP health check. + This block enables TCP health checks. """ return pulumi.get(self, "health_check_tcps") @@ -9426,7 +9531,7 @@ def health_check_tcps(self) -> Sequence['outputs.GetLbBackendsBackendHealthCheck @pulumi.getter(name="healthCheckTimeout") def health_check_timeout(self) -> str: """ - Timeout before we consider a HC request failed. + Timeout before a health check request is considered failed. """ return pulumi.get(self, "health_check_timeout") @@ -9450,7 +9555,7 @@ def ignore_ssl_server_verify(self) -> bool: @pulumi.getter(name="lbId") def lb_id(self) -> str: """ - The load-balancer ID this backend is attached to. backends with a LB ID like it are listed. + The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. """ return pulumi.get(self, "lb_id") @@ -9458,7 +9563,7 @@ def lb_id(self) -> str: @pulumi.getter def name(self) -> str: """ - The backend name used as filter. Backends with a name like it are listed. + The backend name to filter for. Backends with a matching name are listed. """ return pulumi.get(self, "name") @@ -9490,7 +9595,7 @@ def server_ips(self) -> Sequence[str]: @pulumi.getter(name="sslBridging") def ssl_bridging(self) -> bool: """ - Enables SSL between load balancer and backend servers. + Enables SSL between Load Balancer and backend servers. """ return pulumi.get(self, "ssl_bridging") @@ -9538,7 +9643,7 @@ def timeout_tunnel(self) -> str: @pulumi.getter(name="updateAt") def update_at(self) -> str: """ - The date at which the backend was last updated (RFC 3339 format). + The date on which the backend was last updated (RFC 3339 format). """ return pulumi.get(self, "update_at") @@ -9553,10 +9658,10 @@ def __init__(__self__, *, uri: str): """ :param int code: The expected HTTP status code. - :param str host_header: The HTTP host header to use for HC requests. - :param str method: The HTTP method to use for HC requests. + :param str host_header: The HTTP host header to use for health check requests. + :param str method: The HTTP method to use for health check requests. :param str sni: The SNI to use for HC requests over SSL. - :param str uri: The HTTPS endpoint URL to call for HC requests. + :param str uri: The HTTPS endpoint URL to call for health check requests. """ pulumi.set(__self__, "code", code) pulumi.set(__self__, "host_header", host_header) @@ -9576,7 +9681,7 @@ def code(self) -> int: @pulumi.getter(name="hostHeader") def host_header(self) -> str: """ - The HTTP host header to use for HC requests. + The HTTP host header to use for health check requests. """ return pulumi.get(self, "host_header") @@ -9584,7 +9689,7 @@ def host_header(self) -> str: @pulumi.getter def method(self) -> str: """ - The HTTP method to use for HC requests. + The HTTP method to use for health check requests. """ return pulumi.get(self, "method") @@ -9600,7 +9705,7 @@ def sni(self) -> str: @pulumi.getter def uri(self) -> str: """ - The HTTPS endpoint URL to call for HC requests. + The HTTPS endpoint URL to call for health check requests. """ return pulumi.get(self, "uri") @@ -9831,18 +9936,18 @@ def __init__(__self__, *, timeout_client: str, update_at: str): """ - :param str backend_id: The load-balancer backend ID this frontend is attached to. - > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` - :param Sequence[str] certificate_ids: List of Certificate IDs that are used by the frontend. - :param str created_at: The date at which the frontend was created (RFC 3339 format). - :param bool enable_http3: If HTTP/3 protocol is activated. - :param str id: The associated frontend ID. - > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` - :param int inbound_port: TCP port the frontend listen to. - :param str lb_id: The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. - :param str name: The frontend name used as filter. Frontends with a name like it are listed. + :param str backend_id: The Load Balancer backend ID this frontend is attached to. + > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + :param Sequence[str] certificate_ids: List of certificate IDs that are used by the frontend. + :param str created_at: The date on which the frontend was created (RFC 3339 format). + :param bool enable_http3: Whether HTTP/3 protocol is activated. + :param str id: The ID of the associated frontend. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + :param int inbound_port: TCP port the frontend listens to. + :param str lb_id: The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. + :param str name: The frontend name to filter for. Frontends with a matching name are listed. :param str timeout_client: Maximum inactivity time on the client side. - :param str update_at: The date at which the frontend was last updated (RFC 3339 format). + :param str update_at: The date aont which the frontend was last updated (RFC 3339 format). """ pulumi.set(__self__, "backend_id", backend_id) pulumi.set(__self__, "certificate_ids", certificate_ids) @@ -9859,8 +9964,8 @@ def __init__(__self__, *, @pulumi.getter(name="backendId") def backend_id(self) -> str: """ - The load-balancer backend ID this frontend is attached to. - > **Important:** LB backends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + The Load Balancer backend ID this frontend is attached to. + > **Important:** Load Balancer backend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` """ return pulumi.get(self, "backend_id") @@ -9868,7 +9973,7 @@ def backend_id(self) -> str: @pulumi.getter(name="certificateIds") def certificate_ids(self) -> Sequence[str]: """ - List of Certificate IDs that are used by the frontend. + List of certificate IDs that are used by the frontend. """ return pulumi.get(self, "certificate_ids") @@ -9876,7 +9981,7 @@ def certificate_ids(self) -> Sequence[str]: @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - The date at which the frontend was created (RFC 3339 format). + The date on which the frontend was created (RFC 3339 format). """ return pulumi.get(self, "created_at") @@ -9884,7 +9989,7 @@ def created_at(self) -> str: @pulumi.getter(name="enableHttp3") def enable_http3(self) -> bool: """ - If HTTP/3 protocol is activated. + Whether HTTP/3 protocol is activated. """ return pulumi.get(self, "enable_http3") @@ -9892,8 +9997,8 @@ def enable_http3(self) -> bool: @pulumi.getter def id(self) -> str: """ - The associated frontend ID. - > **Important:** LB frontends' IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` + The ID of the associated frontend. + > **Important:** LB frontend IDs are zoned, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` """ return pulumi.get(self, "id") @@ -9901,7 +10006,7 @@ def id(self) -> str: @pulumi.getter(name="inboundPort") def inbound_port(self) -> int: """ - TCP port the frontend listen to. + TCP port the frontend listens to. """ return pulumi.get(self, "inbound_port") @@ -9909,7 +10014,7 @@ def inbound_port(self) -> int: @pulumi.getter(name="lbId") def lb_id(self) -> str: """ - The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed. + The Load Balancer ID this frontend is attached to. Frontends with a matching ID are listed. """ return pulumi.get(self, "lb_id") @@ -9917,7 +10022,7 @@ def lb_id(self) -> str: @pulumi.getter def name(self) -> str: """ - The frontend name used as filter. Frontends with a name like it are listed. + The frontend name to filter for. Frontends with a matching name are listed. """ return pulumi.get(self, "name") @@ -9933,7 +10038,7 @@ def timeout_client(self) -> str: @pulumi.getter(name="updateAt") def update_at(self) -> str: """ - The date at which the frontend was last updated (RFC 3339 format). + The date aont which the frontend was last updated (RFC 3339 format). """ return pulumi.get(self, "update_at") @@ -9949,13 +10054,13 @@ def __init__(__self__, *, reverse: str, zone: str): """ - :param str id: The associated IP ID. - :param str ip_address: The IP Address - :param str lb_id: The associated load-balancer ID if any - :param str organization_id: The organization ID the load-balancer is associated with. - :param str project_id: The ID of the project the load-balancer is associated with. + :param str id: The ID of the associated IP. + :param str ip_address: The IP address + :param str lb_id: The ID of the associated Load BalancerD, if any + :param str organization_id: The ID of the Organization the Load Balancer is associated with. + :param str project_id: The ID of the Project the Load Balancer is associated with. :param str reverse: The reverse domain associated with this IP. - :param str zone: `zone`) The zone in which IPs exist. + :param str zone: `zone`) The zone in which the IPs exist. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "ip_address", ip_address) @@ -9969,7 +10074,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> str: """ - The associated IP ID. + The ID of the associated IP. """ return pulumi.get(self, "id") @@ -9977,7 +10082,7 @@ def id(self) -> str: @pulumi.getter(name="ipAddress") def ip_address(self) -> str: """ - The IP Address + The IP address """ return pulumi.get(self, "ip_address") @@ -9985,7 +10090,7 @@ def ip_address(self) -> str: @pulumi.getter(name="lbId") def lb_id(self) -> str: """ - The associated load-balancer ID if any + The ID of the associated Load BalancerD, if any """ return pulumi.get(self, "lb_id") @@ -9993,7 +10098,7 @@ def lb_id(self) -> str: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the load-balancer is associated with. + The ID of the Organization the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -10001,7 +10106,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the load-balancer is associated with. + The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -10017,7 +10122,7 @@ def reverse(self) -> str: @pulumi.getter def zone(self) -> str: """ - `zone`) The zone in which IPs exist. + `zone`) The zone in which the IPs exist. """ return pulumi.get(self, "zone") @@ -10033,13 +10138,13 @@ def __init__(__self__, *, match_sni: str, update_at: str): """ - :param str backend_id: The backend ID destination of redirection - :param str created_at: The date at which the route was created (RFC 3339 format). - :param str frontend_id: The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + :param str backend_id: The backend ID to redirect to + :param str created_at: The date on which the route was created (RFC 3339 format). + :param str frontend_id: The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. :param str id: The associated route ID. :param str match_host_header: Specifies the host of the server to which the request is being sent. :param str match_sni: Server Name Indication TLS extension field from an incoming connection made via an SSL/TLS transport layer. - :param str update_at: The date at which the route was last updated (RFC 3339 format). + :param str update_at: The date on which the route was last updated (RFC 3339 format). """ pulumi.set(__self__, "backend_id", backend_id) pulumi.set(__self__, "created_at", created_at) @@ -10053,7 +10158,7 @@ def __init__(__self__, *, @pulumi.getter(name="backendId") def backend_id(self) -> str: """ - The backend ID destination of redirection + The backend ID to redirect to """ return pulumi.get(self, "backend_id") @@ -10061,7 +10166,7 @@ def backend_id(self) -> str: @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - The date at which the route was created (RFC 3339 format). + The date on which the route was created (RFC 3339 format). """ return pulumi.get(self, "created_at") @@ -10069,7 +10174,7 @@ def created_at(self) -> str: @pulumi.getter(name="frontendId") def frontend_id(self) -> str: """ - The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. + The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. """ return pulumi.get(self, "frontend_id") @@ -10101,7 +10206,7 @@ def match_sni(self) -> str: @pulumi.getter(name="updateAt") def update_at(self) -> str: """ - The date at which the route was last updated (RFC 3339 format). + The date on which the route was last updated (RFC 3339 format). """ return pulumi.get(self, "update_at") @@ -10129,25 +10234,25 @@ def __init__(__self__, *, updated_at: str, zone: str): """ - :param int backend_count: Number of backends the Load balancer has. - :param str created_at: Date at which the Load balancer was created. - :param str description: The description of the load-balancer. - :param int frontend_count: Number of frontends the Load balancer has. - :param str id: The ID of the load-balancer. - :param Sequence['GetLbsLbInstanceArgs'] instances: List of underlying instances. - :param Sequence['GetLbsLbIpArgs'] ips: List of IPs attached to the Load balancer. - :param str name: The load balancer name used as a filter. LBs with a name like it are listed. - :param str organization_id: The organization ID the load-balancer is associated with. - :param int private_network_count: Number of private networks attached to the Load balancer. - :param str project_id: The ID of the project the load-balancer is associated with. + :param int backend_count: Number of backends the Load Balancer has. + :param str created_at: Date on which the Load Balancer was created. + :param str description: The description of the Load Balancer. + :param int frontend_count: Number of frontends the Load Balancer has. + :param str id: The ID of the Load Balancer. + :param Sequence['GetLbsLbInstanceArgs'] instances: List of underlying Instances. + :param Sequence['GetLbsLbIpArgs'] ips: List of IPs attached to the Load Balancer. + :param str name: The Load Balancer name to filter for. Load Balancers with a matching name are listed. + :param str organization_id: The ID of the Organization the Load Balancer is associated with. + :param int private_network_count: Number of Private Networks attached to the Load balancer. + :param str project_id: The ID of the Project the Load Balancer is associated with. :param int route_count: Number of routes the Load balancer has. - :param str ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on client side. - :param str status: The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + :param str ssl_compatibility_level: Determines the minimal SSL version which needs to be supported on the client side. + :param str status: The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. :param str subscriber: The subscriber information. - :param Sequence[str] tags: List of tags used as filter. LBs with these exact tags are listed. - :param str type: The offer type of the load-balancer. - :param str updated_at: Date at which the Load balancer was updated. - :param str zone: `zone`) The zone in which LBs exist. + :param Sequence[str] tags: List of tags to filter for. Load Balancers with these exact tags are listed. + :param str type: The offer type of the Load Balancer. + :param str updated_at: Date on which the Load Balancer was updated. + :param str zone: `zone`) The zone in which the Load Balancers exist. """ pulumi.set(__self__, "backend_count", backend_count) pulumi.set(__self__, "created_at", created_at) @@ -10173,7 +10278,7 @@ def __init__(__self__, *, @pulumi.getter(name="backendCount") def backend_count(self) -> int: """ - Number of backends the Load balancer has. + Number of backends the Load Balancer has. """ return pulumi.get(self, "backend_count") @@ -10181,7 +10286,7 @@ def backend_count(self) -> int: @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - Date at which the Load balancer was created. + Date on which the Load Balancer was created. """ return pulumi.get(self, "created_at") @@ -10189,7 +10294,7 @@ def created_at(self) -> str: @pulumi.getter def description(self) -> str: """ - The description of the load-balancer. + The description of the Load Balancer. """ return pulumi.get(self, "description") @@ -10197,7 +10302,7 @@ def description(self) -> str: @pulumi.getter(name="frontendCount") def frontend_count(self) -> int: """ - Number of frontends the Load balancer has. + Number of frontends the Load Balancer has. """ return pulumi.get(self, "frontend_count") @@ -10205,7 +10310,7 @@ def frontend_count(self) -> int: @pulumi.getter def id(self) -> str: """ - The ID of the load-balancer. + The ID of the Load Balancer. """ return pulumi.get(self, "id") @@ -10213,7 +10318,7 @@ def id(self) -> str: @pulumi.getter def instances(self) -> Sequence['outputs.GetLbsLbInstanceResult']: """ - List of underlying instances. + List of underlying Instances. """ return pulumi.get(self, "instances") @@ -10221,7 +10326,7 @@ def instances(self) -> Sequence['outputs.GetLbsLbInstanceResult']: @pulumi.getter def ips(self) -> Sequence['outputs.GetLbsLbIpResult']: """ - List of IPs attached to the Load balancer. + List of IPs attached to the Load Balancer. """ return pulumi.get(self, "ips") @@ -10229,7 +10334,7 @@ def ips(self) -> Sequence['outputs.GetLbsLbIpResult']: @pulumi.getter def name(self) -> str: """ - The load balancer name used as a filter. LBs with a name like it are listed. + The Load Balancer name to filter for. Load Balancers with a matching name are listed. """ return pulumi.get(self, "name") @@ -10237,7 +10342,7 @@ def name(self) -> str: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the load-balancer is associated with. + The ID of the Organization the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -10245,7 +10350,7 @@ def organization_id(self) -> str: @pulumi.getter(name="privateNetworkCount") def private_network_count(self) -> int: """ - Number of private networks attached to the Load balancer. + Number of Private Networks attached to the Load balancer. """ return pulumi.get(self, "private_network_count") @@ -10253,7 +10358,7 @@ def private_network_count(self) -> int: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the load-balancer is associated with. + The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -10269,7 +10374,7 @@ def route_count(self) -> int: @pulumi.getter(name="sslCompatibilityLevel") def ssl_compatibility_level(self) -> str: """ - Determines the minimal SSL version which needs to be supported on client side. + Determines the minimal SSL version which needs to be supported on the client side. """ return pulumi.get(self, "ssl_compatibility_level") @@ -10277,7 +10382,7 @@ def ssl_compatibility_level(self) -> str: @pulumi.getter def status(self) -> str: """ - The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. """ return pulumi.get(self, "status") @@ -10293,7 +10398,7 @@ def subscriber(self) -> str: @pulumi.getter def tags(self) -> Sequence[str]: """ - List of tags used as filter. LBs with these exact tags are listed. + List of tags to filter for. Load Balancers with these exact tags are listed. """ return pulumi.get(self, "tags") @@ -10301,7 +10406,7 @@ def tags(self) -> Sequence[str]: @pulumi.getter def type(self) -> str: """ - The offer type of the load-balancer. + The offer type of the Load Balancer. """ return pulumi.get(self, "type") @@ -10309,7 +10414,7 @@ def type(self) -> str: @pulumi.getter(name="updatedAt") def updated_at(self) -> str: """ - Date at which the Load balancer was updated. + Date on which the Load Balancer was updated. """ return pulumi.get(self, "updated_at") @@ -10317,7 +10422,7 @@ def updated_at(self) -> str: @pulumi.getter def zone(self) -> str: """ - `zone`) The zone in which LBs exist. + `zone`) The zone in which the Load Balancers exist. """ return pulumi.get(self, "zone") @@ -10332,11 +10437,11 @@ def __init__(__self__, *, updated_at: str, zone: str): """ - :param str created_at: Date at which the Load balancer was created. - :param str id: The ID of the load-balancer. - :param str status: The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. - :param str updated_at: Date at which the Load balancer was updated. - :param str zone: `zone`) The zone in which LBs exist. + :param str created_at: Date on which the Load Balancer was created. + :param str id: The ID of the Load Balancer. + :param str status: The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + :param str updated_at: Date on which the Load Balancer was updated. + :param str zone: `zone`) The zone in which the Load Balancers exist. """ pulumi.set(__self__, "created_at", created_at) pulumi.set(__self__, "id", id) @@ -10349,7 +10454,7 @@ def __init__(__self__, *, @pulumi.getter(name="createdAt") def created_at(self) -> str: """ - Date at which the Load balancer was created. + Date on which the Load Balancer was created. """ return pulumi.get(self, "created_at") @@ -10357,7 +10462,7 @@ def created_at(self) -> str: @pulumi.getter def id(self) -> str: """ - The ID of the load-balancer. + The ID of the Load Balancer. """ return pulumi.get(self, "id") @@ -10370,7 +10475,7 @@ def ip_address(self) -> str: @pulumi.getter def status(self) -> str: """ - The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. + The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`. """ return pulumi.get(self, "status") @@ -10378,7 +10483,7 @@ def status(self) -> str: @pulumi.getter(name="updatedAt") def updated_at(self) -> str: """ - Date at which the Load balancer was updated. + Date on which the Load Balancer was updated. """ return pulumi.get(self, "updated_at") @@ -10386,7 +10491,7 @@ def updated_at(self) -> str: @pulumi.getter def zone(self) -> str: """ - `zone`) The zone in which LBs exist. + `zone`) The zone in which the Load Balancers exist. """ return pulumi.get(self, "zone") @@ -10402,10 +10507,10 @@ def __init__(__self__, *, reverse: str, zone: str): """ - :param str id: The ID of the load-balancer. - :param str organization_id: The organization ID the load-balancer is associated with. - :param str project_id: The ID of the project the load-balancer is associated with. - :param str zone: `zone`) The zone in which LBs exist. + :param str id: The ID of the Load Balancer. + :param str organization_id: The ID of the Organization the Load Balancer is associated with. + :param str project_id: The ID of the Project the Load Balancer is associated with. + :param str zone: `zone`) The zone in which the Load Balancers exist. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "ip_address", ip_address) @@ -10419,7 +10524,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> str: """ - The ID of the load-balancer. + The ID of the Load Balancer. """ return pulumi.get(self, "id") @@ -10437,7 +10542,7 @@ def lb_id(self) -> str: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the load-balancer is associated with. + The ID of the Organization the Load Balancer is associated with. """ return pulumi.get(self, "organization_id") @@ -10445,7 +10550,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the load-balancer is associated with. + The ID of the Project the Load Balancer is associated with. """ return pulumi.get(self, "project_id") @@ -10458,7 +10563,7 @@ def reverse(self) -> str: @pulumi.getter def zone(self) -> str: """ - `zone`) The zone in which LBs exist. + `zone`) The zone in which the Load Balancers exist. """ return pulumi.get(self, "zone") @@ -10523,7 +10628,7 @@ def __init__(__self__, *, :param str private_network_id: The Private Network ID :param Sequence[str] static_configs: Define an IP address in the subnet of your private network that will be assigned to your load balancer instance :param str status: The status of private network connection - :param str zone: (Defaults to provider `zone`) The zone in which the LB exists. + :param str zone: (Defaults to provider `zone`) The zone in which the Load Balancer exists. """ pulumi.set(__self__, "dhcp_config", dhcp_config) pulumi.set(__self__, "private_network_id", private_network_id) @@ -10567,7 +10672,7 @@ def status(self) -> str: @pulumi.getter def zone(self) -> str: """ - (Defaults to provider `zone`) The zone in which the LB exists. + (Defaults to provider `zone`) The zone in which the Load Balancer exists. """ return pulumi.get(self, "zone") @@ -10809,7 +10914,7 @@ def __init__(__self__, *, service_ips: Sequence[str], zone: str): """ - :param str endpoint_id: UUID of the endpoint to be connected to the cluster + :param str endpoint_id: The ID of the endpoint. :param str id: The ID of the Redis cluster. :param Sequence[str] service_ips: List of IPv4 addresses of the private network with a CIDR notation :param str zone: `region`) The zone in which the server exists. @@ -10823,7 +10928,7 @@ def __init__(__self__, *, @pulumi.getter(name="endpointId") def endpoint_id(self) -> str: """ - UUID of the endpoint to be connected to the cluster + The ID of the endpoint. """ return pulumi.get(self, "endpoint_id") @@ -10992,7 +11097,7 @@ def __init__(__self__, *, """ :param str address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet :param str created_at: The date and time of the creation of the subnet - :param str id: The ID of the private network. + :param str id: The ID of the Private Network. :param int prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask :param str subnet: The subnet CIDR :param str subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet @@ -11026,7 +11131,7 @@ def created_at(self) -> str: @pulumi.getter def id(self) -> str: """ - The ID of the private network. + The ID of the Private Network. """ return pulumi.get(self, "id") @@ -11076,7 +11181,7 @@ def __init__(__self__, *, """ :param str address: The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet :param str created_at: The date and time of the creation of the subnet - :param str id: The ID of the private network. + :param str id: The ID of the Private Network. :param int prefix_length: The length of the network prefix, e.g., 24 for a 255.255.255.0 mask :param str subnet: The subnet CIDR :param str subnet_mask: The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet @@ -11110,7 +11215,7 @@ def created_at(self) -> str: @pulumi.getter def id(self) -> str: """ - The ID of the private network. + The ID of the Private Network. """ return pulumi.get(self, "id") @@ -11162,13 +11267,13 @@ def __init__(__self__, *, """ :param str created_at: Date and time of VPC's creation (RFC 3339 format). :param str id: The associated VPC ID. - > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 :param bool is_default: Defines whether the VPC is the default one for its Project. - :param str name: The VPC name used as filter. VPCs with a name like it are listed. - :param str organization_id: The organization ID the VPC is associated with. - :param str project_id: The ID of the project the VPC is associated with. - :param str region: `region`). The region in which vpcs exist. - :param Sequence[str] tags: List of tags used as filter. VPCs with these exact tags are listed. + :param str name: The VPC name to filter for. VPCs with a similar name are listed. + :param str organization_id: The Organization ID the VPC is associated with. + :param str project_id: The ID of the Project the VPC is associated with. + :param str region: `region`). The region in which the VPCs exist. + :param Sequence[str] tags: List of tags to filter for. VPCs with these exact tags are listed. """ pulumi.set(__self__, "created_at", created_at) pulumi.set(__self__, "id", id) @@ -11193,7 +11298,7 @@ def created_at(self) -> str: def id(self) -> str: """ The associated VPC ID. - > **Important:** VPCs' IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 + > **Important:** VPC IDs are regional, which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111 """ return pulumi.get(self, "id") @@ -11209,7 +11314,7 @@ def is_default(self) -> bool: @pulumi.getter def name(self) -> str: """ - The VPC name used as filter. VPCs with a name like it are listed. + The VPC name to filter for. VPCs with a similar name are listed. """ return pulumi.get(self, "name") @@ -11217,7 +11322,7 @@ def name(self) -> str: @pulumi.getter(name="organizationId") def organization_id(self) -> str: """ - The organization ID the VPC is associated with. + The Organization ID the VPC is associated with. """ return pulumi.get(self, "organization_id") @@ -11225,7 +11330,7 @@ def organization_id(self) -> str: @pulumi.getter(name="projectId") def project_id(self) -> str: """ - The ID of the project the VPC is associated with. + The ID of the Project the VPC is associated with. """ return pulumi.get(self, "project_id") @@ -11233,7 +11338,7 @@ def project_id(self) -> str: @pulumi.getter def region(self) -> str: """ - `region`). The region in which vpcs exist. + `region`). The region in which the VPCs exist. """ return pulumi.get(self, "region") @@ -11241,7 +11346,7 @@ def region(self) -> str: @pulumi.getter def tags(self) -> Sequence[str]: """ - List of tags used as filter. VPCs with these exact tags are listed. + List of tags to filter for. VPCs with these exact tags are listed. """ return pulumi.get(self, "tags") diff --git a/sdk/python/pulumiverse_scaleway/redis_cluster.py b/sdk/python/pulumiverse_scaleway/redis_cluster.py index 2dae0ad3..0546df41 100644 --- a/sdk/python/pulumiverse_scaleway/redis_cluster.py +++ b/sdk/python/pulumiverse_scaleway/redis_cluster.py @@ -32,43 +32,43 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a RedisCluster resource. - :param pulumi.Input[str] node_type: The type of Redis Cluster you want to create (e.g. `RED1-M`). + :param pulumi.Input[str] node_type: The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. - :param pulumi.Input[str] password: Password for the first user of the Redis Cluster. - :param pulumi.Input[str] user_name: Identifier for the first user of the Redis Cluster. - :param pulumi.Input[str] version: Redis's Cluster version (e.g. `6.2.7`). + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. + :param pulumi.Input[str] password: Password for the first user of the Redis™ cluster. + :param pulumi.Input[str] user_name: Identifier for the first user of the Redis™ cluster. + :param pulumi.Input[str] version: Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. :param pulumi.Input[Sequence[pulumi.Input['RedisClusterAclArgs']]] acls: List of acl rules, this is cluster's authorized IPs. More details on the ACL section. - :param pulumi.Input[int] cluster_size: The number of nodes in the Redis Cluster. + :param pulumi.Input[int] cluster_size: The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. - :param pulumi.Input[str] name: The name of the Redis Cluster. - :param pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]] private_networks: Describes the private network you want to connect to your cluster. If not set, a public + recreate your cluster as you will be switching to the cluster mode. + :param pulumi.Input[str] name: The name of the Redis™ cluster. + :param pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]] private_networks: Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis Cluster is + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis™ cluster is associated with. :param pulumi.Input['RedisClusterPublicNetworkArgs'] public_network: (Optional) Public network details. Only one of `private_network` and `public_network` may be set. > The `public_network` block exports: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for redis cluster. Available settings can be found by listing redis versions + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis™ cluster. :param pulumi.Input[bool] tls_enabled: Whether TLS is enabled or not. > The changes on `tls_enabled` will force the resource creation. :param pulumi.Input[str] zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ pulumi.set(__self__, "node_type", node_type) pulumi.set(__self__, "password", password) @@ -99,10 +99,10 @@ def __init__(__self__, *, @pulumi.getter(name="nodeType") def node_type(self) -> pulumi.Input[str]: """ - The type of Redis Cluster you want to create (e.g. `RED1-M`). + The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "node_type") @@ -114,7 +114,7 @@ def node_type(self, value: pulumi.Input[str]): @pulumi.getter def password(self) -> pulumi.Input[str]: """ - Password for the first user of the Redis Cluster. + Password for the first user of the Redis™ cluster. """ return pulumi.get(self, "password") @@ -126,7 +126,7 @@ def password(self, value: pulumi.Input[str]): @pulumi.getter(name="userName") def user_name(self) -> pulumi.Input[str]: """ - Identifier for the first user of the Redis Cluster. + Identifier for the first user of the Redis™ cluster. """ return pulumi.get(self, "user_name") @@ -138,10 +138,10 @@ def user_name(self, value: pulumi.Input[str]): @pulumi.getter def version(self) -> pulumi.Input[str]: """ - Redis's Cluster version (e.g. `6.2.7`). + Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "version") @@ -165,17 +165,17 @@ def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RedisClusterA @pulumi.getter(name="clusterSize") def cluster_size(self) -> Optional[pulumi.Input[int]]: """ - The number of nodes in the Redis Cluster. + The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. + recreate your cluster as you will be switching to the cluster mode. """ return pulumi.get(self, "cluster_size") @@ -187,7 +187,7 @@ def cluster_size(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the Redis Cluster. + The name of the Redis™ cluster. """ return pulumi.get(self, "name") @@ -199,7 +199,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetworks") def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]]]: """ - Describes the private network you want to connect to your cluster. If not set, a public + Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section """ return pulumi.get(self, "private_networks") @@ -212,7 +212,7 @@ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['R @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the Redis Cluster is + `project_id`) The ID of the project the Redis™ cluster is associated with. """ return pulumi.get(self, "project_id") @@ -238,7 +238,7 @@ def public_network(self, value: Optional[pulumi.Input['RedisClusterPublicNetwork @pulumi.getter def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Map of settings for redis cluster. Available settings can be found by listing redis versions + Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI """ return pulumi.get(self, "settings") @@ -251,7 +251,7 @@ def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]] @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the Redis Cluster. + The tags associated with the Redis™ cluster. """ return pulumi.get(self, "tags") @@ -278,7 +278,7 @@ def tls_enabled(self, value: Optional[pulumi.Input[bool]]): def zone(self) -> Optional[pulumi.Input[str]]: """ `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ return pulumi.get(self, "zone") @@ -311,44 +311,44 @@ def __init__(__self__, *, Input properties used for looking up and filtering RedisCluster resources. :param pulumi.Input[Sequence[pulumi.Input['RedisClusterAclArgs']]] acls: List of acl rules, this is cluster's authorized IPs. More details on the ACL section. :param pulumi.Input[str] certificate: The PEM of the certificate used by redis, only when `tls_enabled` is true - :param pulumi.Input[int] cluster_size: The number of nodes in the Redis Cluster. + :param pulumi.Input[int] cluster_size: The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. - :param pulumi.Input[str] created_at: The date and time of creation of the Redis Cluster. - :param pulumi.Input[str] name: The name of the Redis Cluster. - :param pulumi.Input[str] node_type: The type of Redis Cluster you want to create (e.g. `RED1-M`). + recreate your cluster as you will be switching to the cluster mode. + :param pulumi.Input[str] created_at: The date and time of creation of the Redis™ cluster. + :param pulumi.Input[str] name: The name of the Redis™ cluster. + :param pulumi.Input[str] node_type: The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. - :param pulumi.Input[str] password: Password for the first user of the Redis Cluster. - :param pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]] private_networks: Describes the private network you want to connect to your cluster. If not set, a public + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. + :param pulumi.Input[str] password: Password for the first user of the Redis™ cluster. + :param pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]] private_networks: Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis Cluster is + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis™ cluster is associated with. :param pulumi.Input['RedisClusterPublicNetworkArgs'] public_network: (Optional) Public network details. Only one of `private_network` and `public_network` may be set. > The `public_network` block exports: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for redis cluster. Available settings can be found by listing redis versions + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis™ cluster. :param pulumi.Input[bool] tls_enabled: Whether TLS is enabled or not. > The changes on `tls_enabled` will force the resource creation. - :param pulumi.Input[str] updated_at: The date and time of the last update of the Redis Cluster. - :param pulumi.Input[str] user_name: Identifier for the first user of the Redis Cluster. - :param pulumi.Input[str] version: Redis's Cluster version (e.g. `6.2.7`). + :param pulumi.Input[str] updated_at: The date and time of the last update of the Redis™ cluster. + :param pulumi.Input[str] user_name: Identifier for the first user of the Redis™ cluster. + :param pulumi.Input[str] version: Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. :param pulumi.Input[str] zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -413,17 +413,17 @@ def certificate(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="clusterSize") def cluster_size(self) -> Optional[pulumi.Input[int]]: """ - The number of nodes in the Redis Cluster. + The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. + recreate your cluster as you will be switching to the cluster mode. """ return pulumi.get(self, "cluster_size") @@ -435,7 +435,7 @@ def cluster_size(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of creation of the Redis Cluster. + The date and time of creation of the Redis™ cluster. """ return pulumi.get(self, "created_at") @@ -447,7 +447,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the Redis Cluster. + The name of the Redis™ cluster. """ return pulumi.get(self, "name") @@ -459,10 +459,10 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="nodeType") def node_type(self) -> Optional[pulumi.Input[str]]: """ - The type of Redis Cluster you want to create (e.g. `RED1-M`). + The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "node_type") @@ -474,7 +474,7 @@ def node_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ - Password for the first user of the Redis Cluster. + Password for the first user of the Redis™ cluster. """ return pulumi.get(self, "password") @@ -486,7 +486,7 @@ def password(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetworks") def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RedisClusterPrivateNetworkArgs']]]]: """ - Describes the private network you want to connect to your cluster. If not set, a public + Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section """ return pulumi.get(self, "private_networks") @@ -499,7 +499,7 @@ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['R @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the Redis Cluster is + `project_id`) The ID of the project the Redis™ cluster is associated with. """ return pulumi.get(self, "project_id") @@ -525,7 +525,7 @@ def public_network(self, value: Optional[pulumi.Input['RedisClusterPublicNetwork @pulumi.getter def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Map of settings for redis cluster. Available settings can be found by listing redis versions + Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI """ return pulumi.get(self, "settings") @@ -538,7 +538,7 @@ def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]] @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the Redis Cluster. + The tags associated with the Redis™ cluster. """ return pulumi.get(self, "tags") @@ -564,7 +564,7 @@ def tls_enabled(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the Redis Cluster. + The date and time of the last update of the Redis™ cluster. """ return pulumi.get(self, "updated_at") @@ -576,7 +576,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userName") def user_name(self) -> Optional[pulumi.Input[str]]: """ - Identifier for the first user of the Redis Cluster. + Identifier for the first user of the Redis™ cluster. """ return pulumi.get(self, "user_name") @@ -588,10 +588,10 @@ def user_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def version(self) -> Optional[pulumi.Input[str]]: """ - Redis's Cluster version (e.g. `6.2.7`). + Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "version") @@ -604,7 +604,7 @@ def version(self, value: Optional[pulumi.Input[str]]): def zone(self) -> Optional[pulumi.Input[str]]: """ `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ return pulumi.get(self, "zone") @@ -634,8 +634,8 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway Redis Clusters. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). + Creates and manages Scaleway Redis™ clusters. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). ## Example Usage @@ -679,7 +679,7 @@ def __init__(__self__, version="6.2.7") ``` - ### With a private network + ### With a Private Network ```python import pulumi @@ -701,7 +701,7 @@ def __init__(__self__, ## Import - Redis Cluster can be imported using the `{zone}/{id}`, e.g. + Redis™ cluster can be imported using the `{zone}/{id}`, e.g. bash @@ -712,42 +712,42 @@ def __init__(__self__, :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['RedisClusterAclArgs']]]] acls: List of acl rules, this is cluster's authorized IPs. More details on the ACL section. - :param pulumi.Input[int] cluster_size: The number of nodes in the Redis Cluster. + :param pulumi.Input[int] cluster_size: The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. - :param pulumi.Input[str] name: The name of the Redis Cluster. - :param pulumi.Input[str] node_type: The type of Redis Cluster you want to create (e.g. `RED1-M`). + recreate your cluster as you will be switching to the cluster mode. + :param pulumi.Input[str] name: The name of the Redis™ cluster. + :param pulumi.Input[str] node_type: The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. - :param pulumi.Input[str] password: Password for the first user of the Redis Cluster. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RedisClusterPrivateNetworkArgs']]]] private_networks: Describes the private network you want to connect to your cluster. If not set, a public + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. + :param pulumi.Input[str] password: Password for the first user of the Redis™ cluster. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RedisClusterPrivateNetworkArgs']]]] private_networks: Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis Cluster is + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis™ cluster is associated with. :param pulumi.Input[pulumi.InputType['RedisClusterPublicNetworkArgs']] public_network: (Optional) Public network details. Only one of `private_network` and `public_network` may be set. > The `public_network` block exports: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for redis cluster. Available settings can be found by listing redis versions + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis™ cluster. :param pulumi.Input[bool] tls_enabled: Whether TLS is enabled or not. > The changes on `tls_enabled` will force the resource creation. - :param pulumi.Input[str] user_name: Identifier for the first user of the Redis Cluster. - :param pulumi.Input[str] version: Redis's Cluster version (e.g. `6.2.7`). + :param pulumi.Input[str] user_name: Identifier for the first user of the Redis™ cluster. + :param pulumi.Input[str] version: Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. :param pulumi.Input[str] zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ ... @overload @@ -756,8 +756,8 @@ def __init__(__self__, args: RedisClusterArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway Redis Clusters. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). + Creates and manages Scaleway Redis™ clusters. + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/managed-database-redis). ## Example Usage @@ -801,7 +801,7 @@ def __init__(__self__, version="6.2.7") ``` - ### With a private network + ### With a Private Network ```python import pulumi @@ -823,7 +823,7 @@ def __init__(__self__, ## Import - Redis Cluster can be imported using the `{zone}/{id}`, e.g. + Redis™ cluster can be imported using the `{zone}/{id}`, e.g. bash @@ -932,44 +932,44 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RedisClusterAclArgs']]]] acls: List of acl rules, this is cluster's authorized IPs. More details on the ACL section. :param pulumi.Input[str] certificate: The PEM of the certificate used by redis, only when `tls_enabled` is true - :param pulumi.Input[int] cluster_size: The number of nodes in the Redis Cluster. + :param pulumi.Input[int] cluster_size: The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. - :param pulumi.Input[str] created_at: The date and time of creation of the Redis Cluster. - :param pulumi.Input[str] name: The name of the Redis Cluster. - :param pulumi.Input[str] node_type: The type of Redis Cluster you want to create (e.g. `RED1-M`). + recreate your cluster as you will be switching to the cluster mode. + :param pulumi.Input[str] created_at: The date and time of creation of the Redis™ cluster. + :param pulumi.Input[str] name: The name of the Redis™ cluster. + :param pulumi.Input[str] node_type: The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. - :param pulumi.Input[str] password: Password for the first user of the Redis Cluster. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RedisClusterPrivateNetworkArgs']]]] private_networks: Describes the private network you want to connect to your cluster. If not set, a public + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. + :param pulumi.Input[str] password: Password for the first user of the Redis™ cluster. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RedisClusterPrivateNetworkArgs']]]] private_networks: Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis Cluster is + :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Redis™ cluster is associated with. :param pulumi.Input[pulumi.InputType['RedisClusterPublicNetworkArgs']] public_network: (Optional) Public network details. Only one of `private_network` and `public_network` may be set. > The `public_network` block exports: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for redis cluster. Available settings can be found by listing redis versions + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Redis™ cluster. :param pulumi.Input[bool] tls_enabled: Whether TLS is enabled or not. > The changes on `tls_enabled` will force the resource creation. - :param pulumi.Input[str] updated_at: The date and time of the last update of the Redis Cluster. - :param pulumi.Input[str] user_name: Identifier for the first user of the Redis Cluster. - :param pulumi.Input[str] version: Redis's Cluster version (e.g. `6.2.7`). + :param pulumi.Input[str] updated_at: The date and time of the last update of the Redis™ cluster. + :param pulumi.Input[str] user_name: Identifier for the first user of the Redis™ cluster. + :param pulumi.Input[str] version: Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. :param pulumi.Input[str] zone: `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -1014,17 +1014,17 @@ def certificate(self) -> pulumi.Output[str]: @pulumi.getter(name="clusterSize") def cluster_size(self) -> pulumi.Output[int]: """ - The number of nodes in the Redis Cluster. + The number of nodes in the Redis™ cluster. - > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or Cluster mode + > **Important:** You cannot set `cluster_size` to 2, you either have to choose Standalone mode (1 node) or cluster mode which is minimum 3 (1 main node + 2 secondary nodes) - > **Important:** If you are using the Cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially - did, it will migrate the Redis Cluster but keep in mind that you cannot downgrade a Redis Cluster, so setting a smaller - `cluster_size` will destroy and recreate your Cluster. + > **Important:** If you are using the cluster mode (>=3 nodes), you can set a bigger `cluster_size` than you initially + did, it will migrate the Redis™ cluster but keep in mind that you cannot downgrade a Redis™ cluster, so setting a smaller + `cluster_size` will destroy and recreate your cluster. > **Important:** If you are using the Standalone mode (1 node), setting a bigger `cluster_size` will destroy and - recreate your Cluster as you will be switching to the Cluster mode. + recreate your cluster as you will be switching to the cluster mode. """ return pulumi.get(self, "cluster_size") @@ -1032,7 +1032,7 @@ def cluster_size(self) -> pulumi.Output[int]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of creation of the Redis Cluster. + The date and time of creation of the Redis™ cluster. """ return pulumi.get(self, "created_at") @@ -1040,7 +1040,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the Redis Cluster. + The name of the Redis™ cluster. """ return pulumi.get(self, "name") @@ -1048,10 +1048,10 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="nodeType") def node_type(self) -> pulumi.Output[str]: """ - The type of Redis Cluster you want to create (e.g. `RED1-M`). + The type of Redis™ cluster you want to create (e.g. `RED1-M`). - > **Important:** Updates to `node_type` will migrate the Redis Cluster to the desired `node_type`. Keep in mind that - you cannot downgrade a Redis Cluster. + > **Important:** Updates to `node_type` will migrate the Redis™ cluster to the desired `node_type`. Keep in mind that + you cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "node_type") @@ -1059,7 +1059,7 @@ def node_type(self) -> pulumi.Output[str]: @pulumi.getter def password(self) -> pulumi.Output[str]: """ - Password for the first user of the Redis Cluster. + Password for the first user of the Redis™ cluster. """ return pulumi.get(self, "password") @@ -1067,7 +1067,7 @@ def password(self) -> pulumi.Output[str]: @pulumi.getter(name="privateNetworks") def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.RedisClusterPrivateNetwork']]]: """ - Describes the private network you want to connect to your cluster. If not set, a public + Describes the Private Network you want to connect to your cluster. If not set, a public network will be provided. More details on the Private Network section """ return pulumi.get(self, "private_networks") @@ -1076,7 +1076,7 @@ def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.RedisClus @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the Redis Cluster is + `project_id`) The ID of the project the Redis™ cluster is associated with. """ return pulumi.get(self, "project_id") @@ -1094,7 +1094,7 @@ def public_network(self) -> pulumi.Output['outputs.RedisClusterPublicNetwork']: @pulumi.getter def settings(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ - Map of settings for redis cluster. Available settings can be found by listing redis versions + Map of settings for Redis™ cluster. Available settings can be found by listing Redis™ versions with scaleway API or CLI """ return pulumi.get(self, "settings") @@ -1103,7 +1103,7 @@ def settings(self) -> pulumi.Output[Optional[Mapping[str, str]]]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the Redis Cluster. + The tags associated with the Redis™ cluster. """ return pulumi.get(self, "tags") @@ -1121,7 +1121,7 @@ def tls_enabled(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the Redis Cluster. + The date and time of the last update of the Redis™ cluster. """ return pulumi.get(self, "updated_at") @@ -1129,7 +1129,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="userName") def user_name(self) -> pulumi.Output[str]: """ - Identifier for the first user of the Redis Cluster. + Identifier for the first user of the Redis™ cluster. """ return pulumi.get(self, "user_name") @@ -1137,10 +1137,10 @@ def user_name(self) -> pulumi.Output[str]: @pulumi.getter def version(self) -> pulumi.Output[str]: """ - Redis's Cluster version (e.g. `6.2.7`). + Redis™ cluster's version (e.g. `6.2.7`). - > **Important:** Updates to `version` will migrate the Redis Cluster to the desired `version`. Keep in mind that you - cannot downgrade a Redis Cluster. + > **Important:** Updates to `version` will migrate the Redis™ cluster to the desired `version`. Keep in mind that you + cannot downgrade a Redis™ cluster. """ return pulumi.get(self, "version") @@ -1149,7 +1149,7 @@ def version(self) -> pulumi.Output[str]: def zone(self) -> pulumi.Output[str]: """ `zone`) The zone in which the - Redis Cluster should be created. + Redis™ cluster should be created. """ return pulumi.get(self, "zone") diff --git a/sdk/python/pulumiverse_scaleway/registry_namespace.py b/sdk/python/pulumiverse_scaleway/registry_namespace.py index 313e986d..ee6fd430 100644 --- a/sdk/python/pulumiverse_scaleway/registry_namespace.py +++ b/sdk/python/pulumiverse_scaleway/registry_namespace.py @@ -121,7 +121,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The unique name of the namespace. > **Important** Updates to `name` will recreate the namespace. - :param pulumi.Input[str] organization_id: The organization ID the namespace is associated with. + :param pulumi.Input[str] organization_id: The Organization ID the namespace is associated with. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with. :param pulumi.Input[str] region: `region`). The region in which the namespace should be created. """ @@ -194,7 +194,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the namespace is associated with. + The Organization ID the namespace is associated with. """ return pulumi.get(self, "organization_id") @@ -240,7 +240,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway Container Registry. - For more information see [the documentation](https://www.scaleway.com/en/developers/api/registry). + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry). ## Example Usage @@ -283,7 +283,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway Container Registry. - For more information see [the documentation](https://www.scaleway.com/en/developers/api/registry). + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/registry). ## Example Usage @@ -374,7 +374,7 @@ def get(resource_name: str, :param pulumi.Input[str] name: The unique name of the namespace. > **Important** Updates to `name` will recreate the namespace. - :param pulumi.Input[str] organization_id: The organization ID the namespace is associated with. + :param pulumi.Input[str] organization_id: The Organization ID the namespace is associated with. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with. :param pulumi.Input[str] region: `region`). The region in which the namespace should be created. """ @@ -429,7 +429,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the namespace is associated with. + The Organization ID the namespace is associated with. """ return pulumi.get(self, "organization_id") diff --git a/sdk/python/pulumiverse_scaleway/tem_domain.py b/sdk/python/pulumiverse_scaleway/tem_domain.py index 1c2ef413..2dd173ae 100644 --- a/sdk/python/pulumiverse_scaleway/tem_domain.py +++ b/sdk/python/pulumiverse_scaleway/tem_domain.py @@ -23,7 +23,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a TemDomain resource. :param pulumi.Input[bool] accept_tos: Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. :param pulumi.Input[str] name: The domain name, must not be used in another Transactional Email Domain. > **Important:** Updates to `name` will recreate the domain. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with. @@ -42,7 +42,7 @@ def __init__(__self__, *, def accept_tos(self) -> pulumi.Input[bool]: """ Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. """ return pulumi.get(self, "accept_tos") @@ -117,7 +117,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering TemDomain resources. :param pulumi.Input[bool] accept_tos: Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. :param pulumi.Input[str] created_at: The date and time of the Transaction Email Domain's creation (RFC 3339 format). :param pulumi.Input[str] dkim_config: The DKIM public key, as should be recorded in the DNS zone. :param pulumi.Input[str] dmarc_config: DMARC record for the domain, as should be recorded in the DNS zone. @@ -194,7 +194,7 @@ def __init__(__self__, *, def accept_tos(self) -> Optional[pulumi.Input[bool]]: """ Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. """ return pulumi.get(self, "accept_tos") @@ -480,7 +480,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway Transactional Email Domains. - For more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email). + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email). ## Example Usage @@ -533,7 +533,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] accept_tos: Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. :param pulumi.Input[str] name: The domain name, must not be used in another Transactional Email Domain. > **Important:** Updates to `name` will recreate the domain. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with. @@ -547,7 +547,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway Transactional Email Domains. - For more information see [the documentation](https://www.scaleway.com/en/developers/api/transactional-email). + For more information refer to [the API documentation](https://www.scaleway.com/en/developers/api/transactional-email). ## Example Usage @@ -691,7 +691,7 @@ def get(resource_name: str, :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] accept_tos: Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. :param pulumi.Input[str] created_at: The date and time of the Transaction Email Domain's creation (RFC 3339 format). :param pulumi.Input[str] dkim_config: The DKIM public key, as should be recorded in the DNS zone. :param pulumi.Input[str] dmarc_config: DMARC record for the domain, as should be recorded in the DNS zone. @@ -750,7 +750,7 @@ def get(resource_name: str, def accept_tos(self) -> pulumi.Output[bool]: """ Acceptation of the [Term of Service](https://tem.s3.fr-par.scw.cloud/antispam_policy.pdf). - > **Important:** This attribute must be set to `true`. + > **Important:** This attribute must be set to `true`. """ return pulumi.get(self, "accept_tos") diff --git a/sdk/python/pulumiverse_scaleway/tem_domain_validation.py b/sdk/python/pulumiverse_scaleway/tem_domain_validation.py index d96cb328..c6176b5d 100644 --- a/sdk/python/pulumiverse_scaleway/tem_domain_validation.py +++ b/sdk/python/pulumiverse_scaleway/tem_domain_validation.py @@ -156,8 +156,9 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway + main = scaleway.TemDomain("main", accept_tos=True) example = scaleway.TemDomainValidation("example", - domain_id="your-domain-id", + domain_id=main.id, region="fr-par", timeout=300) ``` @@ -183,8 +184,9 @@ def __init__(__self__, import pulumi import pulumiverse_scaleway as scaleway + main = scaleway.TemDomain("main", accept_tos=True) example = scaleway.TemDomainValidation("example", - domain_id="your-domain-id", + domain_id=main.id, region="fr-par", timeout=300) ``` diff --git a/sdk/python/pulumiverse_scaleway/vpc.py b/sdk/python/pulumiverse_scaleway/vpc.py index 7b131940..6a3c032e 100644 --- a/sdk/python/pulumiverse_scaleway/vpc.py +++ b/sdk/python/pulumiverse_scaleway/vpc.py @@ -22,10 +22,10 @@ def __init__(__self__, *, """ The set of arguments for constructing a Vpc resource. :param pulumi.Input[bool] enable_routing: Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. - :param pulumi.Input[str] name: The name of the VPC. If not provided it will be randomly generated. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the VPC is associated with. + :param pulumi.Input[str] name: The name for the VPC. If not provided it will be randomly generated. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the VPC is associated with. :param pulumi.Input[str] region: `region`) The region of the VPC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the VPC. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the VPC. """ if enable_routing is not None: pulumi.set(__self__, "enable_routing", enable_routing) @@ -54,7 +54,7 @@ def enable_routing(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the VPC. If not provided it will be randomly generated. + The name for the VPC. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -66,7 +66,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the VPC is associated with. + `project_id`) The ID of the Project the VPC is associated with. """ return pulumi.get(self, "project_id") @@ -90,7 +90,7 @@ def region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the VPC. + The tags to associate with the VPC. """ return pulumi.get(self, "tags") @@ -116,11 +116,11 @@ def __init__(__self__, *, :param pulumi.Input[str] created_at: Date and time of VPC's creation (RFC 3339 format). :param pulumi.Input[bool] enable_routing: Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. :param pulumi.Input[bool] is_default: Defines whether the VPC is the default one for its Project. - :param pulumi.Input[str] name: The name of the VPC. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the VPC is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the VPC is associated with. + :param pulumi.Input[str] name: The name for the VPC. If not provided it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the VPC is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the VPC is associated with. :param pulumi.Input[str] region: `region`) The region of the VPC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the VPC. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the VPC. :param pulumi.Input[str] updated_at: Date and time of VPC's last update (RFC 3339 format). """ if created_at is not None: @@ -182,7 +182,7 @@ def is_default(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the VPC. If not provided it will be randomly generated. + The name for the VPC. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -194,7 +194,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the VPC is associated with. + The Organization ID the VPC is associated with. """ return pulumi.get(self, "organization_id") @@ -206,7 +206,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the VPC is associated with. + `project_id`) The ID of the Project the VPC is associated with. """ return pulumi.get(self, "project_id") @@ -230,7 +230,7 @@ def region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the VPC. + The tags to associate with the VPC. """ return pulumi.get(self, "tags") @@ -264,7 +264,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway Virtual Private Clouds. - For more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). + For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). ## Example Usage @@ -297,7 +297,7 @@ def __init__(__self__, ## Import - VPCs can be imported using the `{region}/{id}`, e.g. + VPCs can be imported using `{region}/{id}`, e.g. bash @@ -308,10 +308,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] enable_routing: Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. - :param pulumi.Input[str] name: The name of the VPC. If not provided it will be randomly generated. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the VPC is associated with. + :param pulumi.Input[str] name: The name for the VPC. If not provided it will be randomly generated. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the VPC is associated with. :param pulumi.Input[str] region: `region`) The region of the VPC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the VPC. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the VPC. """ ... @overload @@ -321,7 +321,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway Virtual Private Clouds. - For more information, see [the documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). + For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). ## Example Usage @@ -354,7 +354,7 @@ def __init__(__self__, ## Import - VPCs can be imported using the `{region}/{id}`, e.g. + VPCs can be imported using `{region}/{id}`, e.g. bash @@ -429,11 +429,11 @@ def get(resource_name: str, :param pulumi.Input[str] created_at: Date and time of VPC's creation (RFC 3339 format). :param pulumi.Input[bool] enable_routing: Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. :param pulumi.Input[bool] is_default: Defines whether the VPC is the default one for its Project. - :param pulumi.Input[str] name: The name of the VPC. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the VPC is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the VPC is associated with. + :param pulumi.Input[str] name: The name for the VPC. If not provided it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the VPC is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the VPC is associated with. :param pulumi.Input[str] region: `region`) The region of the VPC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the VPC. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the VPC. :param pulumi.Input[str] updated_at: Date and time of VPC's last update (RFC 3339 format). """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -479,7 +479,7 @@ def is_default(self) -> pulumi.Output[bool]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the VPC. If not provided it will be randomly generated. + The name for the VPC. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -487,7 +487,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the VPC is associated with. + The Organization ID the VPC is associated with. """ return pulumi.get(self, "organization_id") @@ -495,7 +495,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the VPC is associated with. + `project_id`) The ID of the Project the VPC is associated with. """ return pulumi.get(self, "project_id") @@ -511,7 +511,7 @@ def region(self) -> pulumi.Output[str]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the VPC. + The tags to associate with the VPC. """ return pulumi.get(self, "tags") diff --git a/sdk/python/pulumiverse_scaleway/vpc_gateway_network.py b/sdk/python/pulumiverse_scaleway/vpc_gateway_network.py index 9422ba9d..ab9ade9c 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_gateway_network.py +++ b/sdk/python/pulumiverse_scaleway/vpc_gateway_network.py @@ -27,14 +27,14 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcGatewayNetwork resource. - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[bool] cleanup_dhcp: Remove DHCP config on this network on destroy. It requires DHCP id. - :param pulumi.Input[str] dhcp_id: The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[bool] enable_dhcp: Enable DHCP config on this network. It requires DHCP id. - :param pulumi.Input[bool] enable_masquerade: Enable masquerade on this network - :param pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[str] static_address: Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[str] private_network_id: The ID of the Private Network. + :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. + :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] enable_dhcp: WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. + :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork + :param pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created. """ pulumi.set(__self__, "gateway_id", gateway_id) @@ -58,7 +58,7 @@ def __init__(__self__, *, @pulumi.getter(name="gatewayId") def gateway_id(self) -> pulumi.Input[str]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -70,7 +70,7 @@ def gateway_id(self, value: pulumi.Input[str]): @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> pulumi.Input[str]: """ - The ID of the private network. + The ID of the Private Network. """ return pulumi.get(self, "private_network_id") @@ -82,7 +82,7 @@ def private_network_id(self, value: pulumi.Input[str]): @pulumi.getter(name="cleanupDhcp") def cleanup_dhcp(self) -> Optional[pulumi.Input[bool]]: """ - Remove DHCP config on this network on destroy. It requires DHCP id. + Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. """ return pulumi.get(self, "cleanup_dhcp") @@ -94,7 +94,7 @@ def cleanup_dhcp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="dhcpId") def dhcp_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "dhcp_id") @@ -106,7 +106,7 @@ def dhcp_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="enableDhcp") def enable_dhcp(self) -> Optional[pulumi.Input[bool]]: """ - Enable DHCP config on this network. It requires DHCP id. + WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. """ return pulumi.get(self, "enable_dhcp") @@ -118,7 +118,7 @@ def enable_dhcp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="enableMasquerade") def enable_masquerade(self) -> Optional[pulumi.Input[bool]]: """ - Enable masquerade on this network + Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork """ return pulumi.get(self, "enable_masquerade") @@ -130,7 +130,7 @@ def enable_masquerade(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="ipamConfigs") def ipam_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]]]: """ - Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "ipam_configs") @@ -142,7 +142,7 @@ def ipam_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcGa @pulumi.getter(name="staticAddress") def static_address(self) -> Optional[pulumi.Input[str]]: """ - Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "static_address") @@ -181,18 +181,18 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering VpcGatewayNetwork resources. - :param pulumi.Input[bool] cleanup_dhcp: Remove DHCP config on this network on destroy. It requires DHCP id. - :param pulumi.Input[str] created_at: The date and time of the creation of the gateway network. - :param pulumi.Input[str] dhcp_id: The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[bool] enable_dhcp: Enable DHCP config on this network. It requires DHCP id. - :param pulumi.Input[bool] enable_masquerade: Enable masquerade on this network - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[str] mac_address: The mac address of the creation of the gateway network. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] static_address: Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. + :param pulumi.Input[str] created_at: The date and time of the creation of the GatewayNetwork. + :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] enable_dhcp: WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. + :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[str] mac_address: The MAC address of the GatewayNetwork. + :param pulumi.Input[str] private_network_id: The ID of the Private Network. + :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. :param pulumi.Input[str] status: The status of the Public Gateway's connection to the Private Network. - :param pulumi.Input[str] updated_at: The date and time of the last update of the gateway network. + :param pulumi.Input[str] updated_at: The date and time of the last update of the GatewayNetwork. :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created. """ if cleanup_dhcp is not None: @@ -226,7 +226,7 @@ def __init__(__self__, *, @pulumi.getter(name="cleanupDhcp") def cleanup_dhcp(self) -> Optional[pulumi.Input[bool]]: """ - Remove DHCP config on this network on destroy. It requires DHCP id. + Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. """ return pulumi.get(self, "cleanup_dhcp") @@ -238,7 +238,7 @@ def cleanup_dhcp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the gateway network. + The date and time of the creation of the GatewayNetwork. """ return pulumi.get(self, "created_at") @@ -250,7 +250,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="dhcpId") def dhcp_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "dhcp_id") @@ -262,7 +262,7 @@ def dhcp_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="enableDhcp") def enable_dhcp(self) -> Optional[pulumi.Input[bool]]: """ - Enable DHCP config on this network. It requires DHCP id. + WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. """ return pulumi.get(self, "enable_dhcp") @@ -274,7 +274,7 @@ def enable_dhcp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="enableMasquerade") def enable_masquerade(self) -> Optional[pulumi.Input[bool]]: """ - Enable masquerade on this network + Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork """ return pulumi.get(self, "enable_masquerade") @@ -286,7 +286,7 @@ def enable_masquerade(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="gatewayId") def gateway_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -298,7 +298,7 @@ def gateway_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipamConfigs") def ipam_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpcGatewayNetworkIpamConfigArgs']]]]: """ - Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "ipam_configs") @@ -310,7 +310,7 @@ def ipam_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcGa @pulumi.getter(name="macAddress") def mac_address(self) -> Optional[pulumi.Input[str]]: """ - The mac address of the creation of the gateway network. + The MAC address of the GatewayNetwork. """ return pulumi.get(self, "mac_address") @@ -322,7 +322,7 @@ def mac_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the private network. + The ID of the Private Network. """ return pulumi.get(self, "private_network_id") @@ -334,7 +334,7 @@ def private_network_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="staticAddress") def static_address(self) -> Optional[pulumi.Input[str]]: """ - Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "static_address") @@ -358,7 +358,7 @@ def status(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the gateway network. + The date and time of the last update of the GatewayNetwork. """ return pulumi.get(self, "updated_at") @@ -395,13 +395,14 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway VPC Public Gateway Network. - It allows attaching Private Networks to the VPC Public Gateway and your DHCP config - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). + Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network). + + It allows the attachment of Private Networks to Public Gateways and DHCP configurations. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). ## Example Usage - ### Create a gateway network with IPAM config + ### Create a GatewayNetwork with IPAM configuration ```python import pulumi @@ -423,7 +424,7 @@ def __init__(__self__, )]) ``` - ### Create a gateway network with a booked IPAM IP + ### Create a GatewayNetwork with a booked IPAM IP ```python import pulumi @@ -451,7 +452,7 @@ def __init__(__self__, )]) ``` - ### Create a gateway network with DHCP + ### Create a GatewayNetwork with DHCP ```python import pulumi @@ -473,7 +474,7 @@ def __init__(__self__, enable_masquerade=True) ``` - ### Create a gateway network with a static IP address + ### Create a GatewayNetwork with a static IP address ```python import pulumi @@ -491,7 +492,7 @@ def __init__(__self__, ## Import - Gateway network can be imported using the `{zone}/{id}`, e.g. + GatewayNetwork can be imported using `{zone}/{id}`, e.g. bash @@ -501,14 +502,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] cleanup_dhcp: Remove DHCP config on this network on destroy. It requires DHCP id. - :param pulumi.Input[str] dhcp_id: The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[bool] enable_dhcp: Enable DHCP config on this network. It requires DHCP id. - :param pulumi.Input[bool] enable_masquerade: Enable masquerade on this network - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcGatewayNetworkIpamConfigArgs']]]] ipam_configs: Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] static_address: Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. + :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] enable_dhcp: WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. + :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcGatewayNetworkIpamConfigArgs']]]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[str] private_network_id: The ID of the Private Network. + :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created. """ ... @@ -518,13 +519,14 @@ def __init__(__self__, args: VpcGatewayNetworkArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway VPC Public Gateway Network. - It allows attaching Private Networks to the VPC Public Gateway and your DHCP config - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). + Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network). + + It allows the attachment of Private Networks to Public Gateways and DHCP configurations. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway). ## Example Usage - ### Create a gateway network with IPAM config + ### Create a GatewayNetwork with IPAM configuration ```python import pulumi @@ -546,7 +548,7 @@ def __init__(__self__, )]) ``` - ### Create a gateway network with a booked IPAM IP + ### Create a GatewayNetwork with a booked IPAM IP ```python import pulumi @@ -574,7 +576,7 @@ def __init__(__self__, )]) ``` - ### Create a gateway network with DHCP + ### Create a GatewayNetwork with DHCP ```python import pulumi @@ -596,7 +598,7 @@ def __init__(__self__, enable_masquerade=True) ``` - ### Create a gateway network with a static IP address + ### Create a GatewayNetwork with a static IP address ```python import pulumi @@ -614,7 +616,7 @@ def __init__(__self__, ## Import - Gateway network can be imported using the `{zone}/{id}`, e.g. + GatewayNetwork can be imported using `{zone}/{id}`, e.g. bash @@ -702,18 +704,18 @@ def get(resource_name: str, :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] cleanup_dhcp: Remove DHCP config on this network on destroy. It requires DHCP id. - :param pulumi.Input[str] created_at: The date and time of the creation of the gateway network. - :param pulumi.Input[str] dhcp_id: The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[bool] enable_dhcp: Enable DHCP config on this network. It requires DHCP id. - :param pulumi.Input[bool] enable_masquerade: Enable masquerade on this network - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcGatewayNetworkIpamConfigArgs']]]] ipam_configs: Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. - :param pulumi.Input[str] mac_address: The mac address of the creation of the gateway network. - :param pulumi.Input[str] private_network_id: The ID of the private network. - :param pulumi.Input[str] static_address: Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. + :param pulumi.Input[str] created_at: The date and time of the creation of the GatewayNetwork. + :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[bool] enable_dhcp: WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. + :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcGatewayNetworkIpamConfigArgs']]]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + :param pulumi.Input[str] mac_address: The MAC address of the GatewayNetwork. + :param pulumi.Input[str] private_network_id: The ID of the Private Network. + :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. :param pulumi.Input[str] status: The status of the Public Gateway's connection to the Private Network. - :param pulumi.Input[str] updated_at: The date and time of the last update of the gateway network. + :param pulumi.Input[str] updated_at: The date and time of the last update of the GatewayNetwork. :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -739,7 +741,7 @@ def get(resource_name: str, @pulumi.getter(name="cleanupDhcp") def cleanup_dhcp(self) -> pulumi.Output[Optional[bool]]: """ - Remove DHCP config on this network on destroy. It requires DHCP id. + Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID. """ return pulumi.get(self, "cleanup_dhcp") @@ -747,7 +749,7 @@ def cleanup_dhcp(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the gateway network. + The date and time of the creation of the GatewayNetwork. """ return pulumi.get(self, "created_at") @@ -755,7 +757,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="dhcpId") def dhcp_id(self) -> pulumi.Output[Optional[str]]: """ - The ID of the public gateway DHCP config. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "dhcp_id") @@ -763,7 +765,7 @@ def dhcp_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="enableDhcp") def enable_dhcp(self) -> pulumi.Output[Optional[bool]]: """ - Enable DHCP config on this network. It requires DHCP id. + WWhether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID. """ return pulumi.get(self, "enable_dhcp") @@ -771,7 +773,7 @@ def enable_dhcp(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="enableMasquerade") def enable_masquerade(self) -> pulumi.Output[Optional[bool]]: """ - Enable masquerade on this network + Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork """ return pulumi.get(self, "enable_masquerade") @@ -779,7 +781,7 @@ def enable_masquerade(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="gatewayId") def gateway_id(self) -> pulumi.Output[str]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -787,7 +789,7 @@ def gateway_id(self) -> pulumi.Output[str]: @pulumi.getter(name="ipamConfigs") def ipam_configs(self) -> pulumi.Output[Sequence['outputs.VpcGatewayNetworkIpamConfig']]: """ - Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "ipam_configs") @@ -795,7 +797,7 @@ def ipam_configs(self) -> pulumi.Output[Sequence['outputs.VpcGatewayNetworkIpamC @pulumi.getter(name="macAddress") def mac_address(self) -> pulumi.Output[str]: """ - The mac address of the creation of the gateway network. + The MAC address of the GatewayNetwork. """ return pulumi.get(self, "mac_address") @@ -803,7 +805,7 @@ def mac_address(self) -> pulumi.Output[str]: @pulumi.getter(name="privateNetworkId") def private_network_id(self) -> pulumi.Output[str]: """ - The ID of the private network. + The ID of the Private Network. """ return pulumi.get(self, "private_network_id") @@ -811,7 +813,7 @@ def private_network_id(self) -> pulumi.Output[str]: @pulumi.getter(name="staticAddress") def static_address(self) -> pulumi.Output[str]: """ - Enable DHCP config on this network. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. + Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified. """ return pulumi.get(self, "static_address") @@ -827,7 +829,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the gateway network. + The date and time of the last update of the GatewayNetwork. """ return pulumi.get(self, "updated_at") diff --git a/sdk/python/pulumiverse_scaleway/vpc_private_network.py b/sdk/python/pulumiverse_scaleway/vpc_private_network.py index 805aab4d..c61efdbe 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_private_network.py +++ b/sdk/python/pulumiverse_scaleway/vpc_private_network.py @@ -27,15 +27,15 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcPrivateNetwork resource. - :param pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs'] ipv4_subnet: The IPv4 subnet to associate with the private network. + :param pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs'] ipv4_subnet: The IPv4 subnet to associate with the Private Network. :param pulumi.Input[Sequence[pulumi.Input['VpcPrivateNetworkIpv6SubnetArgs']]] ipv6_subnets: The IPv6 subnets to associate with the private network. - :param pulumi.Input[bool] is_regional: The private networks are necessarily regional now. - :param pulumi.Input[str] name: The name of the private network. If not provided it will be randomly generated. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the private network is associated with. - :param pulumi.Input[str] region: `region`) The region of the private network. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private network. - :param pulumi.Input[str] vpc_id: The VPC in which to create the private network. - :param pulumi.Input[str] zone: please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + :param pulumi.Input[bool] is_regional: Private Networks are now all necessarily regional. + :param pulumi.Input[str] name: The name of the Private Network. If not provided, it will be randomly generated. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the private network is associated with. + :param pulumi.Input[str] region: `region`) The region of the Private Network. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Private Network. + :param pulumi.Input[str] vpc_id: The VPC in which to create the Private Network. + :param pulumi.Input[str] zone: Use `region` instead. """ if ipv4_subnet is not None: pulumi.set(__self__, "ipv4_subnet", ipv4_subnet) @@ -66,7 +66,7 @@ def __init__(__self__, *, @pulumi.getter(name="ipv4Subnet") def ipv4_subnet(self) -> Optional[pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs']]: """ - The IPv4 subnet to associate with the private network. + The IPv4 subnet to associate with the Private Network. """ return pulumi.get(self, "ipv4_subnet") @@ -90,7 +90,7 @@ def ipv6_subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcPr @pulumi.getter(name="isRegional") def is_regional(self) -> Optional[pulumi.Input[bool]]: """ - The private networks are necessarily regional now. + Private Networks are now all necessarily regional. """ warnings.warn("""This field is deprecated and will be removed in the next major version""", DeprecationWarning) pulumi.log.warn("""is_regional is deprecated: This field is deprecated and will be removed in the next major version""") @@ -105,7 +105,7 @@ def is_regional(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the private network. If not provided it will be randomly generated. + The name of the Private Network. If not provided, it will be randomly generated. """ return pulumi.get(self, "name") @@ -117,7 +117,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the private network is associated with. + `project_id`) The ID of the Project the private network is associated with. """ return pulumi.get(self, "project_id") @@ -129,7 +129,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`) The region of the private network. + `region`) The region of the Private Network. """ return pulumi.get(self, "region") @@ -141,7 +141,7 @@ def region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the private network. + The tags associated with the Private Network. """ return pulumi.get(self, "tags") @@ -153,7 +153,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="vpcId") def vpc_id(self) -> Optional[pulumi.Input[str]]: """ - The VPC in which to create the private network. + The VPC in which to create the Private Network. """ return pulumi.get(self, "vpc_id") @@ -165,7 +165,7 @@ def vpc_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + Use `region` instead. """ warnings.warn("""This field is deprecated and will be removed in the next major version, please use `region` instead""", DeprecationWarning) pulumi.log.warn("""zone is deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead""") @@ -195,17 +195,17 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering VpcPrivateNetwork resources. :param pulumi.Input[str] created_at: The date and time of the creation of the subnet. - :param pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs'] ipv4_subnet: The IPv4 subnet to associate with the private network. + :param pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs'] ipv4_subnet: The IPv4 subnet to associate with the Private Network. :param pulumi.Input[Sequence[pulumi.Input['VpcPrivateNetworkIpv6SubnetArgs']]] ipv6_subnets: The IPv6 subnets to associate with the private network. - :param pulumi.Input[bool] is_regional: The private networks are necessarily regional now. - :param pulumi.Input[str] name: The name of the private network. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the private network is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the private network is associated with. - :param pulumi.Input[str] region: `region`) The region of the private network. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private network. + :param pulumi.Input[bool] is_regional: Private Networks are now all necessarily regional. + :param pulumi.Input[str] name: The name of the Private Network. If not provided, it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the Private Network is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the private network is associated with. + :param pulumi.Input[str] region: `region`) The region of the Private Network. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Private Network. :param pulumi.Input[str] updated_at: The date and time of the last update of the subnet. - :param pulumi.Input[str] vpc_id: The VPC in which to create the private network. - :param pulumi.Input[str] zone: please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + :param pulumi.Input[str] vpc_id: The VPC in which to create the Private Network. + :param pulumi.Input[str] zone: Use `region` instead. """ if created_at is not None: pulumi.set(__self__, "created_at", created_at) @@ -254,7 +254,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipv4Subnet") def ipv4_subnet(self) -> Optional[pulumi.Input['VpcPrivateNetworkIpv4SubnetArgs']]: """ - The IPv4 subnet to associate with the private network. + The IPv4 subnet to associate with the Private Network. """ return pulumi.get(self, "ipv4_subnet") @@ -278,7 +278,7 @@ def ipv6_subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcPr @pulumi.getter(name="isRegional") def is_regional(self) -> Optional[pulumi.Input[bool]]: """ - The private networks are necessarily regional now. + Private Networks are now all necessarily regional. """ warnings.warn("""This field is deprecated and will be removed in the next major version""", DeprecationWarning) pulumi.log.warn("""is_regional is deprecated: This field is deprecated and will be removed in the next major version""") @@ -293,7 +293,7 @@ def is_regional(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the private network. If not provided it will be randomly generated. + The name of the Private Network. If not provided, it will be randomly generated. """ return pulumi.get(self, "name") @@ -305,7 +305,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the private network is associated with. + The Organization ID the Private Network is associated with. """ return pulumi.get(self, "organization_id") @@ -317,7 +317,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the private network is associated with. + `project_id`) The ID of the Project the private network is associated with. """ return pulumi.get(self, "project_id") @@ -329,7 +329,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - `region`) The region of the private network. + `region`) The region of the Private Network. """ return pulumi.get(self, "region") @@ -341,7 +341,7 @@ def region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the private network. + The tags associated with the Private Network. """ return pulumi.get(self, "tags") @@ -365,7 +365,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="vpcId") def vpc_id(self) -> Optional[pulumi.Input[str]]: """ - The VPC in which to create the private network. + The VPC in which to create the Private Network. """ return pulumi.get(self, "vpc_id") @@ -377,7 +377,7 @@ def vpc_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + Use `region` instead. """ warnings.warn("""This field is deprecated and will be removed in the next major version, please use `region` instead""", DeprecationWarning) pulumi.log.warn("""zone is deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead""") @@ -406,7 +406,7 @@ def __init__(__self__, __props__=None): """ Creates and manages Scaleway VPC Private Networks. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). ## Example Usage @@ -448,7 +448,7 @@ def __init__(__self__, ## Import - Private networks can be imported using the `{region}/{id}`, e.g. + Private Networks can be imported using `{region}/{id}`, e.g. bash @@ -458,15 +458,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv4SubnetArgs']] ipv4_subnet: The IPv4 subnet to associate with the private network. + :param pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv4SubnetArgs']] ipv4_subnet: The IPv4 subnet to associate with the Private Network. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv6SubnetArgs']]]] ipv6_subnets: The IPv6 subnets to associate with the private network. - :param pulumi.Input[bool] is_regional: The private networks are necessarily regional now. - :param pulumi.Input[str] name: The name of the private network. If not provided it will be randomly generated. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the private network is associated with. - :param pulumi.Input[str] region: `region`) The region of the private network. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private network. - :param pulumi.Input[str] vpc_id: The VPC in which to create the private network. - :param pulumi.Input[str] zone: please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + :param pulumi.Input[bool] is_regional: Private Networks are now all necessarily regional. + :param pulumi.Input[str] name: The name of the Private Network. If not provided, it will be randomly generated. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the private network is associated with. + :param pulumi.Input[str] region: `region`) The region of the Private Network. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Private Network. + :param pulumi.Input[str] vpc_id: The VPC in which to create the Private Network. + :param pulumi.Input[str] zone: Use `region` instead. """ ... @overload @@ -476,7 +476,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Creates and manages Scaleway VPC Private Networks. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/vpc/#private-networks-ac2df4). ## Example Usage @@ -518,7 +518,7 @@ def __init__(__self__, ## Import - Private networks can be imported using the `{region}/{id}`, e.g. + Private Networks can be imported using `{region}/{id}`, e.g. bash @@ -601,17 +601,17 @@ def get(resource_name: str, :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] created_at: The date and time of the creation of the subnet. - :param pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv4SubnetArgs']] ipv4_subnet: The IPv4 subnet to associate with the private network. + :param pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv4SubnetArgs']] ipv4_subnet: The IPv4 subnet to associate with the Private Network. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpcPrivateNetworkIpv6SubnetArgs']]]] ipv6_subnets: The IPv6 subnets to associate with the private network. - :param pulumi.Input[bool] is_regional: The private networks are necessarily regional now. - :param pulumi.Input[str] name: The name of the private network. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the private network is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the private network is associated with. - :param pulumi.Input[str] region: `region`) The region of the private network. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private network. + :param pulumi.Input[bool] is_regional: Private Networks are now all necessarily regional. + :param pulumi.Input[str] name: The name of the Private Network. If not provided, it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the Private Network is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the private network is associated with. + :param pulumi.Input[str] region: `region`) The region of the Private Network. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Private Network. :param pulumi.Input[str] updated_at: The date and time of the last update of the subnet. - :param pulumi.Input[str] vpc_id: The VPC in which to create the private network. - :param pulumi.Input[str] zone: please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + :param pulumi.Input[str] vpc_id: The VPC in which to create the Private Network. + :param pulumi.Input[str] zone: Use `region` instead. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -643,7 +643,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="ipv4Subnet") def ipv4_subnet(self) -> pulumi.Output['outputs.VpcPrivateNetworkIpv4Subnet']: """ - The IPv4 subnet to associate with the private network. + The IPv4 subnet to associate with the Private Network. """ return pulumi.get(self, "ipv4_subnet") @@ -659,7 +659,7 @@ def ipv6_subnets(self) -> pulumi.Output[Sequence['outputs.VpcPrivateNetworkIpv6S @pulumi.getter(name="isRegional") def is_regional(self) -> pulumi.Output[bool]: """ - The private networks are necessarily regional now. + Private Networks are now all necessarily regional. """ warnings.warn("""This field is deprecated and will be removed in the next major version""", DeprecationWarning) pulumi.log.warn("""is_regional is deprecated: This field is deprecated and will be removed in the next major version""") @@ -670,7 +670,7 @@ def is_regional(self) -> pulumi.Output[bool]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the private network. If not provided it will be randomly generated. + The name of the Private Network. If not provided, it will be randomly generated. """ return pulumi.get(self, "name") @@ -678,7 +678,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the private network is associated with. + The Organization ID the Private Network is associated with. """ return pulumi.get(self, "organization_id") @@ -686,7 +686,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the private network is associated with. + `project_id`) The ID of the Project the private network is associated with. """ return pulumi.get(self, "project_id") @@ -694,7 +694,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter def region(self) -> pulumi.Output[str]: """ - `region`) The region of the private network. + `region`) The region of the Private Network. """ return pulumi.get(self, "region") @@ -702,7 +702,7 @@ def region(self) -> pulumi.Output[str]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the private network. + The tags associated with the Private Network. """ return pulumi.get(self, "tags") @@ -718,7 +718,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="vpcId") def vpc_id(self) -> pulumi.Output[str]: """ - The VPC in which to create the private network. + The VPC in which to create the Private Network. """ return pulumi.get(self, "vpc_id") @@ -726,7 +726,7 @@ def vpc_id(self) -> pulumi.Output[str]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - please use `region` instead - (Defaults to provider `zone`) The zone in which the private network should be created. + Use `region` instead. """ warnings.warn("""This field is deprecated and will be removed in the next major version, please use `region` instead""", DeprecationWarning) pulumi.log.warn("""zone is deprecated: This field is deprecated and will be removed in the next major version, please use `region` instead""") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway.py index 61edcb83..7195410c 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway.py @@ -31,13 +31,13 @@ def __init__(__self__, *, :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway. :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen. :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway. - :param pulumi.Input[str] ip_id: attach an existing flexible IP to the gateway. - :param pulumi.Input[str] name: The name of the public gateway. If not provided it will be randomly generated. + :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway. + :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with. - :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the public gateway by changing this field's value. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: override the gateway's default recursive DNS servers, if DNS features are enabled. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway should be created. + :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created. """ pulumi.set(__self__, "type", type) if bastion_enabled is not None: @@ -113,7 +113,7 @@ def enable_smtp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="ipId") def ip_id(self) -> Optional[pulumi.Input[str]]: """ - attach an existing flexible IP to the gateway. + Attach an existing flexible IP to the gateway. """ return pulumi.get(self, "ip_id") @@ -125,7 +125,7 @@ def ip_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the public gateway. If not provided it will be randomly generated. + The name for the Public Gateway. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -149,7 +149,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="refreshSshKeys") def refresh_ssh_keys(self) -> Optional[pulumi.Input[str]]: """ - Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. """ return pulumi.get(self, "refresh_ssh_keys") @@ -161,7 +161,7 @@ def refresh_ssh_keys(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the public gateway. + The tags to associate with the Public Gateway. """ return pulumi.get(self, "tags") @@ -173,7 +173,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="upstreamDnsServers") def upstream_dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - override the gateway's default recursive DNS servers, if DNS features are enabled. + Override the gateway's default recursive DNS servers, if DNS features are enabled. """ return pulumi.get(self, "upstream_dns_servers") @@ -185,7 +185,7 @@ def upstream_dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway should be created. + `zone`) The zone in which the Public Gateway should be created. """ return pulumi.get(self, "zone") @@ -216,19 +216,19 @@ def __init__(__self__, *, Input properties used for looking up and filtering VpcPublicGateway resources. :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway. :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway. :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway. - :param pulumi.Input[str] ip_id: attach an existing flexible IP to the gateway. - :param pulumi.Input[str] name: The name of the public gateway. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the public gateway is associated with. + :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway. + :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway is associated with. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with. - :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. :param pulumi.Input[str] status: The status of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway. :param pulumi.Input[str] type: The gateway type. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: override the gateway's default recursive DNS servers, if DNS features are enabled. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway should be created. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created. """ if bastion_enabled is not None: pulumi.set(__self__, "bastion_enabled", bastion_enabled) @@ -289,7 +289,7 @@ def bastion_port(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the public gateway. + The date and time of the creation of the Public Gateway. """ return pulumi.get(self, "created_at") @@ -313,7 +313,7 @@ def enable_smtp(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="ipId") def ip_id(self) -> Optional[pulumi.Input[str]]: """ - attach an existing flexible IP to the gateway. + Attach an existing flexible IP to the gateway. """ return pulumi.get(self, "ip_id") @@ -325,7 +325,7 @@ def ip_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the public gateway. If not provided it will be randomly generated. + The name for the Public Gateway. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -337,7 +337,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the public gateway is associated with. + The Organization ID the Public Gateway is associated with. """ return pulumi.get(self, "organization_id") @@ -361,7 +361,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="refreshSshKeys") def refresh_ssh_keys(self) -> Optional[pulumi.Input[str]]: """ - Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. """ return pulumi.get(self, "refresh_ssh_keys") @@ -385,7 +385,7 @@ def status(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the public gateway. + The tags to associate with the Public Gateway. """ return pulumi.get(self, "tags") @@ -409,7 +409,7 @@ def type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the public gateway. + The date and time of the last update of the Public Gateway. """ return pulumi.get(self, "updated_at") @@ -421,7 +421,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="upstreamDnsServers") def upstream_dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - override the gateway's default recursive DNS servers, if DNS features are enabled. + Override the gateway's default recursive DNS servers, if DNS features are enabled. """ return pulumi.get(self, "upstream_dns_servers") @@ -433,7 +433,7 @@ def upstream_dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway should be created. + `zone`) The zone in which the Public Gateway should be created. """ return pulumi.get(self, "zone") @@ -460,8 +460,8 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway VPC Public Gateway. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway). + Creates and manages Scaleway Public Gateways. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway). ## Example Usage @@ -481,7 +481,7 @@ def __init__(__self__, ## Import - Public gateway can be imported using the `{zone}/{id}`, e.g. + Public Gateways can be imported using `{zone}/{id}`, e.g. bash @@ -494,14 +494,14 @@ def __init__(__self__, :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway. :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen. :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway. - :param pulumi.Input[str] ip_id: attach an existing flexible IP to the gateway. - :param pulumi.Input[str] name: The name of the public gateway. If not provided it will be randomly generated. + :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway. + :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with. - :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the public gateway by changing this field's value. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway. + :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway. :param pulumi.Input[str] type: The gateway type. - :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: override the gateway's default recursive DNS servers, if DNS features are enabled. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway should be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created. """ ... @overload @@ -510,8 +510,8 @@ def __init__(__self__, args: VpcPublicGatewayArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway VPC Public Gateway. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway). + Creates and manages Scaleway Public Gateways. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway). ## Example Usage @@ -531,7 +531,7 @@ def __init__(__self__, ## Import - Public gateway can be imported using the `{zone}/{id}`, e.g. + Public Gateways can be imported using `{zone}/{id}`, e.g. bash @@ -625,19 +625,19 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway. :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway. :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway. - :param pulumi.Input[str] ip_id: attach an existing flexible IP to the gateway. - :param pulumi.Input[str] name: The name of the public gateway. If not provided it will be randomly generated. - :param pulumi.Input[str] organization_id: The organization ID the public gateway is associated with. + :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway. + :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway is associated with. :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with. - :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. :param pulumi.Input[str] status: The status of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway. :param pulumi.Input[str] type: The gateway type. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway. - :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: override the gateway's default recursive DNS servers, if DNS features are enabled. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway should be created. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway. + :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -680,7 +680,7 @@ def bastion_port(self) -> pulumi.Output[int]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the public gateway. + The date and time of the creation of the Public Gateway. """ return pulumi.get(self, "created_at") @@ -696,7 +696,7 @@ def enable_smtp(self) -> pulumi.Output[bool]: @pulumi.getter(name="ipId") def ip_id(self) -> pulumi.Output[str]: """ - attach an existing flexible IP to the gateway. + Attach an existing flexible IP to the gateway. """ return pulumi.get(self, "ip_id") @@ -704,7 +704,7 @@ def ip_id(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the public gateway. If not provided it will be randomly generated. + The name for the Public Gateway. If not provided it will be randomly generated. """ return pulumi.get(self, "name") @@ -712,7 +712,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the public gateway is associated with. + The Organization ID the Public Gateway is associated with. """ return pulumi.get(self, "organization_id") @@ -728,7 +728,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter(name="refreshSshKeys") def refresh_ssh_keys(self) -> pulumi.Output[Optional[str]]: """ - Trigger a refresh of the SSH keys on the public gateway by changing this field's value. + Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value. """ return pulumi.get(self, "refresh_ssh_keys") @@ -744,7 +744,7 @@ def status(self) -> pulumi.Output[str]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the public gateway. + The tags to associate with the Public Gateway. """ return pulumi.get(self, "tags") @@ -760,7 +760,7 @@ def type(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the public gateway. + The date and time of the last update of the Public Gateway. """ return pulumi.get(self, "updated_at") @@ -768,7 +768,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="upstreamDnsServers") def upstream_dns_servers(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - override the gateway's default recursive DNS servers, if DNS features are enabled. + Override the gateway's default recursive DNS servers, if DNS features are enabled. """ return pulumi.get(self, "upstream_dns_servers") @@ -776,7 +776,7 @@ def upstream_dns_servers(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - `zone`) The zone in which the public gateway should be created. + `zone`) The zone in which the Public Gateway should be created. """ return pulumi.get(self, "zone") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp.py index 1d48af06..24380c5f 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp.py @@ -31,21 +31,21 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcPublicGatewayDhcp resource. - :param pulumi.Input[str] subnet: The subnet to associate with the public gateway DHCP config. - :param pulumi.Input[str] address: The IP address of the public gateway DHCP config. + :param pulumi.Input[str] subnet: The subnet to associate with the Public Gateway DHCP configuration. + :param pulumi.Input[str] address: The IP address of the DHCP server. This will be the gateway's address in the Private Network. :param pulumi.Input[str] dns_local_name: TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_searches: Additional DNS search paths - :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself. :param pulumi.Input[bool] enable_dynamic: Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. :param pulumi.Input[str] pool_high: High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. :param pulumi.Input[str] pool_low: Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway DHCP config is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. :param pulumi.Input[bool] push_default_route: Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. :param pulumi.Input[bool] push_dns_server: Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to `true`. :param pulumi.Input[int] rebind_timer: After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s). :param pulumi.Input[int] renew_timer: After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s). - :param pulumi.Input[int] valid_lifetime: For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[int] valid_lifetime: How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ pulumi.set(__self__, "subnet", subnet) if address is not None: @@ -81,7 +81,7 @@ def __init__(__self__, *, @pulumi.getter def subnet(self) -> pulumi.Input[str]: """ - The subnet to associate with the public gateway DHCP config. + The subnet to associate with the Public Gateway DHCP configuration. """ return pulumi.get(self, "subnet") @@ -93,7 +93,7 @@ def subnet(self, value: pulumi.Input[str]): @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ - The IP address of the public gateway DHCP config. + The IP address of the DHCP server. This will be the gateway's address in the Private Network. """ return pulumi.get(self, "address") @@ -129,7 +129,7 @@ def dns_searches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] @pulumi.getter(name="dnsServersOverrides") def dns_servers_overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Override the DNS server list pushed to DHCP clients, instead of the gateway itself + Override the DNS server list pushed to DHCP clients, instead of the gateway itself. """ return pulumi.get(self, "dns_servers_overrides") @@ -177,7 +177,7 @@ def pool_low(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the public gateway DHCP config is associated with. + `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. """ return pulumi.get(self, "project_id") @@ -237,7 +237,7 @@ def renew_timer(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="validLifetime") def valid_lifetime(self) -> Optional[pulumi.Input[int]]: """ - For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). """ return pulumi.get(self, "valid_lifetime") @@ -249,7 +249,7 @@ def valid_lifetime(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone") @@ -281,24 +281,24 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering VpcPublicGatewayDhcp resources. - :param pulumi.Input[str] address: The IP address of the public gateway DHCP config. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway DHCP config. + :param pulumi.Input[str] address: The IP address of the DHCP server. This will be the gateway's address in the Private Network. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway DHCP configuration. :param pulumi.Input[str] dns_local_name: TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_searches: Additional DNS search paths - :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself. :param pulumi.Input[bool] enable_dynamic: Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. - :param pulumi.Input[str] organization_id: The organization ID the public gateway DHCP config is associated with. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway DHCP config is associated with. :param pulumi.Input[str] pool_high: High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. :param pulumi.Input[str] pool_low: Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway DHCP config is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. :param pulumi.Input[bool] push_default_route: Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. :param pulumi.Input[bool] push_dns_server: Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to `true`. :param pulumi.Input[int] rebind_timer: After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s). :param pulumi.Input[int] renew_timer: After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s). - :param pulumi.Input[str] subnet: The subnet to associate with the public gateway DHCP config. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway DHCP config. - :param pulumi.Input[int] valid_lifetime: For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] subnet: The subnet to associate with the Public Gateway DHCP configuration. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway DHCP configuration. + :param pulumi.Input[int] valid_lifetime: How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ if address is not None: pulumi.set(__self__, "address", address) @@ -341,7 +341,7 @@ def __init__(__self__, *, @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ - The IP address of the public gateway DHCP config. + The IP address of the DHCP server. This will be the gateway's address in the Private Network. """ return pulumi.get(self, "address") @@ -353,7 +353,7 @@ def address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the public gateway DHCP config. + The date and time of the creation of the Public Gateway DHCP configuration. """ return pulumi.get(self, "created_at") @@ -389,7 +389,7 @@ def dns_searches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] @pulumi.getter(name="dnsServersOverrides") def dns_servers_overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Override the DNS server list pushed to DHCP clients, instead of the gateway itself + Override the DNS server list pushed to DHCP clients, instead of the gateway itself. """ return pulumi.get(self, "dns_servers_overrides") @@ -413,7 +413,7 @@ def enable_dynamic(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the public gateway DHCP config is associated with. + The Organization ID the Public Gateway DHCP config is associated with. """ return pulumi.get(self, "organization_id") @@ -449,7 +449,7 @@ def pool_low(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the public gateway DHCP config is associated with. + `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. """ return pulumi.get(self, "project_id") @@ -509,7 +509,7 @@ def renew_timer(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def subnet(self) -> Optional[pulumi.Input[str]]: """ - The subnet to associate with the public gateway DHCP config. + The subnet to associate with the Public Gateway DHCP configuration. """ return pulumi.get(self, "subnet") @@ -521,7 +521,7 @@ def subnet(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the public gateway DHCP config. + The date and time of the last update of the Public Gateway DHCP configuration. """ return pulumi.get(self, "updated_at") @@ -533,7 +533,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="validLifetime") def valid_lifetime(self) -> Optional[pulumi.Input[int]]: """ - For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). """ return pulumi.get(self, "valid_lifetime") @@ -545,7 +545,7 @@ def valid_lifetime(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone") @@ -576,7 +576,7 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway VPC Public Gateway DHCP. + Creates and manages Scaleway VPC Public Gateway DHCP configurations. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). ## Example Usage @@ -590,7 +590,7 @@ def __init__(__self__, ## Import - Public gateway DHCP config can be imported using the `{zone}/{id}`, e.g. + Public Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g. bash @@ -600,21 +600,21 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] address: The IP address of the public gateway DHCP config. + :param pulumi.Input[str] address: The IP address of the DHCP server. This will be the gateway's address in the Private Network. :param pulumi.Input[str] dns_local_name: TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_searches: Additional DNS search paths - :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself. :param pulumi.Input[bool] enable_dynamic: Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. :param pulumi.Input[str] pool_high: High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. :param pulumi.Input[str] pool_low: Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway DHCP config is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. :param pulumi.Input[bool] push_default_route: Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. :param pulumi.Input[bool] push_dns_server: Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to `true`. :param pulumi.Input[int] rebind_timer: After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s). :param pulumi.Input[int] renew_timer: After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s). - :param pulumi.Input[str] subnet: The subnet to associate with the public gateway DHCP config. - :param pulumi.Input[int] valid_lifetime: For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] subnet: The subnet to associate with the Public Gateway DHCP configuration. + :param pulumi.Input[int] valid_lifetime: How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ ... @overload @@ -623,7 +623,7 @@ def __init__(__self__, args: VpcPublicGatewayDhcpArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway VPC Public Gateway DHCP. + Creates and manages Scaleway VPC Public Gateway DHCP configurations. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). ## Example Usage @@ -637,7 +637,7 @@ def __init__(__self__, ## Import - Public gateway DHCP config can be imported using the `{zone}/{id}`, e.g. + Public Gateway DHCP configuration can be imported using `{zone}/{id}`, e.g. bash @@ -739,24 +739,24 @@ def get(resource_name: str, :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] address: The IP address of the public gateway DHCP config. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway DHCP config. + :param pulumi.Input[str] address: The IP address of the DHCP server. This will be the gateway's address in the Private Network. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway DHCP configuration. :param pulumi.Input[str] dns_local_name: TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`. :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_searches: Additional DNS search paths - :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers_overrides: Override the DNS server list pushed to DHCP clients, instead of the gateway itself. :param pulumi.Input[bool] enable_dynamic: Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to `true`. - :param pulumi.Input[str] organization_id: The organization ID the public gateway DHCP config is associated with. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway DHCP config is associated with. :param pulumi.Input[str] pool_high: High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet. :param pulumi.Input[str] pool_low: Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway DHCP config is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. :param pulumi.Input[bool] push_default_route: Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`. :param pulumi.Input[bool] push_dns_server: Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to `true`. :param pulumi.Input[int] rebind_timer: After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s). :param pulumi.Input[int] renew_timer: After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s). - :param pulumi.Input[str] subnet: The subnet to associate with the public gateway DHCP config. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway DHCP config. - :param pulumi.Input[int] valid_lifetime: For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] subnet: The subnet to associate with the Public Gateway DHCP configuration. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway DHCP configuration. + :param pulumi.Input[int] valid_lifetime: How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -786,7 +786,7 @@ def get(resource_name: str, @pulumi.getter def address(self) -> pulumi.Output[str]: """ - The IP address of the public gateway DHCP config. + The IP address of the DHCP server. This will be the gateway's address in the Private Network. """ return pulumi.get(self, "address") @@ -794,7 +794,7 @@ def address(self) -> pulumi.Output[str]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the public gateway DHCP config. + The date and time of the creation of the Public Gateway DHCP configuration. """ return pulumi.get(self, "created_at") @@ -818,7 +818,7 @@ def dns_searches(self) -> pulumi.Output[Sequence[str]]: @pulumi.getter(name="dnsServersOverrides") def dns_servers_overrides(self) -> pulumi.Output[Sequence[str]]: """ - Override the DNS server list pushed to DHCP clients, instead of the gateway itself + Override the DNS server list pushed to DHCP clients, instead of the gateway itself. """ return pulumi.get(self, "dns_servers_overrides") @@ -834,7 +834,7 @@ def enable_dynamic(self) -> pulumi.Output[bool]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the public gateway DHCP config is associated with. + The Organization ID the Public Gateway DHCP config is associated with. """ return pulumi.get(self, "organization_id") @@ -858,7 +858,7 @@ def pool_low(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the public gateway DHCP config is associated with. + `project_id`) The ID of the Project the Public Gateway DHCP configuration is associated with. """ return pulumi.get(self, "project_id") @@ -898,7 +898,7 @@ def renew_timer(self) -> pulumi.Output[int]: @pulumi.getter def subnet(self) -> pulumi.Output[str]: """ - The subnet to associate with the public gateway DHCP config. + The subnet to associate with the Public Gateway DHCP configuration. """ return pulumi.get(self, "subnet") @@ -906,7 +906,7 @@ def subnet(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the public gateway DHCP config. + The date and time of the last update of the Public Gateway DHCP configuration. """ return pulumi.get(self, "updated_at") @@ -914,7 +914,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter(name="validLifetime") def valid_lifetime(self) -> pulumi.Output[int]: """ - For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s). + How long, in seconds, DHCP entries will be valid. Defaults to 1h (3600s). """ return pulumi.get(self, "valid_lifetime") @@ -922,7 +922,7 @@ def valid_lifetime(self) -> pulumi.Output[int]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py index eea1a06b..d22ba6f9 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py @@ -21,8 +21,8 @@ def __init__(__self__, *, """ The set of arguments for constructing a VpcPublicGatewayDhcpReservation resource. :param pulumi.Input[str] gateway_network_id: The ID of the owning GatewayNetwork. - :param pulumi.Input[str] ip_address: The IP address to give to the machine (IP address). - :param pulumi.Input[str] mac_address: The MAC address to give a static entry to. + :param pulumi.Input[str] ip_address: The IP address to give to the machine. + :param pulumi.Input[str] mac_address: The MAC address for the static entry. :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. """ pulumi.set(__self__, "gateway_network_id", gateway_network_id) @@ -47,7 +47,7 @@ def gateway_network_id(self, value: pulumi.Input[str]): @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Input[str]: """ - The IP address to give to the machine (IP address). + The IP address to give to the machine. """ return pulumi.get(self, "ip_address") @@ -59,7 +59,7 @@ def ip_address(self, value: pulumi.Input[str]): @pulumi.getter(name="macAddress") def mac_address(self) -> pulumi.Input[str]: """ - The MAC address to give a static entry to. + The MAC address for the static entry. """ return pulumi.get(self, "mac_address") @@ -93,13 +93,13 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering VpcPublicGatewayDhcpReservation resources. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway DHCP config. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway DHCP configuration. :param pulumi.Input[str] gateway_network_id: The ID of the owning GatewayNetwork. - :param pulumi.Input[str] hostname: The Hostname of the client machine. - :param pulumi.Input[str] ip_address: The IP address to give to the machine (IP address). - :param pulumi.Input[str] mac_address: The MAC address to give a static entry to. - :param pulumi.Input[str] type: The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway DHCP config. + :param pulumi.Input[str] hostname: The hostname of the client machine. + :param pulumi.Input[str] ip_address: The IP address to give to the machine. + :param pulumi.Input[str] mac_address: The MAC address for the static entry. + :param pulumi.Input[str] type: The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway DHCP configuration. :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. """ if created_at is not None: @@ -123,7 +123,7 @@ def __init__(__self__, *, @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the public gateway DHCP config. + The date and time of the creation of the Public Gateway DHCP configuration. """ return pulumi.get(self, "created_at") @@ -147,7 +147,7 @@ def gateway_network_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: """ - The Hostname of the client machine. + The hostname of the client machine. """ return pulumi.get(self, "hostname") @@ -159,7 +159,7 @@ def hostname(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ - The IP address to give to the machine (IP address). + The IP address to give to the machine. """ return pulumi.get(self, "ip_address") @@ -171,7 +171,7 @@ def ip_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="macAddress") def mac_address(self) -> Optional[pulumi.Input[str]]: """ - The MAC address to give a static entry to. + The MAC address for the static entry. """ return pulumi.get(self, "mac_address") @@ -183,7 +183,7 @@ def mac_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. """ return pulumi.get(self, "type") @@ -195,7 +195,7 @@ def type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the public gateway DHCP config. + The date and time of the last update of the Public Gateway DHCP configuration. """ return pulumi.get(self, "updated_at") @@ -227,15 +227,15 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). + Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). - The static associations are used to assign IP addresses based on the MAC addresses of the Instance. + These static associations are used to assign IP addresses based on the MAC addresses of the resource. Statically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). - [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations. + [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations. ## Example Usage @@ -274,7 +274,7 @@ def __init__(__self__, ## Import - Public gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g. + Public Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g. bash @@ -285,8 +285,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] gateway_network_id: The ID of the owning GatewayNetwork. - :param pulumi.Input[str] ip_address: The IP address to give to the machine (IP address). - :param pulumi.Input[str] mac_address: The MAC address to give a static entry to. + :param pulumi.Input[str] ip_address: The IP address to give to the machine. + :param pulumi.Input[str] mac_address: The MAC address for the static entry. :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. """ ... @@ -296,15 +296,15 @@ def __init__(__self__, args: VpcPublicGatewayDhcpReservationArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages the [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). + Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/network/vpc/concepts/#dhcp). - The static associations are used to assign IP addresses based on the MAC addresses of the Instance. + These static associations are used to assign IP addresses based on the MAC addresses of the resource. Statically assigned IP addresses should fall within the configured subnet, but be outside of the dynamic range. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544) and [configuration guide](https://www.scaleway.com/en/docs/network/vpc/how-to/configure-a-public-gateway/#how-to-review-and-configure-dhcp). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544). - [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to instances) and static user-created DHCP reservations. + [DHCP reservations](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-entries-e40fb6) hold both dynamic DHCP leases (IP addresses dynamically assigned by the gateway to resources) and static user-created DHCP reservations. ## Example Usage @@ -343,7 +343,7 @@ def __init__(__self__, ## Import - Public gateway DHCP Reservation config can be imported using the `{zone}/{id}`, e.g. + Public Gateway DHCP reservation configurations can be imported using `{zone}/{id}`, e.g. bash @@ -418,13 +418,13 @@ def get(resource_name: str, :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] created_at: The date and time of the creation of the public gateway DHCP config. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway DHCP configuration. :param pulumi.Input[str] gateway_network_id: The ID of the owning GatewayNetwork. - :param pulumi.Input[str] hostname: The Hostname of the client machine. - :param pulumi.Input[str] ip_address: The IP address to give to the machine (IP address). - :param pulumi.Input[str] mac_address: The MAC address to give a static entry to. - :param pulumi.Input[str] type: The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway DHCP config. + :param pulumi.Input[str] hostname: The hostname of the client machine. + :param pulumi.Input[str] ip_address: The IP address to give to the machine. + :param pulumi.Input[str] mac_address: The MAC address for the static entry. + :param pulumi.Input[str] type: The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway DHCP configuration. :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -445,7 +445,7 @@ def get(resource_name: str, @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the public gateway DHCP config. + The date and time of the creation of the Public Gateway DHCP configuration. """ return pulumi.get(self, "created_at") @@ -461,7 +461,7 @@ def gateway_network_id(self) -> pulumi.Output[str]: @pulumi.getter def hostname(self) -> pulumi.Output[str]: """ - The Hostname of the client machine. + The hostname of the client machine. """ return pulumi.get(self, "hostname") @@ -469,7 +469,7 @@ def hostname(self) -> pulumi.Output[str]: @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Output[str]: """ - The IP address to give to the machine (IP address). + The IP address to give to the machine. """ return pulumi.get(self, "ip_address") @@ -477,7 +477,7 @@ def ip_address(self) -> pulumi.Output[str]: @pulumi.getter(name="macAddress") def mac_address(self) -> pulumi.Output[str]: """ - The MAC address to give a static entry to. + The MAC address for the static entry. """ return pulumi.get(self, "mac_address") @@ -485,7 +485,7 @@ def mac_address(self) -> pulumi.Output[str]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease. + The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are `reservation` and `lease`. """ return pulumi.get(self, "type") @@ -493,7 +493,7 @@ def type(self) -> pulumi.Output[str]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the public gateway DHCP config. + The date and time of the last update of the Public Gateway DHCP configuration. """ return pulumi.get(self, "updated_at") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip.py index 1db655f7..364f3101 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip.py @@ -20,10 +20,10 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcPublicGatewayIp resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway ip is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway IP is associated with. :param pulumi.Input[str] reverse: The reverse domain name for the IP address - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway IP. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway ip should be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Public Gateway IP. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway IP should be created. """ if project_id is not None: pulumi.set(__self__, "project_id", project_id) @@ -38,7 +38,7 @@ def __init__(__self__, *, @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the public gateway ip is associated with. + `project_id`) The ID of the Project the Public Gateway IP is associated with. """ return pulumi.get(self, "project_id") @@ -62,7 +62,7 @@ def reverse(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the public gateway IP. + The tags associated with the Public Gateway IP. """ return pulumi.get(self, "tags") @@ -74,7 +74,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway ip should be created. + `zone`) The zone in which the Public Gateway IP should be created. """ return pulumi.get(self, "zone") @@ -97,13 +97,13 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering VpcPublicGatewayIp resources. :param pulumi.Input[str] address: The IP address itself. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway ip. - :param pulumi.Input[str] organization_id: The organization ID the public gateway ip is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway ip is associated with. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway IP. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway IP is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway IP is associated with. :param pulumi.Input[str] reverse: The reverse domain name for the IP address - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway IP. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway ip. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway ip should be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Public Gateway IP. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway IP. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway IP should be created. """ if address is not None: pulumi.set(__self__, "address", address) @@ -138,7 +138,7 @@ def address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the public gateway ip. + The date and time of the creation of the Public Gateway IP. """ return pulumi.get(self, "created_at") @@ -150,7 +150,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the public gateway ip is associated with. + The Organization ID the Public Gateway IP is associated with. """ return pulumi.get(self, "organization_id") @@ -162,7 +162,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - `project_id`) The ID of the project the public gateway ip is associated with. + `project_id`) The ID of the Project the Public Gateway IP is associated with. """ return pulumi.get(self, "project_id") @@ -186,7 +186,7 @@ def reverse(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The tags associated with the public gateway IP. + The tags associated with the Public Gateway IP. """ return pulumi.get(self, "tags") @@ -198,7 +198,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the public gateway ip. + The date and time of the last update of the Public Gateway IP. """ return pulumi.get(self, "updated_at") @@ -210,7 +210,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway ip should be created. + `zone`) The zone in which the Public Gateway IP should be created. """ return pulumi.get(self, "zone") @@ -230,8 +230,8 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway VPC Public Gateway IP. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage @@ -250,7 +250,7 @@ def __init__(__self__, ## Import - Public gateway can be imported using the `{zone}/{id}`, e.g. + Public Gateway IPs can be imported using `{zone}/{id}`, e.g. bash @@ -260,10 +260,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway ip is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway IP is associated with. :param pulumi.Input[str] reverse: The reverse domain name for the IP address - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway IP. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway ip should be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Public Gateway IP. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway IP should be created. """ ... @overload @@ -272,8 +272,8 @@ def __init__(__self__, args: Optional[VpcPublicGatewayIpArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway VPC Public Gateway IP. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + Creates and manages Scaleway VPC Public Gateway public (flexible) IP addresses. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage @@ -292,7 +292,7 @@ def __init__(__self__, ## Import - Public gateway can be imported using the `{zone}/{id}`, e.g. + Public Gateway IPs can be imported using `{zone}/{id}`, e.g. bash @@ -362,13 +362,13 @@ def get(resource_name: str, :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] address: The IP address itself. - :param pulumi.Input[str] created_at: The date and time of the creation of the public gateway ip. - :param pulumi.Input[str] organization_id: The organization ID the public gateway ip is associated with. - :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway ip is associated with. + :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway IP. + :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway IP is associated with. + :param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Public Gateway IP is associated with. :param pulumi.Input[str] reverse: The reverse domain name for the IP address - :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the public gateway IP. - :param pulumi.Input[str] updated_at: The date and time of the last update of the public gateway ip. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway ip should be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Public Gateway IP. + :param pulumi.Input[str] updated_at: The date and time of the last update of the Public Gateway IP. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway IP should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -396,7 +396,7 @@ def address(self) -> pulumi.Output[str]: @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the public gateway ip. + The date and time of the creation of the Public Gateway IP. """ return pulumi.get(self, "created_at") @@ -404,7 +404,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the public gateway ip is associated with. + The Organization ID the Public Gateway IP is associated with. """ return pulumi.get(self, "organization_id") @@ -412,7 +412,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[str]: """ - `project_id`) The ID of the project the public gateway ip is associated with. + `project_id`) The ID of the Project the Public Gateway IP is associated with. """ return pulumi.get(self, "project_id") @@ -428,7 +428,7 @@ def reverse(self) -> pulumi.Output[str]: @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - The tags associated with the public gateway IP. + The tags associated with the Public Gateway IP. """ return pulumi.get(self, "tags") @@ -436,7 +436,7 @@ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the public gateway ip. + The date and time of the last update of the Public Gateway IP. """ return pulumi.get(self, "updated_at") @@ -444,7 +444,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - `zone`) The zone in which the public gateway ip should be created. + `zone`) The zone in which the Public Gateway IP should be created. """ return pulumi.get(self, "zone") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py index 1f939a99..3a2f44e1 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py @@ -19,7 +19,7 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcPublicGatewayIpReverseDns resource. - :param pulumi.Input[str] gateway_ip_id: The public gateway IP ID + :param pulumi.Input[str] gateway_ip_id: The Public Gateway IP ID :param pulumi.Input[str] reverse: The reverse domain name for this IP address :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -32,7 +32,7 @@ def __init__(__self__, *, @pulumi.getter(name="gatewayIpId") def gateway_ip_id(self) -> pulumi.Input[str]: """ - The public gateway IP ID + The Public Gateway IP ID """ return pulumi.get(self, "gateway_ip_id") @@ -73,7 +73,7 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering VpcPublicGatewayIpReverseDns resources. - :param pulumi.Input[str] gateway_ip_id: The public gateway IP ID + :param pulumi.Input[str] gateway_ip_id: The Public Gateway IP ID :param pulumi.Input[str] reverse: The reverse domain name for this IP address :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -88,7 +88,7 @@ def __init__(__self__, *, @pulumi.getter(name="gatewayIpId") def gateway_ip_id(self) -> Optional[pulumi.Input[str]]: """ - The public gateway IP ID + The Public Gateway IP ID """ return pulumi.get(self, "gateway_ip_id") @@ -131,8 +131,8 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Manages Scaleway VPC Public Gateways IPs reverse DNS. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage @@ -154,7 +154,7 @@ def __init__(__self__, ## Import - Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. + Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g. bash @@ -164,7 +164,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] gateway_ip_id: The public gateway IP ID + :param pulumi.Input[str] gateway_ip_id: The Public Gateway IP ID :param pulumi.Input[str] reverse: The reverse domain name for this IP address :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -175,8 +175,8 @@ def __init__(__self__, args: VpcPublicGatewayIpReverseDnsArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Manages Scaleway VPC Public Gateways IPs reverse DNS. - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#ips-268151). + Manages Scaleway Public Gateway public (flexible) IPs' reverse DNS. + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). ## Example Usage @@ -198,7 +198,7 @@ def __init__(__self__, ## Import - Public gateway IPs reverse DNS can be imported using the `{zone}/{id}`, e.g. + Public Gateway IP reverse DNS can be imported using `{zone}/{id}`, e.g. bash @@ -260,7 +260,7 @@ def get(resource_name: str, :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] gateway_ip_id: The public gateway IP ID + :param pulumi.Input[str] gateway_ip_id: The Public Gateway IP ID :param pulumi.Input[str] reverse: The reverse domain name for this IP address :param pulumi.Input[str] zone: `zone`) The zone in which the IP should be reserved. """ @@ -277,7 +277,7 @@ def get(resource_name: str, @pulumi.getter(name="gatewayIpId") def gateway_ip_id(self) -> pulumi.Output[str]: """ - The public gateway IP ID + The Public Gateway IP ID """ return pulumi.get(self, "gateway_ip_id") diff --git a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_pat_rule.py b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_pat_rule.py index 2f265745..73d4e186 100644 --- a/sdk/python/pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +++ b/sdk/python/pulumiverse_scaleway/vpc_public_gateway_pat_rule.py @@ -22,12 +22,12 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VpcPublicGatewayPatRule resource. - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[str] private_ip: The Private IP to forward data to (IP address). - :param pulumi.Input[int] private_port: The Private port to translate to. - :param pulumi.Input[int] public_port: The Public port to listen on. - :param pulumi.Input[str] protocol: The Protocol the rule should apply to. Possible values are both, tcp and udp. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[str] private_ip: The private IP address to forward data to. + :param pulumi.Input[int] private_port: The private port to translate to. + :param pulumi.Input[int] public_port: The public port to listen on. + :param pulumi.Input[str] protocol: The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ pulumi.set(__self__, "gateway_id", gateway_id) pulumi.set(__self__, "private_ip", private_ip) @@ -42,7 +42,7 @@ def __init__(__self__, *, @pulumi.getter(name="gatewayId") def gateway_id(self) -> pulumi.Input[str]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -54,7 +54,7 @@ def gateway_id(self, value: pulumi.Input[str]): @pulumi.getter(name="privateIp") def private_ip(self) -> pulumi.Input[str]: """ - The Private IP to forward data to (IP address). + The private IP address to forward data to. """ return pulumi.get(self, "private_ip") @@ -66,7 +66,7 @@ def private_ip(self, value: pulumi.Input[str]): @pulumi.getter(name="privatePort") def private_port(self) -> pulumi.Input[int]: """ - The Private port to translate to. + The private port to translate to. """ return pulumi.get(self, "private_port") @@ -78,7 +78,7 @@ def private_port(self, value: pulumi.Input[int]): @pulumi.getter(name="publicPort") def public_port(self) -> pulumi.Input[int]: """ - The Public port to listen on. + The public port to listen on. """ return pulumi.get(self, "public_port") @@ -90,7 +90,7 @@ def public_port(self, value: pulumi.Input[int]): @pulumi.getter def protocol(self) -> Optional[pulumi.Input[str]]: """ - The Protocol the rule should apply to. Possible values are both, tcp and udp. + The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. """ return pulumi.get(self, "protocol") @@ -102,7 +102,7 @@ def protocol(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone") @@ -125,15 +125,15 @@ def __init__(__self__, *, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering VpcPublicGatewayPatRule resources. - :param pulumi.Input[str] created_at: The date and time of the creation of the pat rule config. - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[str] organization_id: The organization ID the pat rule config is associated with. - :param pulumi.Input[str] private_ip: The Private IP to forward data to (IP address). - :param pulumi.Input[int] private_port: The Private port to translate to. - :param pulumi.Input[str] protocol: The Protocol the rule should apply to. Possible values are both, tcp and udp. - :param pulumi.Input[int] public_port: The Public port to listen on. - :param pulumi.Input[str] updated_at: The date and time of the last update of the pat rule config. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] created_at: The date and time of the creation of the PAT rule configuration. + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[str] organization_id: The Organization ID the PAT rule configuration is associated with. + :param pulumi.Input[str] private_ip: The private IP address to forward data to. + :param pulumi.Input[int] private_port: The private port to translate to. + :param pulumi.Input[str] protocol: The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. + :param pulumi.Input[int] public_port: The public port to listen on. + :param pulumi.Input[str] updated_at: The date and time of the last update of the PAT rule configuration. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ if created_at is not None: pulumi.set(__self__, "created_at", created_at) @@ -158,7 +158,7 @@ def __init__(__self__, *, @pulumi.getter(name="createdAt") def created_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the creation of the pat rule config. + The date and time of the creation of the PAT rule configuration. """ return pulumi.get(self, "created_at") @@ -170,7 +170,7 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="gatewayId") def gateway_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -182,7 +182,7 @@ def gateway_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="organizationId") def organization_id(self) -> Optional[pulumi.Input[str]]: """ - The organization ID the pat rule config is associated with. + The Organization ID the PAT rule configuration is associated with. """ return pulumi.get(self, "organization_id") @@ -194,7 +194,7 @@ def organization_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privateIp") def private_ip(self) -> Optional[pulumi.Input[str]]: """ - The Private IP to forward data to (IP address). + The private IP address to forward data to. """ return pulumi.get(self, "private_ip") @@ -206,7 +206,7 @@ def private_ip(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="privatePort") def private_port(self) -> Optional[pulumi.Input[int]]: """ - The Private port to translate to. + The private port to translate to. """ return pulumi.get(self, "private_port") @@ -218,7 +218,7 @@ def private_port(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def protocol(self) -> Optional[pulumi.Input[str]]: """ - The Protocol the rule should apply to. Possible values are both, tcp and udp. + The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. """ return pulumi.get(self, "protocol") @@ -230,7 +230,7 @@ def protocol(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="publicPort") def public_port(self) -> Optional[pulumi.Input[int]]: """ - The Public port to listen on. + The public port to listen on. """ return pulumi.get(self, "public_port") @@ -242,7 +242,7 @@ def public_port(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="updatedAt") def updated_at(self) -> Optional[pulumi.Input[str]]: """ - The date and time of the last update of the pat rule config. + The date and time of the last update of the PAT rule configuration. """ return pulumi.get(self, "updated_at") @@ -254,7 +254,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone") @@ -276,8 +276,8 @@ def __init__(__self__, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ - Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation). - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). + Creates and manages Scaleway Public Gateway PAT (Port Address Translation). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). ## Example Usage @@ -327,7 +327,7 @@ def __init__(__self__, ## Import - Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g. + Public Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g. bash @@ -337,12 +337,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[str] private_ip: The Private IP to forward data to (IP address). - :param pulumi.Input[int] private_port: The Private port to translate to. - :param pulumi.Input[str] protocol: The Protocol the rule should apply to. Possible values are both, tcp and udp. - :param pulumi.Input[int] public_port: The Public port to listen on. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[str] private_ip: The private IP address to forward data to. + :param pulumi.Input[int] private_port: The private port to translate to. + :param pulumi.Input[str] protocol: The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. + :param pulumi.Input[int] public_port: The public port to listen on. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ ... @overload @@ -351,8 +351,8 @@ def __init__(__self__, args: VpcPublicGatewayPatRuleArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Creates and manages Scaleway VPC Public Gateway PAT (Port Address Translation). - For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). + Creates and manages Scaleway Public Gateway PAT (Port Address Translation). + For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#pat-rules-e75d10). ## Example Usage @@ -402,7 +402,7 @@ def __init__(__self__, ## Import - Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g. + Public Gateway PAT rule configurations can be imported using `{zone}/{id}`, e.g. bash @@ -483,15 +483,15 @@ def get(resource_name: str, :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] created_at: The date and time of the creation of the pat rule config. - :param pulumi.Input[str] gateway_id: The ID of the public gateway. - :param pulumi.Input[str] organization_id: The organization ID the pat rule config is associated with. - :param pulumi.Input[str] private_ip: The Private IP to forward data to (IP address). - :param pulumi.Input[int] private_port: The Private port to translate to. - :param pulumi.Input[str] protocol: The Protocol the rule should apply to. Possible values are both, tcp and udp. - :param pulumi.Input[int] public_port: The Public port to listen on. - :param pulumi.Input[str] updated_at: The date and time of the last update of the pat rule config. - :param pulumi.Input[str] zone: `zone`) The zone in which the public gateway DHCP config should be created. + :param pulumi.Input[str] created_at: The date and time of the creation of the PAT rule configuration. + :param pulumi.Input[str] gateway_id: The ID of the Public Gateway. + :param pulumi.Input[str] organization_id: The Organization ID the PAT rule configuration is associated with. + :param pulumi.Input[str] private_ip: The private IP address to forward data to. + :param pulumi.Input[int] private_port: The private port to translate to. + :param pulumi.Input[str] protocol: The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. + :param pulumi.Input[int] public_port: The public port to listen on. + :param pulumi.Input[str] updated_at: The date and time of the last update of the PAT rule configuration. + :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -512,7 +512,7 @@ def get(resource_name: str, @pulumi.getter(name="createdAt") def created_at(self) -> pulumi.Output[str]: """ - The date and time of the creation of the pat rule config. + The date and time of the creation of the PAT rule configuration. """ return pulumi.get(self, "created_at") @@ -520,7 +520,7 @@ def created_at(self) -> pulumi.Output[str]: @pulumi.getter(name="gatewayId") def gateway_id(self) -> pulumi.Output[str]: """ - The ID of the public gateway. + The ID of the Public Gateway. """ return pulumi.get(self, "gateway_id") @@ -528,7 +528,7 @@ def gateway_id(self) -> pulumi.Output[str]: @pulumi.getter(name="organizationId") def organization_id(self) -> pulumi.Output[str]: """ - The organization ID the pat rule config is associated with. + The Organization ID the PAT rule configuration is associated with. """ return pulumi.get(self, "organization_id") @@ -536,7 +536,7 @@ def organization_id(self) -> pulumi.Output[str]: @pulumi.getter(name="privateIp") def private_ip(self) -> pulumi.Output[str]: """ - The Private IP to forward data to (IP address). + The private IP address to forward data to. """ return pulumi.get(self, "private_ip") @@ -544,7 +544,7 @@ def private_ip(self) -> pulumi.Output[str]: @pulumi.getter(name="privatePort") def private_port(self) -> pulumi.Output[int]: """ - The Private port to translate to. + The private port to translate to. """ return pulumi.get(self, "private_port") @@ -552,7 +552,7 @@ def private_port(self) -> pulumi.Output[int]: @pulumi.getter def protocol(self) -> pulumi.Output[Optional[str]]: """ - The Protocol the rule should apply to. Possible values are both, tcp and udp. + The protocol the rule should apply to. Possible values are `both`, `tcp` and `udp`. """ return pulumi.get(self, "protocol") @@ -560,7 +560,7 @@ def protocol(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="publicPort") def public_port(self) -> pulumi.Output[int]: """ - The Public port to listen on. + The public port to listen on. """ return pulumi.get(self, "public_port") @@ -568,7 +568,7 @@ def public_port(self) -> pulumi.Output[int]: @pulumi.getter(name="updatedAt") def updated_at(self) -> pulumi.Output[str]: """ - The date and time of the last update of the pat rule config. + The date and time of the last update of the PAT rule configuration. """ return pulumi.get(self, "updated_at") @@ -576,7 +576,7 @@ def updated_at(self) -> pulumi.Output[str]: @pulumi.getter def zone(self) -> pulumi.Output[str]: """ - `zone`) The zone in which the public gateway DHCP config should be created. + `zone`) The zone in which the Public Gateway DHCP configuration should be created. """ return pulumi.get(self, "zone")