diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 7092c7c..92e0c74 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.15.0 \ No newline at end of file +0.16.1 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index 60e9722..3b356de 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-wavefront/examples go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.130.0 +require github.com/pulumi/pulumi/pkg/v3 v3.133.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -122,8 +122,8 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.130.0 // indirect + github.com/pulumi/esc v0.10.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.133.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -137,7 +137,6 @@ require ( github.com/spf13/pflag v1.0.5 // 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 github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect diff --git a/examples/go.sum b/examples/go.sum index 1fc06cd..3cbb21d 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -340,12 +340,12 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= -github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= -github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= +github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= +github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= +github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= 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= @@ -390,8 +390,6 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT 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= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= diff --git a/provider/go.mod b/provider/go.mod index 2910e4c..3654da5 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,19 +1,18 @@ module github.com/pulumi/pulumi-wavefront/provider/v3 -go 1.22 +go 1.22.0 toolchain go1.22.7 require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 - github.com/pulumi/pulumi/sdk/v3 v3.130.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0 + github.com/pulumi/pulumi/sdk/v3 v3.133.0 github.com/vmware/terraform-provider-wavefront v0.0.0-20231110100500-cef74e6f1b23 ) require ( cloud.google.com/go v0.112.1 // indirect - cloud.google.com/go/compute v1.25.0 // indirect - cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/compute/metadata v0.3.0 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/kms v1.15.7 // indirect cloud.google.com/go/logging v1.9.0 // indirect @@ -84,7 +83,7 @@ require ( github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v5 v5.2.1 // indirect - github.com/golang/glog v1.2.0 // indirect + github.com/golang/glog v1.2.1 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/go-cmp v0.6.0 // indirect @@ -115,7 +114,7 @@ require ( github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.24.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-svchost v0.1.1 // indirect @@ -162,12 +161,12 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.9.1 // indirect + github.com/pulumi/esc v0.10.0 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.16.1 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.9.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.130.0 // indirect + github.com/pulumi/pulumi-yaml v1.10.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.133.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -188,7 +187,6 @@ require ( github.com/stretchr/testify v1.9.0 // indirect github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect - github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/ulikunitz/xz v0.5.10 // indirect @@ -214,7 +212,7 @@ require ( golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.18.0 // indirect golang.org/x/net v0.27.0 // indirect - golang.org/x/oauth2 v0.18.0 // indirect + golang.org/x/oauth2 v0.21.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.22.0 // indirect golang.org/x/term v0.22.0 // indirect @@ -225,10 +223,10 @@ require ( google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect 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.63.2 // indirect - google.golang.org/protobuf v1.34.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect + google.golang.org/grpc v1.66.2 // indirect + google.golang.org/protobuf v1.34.2 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect diff --git a/provider/go.sum b/provider/go.sum index b707b61..d5aa9a2 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -304,13 +304,12 @@ cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdi cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= cloud.google.com/go/compute v1.23.2/go.mod h1:JJ0atRC0J/oWYiiVBmsSsrRnh92DhZPG4hFDcR04Rns= cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= -cloud.google.com/go/compute v1.25.0 h1:H1/4SqSUhjPFE7L5ddzHOfY2bCAvjwNRZPNl6Ni5oYU= -cloud.google.com/go/compute v1.25.0/go.mod h1:GR7F0ZPZH8EhChlMo9FkLd7eUTwEymjqQagxzilIxIE= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= -cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= +cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= @@ -1437,8 +1436,8 @@ github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfU github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= -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/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= +github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1607,8 +1606,9 @@ github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHh github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= +github.com/hashicorp/go-plugin v1.6.1 h1:P7MR2UP6gNKGPp+y7EZw2kOiq4IR9WiqLvp0XOsVdwI= +github.com/hashicorp/go-plugin v1.6.1/go.mod h1:XPHFku2tFo3o3QKFgSYo+cghcUhw1NA1hZyMK0PWAw0= github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= @@ -1652,8 +1652,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.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-go v0.24.0 h1:2WpHhginCdVhFIrWHxDEg6RBn3YaWzR2o6qUeIEat2U= +github.com/hashicorp/terraform-plugin-go v0.24.0/go.mod h1:tUQ53lAsOyYSckFGEefGC5C8BAaO0ENqzFd3bQeuYQg= 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= @@ -1898,24 +1898,24 @@ github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3d github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= -github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= +github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= +github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+SobA= github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= -github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 h1:e7xfYAiXCE8LCwfKvbGeNAjdPmKwPM3kavEXECt3wvs= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0/go.mod h1:dIVp4qG+GsUwmpz40L7Z+PZnzHf3cQq1CAFwhz++ris= +github.com/pulumi/pulumi-java/pkg v0.16.1 h1:orHnDWFbpOERwaBLry9f+6nqPX7x0MsrIkaa5QDGAns= +github.com/pulumi/pulumi-java/pkg v0.16.1/go.mod h1:QH0DihZkWYle9XFc+LJ76m4hUo+fA3RdyaM90pqOaSM= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0 h1:E4YTsAI8oAF8cDj5XR1cbHUfINCc1IJxElriOZBdsxE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0/go.mod h1:DvueDDtOIbf7W1Or4oH0o7F990ozp/ROmlm/vgLoe+g= 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.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= -github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= -github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= -github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi-yaml v1.10.0 h1:djbgMJCxJBmYMr4kOpAXH5iauxGohYjEuTLfxD3NUUI= +github.com/pulumi/pulumi-yaml v1.10.0/go.mod h1://lTvwHpgJ+WBKeMGiLrd/jinc4dl3eWV5LZ3G8iCfE= +github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= +github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= 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= @@ -2006,8 +2006,6 @@ github.com/teekennedy/goldmark-markdown v0.3.0 h1:ik9/biVGCwGWFg8dQ3KVm2pQ/wiiG0 github.com/teekennedy/goldmark-markdown v0.3.0/go.mod h1:kMhDz8La77A9UHvJGsxejd0QUflN9sS+QXCqnhmxmNo= 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= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= @@ -2305,8 +2303,8 @@ golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQ golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= -golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= -golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= +golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= +golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2835,8 +2833,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405/go.mod h1:oT32Z4o8Zv2xPQTg0pbVaPr0MPOH6f14RgXt7zfIpwg= google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= -google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 h1:oqta3O3AnlWbmIE3bFnWbu4bRxZjfbWCp0cKSuZh01E= -google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7/go.mod h1:VQW3tUculP/D4B+xVCo+VgSq8As6wA9ZjHl//pmk+6s= +google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 h1:+rdxYoE3E5htTEWIe15GlN6IfvbURM//Jt0mmkmm6ZU= +google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117/go.mod h1:OimBR/bc1wPO9iV4NC2bpyjy3VnAwZh5EBPQdtaE5oo= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c= google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= @@ -2857,8 +2855,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 h1:8EeVk1VKMD+GD/neyEHGmz7pFblqPjHoi+PGQIlLx2s= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 h1:1GBuWVLM/KMVUv1t1En5Gs+gFZCNd360GGb4sSxtrhU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -2909,8 +2907,8 @@ google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSs google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= -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 v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo= +google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= 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= @@ -2932,8 +2930,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.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= -google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/go.mod b/sdk/go.mod index 8e5cd6e..b01377e 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.130.0 + github.com/pulumi/pulumi/sdk/v3 v3.133.0 ) require ( @@ -69,7 +69,6 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.2.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 github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index fa822a8..48fc7cf 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,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.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= 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= @@ -186,8 +186,6 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT 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= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= diff --git a/sdk/go/wavefront/getAlert.go b/sdk/go/wavefront/getAlert.go index 7d89638..d7a80ac 100644 --- a/sdk/go/wavefront/getAlert.go +++ b/sdk/go/wavefront/getAlert.go @@ -112,14 +112,20 @@ type LookupAlertResult struct { func LookupAlertOutput(ctx *pulumi.Context, args LookupAlertOutputArgs, opts ...pulumi.InvokeOption) LookupAlertResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAlertResult, error) { + ApplyT(func(v interface{}) (LookupAlertResultOutput, error) { args := v.(LookupAlertArgs) - r, err := LookupAlert(ctx, &args, opts...) - var s LookupAlertResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAlertResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getAlert:getAlert", args, &rv, "", opts...) + if err != nil { + return LookupAlertResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAlertResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAlertResultOutput), nil + } + return output, nil }).(LookupAlertResultOutput) } diff --git a/sdk/go/wavefront/getAlerts.go b/sdk/go/wavefront/getAlerts.go index dc50f5c..e4e5be5 100644 --- a/sdk/go/wavefront/getAlerts.go +++ b/sdk/go/wavefront/getAlerts.go @@ -70,14 +70,20 @@ type GetAlertsResult struct { func GetAlertsOutput(ctx *pulumi.Context, args GetAlertsOutputArgs, opts ...pulumi.InvokeOption) GetAlertsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAlertsResult, error) { + ApplyT(func(v interface{}) (GetAlertsResultOutput, error) { args := v.(GetAlertsArgs) - r, err := GetAlerts(ctx, &args, opts...) - var s GetAlertsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAlertsResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getAlerts:getAlerts", args, &rv, "", opts...) + if err != nil { + return GetAlertsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAlertsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAlertsResultOutput), nil + } + return output, nil }).(GetAlertsResultOutput) } diff --git a/sdk/go/wavefront/getDashboard.go b/sdk/go/wavefront/getDashboard.go index aff80dc..9a0b4fb 100644 --- a/sdk/go/wavefront/getDashboard.go +++ b/sdk/go/wavefront/getDashboard.go @@ -109,14 +109,20 @@ type LookupDashboardResult struct { func LookupDashboardOutput(ctx *pulumi.Context, args LookupDashboardOutputArgs, opts ...pulumi.InvokeOption) LookupDashboardResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupDashboardResult, error) { + ApplyT(func(v interface{}) (LookupDashboardResultOutput, error) { args := v.(LookupDashboardArgs) - r, err := LookupDashboard(ctx, &args, opts...) - var s LookupDashboardResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDashboardResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getDashboard:getDashboard", args, &rv, "", opts...) + if err != nil { + return LookupDashboardResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupDashboardResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupDashboardResultOutput), nil + } + return output, nil }).(LookupDashboardResultOutput) } diff --git a/sdk/go/wavefront/getDashboards.go b/sdk/go/wavefront/getDashboards.go index 18a800f..58f5345 100644 --- a/sdk/go/wavefront/getDashboards.go +++ b/sdk/go/wavefront/getDashboards.go @@ -70,14 +70,20 @@ type GetDashboardsResult struct { func GetDashboardsOutput(ctx *pulumi.Context, args GetDashboardsOutputArgs, opts ...pulumi.InvokeOption) GetDashboardsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDashboardsResult, error) { + ApplyT(func(v interface{}) (GetDashboardsResultOutput, error) { args := v.(GetDashboardsArgs) - r, err := GetDashboards(ctx, &args, opts...) - var s GetDashboardsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDashboardsResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getDashboards:getDashboards", args, &rv, "", opts...) + if err != nil { + return GetDashboardsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDashboardsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDashboardsResultOutput), nil + } + return output, nil }).(GetDashboardsResultOutput) } diff --git a/sdk/go/wavefront/getDefaultUserGroup.go b/sdk/go/wavefront/getDefaultUserGroup.go index 47189e7..4606758 100644 --- a/sdk/go/wavefront/getDefaultUserGroup.go +++ b/sdk/go/wavefront/getDefaultUserGroup.go @@ -57,13 +57,19 @@ type GetDefaultUserGroupResult struct { } func GetDefaultUserGroupOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDefaultUserGroupResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetDefaultUserGroupResult, error) { - r, err := GetDefaultUserGroup(ctx, opts...) - var s GetDefaultUserGroupResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetDefaultUserGroupResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDefaultUserGroupResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getDefaultUserGroup:getDefaultUserGroup", nil, &rv, "", opts...) + if err != nil { + return GetDefaultUserGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDefaultUserGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDefaultUserGroupResultOutput), nil + } + return output, nil }).(GetDefaultUserGroupResultOutput) } diff --git a/sdk/go/wavefront/getDerivedMetric.go b/sdk/go/wavefront/getDerivedMetric.go index b3a36a2..3435174 100644 --- a/sdk/go/wavefront/getDerivedMetric.go +++ b/sdk/go/wavefront/getDerivedMetric.go @@ -109,14 +109,20 @@ type LookupDerivedMetricResult struct { func LookupDerivedMetricOutput(ctx *pulumi.Context, args LookupDerivedMetricOutputArgs, opts ...pulumi.InvokeOption) LookupDerivedMetricResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupDerivedMetricResult, error) { + ApplyT(func(v interface{}) (LookupDerivedMetricResultOutput, error) { args := v.(LookupDerivedMetricArgs) - r, err := LookupDerivedMetric(ctx, &args, opts...) - var s LookupDerivedMetricResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDerivedMetricResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getDerivedMetric:getDerivedMetric", args, &rv, "", opts...) + if err != nil { + return LookupDerivedMetricResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupDerivedMetricResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupDerivedMetricResultOutput), nil + } + return output, nil }).(LookupDerivedMetricResultOutput) } diff --git a/sdk/go/wavefront/getDerivedMetrics.go b/sdk/go/wavefront/getDerivedMetrics.go index b041565..f9ab687 100644 --- a/sdk/go/wavefront/getDerivedMetrics.go +++ b/sdk/go/wavefront/getDerivedMetrics.go @@ -70,14 +70,20 @@ type GetDerivedMetricsResult struct { func GetDerivedMetricsOutput(ctx *pulumi.Context, args GetDerivedMetricsOutputArgs, opts ...pulumi.InvokeOption) GetDerivedMetricsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDerivedMetricsResult, error) { + ApplyT(func(v interface{}) (GetDerivedMetricsResultOutput, error) { args := v.(GetDerivedMetricsArgs) - r, err := GetDerivedMetrics(ctx, &args, opts...) - var s GetDerivedMetricsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDerivedMetricsResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getDerivedMetrics:getDerivedMetrics", args, &rv, "", opts...) + if err != nil { + return GetDerivedMetricsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDerivedMetricsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDerivedMetricsResultOutput), nil + } + return output, nil }).(GetDerivedMetricsResultOutput) } diff --git a/sdk/go/wavefront/getEvent.go b/sdk/go/wavefront/getEvent.go index 4873012..142720a 100644 --- a/sdk/go/wavefront/getEvent.go +++ b/sdk/go/wavefront/getEvent.go @@ -80,14 +80,20 @@ type LookupEventResult struct { func LookupEventOutput(ctx *pulumi.Context, args LookupEventOutputArgs, opts ...pulumi.InvokeOption) LookupEventResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupEventResult, error) { + ApplyT(func(v interface{}) (LookupEventResultOutput, error) { args := v.(LookupEventArgs) - r, err := LookupEvent(ctx, &args, opts...) - var s LookupEventResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupEventResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getEvent:getEvent", args, &rv, "", opts...) + if err != nil { + return LookupEventResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupEventResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupEventResultOutput), nil + } + return output, nil }).(LookupEventResultOutput) } diff --git a/sdk/go/wavefront/getEvents.go b/sdk/go/wavefront/getEvents.go index 608ce5e..0b17335 100644 --- a/sdk/go/wavefront/getEvents.go +++ b/sdk/go/wavefront/getEvents.go @@ -80,14 +80,20 @@ type GetEventsResult struct { func GetEventsOutput(ctx *pulumi.Context, args GetEventsOutputArgs, opts ...pulumi.InvokeOption) GetEventsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEventsResult, error) { + ApplyT(func(v interface{}) (GetEventsResultOutput, error) { args := v.(GetEventsArgs) - r, err := GetEvents(ctx, &args, opts...) - var s GetEventsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEventsResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getEvents:getEvents", args, &rv, "", opts...) + if err != nil { + return GetEventsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEventsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEventsResultOutput), nil + } + return output, nil }).(GetEventsResultOutput) } diff --git a/sdk/go/wavefront/getExternalLink.go b/sdk/go/wavefront/getExternalLink.go index dd78fb1..6e18bbf 100644 --- a/sdk/go/wavefront/getExternalLink.go +++ b/sdk/go/wavefront/getExternalLink.go @@ -88,14 +88,20 @@ type LookupExternalLinkResult struct { func LookupExternalLinkOutput(ctx *pulumi.Context, args LookupExternalLinkOutputArgs, opts ...pulumi.InvokeOption) LookupExternalLinkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupExternalLinkResult, error) { + ApplyT(func(v interface{}) (LookupExternalLinkResultOutput, error) { args := v.(LookupExternalLinkArgs) - r, err := LookupExternalLink(ctx, &args, opts...) - var s LookupExternalLinkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupExternalLinkResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getExternalLink:getExternalLink", args, &rv, "", opts...) + if err != nil { + return LookupExternalLinkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupExternalLinkResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupExternalLinkResultOutput), nil + } + return output, nil }).(LookupExternalLinkResultOutput) } diff --git a/sdk/go/wavefront/getExternalLinks.go b/sdk/go/wavefront/getExternalLinks.go index 1576d04..57f8402 100644 --- a/sdk/go/wavefront/getExternalLinks.go +++ b/sdk/go/wavefront/getExternalLinks.go @@ -70,14 +70,20 @@ type GetExternalLinksResult struct { func GetExternalLinksOutput(ctx *pulumi.Context, args GetExternalLinksOutputArgs, opts ...pulumi.InvokeOption) GetExternalLinksResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetExternalLinksResult, error) { + ApplyT(func(v interface{}) (GetExternalLinksResultOutput, error) { args := v.(GetExternalLinksArgs) - r, err := GetExternalLinks(ctx, &args, opts...) - var s GetExternalLinksResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetExternalLinksResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getExternalLinks:getExternalLinks", args, &rv, "", opts...) + if err != nil { + return GetExternalLinksResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetExternalLinksResultOutput) + if secret { + return pulumi.ToSecret(output).(GetExternalLinksResultOutput), nil + } + return output, nil }).(GetExternalLinksResultOutput) } diff --git a/sdk/go/wavefront/getMaintenanceWindow.go b/sdk/go/wavefront/getMaintenanceWindow.go index 5ecfac6..edd176f 100644 --- a/sdk/go/wavefront/getMaintenanceWindow.go +++ b/sdk/go/wavefront/getMaintenanceWindow.go @@ -105,14 +105,20 @@ type LookupMaintenanceWindowResult struct { func LookupMaintenanceWindowOutput(ctx *pulumi.Context, args LookupMaintenanceWindowOutputArgs, opts ...pulumi.InvokeOption) LookupMaintenanceWindowResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupMaintenanceWindowResult, error) { + ApplyT(func(v interface{}) (LookupMaintenanceWindowResultOutput, error) { args := v.(LookupMaintenanceWindowArgs) - r, err := LookupMaintenanceWindow(ctx, &args, opts...) - var s LookupMaintenanceWindowResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMaintenanceWindowResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getMaintenanceWindow:getMaintenanceWindow", args, &rv, "", opts...) + if err != nil { + return LookupMaintenanceWindowResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupMaintenanceWindowResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupMaintenanceWindowResultOutput), nil + } + return output, nil }).(LookupMaintenanceWindowResultOutput) } diff --git a/sdk/go/wavefront/getMaintenanceWindowAll.go b/sdk/go/wavefront/getMaintenanceWindowAll.go index d79b393..82637b2 100644 --- a/sdk/go/wavefront/getMaintenanceWindowAll.go +++ b/sdk/go/wavefront/getMaintenanceWindowAll.go @@ -38,14 +38,20 @@ type GetMaintenanceWindowAllResult struct { func GetMaintenanceWindowAllOutput(ctx *pulumi.Context, args GetMaintenanceWindowAllOutputArgs, opts ...pulumi.InvokeOption) GetMaintenanceWindowAllResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetMaintenanceWindowAllResult, error) { + ApplyT(func(v interface{}) (GetMaintenanceWindowAllResultOutput, error) { args := v.(GetMaintenanceWindowAllArgs) - r, err := GetMaintenanceWindowAll(ctx, &args, opts...) - var s GetMaintenanceWindowAllResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMaintenanceWindowAllResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getMaintenanceWindowAll:getMaintenanceWindowAll", args, &rv, "", opts...) + if err != nil { + return GetMaintenanceWindowAllResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetMaintenanceWindowAllResultOutput) + if secret { + return pulumi.ToSecret(output).(GetMaintenanceWindowAllResultOutput), nil + } + return output, nil }).(GetMaintenanceWindowAllResultOutput) } diff --git a/sdk/go/wavefront/getMetricsPolicy.go b/sdk/go/wavefront/getMetricsPolicy.go index 1571947..ae0985b 100644 --- a/sdk/go/wavefront/getMetricsPolicy.go +++ b/sdk/go/wavefront/getMetricsPolicy.go @@ -32,13 +32,19 @@ type LookupMetricsPolicyResult struct { } func LookupMetricsPolicyOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupMetricsPolicyResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (LookupMetricsPolicyResult, error) { - r, err := LookupMetricsPolicy(ctx, opts...) - var s LookupMetricsPolicyResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (LookupMetricsPolicyResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMetricsPolicyResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getMetricsPolicy:getMetricsPolicy", nil, &rv, "", opts...) + if err != nil { + return LookupMetricsPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupMetricsPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupMetricsPolicyResultOutput), nil + } + return output, nil }).(LookupMetricsPolicyResultOutput) } diff --git a/sdk/go/wavefront/getRole.go b/sdk/go/wavefront/getRole.go index c277a61..02379e8 100644 --- a/sdk/go/wavefront/getRole.go +++ b/sdk/go/wavefront/getRole.go @@ -69,14 +69,20 @@ type LookupRoleResult struct { func LookupRoleOutput(ctx *pulumi.Context, args LookupRoleOutputArgs, opts ...pulumi.InvokeOption) LookupRoleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupRoleResult, error) { + ApplyT(func(v interface{}) (LookupRoleResultOutput, error) { args := v.(LookupRoleArgs) - r, err := LookupRole(ctx, &args, opts...) - var s LookupRoleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRoleResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getRole:getRole", args, &rv, "", opts...) + if err != nil { + return LookupRoleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupRoleResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupRoleResultOutput), nil + } + return output, nil }).(LookupRoleResultOutput) } diff --git a/sdk/go/wavefront/getRoles.go b/sdk/go/wavefront/getRoles.go index 6dc36d7..fe14e46 100644 --- a/sdk/go/wavefront/getRoles.go +++ b/sdk/go/wavefront/getRoles.go @@ -70,14 +70,20 @@ type GetRolesResult struct { func GetRolesOutput(ctx *pulumi.Context, args GetRolesOutputArgs, opts ...pulumi.InvokeOption) GetRolesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetRolesResult, error) { + ApplyT(func(v interface{}) (GetRolesResultOutput, error) { args := v.(GetRolesArgs) - r, err := GetRoles(ctx, &args, opts...) - var s GetRolesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRolesResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getRoles:getRoles", args, &rv, "", opts...) + if err != nil { + return GetRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetRolesResultOutput), nil + } + return output, nil }).(GetRolesResultOutput) } diff --git a/sdk/go/wavefront/getUser.go b/sdk/go/wavefront/getUser.go index d9b52b7..8de5f65 100644 --- a/sdk/go/wavefront/getUser.go +++ b/sdk/go/wavefront/getUser.go @@ -72,14 +72,20 @@ type LookupUserResult struct { func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupUserResult, error) { + ApplyT(func(v interface{}) (LookupUserResultOutput, error) { args := v.(LookupUserArgs) - r, err := LookupUser(ctx, &args, opts...) - var s LookupUserResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupUserResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getUser:getUser", args, &rv, "", opts...) + if err != nil { + return LookupUserResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupUserResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupUserResultOutput), nil + } + return output, nil }).(LookupUserResultOutput) } diff --git a/sdk/go/wavefront/getUserGroup.go b/sdk/go/wavefront/getUserGroup.go index 60968b8..91addb4 100644 --- a/sdk/go/wavefront/getUserGroup.go +++ b/sdk/go/wavefront/getUserGroup.go @@ -71,14 +71,20 @@ type LookupUserGroupResult struct { func LookupUserGroupOutput(ctx *pulumi.Context, args LookupUserGroupOutputArgs, opts ...pulumi.InvokeOption) LookupUserGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupUserGroupResult, error) { + ApplyT(func(v interface{}) (LookupUserGroupResultOutput, error) { args := v.(LookupUserGroupArgs) - r, err := LookupUserGroup(ctx, &args, opts...) - var s LookupUserGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupUserGroupResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getUserGroup:getUserGroup", args, &rv, "", opts...) + if err != nil { + return LookupUserGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupUserGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupUserGroupResultOutput), nil + } + return output, nil }).(LookupUserGroupResultOutput) } diff --git a/sdk/go/wavefront/getUserGroups.go b/sdk/go/wavefront/getUserGroups.go index 1ccc390..97934c3 100644 --- a/sdk/go/wavefront/getUserGroups.go +++ b/sdk/go/wavefront/getUserGroups.go @@ -70,14 +70,20 @@ type GetUserGroupsResult struct { func GetUserGroupsOutput(ctx *pulumi.Context, args GetUserGroupsOutputArgs, opts ...pulumi.InvokeOption) GetUserGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetUserGroupsResult, error) { + ApplyT(func(v interface{}) (GetUserGroupsResultOutput, error) { args := v.(GetUserGroupsArgs) - r, err := GetUserGroups(ctx, &args, opts...) - var s GetUserGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUserGroupsResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getUserGroups:getUserGroups", args, &rv, "", opts...) + if err != nil { + return GetUserGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetUserGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetUserGroupsResultOutput), nil + } + return output, nil }).(GetUserGroupsResultOutput) } diff --git a/sdk/go/wavefront/getUsers.go b/sdk/go/wavefront/getUsers.go index 8b1f841..d4c7b0d 100644 --- a/sdk/go/wavefront/getUsers.go +++ b/sdk/go/wavefront/getUsers.go @@ -56,13 +56,19 @@ type GetUsersResult struct { } func GetUsersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetUsersResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetUsersResult, error) { - r, err := GetUsers(ctx, opts...) - var s GetUsersResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetUsersResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUsersResult + secret, err := ctx.InvokePackageRaw("wavefront:index/getUsers:getUsers", nil, &rv, "", opts...) + if err != nil { + return GetUsersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetUsersResultOutput) + if secret { + return pulumi.ToSecret(output).(GetUsersResultOutput), nil + } + return output, nil }).(GetUsersResultOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 1b31e75..48aa522 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.15.0") + implementation("com.pulumi:pulumi:0.16.1") } task sourcesJar(type: Jar) { diff --git a/sdk/nodejs/getAlert.ts b/sdk/nodejs/getAlert.ts index 38a2039..07c9949 100644 --- a/sdk/nodejs/getAlert.ts +++ b/sdk/nodejs/getAlert.ts @@ -22,7 +22,6 @@ import * as utilities from "./utilities"; * ``` */ export function getAlert(args: GetAlertArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getAlert:getAlert", { "id": args.id, @@ -162,7 +161,11 @@ export interface GetAlertResult { * ``` */ export function getAlertOutput(args: GetAlertOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlert(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getAlert:getAlert", { + "id": args.id, + "targets": args.targets, + }, opts); } /** diff --git a/sdk/nodejs/getAlerts.ts b/sdk/nodejs/getAlerts.ts index 63e72e8..01846de 100644 --- a/sdk/nodejs/getAlerts.ts +++ b/sdk/nodejs/getAlerts.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getAlerts(args?: GetAlertsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getAlerts:getAlerts", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetAlertsResult { * ``` */ export function getAlertsOutput(args?: GetAlertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlerts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getAlerts:getAlerts", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getDashboard.ts b/sdk/nodejs/getDashboard.ts index 605e29f..8f5650b 100644 --- a/sdk/nodejs/getDashboard.ts +++ b/sdk/nodejs/getDashboard.ts @@ -22,7 +22,6 @@ import * as utilities from "./utilities"; * ``` */ export function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDashboard:getDashboard", { "id": args.id, @@ -128,7 +127,10 @@ export interface GetDashboardResult { * ``` */ export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDashboard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getDashboard:getDashboard", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getDashboards.ts b/sdk/nodejs/getDashboards.ts index 473f784..6d0785f 100644 --- a/sdk/nodejs/getDashboards.ts +++ b/sdk/nodejs/getDashboards.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getDashboards(args?: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDashboards:getDashboards", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetDashboardsResult { * ``` */ export function getDashboardsOutput(args?: GetDashboardsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDashboards(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getDashboards:getDashboards", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getDefaultUserGroup.ts b/sdk/nodejs/getDefaultUserGroup.ts index 29ee200..ef5e0d5 100644 --- a/sdk/nodejs/getDefaultUserGroup.ts +++ b/sdk/nodejs/getDefaultUserGroup.ts @@ -18,7 +18,6 @@ import * as utilities from "./utilities"; * ``` */ export function getDefaultUserGroup(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDefaultUserGroup:getDefaultUserGroup", { }, opts); @@ -52,5 +51,7 @@ export interface GetDefaultUserGroupResult { * ``` */ export function getDefaultUserGroupOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getDefaultUserGroup(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getDefaultUserGroup:getDefaultUserGroup", { + }, opts); } diff --git a/sdk/nodejs/getDerivedMetric.ts b/sdk/nodejs/getDerivedMetric.ts index c82df05..891fad4 100644 --- a/sdk/nodejs/getDerivedMetric.ts +++ b/sdk/nodejs/getDerivedMetric.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getDerivedMetric(args: GetDerivedMetricArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDerivedMetric:getDerivedMetric", { "id": args.id, @@ -154,7 +153,10 @@ export interface GetDerivedMetricResult { * ``` */ export function getDerivedMetricOutput(args: GetDerivedMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDerivedMetric(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getDerivedMetric:getDerivedMetric", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getDerivedMetrics.ts b/sdk/nodejs/getDerivedMetrics.ts index c646530..c7fee4d 100644 --- a/sdk/nodejs/getDerivedMetrics.ts +++ b/sdk/nodejs/getDerivedMetrics.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getDerivedMetrics(args?: GetDerivedMetricsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDerivedMetrics:getDerivedMetrics", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetDerivedMetricsResult { * ``` */ export function getDerivedMetricsOutput(args?: GetDerivedMetricsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDerivedMetrics(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getDerivedMetrics:getDerivedMetrics", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getEvent.ts b/sdk/nodejs/getEvent.ts index b9dbc8d..fe5d769 100644 --- a/sdk/nodejs/getEvent.ts +++ b/sdk/nodejs/getEvent.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getEvent(args: GetEventArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getEvent:getEvent", { "id": args.id, @@ -95,7 +94,10 @@ export interface GetEventResult { * ``` */ export function getEventOutput(args: GetEventOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEvent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getEvent:getEvent", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getEvents.ts b/sdk/nodejs/getEvents.ts index de3a580..09474d6 100644 --- a/sdk/nodejs/getEvents.ts +++ b/sdk/nodejs/getEvents.ts @@ -25,7 +25,6 @@ import * as utilities from "./utilities"; * ``` */ export function getEvents(args: GetEventsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getEvents:getEvents", { "earliestStartTimeEpochMillis": args.earliestStartTimeEpochMillis, @@ -99,7 +98,13 @@ export interface GetEventsResult { * ``` */ export function getEventsOutput(args: GetEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEvents(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getEvents:getEvents", { + "earliestStartTimeEpochMillis": args.earliestStartTimeEpochMillis, + "latestStartTimeEpochMillis": args.latestStartTimeEpochMillis, + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getExternalLink.ts b/sdk/nodejs/getExternalLink.ts index 1a7720d..7656f5e 100644 --- a/sdk/nodejs/getExternalLink.ts +++ b/sdk/nodejs/getExternalLink.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getExternalLink(args: GetExternalLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getExternalLink:getExternalLink", { "id": args.id, @@ -109,7 +108,10 @@ export interface GetExternalLinkResult { * ``` */ export function getExternalLinkOutput(args: GetExternalLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExternalLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getExternalLink:getExternalLink", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getExternalLinks.ts b/sdk/nodejs/getExternalLinks.ts index 4a1ac4a..108f153 100644 --- a/sdk/nodejs/getExternalLinks.ts +++ b/sdk/nodejs/getExternalLinks.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getExternalLinks(args?: GetExternalLinksArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getExternalLinks:getExternalLinks", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetExternalLinksResult { * ``` */ export function getExternalLinksOutput(args?: GetExternalLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExternalLinks(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getExternalLinks:getExternalLinks", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getMaintenanceWindow.ts b/sdk/nodejs/getMaintenanceWindow.ts index f3b7d81..27c32ce 100644 --- a/sdk/nodejs/getMaintenanceWindow.ts +++ b/sdk/nodejs/getMaintenanceWindow.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getMaintenanceWindow:getMaintenanceWindow", { "id": args.id, @@ -136,7 +135,10 @@ export interface GetMaintenanceWindowResult { * ``` */ export function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMaintenanceWindow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getMaintenanceWindow:getMaintenanceWindow", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getMaintenanceWindowAll.ts b/sdk/nodejs/getMaintenanceWindowAll.ts index 95036d3..fbe0e3f 100644 --- a/sdk/nodejs/getMaintenanceWindowAll.ts +++ b/sdk/nodejs/getMaintenanceWindowAll.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getMaintenanceWindowAll(args?: GetMaintenanceWindowAllArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getMaintenanceWindowAll:getMaintenanceWindowAll", { "limit": args.limit, @@ -37,7 +36,12 @@ export interface GetMaintenanceWindowAllResult { readonly offset?: number; } export function getMaintenanceWindowAllOutput(args?: GetMaintenanceWindowAllOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMaintenanceWindowAll(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getMaintenanceWindowAll:getMaintenanceWindowAll", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getMetricsPolicy.ts b/sdk/nodejs/getMetricsPolicy.ts index 121e644..13a011e 100644 --- a/sdk/nodejs/getMetricsPolicy.ts +++ b/sdk/nodejs/getMetricsPolicy.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getMetricsPolicy(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getMetricsPolicy:getMetricsPolicy", { }, opts); @@ -27,5 +26,7 @@ export interface GetMetricsPolicyResult { readonly updaterId: string; } export function getMetricsPolicyOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getMetricsPolicy(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getMetricsPolicy:getMetricsPolicy", { + }, opts); } diff --git a/sdk/nodejs/getRole.ts b/sdk/nodejs/getRole.ts index 7b7e296..c3b6f67 100644 --- a/sdk/nodejs/getRole.ts +++ b/sdk/nodejs/getRole.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getRole:getRole", { "id": args.id, @@ -74,7 +73,10 @@ export interface GetRoleResult { * ``` */ export function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRole(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getRole:getRole", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getRoles.ts b/sdk/nodejs/getRoles.ts index dd711fe..65c5e3d 100644 --- a/sdk/nodejs/getRoles.ts +++ b/sdk/nodejs/getRoles.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getRoles:getRoles", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetRolesResult { * ``` */ export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getRoles:getRoles", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 1cf6312..067e8f0 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUser:getUser", { "email": args.email, @@ -79,7 +78,10 @@ export interface GetUserResult { * ``` */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUser(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getUser:getUser", { + "email": args.email, + }, opts); } /** diff --git a/sdk/nodejs/getUserGroup.ts b/sdk/nodejs/getUserGroup.ts index d8581dc..7f6024c 100644 --- a/sdk/nodejs/getUserGroup.ts +++ b/sdk/nodejs/getUserGroup.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getUserGroup(args: GetUserGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUserGroup:getUserGroup", { "id": args.id, @@ -78,7 +77,10 @@ export interface GetUserGroupResult { * ``` */ export function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getUserGroup:getUserGroup", { + "id": args.id, + }, opts); } /** diff --git a/sdk/nodejs/getUserGroups.ts b/sdk/nodejs/getUserGroups.ts index a99edbb..554eb83 100644 --- a/sdk/nodejs/getUserGroups.ts +++ b/sdk/nodejs/getUserGroups.ts @@ -24,7 +24,6 @@ import * as utilities from "./utilities"; */ export function getUserGroups(args?: GetUserGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUserGroups:getUserGroups", { "limit": args.limit, @@ -78,7 +77,12 @@ export interface GetUserGroupsResult { * ``` */ export function getUserGroupsOutput(args?: GetUserGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getUserGroups:getUserGroups", { + "limit": args.limit, + "offset": args.offset, + }, opts); } /** diff --git a/sdk/nodejs/getUsers.ts b/sdk/nodejs/getUsers.ts index 7eaef41..6b61e27 100644 --- a/sdk/nodejs/getUsers.ts +++ b/sdk/nodejs/getUsers.ts @@ -20,7 +20,6 @@ import * as utilities from "./utilities"; * ``` */ export function getUsers(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUsers:getUsers", { }, opts); @@ -53,5 +52,7 @@ export interface GetUsersResult { * ``` */ export function getUsersOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getUsers(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("wavefront:index/getUsers:getUsers", { + }, opts); }