diff --git a/provider/cmd/pulumi-resource-hcloud/schema.json b/provider/cmd/pulumi-resource-hcloud/schema.json index 9e0cb5a0..e4cd8797 100644 --- a/provider/cmd/pulumi-resource-hcloud/schema.json +++ b/provider/cmd/pulumi-resource-hcloud/schema.json @@ -1995,7 +1995,7 @@ }, "homeLocation": { "type": "string", - "description": "Name of home location (routing is optimized for that location). Optional if server_id argument is passed.\n" + "description": "Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed.\n" }, "ipAddress": { "type": "string", @@ -2018,7 +2018,7 @@ }, "serverId": { "type": "integer", - "description": "Server to assign the Floating IP to.\n" + "description": "Server to assign the Floating IP to. Optional if `home_location` argument is passed.\n" }, "type": { "type": "string", @@ -2044,7 +2044,7 @@ }, "homeLocation": { "type": "string", - "description": "Name of home location (routing is optimized for that location). Optional if server_id argument is passed.\n", + "description": "Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed.\n", "willReplaceOnChanges": true }, "labels": { @@ -2060,7 +2060,7 @@ }, "serverId": { "type": "integer", - "description": "Server to assign the Floating IP to.\n" + "description": "Server to assign the Floating IP to. Optional if `home_location` argument is passed.\n" }, "type": { "type": "string", @@ -2084,7 +2084,7 @@ }, "homeLocation": { "type": "string", - "description": "Name of home location (routing is optimized for that location). Optional if server_id argument is passed.\n", + "description": "Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed.\n", "willReplaceOnChanges": true }, "ipAddress": { @@ -2108,7 +2108,7 @@ }, "serverId": { "type": "integer", - "description": "Server to assign the Floating IP to.\n" + "description": "Server to assign the Floating IP to. Optional if `home_location` argument is passed.\n" }, "type": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index cc0e86aa..a1367d3e 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -10,7 +10,7 @@ replace ( ) require ( - github.com/hetznercloud/terraform-provider-hcloud v1.48.0 + github.com/hetznercloud/terraform-provider-hcloud v1.48.1 github.com/pulumi/providertest v0.0.14 github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 @@ -123,9 +123,9 @@ require ( github.com/hashicorp/go-sockaddr v1.0.6 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.7.0 // indirect - github.com/hashicorp/hc-install v0.7.0 // indirect + github.com/hashicorp/hc-install v0.8.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.21.0 // indirect + github.com/hashicorp/hcl/v2 v2.22.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.21.0 // indirect @@ -137,12 +137,12 @@ require ( github.com/hashicorp/terraform-plugin-mux v0.16.0 // indirect github.com/hashicorp/terraform-plugin-sdk v1.15.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 // indirect - github.com/hashicorp/terraform-plugin-testing v1.9.0 // indirect + github.com/hashicorp/terraform-plugin-testing v1.10.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.12.0 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/hetznercloud/hcloud-go v1.57.0 // indirect + github.com/hetznercloud/hcloud-go v1.59.1 // indirect github.com/huandu/xstrings v1.3.3 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/imdario/mergo v0.3.15 // indirect @@ -215,7 +215,6 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/objx v0.5.2 // indirect github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect @@ -230,7 +229,7 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/yuin/goldmark v1.7.4 // indirect - github.com/zclconf/go-cty v1.14.4 // indirect + github.com/zclconf/go-cty v1.15.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect @@ -240,15 +239,15 @@ 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.25.0 // indirect + golang.org/x/crypto v0.27.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect - golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.27.0 // indirect + golang.org/x/mod v0.19.0 // indirect + golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/term v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/term v0.24.0 // indirect + golang.org/x/text v0.18.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.22.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect diff --git a/provider/go.sum b/provider/go.sum index 2c6ba9be..9541c506 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1647,15 +1647,15 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= -github.com/hashicorp/hc-install v0.7.0 h1:Uu9edVqjKQxxuD28mR5TikkKDd/p55S8vzPC1659aBk= -github.com/hashicorp/hc-install v0.7.0/go.mod h1:ELmmzZlGnEcqoUMKUuykHaPCIR1sYLYX+KSggWSKZuA= +github.com/hashicorp/hc-install v0.8.0 h1:LdpZeXkZYMQhoKPCecJHlKvUkQFixN/nvyR1CdfOLjI= +github.com/hashicorp/hc-install v0.8.0/go.mod h1:+MwJYjDfCruSD/udvBmRB22Nlkwwkwf5sAB6uTIhSaU= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= -github.com/hashicorp/hcl/v2 v2.21.0 h1:lve4q/o/2rqwYOgUg3y3V2YPyD1/zkCLGjIV74Jit14= -github.com/hashicorp/hcl/v2 v2.21.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= +github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M= +github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1687,8 +1687,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.15.0 h1:bmYnTT7MqNXlUHDc7pT8E6uKT2g github.com/hashicorp/terraform-plugin-sdk v1.15.0/go.mod h1:PuFTln8urDmRM6mV0II6apOTsyG/iHkxp+5W11eJE58= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= github.com/hashicorp/terraform-plugin-test v1.4.3/go.mod h1:UA7z/02pgqsRLut4DJIPm0Hjnj27uOvhi19c8kTqIfM= -github.com/hashicorp/terraform-plugin-testing v1.9.0 h1:xOsQRqqlHKXpFq6etTxih3ubdK3HVDtfE1IY7Rpd37o= -github.com/hashicorp/terraform-plugin-testing v1.9.0/go.mod h1:fhhVx/8+XNJZTD5o3b4stfZ6+q7z9+lIWigIYdT6/44= +github.com/hashicorp/terraform-plugin-testing v1.10.0 h1:2+tmRNhvnfE4Bs8rB6v58S/VpqzGC6RCh9Y8ujdn+aw= +github.com/hashicorp/terraform-plugin-testing v1.10.0/go.mod h1:iWRW3+loP33WMch2P/TEyCxxct/ZEcCGMquSLSCVsrc= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -1700,10 +1700,10 @@ github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKe github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= -github.com/hetznercloud/hcloud-go v1.57.0 h1:aQZZFoJZcq9C1rGX/efZHyyRRmIJxND6tRf98NfIoSc= -github.com/hetznercloud/hcloud-go v1.57.0/go.mod h1:oTebZCjd+osj75jlI76Z+zjN1sTxmMiQ1MWoO8aRl1c= -github.com/hetznercloud/terraform-provider-hcloud v1.48.0 h1:ucRUqH4OwoBPLK4wUsaVZFC+ILfOY43q5cTmwaJu4Yk= -github.com/hetznercloud/terraform-provider-hcloud v1.48.0/go.mod h1:5xDxBh2EAWQY2j6HazFV7ipk/IbVGoKbutmcEe8FV34= +github.com/hetznercloud/hcloud-go v1.59.1 h1:YwRRO4KemQZWsyL3Yp3cUH0Z7MQQ94keiBJ/VaTmlsM= +github.com/hetznercloud/hcloud-go v1.59.1/go.mod h1:oTebZCjd+osj75jlI76Z+zjN1sTxmMiQ1MWoO8aRl1c= +github.com/hetznercloud/terraform-provider-hcloud v1.48.1 h1:BDUgkDx9T7GswzPFvRjnd8M7Ym7FHK2727lObGFPG/g= +github.com/hetznercloud/terraform-provider-hcloud v1.48.1/go.mod h1:zS+m4TL1QPZ9kVihl2+nqYaO6CrkXAJgiVNjqv+2i90= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= github.com/hexops/autogold/v2 v2.2.1 h1:JPUXuZQGkcQMv7eeDXuNMovjfoRYaa0yVcm+F3voaGY= @@ -2110,8 +2110,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4 github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= -github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.15.0 h1:tTCRWxsexYUmtt/wVxgDClUe+uQusuI443uL6e+5sXQ= +github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= @@ -2182,8 +2182,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.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= +golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= 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= @@ -2250,8 +2250,8 @@ golang.org/x/mod v0.11.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/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.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= +golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2330,8 +2330,8 @@ golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= -golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2390,8 +2390,8 @@ golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= 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= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2502,8 +2502,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.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.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= @@ -2524,8 +2524,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.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= -golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= +golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= +golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= 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= @@ -2547,8 +2547,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.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= 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= diff --git a/sdk/dotnet/FloatingIp.cs b/sdk/dotnet/FloatingIp.cs index 17733dd8..bb7622a9 100644 --- a/sdk/dotnet/FloatingIp.cs +++ b/sdk/dotnet/FloatingIp.cs @@ -62,7 +62,7 @@ public partial class FloatingIp : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + /// Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. /// [Output("homeLocation")] public Output HomeLocation { get; private set; } = null!; @@ -92,7 +92,7 @@ public partial class FloatingIp : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// Server to assign the Floating IP to. + /// Server to assign the Floating IP to. Optional if `home_location` argument is passed. /// [Output("serverId")] public Output ServerId { get; private set; } = null!; @@ -162,7 +162,7 @@ public sealed class FloatingIpArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + /// Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. /// [Input("homeLocation")] public Input? HomeLocation { get; set; } @@ -186,7 +186,7 @@ public InputMap Labels public Input? Name { get; set; } /// - /// Server to assign the Floating IP to. + /// Server to assign the Floating IP to. Optional if `home_location` argument is passed. /// [Input("serverId")] public Input? ServerId { get; set; } @@ -218,7 +218,7 @@ public sealed class FloatingIpState : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + /// Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. /// [Input("homeLocation")] public Input? HomeLocation { get; set; } @@ -254,7 +254,7 @@ public InputMap Labels public Input? Name { get; set; } /// - /// Server to assign the Floating IP to. + /// Server to assign the Floating IP to. Optional if `home_location` argument is passed. /// [Input("serverId")] public Input? ServerId { get; set; } diff --git a/sdk/go/hcloud/floatingIp.go b/sdk/go/hcloud/floatingIp.go index 48cc4d7d..8252d376 100644 --- a/sdk/go/hcloud/floatingIp.go +++ b/sdk/go/hcloud/floatingIp.go @@ -63,7 +63,7 @@ type FloatingIp struct { DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // Description of the Floating IP. Description pulumi.StringPtrOutput `pulumi:"description"` - // Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringOutput `pulumi:"homeLocation"` // (string) IP Address of the Floating IP. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` @@ -73,7 +73,7 @@ type FloatingIp struct { Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Floating IP. Name pulumi.StringOutput `pulumi:"name"` - // Server to assign the Floating IP to. + // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntOutput `pulumi:"serverId"` // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringOutput `pulumi:"type"` @@ -116,7 +116,7 @@ type floatingIpState struct { DeleteProtection *bool `pulumi:"deleteProtection"` // Description of the Floating IP. Description *string `pulumi:"description"` - // Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation *string `pulumi:"homeLocation"` // (string) IP Address of the Floating IP. IpAddress *string `pulumi:"ipAddress"` @@ -126,7 +126,7 @@ type floatingIpState struct { Labels map[string]string `pulumi:"labels"` // Name of the Floating IP. Name *string `pulumi:"name"` - // Server to assign the Floating IP to. + // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId *int `pulumi:"serverId"` // Type of the Floating IP. `ipv4` `ipv6` Type *string `pulumi:"type"` @@ -137,7 +137,7 @@ type FloatingIpState struct { DeleteProtection pulumi.BoolPtrInput // Description of the Floating IP. Description pulumi.StringPtrInput - // Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringPtrInput // (string) IP Address of the Floating IP. IpAddress pulumi.StringPtrInput @@ -147,7 +147,7 @@ type FloatingIpState struct { Labels pulumi.StringMapInput // Name of the Floating IP. Name pulumi.StringPtrInput - // Server to assign the Floating IP to. + // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntPtrInput // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringPtrInput @@ -162,13 +162,13 @@ type floatingIpArgs struct { DeleteProtection *bool `pulumi:"deleteProtection"` // Description of the Floating IP. Description *string `pulumi:"description"` - // Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation *string `pulumi:"homeLocation"` // User-defined labels (key-value pairs) should be created with. Labels map[string]string `pulumi:"labels"` // Name of the Floating IP. Name *string `pulumi:"name"` - // Server to assign the Floating IP to. + // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId *int `pulumi:"serverId"` // Type of the Floating IP. `ipv4` `ipv6` Type string `pulumi:"type"` @@ -180,13 +180,13 @@ type FloatingIpArgs struct { DeleteProtection pulumi.BoolPtrInput // Description of the Floating IP. Description pulumi.StringPtrInput - // Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Floating IP. Name pulumi.StringPtrInput - // Server to assign the Floating IP to. + // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntPtrInput // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringInput @@ -289,7 +289,7 @@ func (o FloatingIpOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *FloatingIp) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// Name of home location (routing is optimized for that location). Optional if serverId argument is passed. +// Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. func (o FloatingIpOutput) HomeLocation() pulumi.StringOutput { return o.ApplyT(func(v *FloatingIp) pulumi.StringOutput { return v.HomeLocation }).(pulumi.StringOutput) } @@ -314,7 +314,7 @@ func (o FloatingIpOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *FloatingIp) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// Server to assign the Floating IP to. +// Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. func (o FloatingIpOutput) ServerId() pulumi.IntOutput { return o.ApplyT(func(v *FloatingIp) pulumi.IntOutput { return v.ServerId }).(pulumi.IntOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIp.java b/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIp.java index 568b21eb..d7e7a450 100644 --- a/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIp.java +++ b/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIp.java @@ -104,14 +104,14 @@ public Output> description() { return Codegen.optional(this.description); } /** - * Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ @Export(name="homeLocation", refs={String.class}, tree="[0]") private Output homeLocation; /** - * @return Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @return Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ public Output homeLocation() { @@ -174,14 +174,14 @@ public Output name() { return this.name; } /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ @Export(name="serverId", refs={Integer.class}, tree="[0]") private Output serverId; /** - * @return Server to assign the Floating IP to. + * @return Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ public Output serverId() { diff --git a/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIpArgs.java b/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIpArgs.java index de56eab9..af5f7867 100644 --- a/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIpArgs.java +++ b/sdk/java/src/main/java/com/pulumi/hcloud/FloatingIpArgs.java @@ -50,14 +50,14 @@ public Optional> description() { } /** - * Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ @Import(name="homeLocation") private @Nullable Output homeLocation; /** - * @return Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @return Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ public Optional> homeLocation() { @@ -95,14 +95,14 @@ public Optional> name() { } /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ @Import(name="serverId") private @Nullable Output serverId; /** - * @return Server to assign the Floating IP to. + * @return Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ public Optional> serverId() { @@ -197,7 +197,7 @@ public Builder description(String description) { } /** - * @param homeLocation Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @param homeLocation Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * * @return builder * @@ -208,7 +208,7 @@ public Builder homeLocation(@Nullable Output homeLocation) { } /** - * @param homeLocation Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @param homeLocation Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * * @return builder * @@ -260,7 +260,7 @@ public Builder name(String name) { } /** - * @param serverId Server to assign the Floating IP to. + * @param serverId Server to assign the Floating IP to. Optional if `home_location` argument is passed. * * @return builder * @@ -271,7 +271,7 @@ public Builder serverId(@Nullable Output serverId) { } /** - * @param serverId Server to assign the Floating IP to. + * @param serverId Server to assign the Floating IP to. Optional if `home_location` argument is passed. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/hcloud/inputs/FloatingIpState.java b/sdk/java/src/main/java/com/pulumi/hcloud/inputs/FloatingIpState.java index 0e7072e3..61d6d2dd 100644 --- a/sdk/java/src/main/java/com/pulumi/hcloud/inputs/FloatingIpState.java +++ b/sdk/java/src/main/java/com/pulumi/hcloud/inputs/FloatingIpState.java @@ -49,14 +49,14 @@ public Optional> description() { } /** - * Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ @Import(name="homeLocation") private @Nullable Output homeLocation; /** - * @return Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @return Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * */ public Optional> homeLocation() { @@ -124,14 +124,14 @@ public Optional> name() { } /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ @Import(name="serverId") private @Nullable Output serverId; /** - * @return Server to assign the Floating IP to. + * @return Server to assign the Floating IP to. Optional if `home_location` argument is passed. * */ public Optional> serverId() { @@ -228,7 +228,7 @@ public Builder description(String description) { } /** - * @param homeLocation Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @param homeLocation Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * * @return builder * @@ -239,7 +239,7 @@ public Builder homeLocation(@Nullable Output homeLocation) { } /** - * @param homeLocation Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + * @param homeLocation Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. * * @return builder * @@ -333,7 +333,7 @@ public Builder name(String name) { } /** - * @param serverId Server to assign the Floating IP to. + * @param serverId Server to assign the Floating IP to. Optional if `home_location` argument is passed. * * @return builder * @@ -344,7 +344,7 @@ public Builder serverId(@Nullable Output serverId) { } /** - * @param serverId Server to assign the Floating IP to. + * @param serverId Server to assign the Floating IP to. Optional if `home_location` argument is passed. * * @return builder * diff --git a/sdk/nodejs/floatingIp.ts b/sdk/nodejs/floatingIp.ts index e076cd63..804f5f79 100644 --- a/sdk/nodejs/floatingIp.ts +++ b/sdk/nodejs/floatingIp.ts @@ -69,7 +69,7 @@ export class FloatingIp extends pulumi.CustomResource { */ public readonly description!: pulumi.Output; /** - * Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + * Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. */ public readonly homeLocation!: pulumi.Output; /** @@ -89,7 +89,7 @@ export class FloatingIp extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. */ public readonly serverId!: pulumi.Output; /** @@ -152,7 +152,7 @@ export interface FloatingIpState { */ description?: pulumi.Input; /** - * Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + * Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. */ homeLocation?: pulumi.Input; /** @@ -172,7 +172,7 @@ export interface FloatingIpState { */ name?: pulumi.Input; /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. */ serverId?: pulumi.Input; /** @@ -194,7 +194,7 @@ export interface FloatingIpArgs { */ description?: pulumi.Input; /** - * Name of home location (routing is optimized for that location). Optional if serverId argument is passed. + * Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. */ homeLocation?: pulumi.Input; /** @@ -206,7 +206,7 @@ export interface FloatingIpArgs { */ name?: pulumi.Input; /** - * Server to assign the Floating IP to. + * Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. */ serverId?: pulumi.Input; /** diff --git a/sdk/python/pulumi_hcloud/floating_ip.py b/sdk/python/pulumi_hcloud/floating_ip.py index 22b6c5f1..2bc68f75 100644 --- a/sdk/python/pulumi_hcloud/floating_ip.py +++ b/sdk/python/pulumi_hcloud/floating_ip.py @@ -26,10 +26,10 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Type of the Floating IP. `ipv4` `ipv6` :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. :param pulumi.Input[str] description: Description of the Floating IP. - :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with. :param pulumi.Input[str] name: Name of the Floating IP. - :param pulumi.Input[int] server_id: Server to assign the Floating IP to. + :param pulumi.Input[int] server_id: Server to assign the Floating IP to. Optional if `home_location` argument is passed. """ pulumi.set(__self__, "type", type) if delete_protection is not None: @@ -85,7 +85,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="homeLocation") def home_location(self) -> Optional[pulumi.Input[str]]: """ - Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. """ return pulumi.get(self, "home_location") @@ -121,7 +121,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="serverId") def server_id(self) -> Optional[pulumi.Input[int]]: """ - Server to assign the Floating IP to. + Server to assign the Floating IP to. Optional if `home_location` argument is passed. """ return pulumi.get(self, "server_id") @@ -146,12 +146,12 @@ def __init__(__self__, *, Input properties used for looking up and filtering FloatingIp resources. :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. :param pulumi.Input[str] description: Description of the Floating IP. - :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. :param pulumi.Input[str] ip_address: (string) IP Address of the Floating IP. :param pulumi.Input[str] ip_network: (string) IPv6 subnet. (Only set if `type` is `ipv6`) :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with. :param pulumi.Input[str] name: Name of the Floating IP. - :param pulumi.Input[int] server_id: Server to assign the Floating IP to. + :param pulumi.Input[int] server_id: Server to assign the Floating IP to. Optional if `home_location` argument is passed. :param pulumi.Input[str] type: Type of the Floating IP. `ipv4` `ipv6` """ if delete_protection is not None: @@ -201,7 +201,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="homeLocation") def home_location(self) -> Optional[pulumi.Input[str]]: """ - Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. """ return pulumi.get(self, "home_location") @@ -261,7 +261,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="serverId") def server_id(self) -> Optional[pulumi.Input[int]]: """ - Server to assign the Floating IP to. + Server to assign the Floating IP to. Optional if `home_location` argument is passed. """ return pulumi.get(self, "server_id") @@ -325,10 +325,10 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. :param pulumi.Input[str] description: Description of the Floating IP. - :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with. :param pulumi.Input[str] name: Name of the Floating IP. - :param pulumi.Input[int] server_id: Server to assign the Floating IP to. + :param pulumi.Input[int] server_id: Server to assign the Floating IP to. Optional if `home_location` argument is passed. :param pulumi.Input[str] type: Type of the Floating IP. `ipv4` `ipv6` """ ... @@ -433,12 +433,12 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. :param pulumi.Input[str] description: Description of the Floating IP. - :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + :param pulumi.Input[str] home_location: Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. :param pulumi.Input[str] ip_address: (string) IP Address of the Floating IP. :param pulumi.Input[str] ip_network: (string) IPv6 subnet. (Only set if `type` is `ipv6`) :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with. :param pulumi.Input[str] name: Name of the Floating IP. - :param pulumi.Input[int] server_id: Server to assign the Floating IP to. + :param pulumi.Input[int] server_id: Server to assign the Floating IP to. Optional if `home_location` argument is passed. :param pulumi.Input[str] type: Type of the Floating IP. `ipv4` `ipv6` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -476,7 +476,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="homeLocation") def home_location(self) -> pulumi.Output[str]: """ - Name of home location (routing is optimized for that location). Optional if server_id argument is passed. + Name of home location (routing is optimized for that location). Optional if `server_id` argument is passed. """ return pulumi.get(self, "home_location") @@ -516,7 +516,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="serverId") def server_id(self) -> pulumi.Output[int]: """ - Server to assign the Floating IP to. + Server to assign the Floating IP to. Optional if `home_location` argument is passed. """ return pulumi.get(self, "server_id")