diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 2774f858..142464bf 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.11.0 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index 0cb83015..0981a957 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-digitalocean/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.113.0 +require github.com/pulumi/pulumi/pkg/v3 v3.114.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -21,7 +21,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect @@ -62,7 +62,7 @@ require ( github.com/felixge/httpsnoop v1.0.4 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect @@ -138,7 +138,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.113.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.114.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -146,11 +146,11 @@ require ( github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.4 // indirect + github.com/stretchr/testify v1.9.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -169,14 +169,14 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.21.0 // indirect + golang.org/x/crypto v0.22.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.22.0 // indirect + golang.org/x/net v0.23.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect + golang.org/x/sys v0.19.0 // indirect + golang.org/x/term v0.19.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.17.0 // indirect @@ -186,7 +186,7 @@ require ( google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect - google.golang.org/grpc v1.62.1 // indirect + google.golang.org/grpc v1.63.2 // indirect google.golang.org/protobuf v1.33.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/examples/go.sum b/examples/go.sum index dd6f2dc1..ebb5c6db 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -189,8 +189,8 @@ github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:m github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= +github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -636,8 +636,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= @@ -645,8 +645,8 @@ github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+ github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= -github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -1477,10 +1477,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 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/pulumi/pkg/v3 v3.113.0 h1:fo63QR2nB5ksqq0fxg5uPm/zbXW7eJVRdYpAawIda7I= -github.com/pulumi/pulumi/pkg/v3 v3.113.0/go.mod h1:i5hGDlTN59giiXHfrigWEo30x51FPUj8GllAlVkUcQA= -github.com/pulumi/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/pkg/v3 v3.114.0 h1:+Ru1DfQKKmZcTYF7i+IWTaxvHX+vIWmVPyUXXksM3Uk= +github.com/pulumi/pulumi/pkg/v3 v3.114.0/go.mod h1:kNu4WL3BkF8zZ+1BTIWnEetNN1JtR4oRHWlxH2NZ6s0= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1523,8 +1523,8 @@ 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= github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSvt8Y= github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +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/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= @@ -1539,8 +1539,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= -github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +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/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -1579,8 +1579,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -1593,8 +1594,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1811,8 +1812,8 @@ golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2Uz 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.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1943,8 +1944,8 @@ 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.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= -golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= 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= @@ -2141,8 +2142,8 @@ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2154,8 +2155,8 @@ golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= 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.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= +golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= 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= @@ -2494,8 +2495,8 @@ google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk= -google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= diff --git a/provider/go.mod b/provider/go.mod index 7b28234d..1b23a33a 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,9 +4,9 @@ go 1.21 require ( github.com/digitalocean/terraform-provider-digitalocean v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.0 - github.com/pulumi/pulumi/pkg/v3 v3.113.0 - github.com/pulumi/pulumi/sdk/v3 v3.113.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 + github.com/pulumi/pulumi/pkg/v3 v3.114.0 + github.com/pulumi/pulumi/sdk/v3 v3.114.0 ) replace ( @@ -85,7 +85,7 @@ require ( github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect @@ -132,7 +132,7 @@ require ( github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.20.0 // indirect github.com/hashicorp/terraform-json v0.21.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.22.2 // indirect + github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect @@ -199,14 +199,14 @@ require ( github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.3.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/shopspring/decimal v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/afero v1.9.5 // indirect 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/testify v1.8.4 // indirect + github.com/stretchr/testify v1.9.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -229,14 +229,14 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.21.0 // indirect + golang.org/x/crypto v0.22.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect golang.org/x/mod v0.15.0 // indirect golang.org/x/net v0.23.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect + golang.org/x/sys v0.19.0 // indirect + golang.org/x/term v0.19.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.17.0 // indirect @@ -247,7 +247,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.33.0 // indirect + google.golang.org/protobuf v1.34.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 4b0acb96..bdfc7427 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1783,8 +1783,9 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= @@ -1799,8 +1800,9 @@ github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgF github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= github.com/go-git/go-git/v5 v5.10.1/go.mod h1:uEuHjxkHap8kAl//V5F/nNWwqIYtP/402ddd05mp0wg= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -2250,8 +2252,8 @@ github.com/hashicorp/terraform-json v0.19.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2D github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= -github.com/hashicorp/terraform-plugin-go v0.22.2 h1:5o8uveu6eZUf5J7xGPV0eY0TPXg3qpmwX9sce03Bxnc= -github.com/hashicorp/terraform-plugin-go v0.22.2/go.mod h1:drq8Snexp9HsbFZddvyLHN6LuWHHndSQg+gV+FPkcIM= +github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= +github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= @@ -2809,16 +2811,16 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.10.0 h1:D1i5MiiNrxYr2uJ1szcj1aQwF9DYv7TTsPmajB9dKSw= github.com/pulumi/pulumi-java/pkg v0.10.0/go.mod h1:xu6UgYtQm+xXOo1/DZNa2CWVPytu+RMkZVTtI7w7ffY= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.0 h1:RT/qOakgjLFaH6p2C/SyQuIlsD7pWoHvcgys7+nGUio= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.0/go.mod h1:B8/cgXxqjfBcOx+yntCG8suxaq2h+mhe2+1LbPQ7ajI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 h1:qCZ7ALm4xVrSLJboi4ZwkS5FRQvyzmIZni85m1iFBIw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0/go.mod h1:jXjZLukQcYrfIWxSYwSWSzPBK9BTcYGv2DDkpNKHJJw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.6.0 h1:mb/QkebWXTa1fR+P3ZkCCHGXOYC6iTN8X8By9eNz8xM= github.com/pulumi/pulumi-yaml v1.6.0/go.mod h1:RyEPo4MhL363sbAiFMVKRsQmXpQPDCY1S8pGv3E6Ij0= -github.com/pulumi/pulumi/pkg/v3 v3.113.0 h1:fo63QR2nB5ksqq0fxg5uPm/zbXW7eJVRdYpAawIda7I= -github.com/pulumi/pulumi/pkg/v3 v3.113.0/go.mod h1:i5hGDlTN59giiXHfrigWEo30x51FPUj8GllAlVkUcQA= -github.com/pulumi/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/pkg/v3 v3.114.0 h1:+Ru1DfQKKmZcTYF7i+IWTaxvHX+vIWmVPyUXXksM3Uk= +github.com/pulumi/pulumi/pkg/v3 v3.114.0/go.mod h1:kNu4WL3BkF8zZ+1BTIWnEetNN1JtR4oRHWlxH2NZ6s0= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2878,8 +2880,8 @@ github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oH github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +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/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= @@ -2897,8 +2899,9 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +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/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -2943,8 +2946,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -2959,8 +2963,9 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -3223,8 +3228,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.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= 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= @@ -3631,8 +3636,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.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3656,8 +3661,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.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= +golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= 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= @@ -4197,8 +4202,8 @@ google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/go.mod b/sdk/go.mod index d28c2a42..b2b0d10b 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,13 +4,13 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.113.0 + github.com/pulumi/pulumi/sdk/v3 v3.114.0 ) require ( dario.cat/mergo v1.0.0 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect @@ -27,12 +27,11 @@ require ( github.com/emirpasic/gods v1.18.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/google/uuid v1.3.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect @@ -62,8 +61,8 @@ require ( github.com/rogpeppe/go-internal v1.11.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/sergi/go-diff v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/cast v1.4.1 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect @@ -75,17 +74,17 @@ require ( github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.21.0 // indirect + golang.org/x/crypto v0.22.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.21.0 // indirect - golang.org/x/sync v0.5.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect + golang.org/x/net v0.23.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/sys v0.19.0 // indirect + golang.org/x/term v0.19.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/tools v0.15.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/grpc v1.57.1 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/grpc v1.63.2 // indirect google.golang.org/protobuf v1.33.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 2d550693..f82d317e 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -5,8 +5,8 @@ github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXY github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= +github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= @@ -52,31 +52,29 @@ github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FM github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= -github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -150,8 +148,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 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/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -163,11 +161,11 @@ 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/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +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/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= -github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +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/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= @@ -185,8 +183,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -211,8 +209,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= 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/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= @@ -234,15 +232,15 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 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.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +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/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -263,15 +261,15 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.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.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= +golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -295,12 +293,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T 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= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= -google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= -google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 6740bbfc..f65aa3a6 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.10.0") + implementation("com.pulumi:pulumi:0.11.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/App.java b/sdk/java/src/main/java/com/pulumi/digitalocean/App.java index de27dd90..4cc47d9b 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/App.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/App.java @@ -25,7 +25,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -47,32 +48,34 @@ * } * * public static void stack(Context ctx) { - * var golang_sample = new App("golang-sample", AppArgs.builder() + * var golang_sample = new App("golang-sample", AppArgs.builder() * .spec(AppSpecArgs.builder() - * .name("golang-sample") - * .region("ams") + * .name("golang-sample") + * .region("ams") * .services(AppSpecServiceArgs.builder() - * .environmentSlug("go") + * .environmentSlug("go") * .git(AppSpecServiceGitArgs.builder() - * .branch("main") - * .repoCloneUrl("https://github.com/digitalocean/sample-golang.git") + * .branch("main") + * .repoCloneUrl("https://github.com/digitalocean/sample-golang.git") * .build()) * .instanceCount(1) - * .instanceSizeSlug("professional-xs") - * .name("go-service") + * .instanceSizeSlug("professional-xs") + * .name("go-service") * .build()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Static Site Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -94,31 +97,33 @@ * } * * public static void stack(Context ctx) { - * var static_site_example = new App("static-site-example", AppArgs.builder() + * var static_site_example = new App("static-site-example", AppArgs.builder() * .spec(AppSpecArgs.builder() - * .name("static-site-example") - * .region("ams") + * .name("static-site-example") + * .region("ams") * .staticSites(AppSpecStaticSiteArgs.builder() - * .buildCommand("bundle exec jekyll build -d ./public") + * .buildCommand("bundle exec jekyll build -d ./public") * .git(AppSpecStaticSiteGitArgs.builder() - * .branch("main") - * .repoCloneUrl("https://github.com/digitalocean/sample-jekyll.git") + * .branch("main") + * .repoCloneUrl("https://github.com/digitalocean/sample-jekyll.git") * .build()) - * .name("sample-jekyll") - * .outputDir("/public") + * .name("sample-jekyll") + * .outputDir("/public") * .build()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Multiple Components Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -141,55 +146,56 @@ * } * * public static void stack(Context ctx) { - * var mono_repo_example = new App("mono-repo-example", AppArgs.builder() + * var mono_repo_example = new App("mono-repo-example", AppArgs.builder() * .spec(AppSpecArgs.builder() * .alerts(AppSpecAlertArgs.builder() - * .rule("DEPLOYMENT_FAILED") + * .rule("DEPLOYMENT_FAILED") * .build()) * .databases(AppSpecDatabaseArgs.builder() - * .engine("PG") - * .name("starter-db") + * .engine("PG") + * .name("starter-db") * .production(false) * .build()) - * .domains(Map.of("name", "foo.example.com")) + * .domains(Map.of("name", "foo.example.com")) * .ingress(AppSpecIngressArgs.builder() * .rule( * %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), * %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)) * .build()) - * .name("mono-repo-example") - * .region("ams") + * .name("mono-repo-example") + * .region("ams") * .services(AppSpecServiceArgs.builder() * .alert(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)) - * .environmentSlug("go") + * .environmentSlug("go") * .github(AppSpecServiceGithubArgs.builder() - * .branch("main") + * .branch("main") * .deployOnPush(true) - * .repo("username/repo") + * .repo("username/repo") * .build()) * .httpPort(3000) * .instanceCount(2) - * .instanceSizeSlug("professional-xs") + * .instanceSizeSlug("professional-xs") * .logDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)) - * .name("api") - * .runCommand("bin/api") - * .sourceDir("api/") + * .name("api") + * .runCommand("bin/api") + * .sourceDir("api/") * .build()) * .staticSites(AppSpecStaticSiteArgs.builder() - * .buildCommand("npm run build") + * .buildCommand("npm run build") * .github(AppSpecStaticSiteGithubArgs.builder() - * .branch("main") + * .branch("main") * .deployOnPush(true) - * .repo("username/repo") + * .repo("username/repo") * .build()) - * .name("web") + * .name("web") * .build()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java index f7fe4905..bd2d0d6c 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java @@ -23,7 +23,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -47,26 +48,28 @@ * * public static void stack(Context ctx) { * // Create a new Spaces Bucket - * var mybucket = new SpacesBucket("mybucket", SpacesBucketArgs.builder() - * .region("sfo2") - * .acl("public-read") + * var mybucket = new SpacesBucket("mybucket", SpacesBucketArgs.builder() + * .region("sfo2") + * .acl("public-read") * .build()); * * // Add a CDN endpoint to the Spaces Bucket - * var mycdn = new Cdn("mycdn", CdnArgs.builder() + * var mycdn = new Cdn("mycdn", CdnArgs.builder() * .origin(mybucket.bucketDomainName()) * .build()); * - * ctx.export("fqdn", mycdn.endpoint()); + * ctx.export("fqdn", mycdn.endpoint()); * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Custom Sub-Domain Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -92,27 +95,28 @@ * * public static void stack(Context ctx) { * // Create a new Spaces Bucket - * var mybucket = new SpacesBucket("mybucket", SpacesBucketArgs.builder() - * .region("sfo2") - * .acl("public-read") + * var mybucket = new SpacesBucket("mybucket", SpacesBucketArgs.builder() + * .region("sfo2") + * .acl("public-read") * .build()); * - * // Create a DigitalOcean managed Let's Encrypt Certificate - * var cert = new Certificate("cert", CertificateArgs.builder() - * .type("lets_encrypt") - * .domains("static.example.com") + * // Create a DigitalOcean managed Let's Encrypt Certificate + * var cert = new Certificate("cert", CertificateArgs.builder() + * .type("lets_encrypt") + * .domains("static.example.com") * .build()); * * // Add a CDN endpoint with a custom sub-domain to the Spaces Bucket - * var mycdn = new Cdn("mycdn", CdnArgs.builder() + * var mycdn = new Cdn("mycdn", CdnArgs.builder() * .origin(mybucket.bucketDomainName()) - * .customDomain("static.example.com") + * .customDomain("static.example.com") * .certificateName(cert.name()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java index f7eb4983..45b41cf9 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java @@ -28,7 +28,8 @@ * ### Custom Certificate * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -49,22 +50,24 @@ * } * * public static void stack(Context ctx) { - * var cert = new Certificate("cert", CertificateArgs.builder() - * .type("custom") - * .privateKey(Files.readString(Paths.get("/Users/myuser/certs/privkey.pem"))) - * .leafCertificate(Files.readString(Paths.get("/Users/myuser/certs/cert.pem"))) - * .certificateChain(Files.readString(Paths.get("/Users/myuser/certs/fullchain.pem"))) + * var cert = new Certificate("cert", CertificateArgs.builder() + * .type("custom") + * .privateKey(Files.readString(Paths.get("/Users/myuser/certs/privkey.pem"))) + * .leafCertificate(Files.readString(Paths.get("/Users/myuser/certs/cert.pem"))) + * .certificateChain(Files.readString(Paths.get("/Users/myuser/certs/fullchain.pem"))) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Let's Encrypt Certificate * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -85,14 +88,15 @@ * } * * public static void stack(Context ctx) { - * var cert = new Certificate("cert", CertificateArgs.builder() - * .domains("example.com") - * .type("lets_encrypt") + * var cert = new Certificate("cert", CertificateArgs.builder() + * .domains("example.com") + * .type("lets_encrypt") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Use with Other Resources @@ -101,7 +105,8 @@ * including the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -125,27 +130,28 @@ * } * * public static void stack(Context ctx) { - * var cert = new Certificate("cert", CertificateArgs.builder() - * .type("lets_encrypt") - * .domains("example.com") + * var cert = new Certificate("cert", CertificateArgs.builder() + * .type("lets_encrypt") + * .domains("example.com") * .build()); * * // Create a new Load Balancer with TLS termination - * var public_ = new LoadBalancer("public", LoadBalancerArgs.builder() - * .region("nyc3") - * .dropletTag("backend") + * var public_ = new LoadBalancer("public", LoadBalancerArgs.builder() + * .region("nyc3") + * .dropletTag("backend") * .forwardingRules(LoadBalancerForwardingRuleArgs.builder() * .entryPort(443) - * .entryProtocol("https") + * .entryProtocol("https") * .targetPort(80) - * .targetProtocol("http") + * .targetProtocol("http") * .certificateName(cert.name()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java index 39c0dc22..a7ed8f94 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -43,13 +44,14 @@ * * public static void stack(Context ctx) { * // Create a new container registry - * var foobar = new ContainerRegistry("foobar", ContainerRegistryArgs.builder() - * .subscriptionTierSlug("starter") + * var foobar = new ContainerRegistry("foobar", ContainerRegistryArgs.builder() + * .subscriptionTierSlug("starter") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java index 7666beb6..3fa14081 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java @@ -29,7 +29,8 @@ * Get the container registry: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -50,13 +51,14 @@ * } * * public static void stack(Context ctx) { - * var example = new ContainerRegistryDockerCredentials("example", ContainerRegistryDockerCredentialsArgs.builder() - * .registryName("example") + * var example = new ContainerRegistryDockerCredentials("example", ContainerRegistryDockerCredentialsArgs.builder() + * .registryName("example") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Docker Provider Example @@ -64,7 +66,8 @@ * Use the `endpoint` and `docker_credentials` with the Docker provider: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -88,16 +91,17 @@ * * public static void stack(Context ctx) { * final var exampleContainerRegistry = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleContainerRegistryDockerCredentials = new ContainerRegistryDockerCredentials("exampleContainerRegistryDockerCredentials", ContainerRegistryDockerCredentialsArgs.builder() - * .registryName("example") + * var exampleContainerRegistryDockerCredentials = new ContainerRegistryDockerCredentials("exampleContainerRegistryDockerCredentials", ContainerRegistryDockerCredentialsArgs.builder() + * .registryName("example") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java b/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java index b82ad9e3..664d4f39 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java @@ -34,7 +34,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -57,21 +58,22 @@ * } * * public static void stack(Context ctx) { - * var flatcar = new CustomImage("flatcar", CustomImageArgs.builder() - * .url("https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2") - * .regions("nyc3") + * var flatcar = new CustomImage("flatcar", CustomImageArgs.builder() + * .url("https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2") + * .regions("nyc3") * .build()); * - * var example = new Droplet("example", DropletArgs.builder() + * var example = new Droplet("example", DropletArgs.builder() * .image(flatcar.id()) - * .region("nyc3") - * .size("s-1vcpu-1gb") + * .region("nyc3") + * .size("s-1vcpu-1gb") * .sshKeys(12345) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java index f67e205f..51813a50 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java @@ -25,7 +25,8 @@ * * ### Create a new PostgreSQL database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -46,22 +47,24 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") * .nodeCount(1) - * .region("nyc1") - * .size("db-s-1vcpu-1gb") - * .version("15") + * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .version("15") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new MySQL database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -82,22 +85,24 @@ * } * * public static void stack(Context ctx) { - * var mysql_example = new DatabaseCluster("mysql-example", DatabaseClusterArgs.builder() - * .engine("mysql") + * var mysql_example = new DatabaseCluster("mysql-example", DatabaseClusterArgs.builder() + * .engine("mysql") * .nodeCount(1) - * .region("nyc1") - * .size("db-s-1vcpu-1gb") - * .version("8") + * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .version("8") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new Redis database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -118,22 +123,24 @@ * } * * public static void stack(Context ctx) { - * var redis_example = new DatabaseCluster("redis-example", DatabaseClusterArgs.builder() - * .engine("redis") + * var redis_example = new DatabaseCluster("redis-example", DatabaseClusterArgs.builder() + * .engine("redis") * .nodeCount(1) - * .region("nyc1") - * .size("db-s-1vcpu-1gb") - * .version("7") + * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .version("7") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new Kafka database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -154,22 +161,24 @@ * } * * public static void stack(Context ctx) { - * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() - * .engine("kafka") + * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() + * .engine("kafka") * .nodeCount(3) - * .region("nyc1") - * .size("db-s-2vcpu-2gb") - * .version("3.5") + * .region("nyc1") + * .size("db-s-2vcpu-2gb") + * .version("3.5") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new MongoDB database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -190,23 +199,25 @@ * } * * public static void stack(Context ctx) { - * var mongodb_example = new DatabaseCluster("mongodb-example", DatabaseClusterArgs.builder() - * .engine("mongodb") + * var mongodb_example = new DatabaseCluster("mongodb-example", DatabaseClusterArgs.builder() + * .engine("mongodb") * .nodeCount(1) - * .region("nyc3") - * .size("db-s-1vcpu-1gb") - * .version("6") + * .region("nyc3") + * .size("db-s-1vcpu-1gb") + * .version("6") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Create a new database cluster based on a backup of an existing cluster. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -229,24 +240,24 @@ * } * * public static void stack(Context ctx) { - * var doby = new DatabaseCluster("doby", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-2gb") - * .region("nyc1") + * var doby = new DatabaseCluster("doby", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-2gb") + * .region("nyc1") * .nodeCount(1) - * .tags("production") + * .tags("production") * .build()); * - * var dobyBackup = new DatabaseCluster("dobyBackup", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-2gb") - * .region("nyc1") + * var dobyBackup = new DatabaseCluster("dobyBackup", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-2gb") + * .region("nyc1") * .nodeCount(1) - * .tags("production") + * .tags("production") * .backupRestore(DatabaseClusterBackupRestoreArgs.builder() - * .databaseName("dobydb") + * .databaseName("dobydb") * .build()) * .build(), CustomResourceOptions.builder() * .dependsOn(doby) @@ -254,7 +265,8 @@ * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java index b26df772..fb4cf622 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java @@ -23,7 +23,8 @@ * * ### Create a new PostgreSQL database connection pool * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -46,25 +47,26 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var pool_01 = new DatabaseConnectionPool("pool-01", DatabaseConnectionPoolArgs.builder() + * var pool_01 = new DatabaseConnectionPool("pool-01", DatabaseConnectionPoolArgs.builder() * .clusterId(postgres_example.id()) - * .mode("transaction") + * .mode("transaction") * .size(20) - * .dbName("defaultdb") - * .user("doadmin") + * .dbName("defaultdb") + * .user("doadmin") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java index 6860554d..e4b860d2 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java @@ -20,7 +20,8 @@ * * ### Create a new PostgreSQL database * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -43,21 +44,22 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var database_example = new DatabaseDb("database-example", DatabaseDbArgs.builder() + * var database_example = new DatabaseDb("database-example", DatabaseDbArgs.builder() * .clusterId(postgres_example.id()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java index 66e4d6f9..888e2391 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java @@ -25,7 +25,8 @@ * ### Create a new database firewall allowing multiple IP addresses * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -49,36 +50,38 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() + * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() * .clusterId(postgres_example.id()) * .rules( * DatabaseFirewallRuleArgs.builder() - * .type("ip_addr") - * .value("192.168.1.1") + * .type("ip_addr") + * .value("192.168.1.1") * .build(), * DatabaseFirewallRuleArgs.builder() - * .type("ip_addr") - * .value("192.0.2.0") + * .type("ip_addr") + * .value("192.0.2.0") * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new database firewall allowing a Droplet * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -104,37 +107,39 @@ * } * * public static void stack(Context ctx) { - * var web = new Droplet("web", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-22-04-x64") - * .region("nyc3") + * var web = new Droplet("web", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-22-04-x64") + * .region("nyc3") * .build()); * - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() + * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() * .clusterId(postgres_example.id()) * .rules(DatabaseFirewallRuleArgs.builder() - * .type("droplet") + * .type("droplet") * .value(web.id()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new database firewall for a database replica * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -160,32 +165,33 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() + * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() * .clusterId(postgres_example.id()) - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .build()); * * // Create firewall rule for database replica - * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() + * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() * .clusterId(replica_example.uuid()) * .rules(DatabaseFirewallRuleArgs.builder() - * .type("ip_addr") - * .value("192.168.1.1") + * .type("ip_addr") + * .value("192.168.1.1") * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java index 5ef7a4bc..a2c55612 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java @@ -24,7 +24,8 @@ * * ### Create a new Kafka topic * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -48,22 +49,22 @@ * } * * public static void stack(Context ctx) { - * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() - * .engine("kafka") - * .version("3.5") - * .size("db-s-2vcpu-2gb") - * .region("nyc1") + * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() + * .engine("kafka") + * .version("3.5") + * .size("db-s-2vcpu-2gb") + * .region("nyc1") * .nodeCount(3) - * .tags("production") + * .tags("production") * .build()); * - * var topic_01 = new DatabaseKafkaTopic("topic-01", DatabaseKafkaTopicArgs.builder() + * var topic_01 = new DatabaseKafkaTopic("topic-01", DatabaseKafkaTopicArgs.builder() * .clusterId(kafka_example.id()) * .partitionCount(3) * .replicationFactor(2) * .configs(DatabaseKafkaTopicConfigArgs.builder() - * .cleanupPolicy("compact") - * .compressionType("uncompressed") + * .cleanupPolicy("compact") + * .compressionType("uncompressed") * .deleteRetentionMs(14000) * .fileDeleteDelayMs(170000) * .flushMessages(92233) @@ -72,15 +73,15 @@ * .maxCompactionLagMs(9223372036854775807) * .maxMessageBytes(1048588) * .messageDownConversionEnable(true) - * .messageFormatVersion("3.0-IV1") + * .messageFormatVersion("3.0-IV1") * .messageTimestampDifferenceMaxMs(9223372036854775807) - * .messageTimestampType("log_append_time") + * .messageTimestampType("log_append_time") * .minCleanableDirtyRatio(0.5) * .minCompactionLagMs(20000) * .minInsyncReplicas(2) * .preallocate(false) - * .retentionBytes("TODO: GenUnaryOpExpression") - * .retentionMs("TODO: GenUnaryOpExpression") + * .retentionBytes("TODO: GenUnaryOpExpression") + * .retentionMs("TODO: GenUnaryOpExpression") * .segmentBytes(209715200) * .segmentIndexBytes(10485760) * .segmentJitterMs(0) @@ -90,7 +91,8 @@ * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java index 8bde6810..3b3923ab 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -48,23 +49,24 @@ * } * * public static void stack(Context ctx) { - * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() - * .engine("mysql") - * .version("8") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() + * .engine("mysql") + * .version("8") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var exampleDatabaseMysqlConfig = new DatabaseMysqlConfig("exampleDatabaseMysqlConfig", DatabaseMysqlConfigArgs.builder() + * var exampleDatabaseMysqlConfig = new DatabaseMysqlConfig("exampleDatabaseMysqlConfig", DatabaseMysqlConfigArgs.builder() * .clusterId(exampleDatabaseCluster.id()) * .connectTimeout(10) - * .defaultTimeZone("UTC") + * .defaultTimeZone("UTC") * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabasePostgresqlConfig.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabasePostgresqlConfig.java index 722e52e6..4ea6fe51 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabasePostgresqlConfig.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabasePostgresqlConfig.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -51,23 +52,24 @@ * } * * public static void stack(Context ctx) { - * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var exampleDatabasePostgresqlConfig = new DatabasePostgresqlConfig("exampleDatabasePostgresqlConfig", DatabasePostgresqlConfigArgs.builder() + * var exampleDatabasePostgresqlConfig = new DatabasePostgresqlConfig("exampleDatabasePostgresqlConfig", DatabasePostgresqlConfigArgs.builder() * .clusterId(exampleDatabaseCluster.id()) - * .timezone("UTC") + * .timezone("UTC") * .workMem(16) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java index 53ca76e6..d94f4969 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -47,24 +48,25 @@ * } * * public static void stack(Context ctx) { - * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() - * .engine("redis") - * .version("7") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var exampleDatabaseCluster = new DatabaseCluster("exampleDatabaseCluster", DatabaseClusterArgs.builder() + * .engine("redis") + * .version("7") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var exampleDatabaseRedisConfig = new DatabaseRedisConfig("exampleDatabaseRedisConfig", DatabaseRedisConfigArgs.builder() + * var exampleDatabaseRedisConfig = new DatabaseRedisConfig("exampleDatabaseRedisConfig", DatabaseRedisConfigArgs.builder() * .clusterId(exampleDatabaseCluster.id()) - * .maxmemoryPolicy("allkeys-lru") - * .notifyKeyspaceEvents("KEA") + * .maxmemoryPolicy("allkeys-lru") + * .notifyKeyspaceEvents("KEA") * .timeout(90) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java index d9d8d0b1..dc4bdae1 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java @@ -23,7 +23,8 @@ * * ### Create a new PostgreSQL database replica * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -49,33 +50,34 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() + * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() * .clusterId(postgres_example.id()) - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .build()); * - * ctx.export("uUID", replica_example.uuid()); + * ctx.export("uUID", replica_example.uuid()); * // Create firewall rule for database replica - * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() + * var example_fw = new DatabaseFirewall("example-fw", DatabaseFirewallArgs.builder() * .clusterId(replica_example.uuid()) * .rules(DatabaseFirewallRuleArgs.builder() - * .type("ip_addr") - * .value("192.168.1.1") + * .type("ip_addr") + * .value("192.168.1.1") * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java index a0569fe9..fb1432e2 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java @@ -25,7 +25,8 @@ * * ### Create a new PostgreSQL database user * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -48,26 +49,28 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var user_example = new DatabaseUser("user-example", DatabaseUserArgs.builder() + * var user_example = new DatabaseUser("user-example", DatabaseUserArgs.builder() * .clusterId(postgres_example.id()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new user for a PostgreSQL database replica * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -92,32 +95,34 @@ * } * * public static void stack(Context ctx) { - * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() - * .engine("pg") - * .version("15") - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * var postgres_example = new DatabaseCluster("postgres-example", DatabaseClusterArgs.builder() + * .engine("pg") + * .version("15") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .nodeCount(1) * .build()); * - * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() + * var replica_example = new DatabaseReplica("replica-example", DatabaseReplicaArgs.builder() * .clusterId(postgres_example.id()) - * .size("db-s-1vcpu-1gb") - * .region("nyc1") + * .size("db-s-1vcpu-1gb") + * .region("nyc1") * .build()); * - * var user_example = new DatabaseUser("user-example", DatabaseUserArgs.builder() + * var user_example = new DatabaseUser("user-example", DatabaseUserArgs.builder() * .clusterId(replica_example.uuid()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ### Create a new user for a Kafka database cluster * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -143,40 +148,41 @@ * } * * public static void stack(Context ctx) { - * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() - * .engine("kafka") - * .version("3.5") - * .size("db-s-2vcpu-2gb") - * .region("nyc1") + * var kafka_example = new DatabaseCluster("kafka-example", DatabaseClusterArgs.builder() + * .engine("kafka") + * .version("3.5") + * .size("db-s-2vcpu-2gb") + * .region("nyc1") * .nodeCount(3) * .build()); * - * var foobarTopic = new DatabaseKafkaTopic("foobarTopic", DatabaseKafkaTopicArgs.builder() + * var foobarTopic = new DatabaseKafkaTopic("foobarTopic", DatabaseKafkaTopicArgs.builder() * .clusterId(digitalocean_database_cluster.foobar().id()) * .build()); * - * var foobarUser = new DatabaseUser("foobarUser", DatabaseUserArgs.builder() + * var foobarUser = new DatabaseUser("foobarUser", DatabaseUserArgs.builder() * .clusterId(digitalocean_database_cluster.foobar().id()) * .settings(DatabaseUserSettingArgs.builder() * .acls( * DatabaseUserSettingAclArgs.builder() - * .topic("topic-1") - * .permission("produce") + * .topic("topic-1") + * .permission("produce") * .build(), * DatabaseUserSettingAclArgs.builder() - * .topic("topic-2") - * .permission("produceconsume") + * .topic("topic-2") + * .permission("produceconsume") * .build(), * DatabaseUserSettingAclArgs.builder() - * .topic("topic-*") - * .permission("consume") + * .topic("topic-*") + * .permission("consume") * .build()) * .build()) * .build()); * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java index 138701e3..f6a38d49 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java @@ -138,7 +138,8 @@ public final class DigitaloceanFunctions { * Get the account: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -162,7 +163,8 @@ public final class DigitaloceanFunctions { * * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * */ @@ -177,7 +179,8 @@ public static Output
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -201,7 +204,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -216,7 +220,8 @@ public static CompletableFuturegetAccount() { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -240,7 +245,8 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -255,7 +261,8 @@ public static OutputgetAccountPlain() { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -279,7 +286,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -294,7 +302,8 @@ public static CompletableFuturegetAccount(InvokeArgs args) { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -318,7 +327,8 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -333,7 +343,8 @@ public static OutputgetAccountPlain(InvokeArgs arg * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -357,7 +368,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -372,7 +384,8 @@ public static CompletableFuturegetAccount(InvokeArgs args, InvokeOptions * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -394,13 +407,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -415,7 +429,8 @@ public static OutputgetAccountPlain(InvokeArgs arg * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder() - * .appId("e665d18d-7b56-44a9-92ce-31979174d544") + * .appId("e665d18d-7b56-44a9-92ce-31979174d544") * .build()); * - * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); + * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -437,13 +452,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -458,7 +474,8 @@ public static CompletableFuturegetApp(GetAppArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder() - * .appId("e665d18d-7b56-44a9-92ce-31979174d544") + * .appId("e665d18d-7b56-44a9-92ce-31979174d544") * .build()); * - * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); + * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -480,13 +497,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -501,7 +519,8 @@ public static OutputgetAppPlain(GetAppPlainArgs args) * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder() - * .appId("e665d18d-7b56-44a9-92ce-31979174d544") + * .appId("e665d18d-7b56-44a9-92ce-31979174d544") * .build()); * - * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); + * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -523,13 +542,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -549,7 +569,8 @@ public static CompletableFuturegetApp(GetAppArgs args, InvokeOptions options * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder() - * .appId("e665d18d-7b56-44a9-92ce-31979174d544") + * .appId("e665d18d-7b56-44a9-92ce-31979174d544") * .build()); * - * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); + * ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -571,12 +592,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -596,7 +618,8 @@ public static OutputgetAppPlain(GetAppPlainArgs args, * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -618,12 +641,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -643,7 +667,8 @@ public static CompletableFuturegetCertificate(GetCertificateArgs arg * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -665,12 +690,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -690,7 +716,8 @@ public static OutputgetCertificatePlain(GetCer * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -712,12 +739,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -739,7 +767,8 @@ public static CompletableFuturegetCertificate(GetCertificateArgs arg * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -761,12 +790,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -788,7 +818,8 @@ public static OutputgetCertificatePlain(GetCer * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -810,12 +841,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -837,7 +869,8 @@ public static CompletableFuturegetContainerRegistry(GetContain * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -859,12 +892,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -886,7 +920,8 @@ public static OutputgetContainerRegistry * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -908,12 +943,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -926,7 +962,8 @@ public static CompletableFuturegetContainerRegistry(GetContain * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder() - * .name("example") + * .name("example") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -948,13 +985,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -967,7 +1005,8 @@ public static OutputgetContainerRegistry * * public static void stack(Context ctx) { * final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder() - * .clusterId("aaa-bbb-ccc-ddd") + * .clusterId("aaa-bbb-ccc-ddd") * .build()); * - * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); + * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -989,13 +1028,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1008,7 +1048,8 @@ public static CompletableFuturegetDatabaseCa(GetDatabaseCaArgs args) * * public static void stack(Context ctx) { * final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder() - * .clusterId("aaa-bbb-ccc-ddd") + * .clusterId("aaa-bbb-ccc-ddd") * .build()); * - * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); + * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1030,13 +1071,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1049,7 +1091,8 @@ public static OutputgetDatabaseCaPlain(GetDatab * * public static void stack(Context ctx) { * final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder() - * .clusterId("aaa-bbb-ccc-ddd") + * .clusterId("aaa-bbb-ccc-ddd") * .build()); * - * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); + * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1071,13 +1114,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1090,7 +1134,8 @@ public static CompletableFuturegetDatabaseCa(GetDatabaseCaArgs args, * * public static void stack(Context ctx) { * final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder() - * .clusterId("aaa-bbb-ccc-ddd") + * .clusterId("aaa-bbb-ccc-ddd") * .build()); * - * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); + * ctx.export("caOutput", ca.applyValue(getDatabaseCaResult -> getDatabaseCaResult.certificate())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1112,13 +1157,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1131,7 +1177,8 @@ public static OutputgetDatabaseCaPlain(GetDatab * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * - * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); + * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1153,13 +1200,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1172,7 +1220,8 @@ public static CompletableFuturegetDatabaseCluster(GetDatabaseClu * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * - * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); + * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1194,13 +1243,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1213,7 +1263,8 @@ public static OutputgetDatabaseClusterPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * - * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); + * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1235,13 +1286,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1254,7 +1306,8 @@ public static CompletableFuturegetDatabaseCluster(GetDatabaseClu * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * - * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); + * ctx.export("databaseOutput", example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.uri())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1277,18 +1330,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1301,7 +1355,8 @@ public static OutputgetDatabaseClusterPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("pool-01") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("pool-01") * .build()); * - * ctx.export("connectionPoolUriOutput", read_only.uri()); + * ctx.export("connectionPoolUriOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1324,18 +1379,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1348,7 +1404,8 @@ public static CompletableFuturegetDatabaseConnectionPool( * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("pool-01") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("pool-01") * .build()); * - * ctx.export("connectionPoolUriOutput", read_only.uri()); + * ctx.export("connectionPoolUriOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1371,18 +1428,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1395,7 +1453,8 @@ public static OutputgetDatabaseConn * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("pool-01") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("pool-01") * .build()); * - * ctx.export("connectionPoolUriOutput", read_only.uri()); + * ctx.export("connectionPoolUriOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1418,18 +1477,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1442,7 +1502,8 @@ public static CompletableFuturegetDatabaseConnectionPool( * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("pool-01") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("pool-01") * .build()); * - * ctx.export("connectionPoolUriOutput", read_only.uri()); + * ctx.export("connectionPoolUriOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1465,18 +1526,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1489,7 +1551,8 @@ public static OutputgetDatabaseConn * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("terra-test-ro") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("terra-test-ro") * .build()); * - * ctx.export("replicaOutput", read_only.uri()); + * ctx.export("replicaOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1512,18 +1575,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1536,7 +1600,8 @@ public static CompletableFuturegetDatabaseReplica(GetDatabaseRep * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("terra-test-ro") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("terra-test-ro") * .build()); * - * ctx.export("replicaOutput", read_only.uri()); + * ctx.export("replicaOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1559,18 +1624,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1583,7 +1649,8 @@ public static OutputgetDatabaseReplicaPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("terra-test-ro") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("terra-test-ro") * .build()); * - * ctx.export("replicaOutput", read_only.uri()); + * ctx.export("replicaOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1606,18 +1673,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1630,7 +1698,8 @@ public static CompletableFuturegetDatabaseReplica(GetDatabaseRep * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("example-cluster") + * .name("example-cluster") * .build()); * * final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder() - * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("terra-test-ro") + * .clusterId(example.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("terra-test-ro") * .build()); * - * ctx.export("replicaOutput", read_only.uri()); + * ctx.export("replicaOutput", read_only.uri()); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1653,18 +1722,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1677,7 +1747,8 @@ public static OutputgetDatabaseReplicaPlai * * public static void stack(Context ctx) { * final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("main-cluster") + * .name("main-cluster") * .build()); * * final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder() - * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("example-user") + * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("example-user") * .build()); * - * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); + * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1700,18 +1771,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1724,7 +1796,8 @@ public static CompletableFuturegetDatabaseUser(GetDatabaseUserArgs * * public static void stack(Context ctx) { * final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("main-cluster") + * .name("main-cluster") * .build()); * * final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder() - * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("example-user") + * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("example-user") * .build()); * - * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); + * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1747,18 +1820,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1771,7 +1845,8 @@ public static OutputgetDatabaseUserPlain(GetD * * public static void stack(Context ctx) { * final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("main-cluster") + * .name("main-cluster") * .build()); * * final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder() - * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("example-user") + * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("example-user") * .build()); * - * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); + * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1794,18 +1869,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1826,7 +1902,8 @@ public static CompletableFuturegetDatabaseUser(GetDatabaseUserArgs * * public static void stack(Context ctx) { * final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder() - * .name("main-cluster") + * .name("main-cluster") * .build()); * * final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder() - * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) - * .name("example-user") + * .clusterId(main.applyValue(getDatabaseClusterResult -> getDatabaseClusterResult.id())) + * .name("example-user") * .build()); * - * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); + * ctx.export("databaseUserPassword", example.applyValue(getDatabaseUserResult -> getDatabaseUserResult.password())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1848,13 +1925,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1875,7 +1953,8 @@ public static OutputgetDatabaseUserPlain(GetD * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() - * .name("example.com") + * .name("example.com") * .build()); * - * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1897,13 +1976,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -1924,7 +2004,8 @@ public static CompletableFuturegetDomain(GetDomainArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() - * .name("example.com") + * .name("example.com") * .build()); * - * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1946,13 +2027,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -1973,7 +2055,8 @@ public static OutputgetDomainPlain(GetDomainPlainAr * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() - * .name("example.com") + * .name("example.com") * .build()); * - * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -1995,13 +2078,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2024,7 +2108,8 @@ public static CompletableFuturegetDomain(GetDomainArgs args, InvokeOption * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() - * .name("example.com") + * .name("example.com") * .build()); * - * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2047,15 +2132,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2078,7 +2164,8 @@ public static OutputgetDomainPlain(GetDomainPlainAr * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2101,15 +2188,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2132,7 +2220,8 @@ public static CompletableFuturegetDomains() { * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2155,15 +2244,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2186,7 +2276,8 @@ public static OutputgetDomainsPlain() { * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2209,15 +2300,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2240,7 +2332,8 @@ public static CompletableFuturegetDomains(GetDomainsArgs args) { * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2263,15 +2356,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2294,7 +2388,8 @@ public static OutputgetDomainsPlain(GetDomainsPlai * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2317,15 +2412,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2346,7 +2442,8 @@ public static CompletableFuturegetDomains(GetDomainsArgs args, InvokeOpt * public static void stack(Context ctx) { * final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder() * .filters(GetDomainsFilterArgs.builder() - * .key("name") - * .matchBy("re") - * .values("example\\.com$") + * .key("name") + * .matchBy("re") + * .values("example\\.com$") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2368,19 +2465,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDomainsPlain(GetDomainsPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2402,18 +2501,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDomainsPlain(GetDomainsPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2440,7 +2541,8 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2461,7 +2563,8 @@ public static OutputgetDomainsPlain(GetDomainsPlai * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2483,19 +2586,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2517,18 +2622,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2555,7 +2662,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2576,7 +2684,8 @@ public static CompletableFuturegetDroplet() { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2598,19 +2707,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletPlain() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2632,18 +2743,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletPlain() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2670,7 +2783,8 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2691,7 +2805,8 @@ public static OutputgetDropletPlain() { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2713,19 +2828,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet(GetDropletArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2747,18 +2864,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet(GetDropletArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2785,7 +2904,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -2806,7 +2926,8 @@ public static CompletableFuturegetDroplet(GetDropletArgs args) { * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2828,19 +2949,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletPlain(GetDropletPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2862,18 +2985,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletPlain(GetDropletPlai * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2900,7 +3025,8 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -2921,7 +3047,8 @@ public static OutputgetDropletPlain(GetDropletPlai * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2943,19 +3070,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by tag: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet(GetDropletArgs args, InvokeOpt * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .name("web") + * .name("web") * .build()); * - * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); + * ctx.export("dropletOutput", example.applyValue(getDropletResult -> getDropletResult.ipv4Address())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -2977,18 +3106,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the Droplet by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplet(GetDropletArgs args, InvokeOpt * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder() - * .tag("web") + * .tag("web") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3015,7 +3146,8 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3032,7 +3164,8 @@ public static CompletableFuturegetDroplet(GetDropletArgs args, InvokeOpt * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3055,19 +3188,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletPlain(GetDropletPlai * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3091,20 +3226,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -3121,7 +3257,8 @@ public static OutputgetDropletPlain(GetDropletPlai * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3144,19 +3281,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshot() { * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3180,20 +3319,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3210,7 +3350,8 @@ public static CompletableFuturegetDropletSnapshot() { * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3233,19 +3374,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshotPlai * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3269,20 +3412,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -3299,7 +3443,8 @@ public static OutputgetDropletSnapshotPlai * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3322,19 +3467,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshot(GetDropletSnap * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3358,20 +3505,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3388,7 +3536,8 @@ public static CompletableFuturegetDropletSnapshot(GetDropletSnap * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3411,19 +3560,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshotPlai * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3447,20 +3598,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -3477,7 +3629,8 @@ public static OutputgetDropletSnapshotPlai * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3500,19 +3653,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Create image from snapshot: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshot(GetDropletSnap * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3536,20 +3691,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3573,7 +3729,8 @@ public static CompletableFuturegetDropletSnapshot(GetDropletSnap * * public static void stack(Context ctx) { * final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() + * var from_snapshot = new Droplet("from-snapshot", DropletArgs.builder() * .image(web_snapshot.id()) - * .region("nyc3") - * .size("s-2vcpu-4gb") + * .region("nyc3") + * .size("s-2vcpu-4gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3596,20 +3753,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletSnapshotPlai * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3633,22 +3792,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -3672,7 +3832,8 @@ public static OutputgetDropletSnapshotPlai * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3695,20 +3856,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplets() { * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3732,22 +3895,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3771,7 +3935,8 @@ public static CompletableFuturegetDroplets() { * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3794,20 +3959,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletsPlain() { * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3831,22 +3998,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -3870,7 +4038,8 @@ public static OutputgetDropletsPlain() { * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3893,20 +4062,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplets(GetDropletsArgs args) { * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3930,22 +4101,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -3969,7 +4141,8 @@ public static CompletableFuturegetDroplets(GetDropletsArgs args) { * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -3992,20 +4165,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDropletsPlain(GetDropletsP * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4029,22 +4204,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4068,7 +4244,8 @@ public static OutputgetDropletsPlain(GetDropletsP * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4091,20 +4268,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getDroplets(GetDropletsArgs args, Invoke * public static void stack(Context ctx) { * final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters(GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4128,22 +4307,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4158,7 +4338,8 @@ public static CompletableFuturegetDroplets(GetDropletsArgs args, Invoke * final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder() * .filters( * GetDropletsFilterArgs.builder() - * .key("size") - * .values("s-1vcpu-1gb") + * .key("size") + * .values("s-1vcpu-1gb") * .build(), * GetDropletsFilterArgs.builder() - * .key("backups") - * .values("true") + * .key("backups") + * .values("true") * .build()) * .sorts(GetDropletsSortArgs.builder() - * .direction("desc") - * .key("created_at") + * .direction("desc") + * .key("created_at") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4180,13 +4361,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4201,7 +4383,8 @@ public static OutputgetDropletsPlain(GetDropletsP * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder() - * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") + * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") * .build()); * - * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); + * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4223,13 +4406,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4244,7 +4428,8 @@ public static CompletableFuturegetFirewall(GetFirewallArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder() - * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") + * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") * .build()); * - * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); + * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4266,13 +4451,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4287,7 +4473,8 @@ public static OutputgetFirewallPlain(GetFirewallP * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder() - * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") + * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") * .build()); * - * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); + * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4309,13 +4496,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4337,7 +4525,8 @@ public static CompletableFuturegetFirewall(GetFirewallArgs args, Invoke * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder() - * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") + * .firewallId("1df48973-6eef-4214-854f-fa7726e7e583") * .build()); * - * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); + * ctx.export("exampleFirewallName", example.applyValue(getFirewallResult -> getFirewallResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4359,15 +4548,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4389,7 +4579,8 @@ public static OutputgetFirewallPlain(GetFirewallP * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4411,15 +4602,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4441,7 +4633,8 @@ public static CompletableFuturegetFloatingIp(GetFloatingIpArgs args) * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4463,15 +4656,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4493,7 +4687,8 @@ public static OutputgetFloatingIpPlain(GetFloat * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4515,15 +4710,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4543,7 +4739,8 @@ public static CompletableFuturegetFloatingIp(GetFloatingIpArgs args, * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getFloatingIpResult -> getFloatingIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4565,18 +4762,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getFloatingIpPlain(GetFloat * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4600,24 +4799,26 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getFloatingIpPlain(GetFloat * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4639,12 +4840,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4664,7 +4866,8 @@ public static OutputgetFloatingIpPlain(GetFloat * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4686,18 +4889,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage() { * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4721,24 +4926,26 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage() { * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4760,12 +4967,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -4785,7 +4993,8 @@ public static CompletableFuturegetImage() { * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4807,18 +5016,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagePlain() { * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4842,24 +5053,26 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagePlain() { * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4881,12 +5094,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -4906,7 +5120,8 @@ public static OutputgetImagePlain() { * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4928,18 +5143,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage(GetImageArgs args) { * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -4963,24 +5180,26 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage(GetImageArgs args) { * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5002,12 +5221,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -5027,7 +5247,8 @@ public static CompletableFuturegetImage(GetImageArgs args) { * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5049,18 +5270,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagePlain(GetImagePlainArgs * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5084,24 +5307,26 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagePlain(GetImagePlainArgs * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5123,12 +5348,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -5148,7 +5374,8 @@ public static OutputgetImagePlain(GetImagePlainArgs * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5170,18 +5397,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage(GetImageArgs args, InvokeOptions o * * public static void stack(Context ctx) { * final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5205,24 +5434,26 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the data about an official image: * * <!--Start PulumiCodeChooser --> - * ```java + *getImage(GetImageArgs args, InvokeOptions o * * public static void stack(Context ctx) { * final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .name("example-1.0.0") + * .name("example-1.0.0") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) - * .region("nyc2") - * .size("s-1vcpu-1gb") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image(exampleImage.applyValue(getImageResult -> getImageResult.id())) + * .region("nyc2") + * .size("s-1vcpu-1gb") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5244,12 +5475,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -5274,7 +5506,8 @@ public static CompletableFuturegetImage(GetImageArgs args, InvokeOptions o * * public static void stack(Context ctx) { * final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder() - * .slug("ubuntu-18-04-x64") + * .slug("ubuntu-18-04-x64") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5297,20 +5530,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagePlain(GetImagePlainArgs * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5334,22 +5569,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -5374,7 +5610,8 @@ public static OutputgetImagePlain(GetImagePlainArgs * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5397,20 +5634,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImages() { * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5434,22 +5673,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -5474,7 +5714,8 @@ public static CompletableFuturegetImages() { * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5497,20 +5738,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagesPlain() { * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5534,22 +5777,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -5574,7 +5818,8 @@ public static OutputgetImagesPlain() { * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5597,20 +5842,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImages(GetImagesArgs args) { * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5634,22 +5881,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -5674,7 +5922,8 @@ public static CompletableFuturegetImages(GetImagesArgs args) { * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5697,20 +5946,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImagesPlain(GetImagesPlainAr * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5734,22 +5985,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -5774,7 +6026,8 @@ public static OutputgetImagesPlain(GetImagesPlainAr * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5797,20 +6050,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getImages(GetImagesArgs args, InvokeOption * public static void stack(Context ctx) { * final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters(GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5834,22 +6089,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -5892,7 +6148,8 @@ public static CompletableFuturegetImages(GetImagesArgs args, InvokeOption * final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder() * .filters( * GetImagesFilterArgs.builder() - * .key("distribution") - * .values("Ubuntu") + * .key("distribution") + * .values("Ubuntu") * .build(), * GetImagesFilterArgs.builder() - * .key("regions") - * .values("nyc3") + * .key("regions") + * .values("nyc3") * .build()) * .sorts(GetImagesSortArgs.builder() - * .direction("desc") - * .key("created") + * .direction("desc") + * .key("created") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5915,16 +6172,18 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesCluster * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5950,25 +6209,27 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesCluster * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -5993,22 +6254,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -6023,7 +6285,8 @@ public static OutputgetKubernetesCluster * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6046,16 +6309,18 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions() { * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6081,25 +6346,27 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions() { * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6124,22 +6391,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -6154,7 +6422,8 @@ public static CompletableFuturegetKubernetesVersions() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6177,16 +6446,18 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersio * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6212,25 +6483,27 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersio * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6255,22 +6528,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -6285,7 +6559,8 @@ public static OutputgetKubernetesVersio * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6308,16 +6583,18 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions(GetKuber * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6343,25 +6620,27 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions(GetKuber * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6386,22 +6665,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -6416,7 +6696,8 @@ public static CompletableFuturegetKubernetesVersions(GetKuber * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6439,16 +6720,18 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersio * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6474,25 +6757,27 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersio * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6517,22 +6802,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -6547,7 +6833,8 @@ public static OutputgetKubernetesVersio * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6570,16 +6857,18 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Create a Kubernetes cluster using the most recent version available * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions(GetKuber * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); + * ctx.export("k8s-versions", example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.validVersions())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6605,25 +6894,27 @@ public static Output* <!--End PulumiCodeChooser --> * * ### Pin a Kubernetes cluster to a specific minor version * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersions(GetKuber * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6648,22 +6939,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -6683,7 +6975,8 @@ public static CompletableFuturegetKubernetesVersions(GetKuber * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder() - * .versionPrefix("1.22.") + * .versionPrefix("1.22.") * .build()); * - * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() - * .region("lon1") - * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) + * var example_cluster = new KubernetesCluster("example-cluster", KubernetesClusterArgs.builder() + * .region("lon1") + * .version(example.applyValue(getKubernetesVersionsResult -> getKubernetesVersionsResult.latestVersion())) * .nodePool(KubernetesClusterNodePoolArgs.builder() - * .name("default") - * .size("s-1vcpu-2gb") + * .name("default") + * .size("s-1vcpu-2gb") * .nodeCount(3) * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6705,19 +6998,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getKubernetesVersio * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6739,12 +7034,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -6764,7 +7060,8 @@ public static OutputgetKubernetesVersio * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6786,19 +7083,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getLoadBalancer() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6820,12 +7119,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -6845,7 +7145,8 @@ public static CompletableFuturegetLoadBalancer() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6867,19 +7168,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getLoadBalancerPlain() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6901,12 +7204,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -6926,7 +7230,8 @@ public static OutputgetLoadBalancerPlain() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6948,19 +7253,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getLoadBalancer(GetLoadBalancerArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -6982,12 +7289,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7007,7 +7315,8 @@ public static CompletableFuturegetLoadBalancer(GetLoadBalancerArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7029,19 +7338,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getLoadBalancerPlain(GetL * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7063,12 +7374,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7088,7 +7400,8 @@ public static OutputgetLoadBalancerPlain(GetL * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7110,19 +7423,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Get the load balancer by ID: * * <!--Start PulumiCodeChooser --> - * ```java + *getLoadBalancer(GetLoadBalancerArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .name("app") + * .name("app") * .build()); * - * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); + * ctx.export("lbOutput", example.applyValue(getLoadBalancerResult -> getLoadBalancerResult.ip())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7144,12 +7459,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7163,7 +7479,8 @@ public static CompletableFuturegetLoadBalancer(GetLoadBalancerArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder() - * .id("loadbalancer_id") + * .id("loadbalancer_id") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7187,12 +7504,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7206,7 +7524,8 @@ public static OutputgetLoadBalancerPlain(GetL * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7230,12 +7549,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7249,7 +7569,8 @@ public static CompletableFuturegetProject() { * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7273,12 +7594,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7292,7 +7614,8 @@ public static OutputgetProjectPlain() { * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7316,12 +7639,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7335,7 +7659,8 @@ public static CompletableFuturegetProject(GetProjectArgs args) { * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7359,12 +7684,13 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7378,7 +7704,8 @@ public static OutputgetProjectPlain(GetProjectPlai * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7402,12 +7729,13 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7430,7 +7758,8 @@ public static CompletableFuturegetProject(GetProjectArgs args, InvokeOpt * final var default = DigitaloceanFunctions.getProject(); * * final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder() - * .name("My Staging Project") + * .name("My Staging Project") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7453,20 +7782,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjectPlain(GetProjectPlai * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7490,22 +7821,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7528,7 +7860,8 @@ public static OutputgetProjectPlain(GetProjectPlai * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7551,20 +7884,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjects() { * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7588,22 +7923,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7626,7 +7962,8 @@ public static CompletableFuturegetProjects() { * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7649,20 +7986,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjectsPlain() { * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7686,22 +8025,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7724,7 +8064,8 @@ public static OutputgetProjectsPlain() { * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7747,20 +8088,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjects(GetProjectsArgs args) { * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7784,22 +8127,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -7822,7 +8166,8 @@ public static CompletableFuturegetProjects(GetProjectsArgs args) { * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7845,20 +8190,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjectsPlain(GetProjectsP * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7882,22 +8229,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -7920,7 +8268,8 @@ public static OutputgetProjectsPlain(GetProjectsP * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7943,20 +8292,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getProjects(GetProjectsArgs args, Invoke * public static void stack(Context ctx) { * final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters(GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Staging") + * .key("environment") + * .values("Staging") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -7980,22 +8331,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8015,7 +8367,8 @@ public static CompletableFuturegetProjects(GetProjectsArgs args, Invoke * final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder() * .filters( * GetProjectsFilterArgs.builder() - * .key("environment") - * .values("Production") + * .key("environment") + * .values("Production") * .build(), * GetProjectsFilterArgs.builder() - * .key("is_default") - * .values("false") + * .key("is_default") + * .values("false") * .build()) * .sorts(GetProjectsSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8037,15 +8390,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8065,7 +8419,8 @@ public static OutputgetProjectsPlain(GetProjectsP * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() - * .domain("example.com") - * .name("test") + * .domain("example.com") + * .name("test") * .build()); * - * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); - * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8087,15 +8442,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8115,7 +8471,8 @@ public static CompletableFuturegetRecord(GetRecordArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() - * .domain("example.com") - * .name("test") + * .domain("example.com") + * .name("test") * .build()); * - * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); - * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8137,15 +8494,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8165,7 +8523,8 @@ public static OutputgetRecordPlain(GetRecordPlainAr * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() - * .domain("example.com") - * .name("test") + * .domain("example.com") + * .name("test") * .build()); * - * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); - * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8187,15 +8546,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8241,7 +8601,8 @@ public static CompletableFuturegetRecord(GetRecordArgs args, InvokeOption * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() - * .domain("example.com") - * .name("test") + * .domain("example.com") + * .name("test") * .build()); * - * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); - * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8263,13 +8624,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8283,7 +8645,8 @@ public static OutputgetRecordsPlain(GetRecordsPlai * * public static void stack(Context ctx) { * final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder() - * .slug("sfo2") + * .slug("sfo2") * .build()); * - * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); + * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8305,13 +8668,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8325,7 +8689,8 @@ public static CompletableFuturegetRegion(GetRegionArgs args) { * * public static void stack(Context ctx) { * final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder() - * .slug("sfo2") + * .slug("sfo2") * .build()); * - * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); + * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8347,13 +8712,14 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8367,7 +8733,8 @@ public static OutputgetRegionPlain(GetRegionPlainAr * * public static void stack(Context ctx) { * final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder() - * .slug("sfo2") + * .slug("sfo2") * .build()); * - * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); + * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8389,13 +8756,14 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8416,7 +8784,8 @@ public static CompletableFuturegetRegion(GetRegionArgs args, InvokeOption * * public static void stack(Context ctx) { * final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder() - * .slug("sfo2") + * .slug("sfo2") * .build()); * - * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); + * ctx.export("regionName", sfo2.applyValue(getRegionResult -> getRegionResult.name())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8439,20 +8808,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegionPlain(GetRegionPlainAr * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8476,22 +8847,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8512,7 +8884,8 @@ public static OutputgetRegionPlain(GetRegionPlainAr * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8535,20 +8908,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegions() { * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8572,22 +8947,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8608,7 +8984,8 @@ public static CompletableFuturegetRegions() { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8631,20 +9008,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegionsPlain() { * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8668,22 +9047,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8704,7 +9084,8 @@ public static OutputgetRegionsPlain() { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8727,20 +9108,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegions(GetRegionsArgs args) { * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8764,22 +9147,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8800,7 +9184,8 @@ public static CompletableFuturegetRegions(GetRegionsArgs args) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8823,20 +9208,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegionsPlain(GetRegionsPlai * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8860,22 +9247,23 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -8896,7 +9284,8 @@ public static OutputgetRegionsPlain(GetRegionsPlai * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8919,20 +9308,22 @@ public static Output* <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getRegions(GetRegionsArgs args, InvokeOpt * public static void stack(Context ctx) { * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters(GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -8956,22 +9347,23 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -8984,7 +9376,8 @@ public static CompletableFuturegetRegions(GetRegionsArgs args, InvokeOpt * final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder() * .filters( * GetRegionsFilterArgs.builder() - * .key("available") - * .values("true") + * .key("available") + * .values("true") * .build(), * GetRegionsFilterArgs.builder() - * .key("features") - * .values("private_networking") + * .key("features") + * .values("private_networking") * .build()) * .sorts(GetRegionsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9006,15 +9399,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9027,7 +9421,8 @@ public static OutputgetRegionsPlain(GetRegionsPlai * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9049,15 +9444,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9070,7 +9466,8 @@ public static CompletableFuturegetReservedIp(GetReservedIpArgs args) * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9092,15 +9489,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9113,7 +9511,8 @@ public static OutputgetReservedIpPlain(GetReser * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9135,15 +9534,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9213,7 +9613,8 @@ public static CompletableFuturegetReservedIp(GetReservedIpArgs args, * * public static void stack(Context ctx) { * final var config = ctx.config(); - * final var publicIp = config.get("publicIp"); + * final var publicIp = config.get("publicIp"); * final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder() * .ipAddress(publicIp) * .build()); * - * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); + * ctx.export("fipOutput", example.applyValue(getReservedIpResult -> getReservedIpResult.dropletId())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9235,14 +9636,15 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9258,7 +9660,8 @@ public static OutputgetSizesPlain(GetSizesPlainArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder() - * .name("my-spaces-bucket") - * .region("nyc3") + * .name("my-spaces-bucket") + * .region("nyc3") * .build()); * - * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); + * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9280,14 +9683,15 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9303,7 +9707,8 @@ public static CompletableFuturegetSpacesBucket(GetSpacesBucketArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder() - * .name("my-spaces-bucket") - * .region("nyc3") + * .name("my-spaces-bucket") + * .region("nyc3") * .build()); * - * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); + * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9325,14 +9730,15 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9348,7 +9754,8 @@ public static OutputgetSpacesBucketPlain(GetS * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder() - * .name("my-spaces-bucket") - * .region("nyc3") + * .name("my-spaces-bucket") + * .region("nyc3") * .build()); * - * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); + * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9370,14 +9777,15 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9398,7 +9806,8 @@ public static CompletableFuturegetSpacesBucket(GetSpacesBucketArgs * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder() - * .name("my-spaces-bucket") - * .region("nyc3") + * .name("my-spaces-bucket") + * .region("nyc3") * .build()); * - * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); + * ctx.export("bucketDomainName", example.applyValue(getSpacesBucketResult -> getSpacesBucketResult.bucketDomainName())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9422,21 +9831,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9457,7 +9867,8 @@ public static OutputgetSpacesBucketPlain(GetS * * public static void stack(Context ctx) { * final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder() - * .bucket("ourcorp-deploy-config") - * .region("nyc3") - * .key("droplet-bootstrap-script.sh") + * .bucket("ourcorp-deploy-config") + * .region("nyc3") + * .key("droplet-bootstrap-script.sh") * .build()); * - * var web = new Droplet("web", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) + * var web = new Droplet("web", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9481,21 +9892,22 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9516,7 +9928,8 @@ public static CompletableFuturegetSpacesBucketObject(GetSpace * * public static void stack(Context ctx) { * final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder() - * .bucket("ourcorp-deploy-config") - * .region("nyc3") - * .key("droplet-bootstrap-script.sh") + * .bucket("ourcorp-deploy-config") + * .region("nyc3") + * .key("droplet-bootstrap-script.sh") * .build()); * - * var web = new Droplet("web", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) + * var web = new Droplet("web", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9540,21 +9953,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9575,7 +9989,8 @@ public static OutputgetSpacesBucketObje * * public static void stack(Context ctx) { * final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder() - * .bucket("ourcorp-deploy-config") - * .region("nyc3") - * .key("droplet-bootstrap-script.sh") + * .bucket("ourcorp-deploy-config") + * .region("nyc3") + * .key("droplet-bootstrap-script.sh") * .build()); * - * var web = new Droplet("web", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) + * var web = new Droplet("web", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9599,21 +10014,22 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9670,7 +10086,8 @@ public static CompletableFuturegetSpacesBucketObject(GetSpace * * public static void stack(Context ctx) { * final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder() - * .bucket("ourcorp-deploy-config") - * .region("nyc3") - * .key("droplet-bootstrap-script.sh") + * .bucket("ourcorp-deploy-config") + * .region("nyc3") + * .key("droplet-bootstrap-script.sh") * .build()); * - * var web = new Droplet("web", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) + * var web = new Droplet("web", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -> getSpacesBucketObjectResult.body())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9693,19 +10110,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBucketObj * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9728,18 +10147,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9760,7 +10180,8 @@ public static OutputgetSpacesBucketObj * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9783,19 +10204,21 @@ public static Output* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBuckets() { * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9818,18 +10241,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -9850,7 +10274,8 @@ public static CompletableFuturegetSpacesBuckets() { * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9873,19 +10298,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBucketsPlain() * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9908,18 +10335,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -9940,7 +10368,8 @@ public static OutputgetSpacesBucketsPlain() * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9963,19 +10392,21 @@ public static Output* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBuckets(GetSpacesBucketsAr * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -9998,18 +10429,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10030,7 +10462,8 @@ public static CompletableFuturegetSpacesBuckets(GetSpacesBucketsAr * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10053,19 +10486,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBucketsPlain(Ge * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10088,18 +10523,19 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10120,7 +10556,8 @@ public static OutputgetSpacesBucketsPlain(Ge * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10143,19 +10580,21 @@ public static Output* <!--End PulumiCodeChooser --> * You can sort the results as well: * * <!--Start PulumiCodeChooser --> - * ```java + *getSpacesBuckets(GetSpacesBucketsAr * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10178,18 +10617,19 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10209,7 +10649,8 @@ public static CompletableFuturegetSpacesBuckets(GetSpacesBucketsAr * public static void stack(Context ctx) { * final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder() * .filters(GetSpacesBucketsFilterArgs.builder() - * .key("region") - * .values("nyc3") + * .key("region") + * .values("nyc3") * .build()) * .sorts(GetSpacesBucketsSortArgs.builder() - * .direction("desc") - * .key("name") + * .direction("desc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10233,19 +10674,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10265,7 +10707,8 @@ public static OutputgetSpacesBucketsPlain(Ge * * public static void stack(Context ctx) { * final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10289,19 +10732,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10321,7 +10765,8 @@ public static CompletableFuturegetSshKey(GetSshKeyArgs args) { * * public static void stack(Context ctx) { * final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10345,19 +10790,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10377,7 +10823,8 @@ public static OutputgetSshKeyPlain(GetSshKeyPlainAr * * public static void stack(Context ctx) { * final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10401,19 +10848,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10434,7 +10882,8 @@ public static CompletableFuturegetSshKey(GetSshKeyArgs args, InvokeOption * * public static void stack(Context ctx) { * final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .sshKeys(exampleSshKey.applyValue(getSshKeyResult -> getSshKeyResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10457,20 +10906,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeyPlain(GetSshKeyPlainAr * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10493,16 +10944,17 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10523,7 +10975,8 @@ public static OutputgetSshKeyPlain(GetSshKeyPlainAr * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10546,20 +10999,22 @@ public static Output* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeys() { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10582,16 +11037,17 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10612,7 +11068,8 @@ public static CompletableFuturegetSshKeys() { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10635,20 +11092,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeysPlain() { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10671,16 +11130,17 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10701,7 +11161,8 @@ public static OutputgetSshKeysPlain() { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10724,20 +11185,22 @@ public static Output* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeys(GetSshKeysArgs args) { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10760,16 +11223,17 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10790,7 +11254,8 @@ public static CompletableFuturegetSshKeys(GetSshKeysArgs args) { * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10813,20 +11278,22 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeysPlain(GetSshKeysPlai * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10849,16 +11316,17 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -10879,7 +11347,8 @@ public static OutputgetSshKeysPlain(GetSshKeysPlai * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10902,20 +11371,22 @@ public static Output* <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: * * <!--Start PulumiCodeChooser --> - * ```java + *getSshKeys(GetSshKeysArgs args, InvokeOpt * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .sorts(GetSshKeysSortArgs.builder() - * .direction("asc") - * .key("name") + * .direction("asc") + * .key("name") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10938,16 +11409,17 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -10966,7 +11438,8 @@ public static CompletableFuturegetSshKeys(GetSshKeysArgs args, InvokeOpt * public static void stack(Context ctx) { * final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder() * .filters(GetSshKeysFilterArgs.builder() - * .key("name") + * .key("name") * .values( - * "laptop", - * "desktop") + * "laptop", + * "desktop") * .build()) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -10990,19 +11463,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11021,7 +11495,8 @@ public static OutputgetSshKeysPlain(GetSshKeysPlai * * public static void stack(Context ctx) { * final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11045,19 +11520,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11076,7 +11552,8 @@ public static CompletableFuturegetTag(GetTagArgs args) { * * public static void stack(Context ctx) { * final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11100,19 +11577,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11131,7 +11609,8 @@ public static OutputgetTagPlain(GetTagPlainArgs args) * * public static void stack(Context ctx) { * final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11155,19 +11634,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11182,7 +11662,8 @@ public static CompletableFuturegetTag(GetTagArgs args, InvokeOptions options * * public static void stack(Context ctx) { * final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder() - * .name("example") + * .name("example") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .image("ubuntu-18-04-x64") - * .region("nyc2") - * .size("s-1vcpu-1gb") - * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .image("ubuntu-18-04-x64") + * .region("nyc2") + * .size("s-1vcpu-1gb") + * .tags(exampleTag.applyValue(getTagResult -> getTagResult.name())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11205,15 +11686,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11228,7 +11710,8 @@ public static OutputgetTagPlain(GetTagPlainArgs args, * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11251,15 +11734,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11274,7 +11758,8 @@ public static CompletableFuturegetTags() { * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11297,15 +11782,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11320,7 +11806,8 @@ public static OutputgetTagsPlain() { * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11343,15 +11830,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11366,7 +11854,8 @@ public static CompletableFuturegetTags(GetTagsArgs args) { * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11389,15 +11878,16 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11412,7 +11902,8 @@ public static OutputgetTagsPlain(GetTagsPlainArgs arg * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11435,15 +11926,16 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11463,7 +11955,8 @@ public static CompletableFuturegetTags(GetTagsArgs args, InvokeOptions opti * public static void stack(Context ctx) { * final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder() * .sorts(GetTagsSortArgs.builder() - * .key("total_resource_count") - * .direction("asc") + * .key("total_resource_count") + * .direction("asc") * .build()) * .build()); * - * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); + * ctx.export("sortedTags", list.applyValue(getTagsResult -> getTagsResult.tags())); * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11485,19 +11978,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getTagsPlain(GetTagsPlainArgs arg * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11523,24 +12018,25 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11560,7 +12056,8 @@ public static OutputgetTagsPlain(GetTagsPlainArgs arg * * public static void stack(Context ctx) { * final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") * .build()); * - * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() + * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() * .dropletId(exampleDroplet.id()) - * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) + * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11582,19 +12079,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolume(GetVolumeArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11620,24 +12119,25 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11657,7 +12157,8 @@ public static CompletableFuturegetVolume(GetVolumeArgs args) { * * public static void stack(Context ctx) { * final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") * .build()); * - * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() + * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() * .dropletId(exampleDroplet.id()) - * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) + * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11679,19 +12180,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumePlain(GetVolumePlainAr * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11717,24 +12220,25 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11754,7 +12258,8 @@ public static OutputgetVolumePlain(GetVolumePlainAr * * public static void stack(Context ctx) { * final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") * .build()); * - * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() + * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() * .dropletId(exampleDroplet.id()) - * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) + * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11776,19 +12281,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolume(GetVolumeArgs args, InvokeOption * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11814,24 +12321,25 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -11848,7 +12356,8 @@ public static CompletableFuturegetVolume(GetVolumeArgs args, InvokeOption * * public static void stack(Context ctx) { * final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder() - * .name("app-data") - * .region("nyc3") + * .name("app-data") + * .region("nyc3") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") * .build()); * - * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() + * var foobar = new VolumeAttachment("foobar", VolumeAttachmentArgs.builder() * .dropletId(exampleDroplet.id()) - * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) + * .volumeId(exampleVolume.applyValue(getVolumeResult -> getVolumeResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11871,19 +12380,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumePlain(GetVolumePlainAr * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11907,20 +12418,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -11937,7 +12449,8 @@ public static OutputgetVolumePlain(GetVolumePlainAr * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11960,19 +12473,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshot() { * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -11996,20 +12511,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -12026,7 +12542,8 @@ public static CompletableFuturegetVolumeSnapshot() { * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12049,19 +12566,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshotPlain( * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12085,20 +12604,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -12115,7 +12635,8 @@ public static OutputgetVolumeSnapshotPlain( * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12138,19 +12659,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshot(GetVolumeSnapsho * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12174,20 +12697,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -12204,7 +12728,8 @@ public static CompletableFuturegetVolumeSnapshot(GetVolumeSnapsho * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12227,19 +12752,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshotPlain( * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12263,20 +12790,21 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -12293,7 +12821,8 @@ public static OutputgetVolumeSnapshotPlain( * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12316,19 +12845,21 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshot(GetVolumeSnapsho * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() * .mostRecent(true) - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12352,20 +12883,21 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -12387,7 +12919,8 @@ public static CompletableFuturegetVolumeSnapshot(GetVolumeSnapsho * * public static void stack(Context ctx) { * final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder() - * .nameRegex("^web") - * .region("nyc3") + * .nameRegex("^web") + * .region("nyc3") * .mostRecent(true) * .build()); * - * var foobar = new Volume("foobar", VolumeArgs.builder() - * .region("nyc3") + * var foobar = new Volume("foobar", VolumeArgs.builder() + * .region("nyc3") * .size(100) - * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) + * .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -> getVolumeSnapshotResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12409,18 +12942,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVolumeSnapshotPlain( * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12444,19 +12979,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -12478,7 +13014,8 @@ public static OutputgetVolumeSnapshotPlain( * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12500,18 +13037,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVpc() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12535,19 +13074,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -12569,7 +13109,8 @@ public static CompletableFuturegetVpc() { * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12591,18 +13132,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVpcPlain() { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12626,19 +13169,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -12660,7 +13204,8 @@ public static OutputgetVpcPlain() { * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12682,18 +13227,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVpc(GetVpcArgs args) { * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12717,19 +13264,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ @@ -12751,7 +13299,8 @@ public static CompletableFuturegetVpc(GetVpcArgs args) { * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12773,18 +13322,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVpcPlain(GetVpcPlainArgs args) * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12808,19 +13359,20 @@ public static CompletableFuture* <!--End PulumiCodeChooser --> * */ @@ -12842,7 +13394,8 @@ public static OutputgetVpcPlain(GetVpcPlainArgs args) * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12864,18 +13417,20 @@ public static Output* <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: * * <!--Start PulumiCodeChooser --> - * ```java + *getVpc(GetVpcArgs args, InvokeOptions options * * public static void stack(Context ctx) { * final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -12899,19 +13454,20 @@ public static Output* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java index 2402ebcf..ce04926d 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *getVpc(GetVpcArgs args, InvokeOptions options * * public static void stack(Context ctx) { * final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder() - * .name("example-network") + * .name("example-network") * .build()); * - * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() - * .size("s-1vcpu-1gb") - * .image("ubuntu-18-04-x64") - * .region("nyc3") - * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) + * var exampleDroplet = new Droplet("exampleDroplet", DropletArgs.builder() + * .size("s-1vcpu-1gb") + * .image("ubuntu-18-04-x64") + * .region("nyc3") + * .vpcUuid(exampleVpc.applyValue(getVpcResult -> getVpcResult.id())) * .build()); * * } * } - * ``` + * } + *
+ * {@code * package generated_program; * * import com.pulumi.Context; @@ -44,30 +45,31 @@ * } * * public static void stack(Context ctx) { - * var default_ = new Domain("default", DomainArgs.builder() - * .name("example.com") + * var default_ = new Domain("default", DomainArgs.builder() + * .name("example.com") * .build()); * * // Add an A record to the domain for www.example.com. - * var www = new DnsRecord("www", DnsRecordArgs.builder() + * var www = new DnsRecord("www", DnsRecordArgs.builder() * .domain(default_.id()) - * .type("A") - * .value("192.168.0.11") + * .type("A") + * .value("192.168.0.11") * .build()); * * // Add a MX record for the example.com domain itself. - * var mx = new DnsRecord("mx", DnsRecordArgs.builder() + * var mx = new DnsRecord("mx", DnsRecordArgs.builder() * .domain(default_.id()) - * .type("MX") + * .type("MX") * .priority(10) - * .value("mail.example.com.") + * .value("mail.example.com.") * .build()); * - * ctx.export("wwwFqdn", www.fqdn()); - * ctx.export("mxFqdn", mx.fqdn()); + * ctx.export("wwwFqdn", www.fqdn()); + * ctx.export("mxFqdn", mx.fqdn()); * } * } - * ``` + * } + ** <!--End PulumiCodeChooser --> * * ## Import @@ -126,14 +128,14 @@ public Output