diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 7092c7c4..92e0c743 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 4583b11c..104c061f 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -41,7 +41,6 @@ require ( github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect @@ -59,8 +58,8 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.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/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -71,7 +70,6 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.2 // 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 6b3b5594..c791d274 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -118,7 +118,6 @@ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxec github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= @@ -160,12 +159,12 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/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/providertest v0.0.15 h1:nvpEHVvcAkiq3NguPUutB+si3sjU2PmFqkV8yw9QFhQ= github.com/pulumi/providertest v0.0.15/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -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= @@ -208,8 +207,6 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= -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= @@ -277,7 +274,6 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/provider/go.mod b/provider/go.mod index 05bc8ee8..73018636 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,20 +1,19 @@ module github.com/pulumi/pulumi-meraki/provider -go 1.22 +go 1.22.0 toolchain go1.22.3 require ( github.com/cisco-open/terraform-provider-meraki v0.2.3-alpha - github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 - 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/pf v0.44.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0 + github.com/pulumi/pulumi/sdk/v3 v3.133.0 ) 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 @@ -85,7 +84,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-querystring v1.1.0 // indirect @@ -103,7 +102,7 @@ require ( github.com/hashicorp/go-getter v1.7.5 // indirect github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.6.0 // indirect + github.com/hashicorp/go-plugin v1.6.1 // indirect github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect @@ -115,9 +114,9 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect - github.com/hashicorp/terraform-plugin-framework v1.11.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.12.0 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.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-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect @@ -168,12 +167,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/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect @@ -193,7 +192,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 @@ -218,7 +216,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 @@ -227,12 +225,11 @@ require ( golang.org/x/tools v0.22.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/api v0.169.0 // indirect - google.golang.org/appengine v1.6.8 // indirect 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 97721480..2a7eacdc 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -70,10 +70,8 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -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.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/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= @@ -407,8 +405,8 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -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= @@ -544,8 +542,8 @@ github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVH github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= -github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= +github.com/hashicorp/go-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= @@ -573,12 +571,12 @@ github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+ github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/terraform-plugin-framework v1.11.0 h1:M7+9zBArexHFXDx/pKTxjE6n/2UCXY6b8FIq9ZYhwfE= -github.com/hashicorp/terraform-plugin-framework v1.11.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework v1.12.0 h1:7HKaueHPaikX5/7cbC1r9d1m12iYHY+FlNZEGxQ42CQ= +github.com/hashicorp/terraform-plugin-framework v1.12.0/go.mod h1:N/IOQ2uYjW60Jp39Cp3mw7I/OpC/GfZ0385R0YibmkE= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= -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= @@ -736,26 +734,26 @@ github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSg 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/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/pf v0.43.0 h1:g15WgVKJBhFtzhLqOky6R77QIU3x4KkunrLHDSkK6CM= -github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0/go.mod h1:xdU2rcUBjPX/alXMiywUK1GvN4goUHZxos8ZfT6sVXM= -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/pf v0.44.0 h1:132fy7aKhfT3AdftxHFsOIbrh+FqtosXH8+cVFHt0TE= +github.com/pulumi/pulumi-terraform-bridge/pf v0.44.0/go.mod h1:5O1yEvWEP37s12Pu++LWcDcccvQWn87GLHQ4gTvjYh8= +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= @@ -823,8 +821,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= @@ -1033,8 +1029,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -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= @@ -1160,7 +1156,6 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= @@ -1409,10 +1404,10 @@ google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 h1:ImUcDPHjTrAqNhlOkSocDLfG9rrNHH7w7uoKWPaWZ8s= google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7/go.mod h1:/3XmxOjePkvmKrHuBy4zNFw7IzxJXtAgdpXi8Ll990U= -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/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/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/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.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -1448,8 +1443,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -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= @@ -1466,8 +1461,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -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 8e98b695..8da01313 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-meraki/sdk go 1.21 -require github.com/pulumi/pulumi/sdk/v3 v3.130.0 +require github.com/pulumi/pulumi/sdk/v3 v3.133.0 require github.com/BurntSushi/toml v1.2.1 // indirect @@ -67,7 +67,6 @@ require ( github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // 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 06ce7f40..15266336 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= @@ -185,8 +185,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/meraki/administered/getIdentitiesMe.go b/sdk/go/meraki/administered/getIdentitiesMe.go index 907b8dfa..38f99e2f 100644 --- a/sdk/go/meraki/administered/getIdentitiesMe.go +++ b/sdk/go/meraki/administered/getIdentitiesMe.go @@ -53,13 +53,19 @@ type GetIdentitiesMeResult struct { } func GetIdentitiesMeOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIdentitiesMeResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIdentitiesMeResult, error) { - r, err := GetIdentitiesMe(ctx, opts...) - var s GetIdentitiesMeResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIdentitiesMeResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIdentitiesMeResult + secret, err := ctx.InvokePackageRaw("meraki:administered/getIdentitiesMe:getIdentitiesMe", nil, &rv, "", opts...) + if err != nil { + return GetIdentitiesMeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIdentitiesMeResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIdentitiesMeResultOutput), nil + } + return output, nil }).(GetIdentitiesMeResultOutput) } diff --git a/sdk/go/meraki/administered/getLicensingSubscriptionEntitlements.go b/sdk/go/meraki/administered/getLicensingSubscriptionEntitlements.go index b239b512..cf2ebc01 100644 --- a/sdk/go/meraki/administered/getLicensingSubscriptionEntitlements.go +++ b/sdk/go/meraki/administered/getLicensingSubscriptionEntitlements.go @@ -66,14 +66,20 @@ type GetLicensingSubscriptionEntitlementsResult struct { func GetLicensingSubscriptionEntitlementsOutput(ctx *pulumi.Context, args GetLicensingSubscriptionEntitlementsOutputArgs, opts ...pulumi.InvokeOption) GetLicensingSubscriptionEntitlementsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLicensingSubscriptionEntitlementsResult, error) { + ApplyT(func(v interface{}) (GetLicensingSubscriptionEntitlementsResultOutput, error) { args := v.(GetLicensingSubscriptionEntitlementsArgs) - r, err := GetLicensingSubscriptionEntitlements(ctx, &args, opts...) - var s GetLicensingSubscriptionEntitlementsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLicensingSubscriptionEntitlementsResult + secret, err := ctx.InvokePackageRaw("meraki:administered/getLicensingSubscriptionEntitlements:getLicensingSubscriptionEntitlements", args, &rv, "", opts...) + if err != nil { + return GetLicensingSubscriptionEntitlementsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLicensingSubscriptionEntitlementsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLicensingSubscriptionEntitlementsResultOutput), nil + } + return output, nil }).(GetLicensingSubscriptionEntitlementsResultOutput) } diff --git a/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptions.go b/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptions.go index 7a20ba93..ed39d7ca 100644 --- a/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptions.go +++ b/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptions.go @@ -117,14 +117,20 @@ type GetLicensingSubscriptionSubscriptionsResult struct { func GetLicensingSubscriptionSubscriptionsOutput(ctx *pulumi.Context, args GetLicensingSubscriptionSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetLicensingSubscriptionSubscriptionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLicensingSubscriptionSubscriptionsResult, error) { + ApplyT(func(v interface{}) (GetLicensingSubscriptionSubscriptionsResultOutput, error) { args := v.(GetLicensingSubscriptionSubscriptionsArgs) - r, err := GetLicensingSubscriptionSubscriptions(ctx, &args, opts...) - var s GetLicensingSubscriptionSubscriptionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLicensingSubscriptionSubscriptionsResult + secret, err := ctx.InvokePackageRaw("meraki:administered/getLicensingSubscriptionSubscriptions:getLicensingSubscriptionSubscriptions", args, &rv, "", opts...) + if err != nil { + return GetLicensingSubscriptionSubscriptionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLicensingSubscriptionSubscriptionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLicensingSubscriptionSubscriptionsResultOutput), nil + } + return output, nil }).(GetLicensingSubscriptionSubscriptionsResultOutput) } diff --git a/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.go b/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.go index 5d84dc93..9a5459f2 100644 --- a/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.go +++ b/sdk/go/meraki/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.go @@ -74,14 +74,20 @@ type GetLicensingSubscriptionSubscriptionsComplianceStatusesResult struct { func GetLicensingSubscriptionSubscriptionsComplianceStatusesOutput(ctx *pulumi.Context, args GetLicensingSubscriptionSubscriptionsComplianceStatusesOutputArgs, opts ...pulumi.InvokeOption) GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLicensingSubscriptionSubscriptionsComplianceStatusesResult, error) { + ApplyT(func(v interface{}) (GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput, error) { args := v.(GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs) - r, err := GetLicensingSubscriptionSubscriptionsComplianceStatuses(ctx, &args, opts...) - var s GetLicensingSubscriptionSubscriptionsComplianceStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLicensingSubscriptionSubscriptionsComplianceStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:administered/getLicensingSubscriptionSubscriptionsComplianceStatuses:getLicensingSubscriptionSubscriptionsComplianceStatuses", args, &rv, "", opts...) + if err != nil { + return GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput), nil + } + return output, nil }).(GetLicensingSubscriptionSubscriptionsComplianceStatusesResultOutput) } diff --git a/sdk/go/meraki/devices/getAppliancePerformance.go b/sdk/go/meraki/devices/getAppliancePerformance.go index 0a5b2ab6..838bf532 100644 --- a/sdk/go/meraki/devices/getAppliancePerformance.go +++ b/sdk/go/meraki/devices/getAppliancePerformance.go @@ -64,14 +64,20 @@ type GetAppliancePerformanceResult struct { func GetAppliancePerformanceOutput(ctx *pulumi.Context, args GetAppliancePerformanceOutputArgs, opts ...pulumi.InvokeOption) GetAppliancePerformanceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppliancePerformanceResult, error) { + ApplyT(func(v interface{}) (GetAppliancePerformanceResultOutput, error) { args := v.(GetAppliancePerformanceArgs) - r, err := GetAppliancePerformance(ctx, &args, opts...) - var s GetAppliancePerformanceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppliancePerformanceResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getAppliancePerformance:getAppliancePerformance", args, &rv, "", opts...) + if err != nil { + return GetAppliancePerformanceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppliancePerformanceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppliancePerformanceResultOutput), nil + } + return output, nil }).(GetAppliancePerformanceResultOutput) } diff --git a/sdk/go/meraki/devices/getApplianceRadioSettings.go b/sdk/go/meraki/devices/getApplianceRadioSettings.go index 43a96bdc..8f0daa76 100644 --- a/sdk/go/meraki/devices/getApplianceRadioSettings.go +++ b/sdk/go/meraki/devices/getApplianceRadioSettings.go @@ -64,14 +64,20 @@ type LookupApplianceRadioSettingsResult struct { func LookupApplianceRadioSettingsOutput(ctx *pulumi.Context, args LookupApplianceRadioSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceRadioSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceRadioSettingsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceRadioSettingsResultOutput, error) { args := v.(LookupApplianceRadioSettingsArgs) - r, err := LookupApplianceRadioSettings(ctx, &args, opts...) - var s LookupApplianceRadioSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceRadioSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getApplianceRadioSettings:getApplianceRadioSettings", args, &rv, "", opts...) + if err != nil { + return LookupApplianceRadioSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceRadioSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceRadioSettingsResultOutput), nil + } + return output, nil }).(LookupApplianceRadioSettingsResultOutput) } diff --git a/sdk/go/meraki/devices/getApplianceUplinksSettings.go b/sdk/go/meraki/devices/getApplianceUplinksSettings.go index 890d5ea3..75f00433 100644 --- a/sdk/go/meraki/devices/getApplianceUplinksSettings.go +++ b/sdk/go/meraki/devices/getApplianceUplinksSettings.go @@ -64,14 +64,20 @@ type LookupApplianceUplinksSettingsResult struct { func LookupApplianceUplinksSettingsOutput(ctx *pulumi.Context, args LookupApplianceUplinksSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceUplinksSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceUplinksSettingsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceUplinksSettingsResultOutput, error) { args := v.(LookupApplianceUplinksSettingsArgs) - r, err := LookupApplianceUplinksSettings(ctx, &args, opts...) - var s LookupApplianceUplinksSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceUplinksSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getApplianceUplinksSettings:getApplianceUplinksSettings", args, &rv, "", opts...) + if err != nil { + return LookupApplianceUplinksSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceUplinksSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceUplinksSettingsResultOutput), nil + } + return output, nil }).(LookupApplianceUplinksSettingsResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraAnalyticsLive.go b/sdk/go/meraki/devices/getCameraAnalyticsLive.go index 04792cac..53c9fc47 100644 --- a/sdk/go/meraki/devices/getCameraAnalyticsLive.go +++ b/sdk/go/meraki/devices/getCameraAnalyticsLive.go @@ -64,14 +64,20 @@ type GetCameraAnalyticsLiveResult struct { func GetCameraAnalyticsLiveOutput(ctx *pulumi.Context, args GetCameraAnalyticsLiveOutputArgs, opts ...pulumi.InvokeOption) GetCameraAnalyticsLiveResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraAnalyticsLiveResult, error) { + ApplyT(func(v interface{}) (GetCameraAnalyticsLiveResultOutput, error) { args := v.(GetCameraAnalyticsLiveArgs) - r, err := GetCameraAnalyticsLive(ctx, &args, opts...) - var s GetCameraAnalyticsLiveResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraAnalyticsLiveResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraAnalyticsLive:getCameraAnalyticsLive", args, &rv, "", opts...) + if err != nil { + return GetCameraAnalyticsLiveResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraAnalyticsLiveResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraAnalyticsLiveResultOutput), nil + } + return output, nil }).(GetCameraAnalyticsLiveResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraCustomAnalytics.go b/sdk/go/meraki/devices/getCameraCustomAnalytics.go index 00914d4b..e05ab450 100644 --- a/sdk/go/meraki/devices/getCameraCustomAnalytics.go +++ b/sdk/go/meraki/devices/getCameraCustomAnalytics.go @@ -64,14 +64,20 @@ type LookupCameraCustomAnalyticsResult struct { func LookupCameraCustomAnalyticsOutput(ctx *pulumi.Context, args LookupCameraCustomAnalyticsOutputArgs, opts ...pulumi.InvokeOption) LookupCameraCustomAnalyticsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraCustomAnalyticsResult, error) { + ApplyT(func(v interface{}) (LookupCameraCustomAnalyticsResultOutput, error) { args := v.(LookupCameraCustomAnalyticsArgs) - r, err := LookupCameraCustomAnalytics(ctx, &args, opts...) - var s LookupCameraCustomAnalyticsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraCustomAnalyticsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraCustomAnalytics:getCameraCustomAnalytics", args, &rv, "", opts...) + if err != nil { + return LookupCameraCustomAnalyticsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraCustomAnalyticsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraCustomAnalyticsResultOutput), nil + } + return output, nil }).(LookupCameraCustomAnalyticsResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraQualityAndRetention.go b/sdk/go/meraki/devices/getCameraQualityAndRetention.go index 3a446195..2dbc598d 100644 --- a/sdk/go/meraki/devices/getCameraQualityAndRetention.go +++ b/sdk/go/meraki/devices/getCameraQualityAndRetention.go @@ -64,14 +64,20 @@ type LookupCameraQualityAndRetentionResult struct { func LookupCameraQualityAndRetentionOutput(ctx *pulumi.Context, args LookupCameraQualityAndRetentionOutputArgs, opts ...pulumi.InvokeOption) LookupCameraQualityAndRetentionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraQualityAndRetentionResult, error) { + ApplyT(func(v interface{}) (LookupCameraQualityAndRetentionResultOutput, error) { args := v.(LookupCameraQualityAndRetentionArgs) - r, err := LookupCameraQualityAndRetention(ctx, &args, opts...) - var s LookupCameraQualityAndRetentionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraQualityAndRetentionResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraQualityAndRetention:getCameraQualityAndRetention", args, &rv, "", opts...) + if err != nil { + return LookupCameraQualityAndRetentionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraQualityAndRetentionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraQualityAndRetentionResultOutput), nil + } + return output, nil }).(LookupCameraQualityAndRetentionResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraSense.go b/sdk/go/meraki/devices/getCameraSense.go index 56b2667a..8027962c 100644 --- a/sdk/go/meraki/devices/getCameraSense.go +++ b/sdk/go/meraki/devices/getCameraSense.go @@ -64,14 +64,20 @@ type LookupCameraSenseResult struct { func LookupCameraSenseOutput(ctx *pulumi.Context, args LookupCameraSenseOutputArgs, opts ...pulumi.InvokeOption) LookupCameraSenseResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraSenseResult, error) { + ApplyT(func(v interface{}) (LookupCameraSenseResultOutput, error) { args := v.(LookupCameraSenseArgs) - r, err := LookupCameraSense(ctx, &args, opts...) - var s LookupCameraSenseResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraSenseResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraSense:getCameraSense", args, &rv, "", opts...) + if err != nil { + return LookupCameraSenseResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraSenseResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraSenseResultOutput), nil + } + return output, nil }).(LookupCameraSenseResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraVideoLink.go b/sdk/go/meraki/devices/getCameraVideoLink.go index 224500e3..b0db5c42 100644 --- a/sdk/go/meraki/devices/getCameraVideoLink.go +++ b/sdk/go/meraki/devices/getCameraVideoLink.go @@ -69,14 +69,20 @@ type GetCameraVideoLinkResult struct { func GetCameraVideoLinkOutput(ctx *pulumi.Context, args GetCameraVideoLinkOutputArgs, opts ...pulumi.InvokeOption) GetCameraVideoLinkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraVideoLinkResult, error) { + ApplyT(func(v interface{}) (GetCameraVideoLinkResultOutput, error) { args := v.(GetCameraVideoLinkArgs) - r, err := GetCameraVideoLink(ctx, &args, opts...) - var s GetCameraVideoLinkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraVideoLinkResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraVideoLink:getCameraVideoLink", args, &rv, "", opts...) + if err != nil { + return GetCameraVideoLinkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraVideoLinkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraVideoLinkResultOutput), nil + } + return output, nil }).(GetCameraVideoLinkResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraVideoSettings.go b/sdk/go/meraki/devices/getCameraVideoSettings.go index 3731c2db..ab98eaea 100644 --- a/sdk/go/meraki/devices/getCameraVideoSettings.go +++ b/sdk/go/meraki/devices/getCameraVideoSettings.go @@ -64,14 +64,20 @@ type LookupCameraVideoSettingsResult struct { func LookupCameraVideoSettingsOutput(ctx *pulumi.Context, args LookupCameraVideoSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupCameraVideoSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraVideoSettingsResult, error) { + ApplyT(func(v interface{}) (LookupCameraVideoSettingsResultOutput, error) { args := v.(LookupCameraVideoSettingsArgs) - r, err := LookupCameraVideoSettings(ctx, &args, opts...) - var s LookupCameraVideoSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraVideoSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraVideoSettings:getCameraVideoSettings", args, &rv, "", opts...) + if err != nil { + return LookupCameraVideoSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraVideoSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraVideoSettingsResultOutput), nil + } + return output, nil }).(LookupCameraVideoSettingsResultOutput) } diff --git a/sdk/go/meraki/devices/getCameraWirelessProfiles.go b/sdk/go/meraki/devices/getCameraWirelessProfiles.go index 6484d7fc..ae2c5c38 100644 --- a/sdk/go/meraki/devices/getCameraWirelessProfiles.go +++ b/sdk/go/meraki/devices/getCameraWirelessProfiles.go @@ -64,14 +64,20 @@ type LookupCameraWirelessProfilesResult struct { func LookupCameraWirelessProfilesOutput(ctx *pulumi.Context, args LookupCameraWirelessProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupCameraWirelessProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraWirelessProfilesResult, error) { + ApplyT(func(v interface{}) (LookupCameraWirelessProfilesResultOutput, error) { args := v.(LookupCameraWirelessProfilesArgs) - r, err := LookupCameraWirelessProfiles(ctx, &args, opts...) - var s LookupCameraWirelessProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraWirelessProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCameraWirelessProfiles:getCameraWirelessProfiles", args, &rv, "", opts...) + if err != nil { + return LookupCameraWirelessProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraWirelessProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraWirelessProfilesResultOutput), nil + } + return output, nil }).(LookupCameraWirelessProfilesResultOutput) } diff --git a/sdk/go/meraki/devices/getCellularGatewayLan.go b/sdk/go/meraki/devices/getCellularGatewayLan.go index 64a910d0..cf74f7cf 100644 --- a/sdk/go/meraki/devices/getCellularGatewayLan.go +++ b/sdk/go/meraki/devices/getCellularGatewayLan.go @@ -64,14 +64,20 @@ type LookupCellularGatewayLanResult struct { func LookupCellularGatewayLanOutput(ctx *pulumi.Context, args LookupCellularGatewayLanOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewayLanResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewayLanResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewayLanResultOutput, error) { args := v.(LookupCellularGatewayLanArgs) - r, err := LookupCellularGatewayLan(ctx, &args, opts...) - var s LookupCellularGatewayLanResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewayLanResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCellularGatewayLan:getCellularGatewayLan", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewayLanResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewayLanResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewayLanResultOutput), nil + } + return output, nil }).(LookupCellularGatewayLanResultOutput) } diff --git a/sdk/go/meraki/devices/getCellularGatewayPortForwardingRules.go b/sdk/go/meraki/devices/getCellularGatewayPortForwardingRules.go index 172f08ff..0de0fb93 100644 --- a/sdk/go/meraki/devices/getCellularGatewayPortForwardingRules.go +++ b/sdk/go/meraki/devices/getCellularGatewayPortForwardingRules.go @@ -64,14 +64,20 @@ type LookupCellularGatewayPortForwardingRulesResult struct { func LookupCellularGatewayPortForwardingRulesOutput(ctx *pulumi.Context, args LookupCellularGatewayPortForwardingRulesOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewayPortForwardingRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewayPortForwardingRulesResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewayPortForwardingRulesResultOutput, error) { args := v.(LookupCellularGatewayPortForwardingRulesArgs) - r, err := LookupCellularGatewayPortForwardingRules(ctx, &args, opts...) - var s LookupCellularGatewayPortForwardingRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewayPortForwardingRulesResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCellularGatewayPortForwardingRules:getCellularGatewayPortForwardingRules", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewayPortForwardingRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewayPortForwardingRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewayPortForwardingRulesResultOutput), nil + } + return output, nil }).(LookupCellularGatewayPortForwardingRulesResultOutput) } diff --git a/sdk/go/meraki/devices/getCellularSims.go b/sdk/go/meraki/devices/getCellularSims.go index 9410d146..bb49ac1c 100644 --- a/sdk/go/meraki/devices/getCellularSims.go +++ b/sdk/go/meraki/devices/getCellularSims.go @@ -64,14 +64,20 @@ type LookupCellularSimsResult struct { func LookupCellularSimsOutput(ctx *pulumi.Context, args LookupCellularSimsOutputArgs, opts ...pulumi.InvokeOption) LookupCellularSimsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularSimsResult, error) { + ApplyT(func(v interface{}) (LookupCellularSimsResultOutput, error) { args := v.(LookupCellularSimsArgs) - r, err := LookupCellularSims(ctx, &args, opts...) - var s LookupCellularSimsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularSimsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getCellularSims:getCellularSims", args, &rv, "", opts...) + if err != nil { + return LookupCellularSimsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularSimsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularSimsResultOutput), nil + } + return output, nil }).(LookupCellularSimsResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsArpTable.go b/sdk/go/meraki/devices/getLiveToolsArpTable.go index f8f93ff5..f2d0831e 100644 --- a/sdk/go/meraki/devices/getLiveToolsArpTable.go +++ b/sdk/go/meraki/devices/getLiveToolsArpTable.go @@ -69,14 +69,20 @@ type LookupLiveToolsArpTableResult struct { func LookupLiveToolsArpTableOutput(ctx *pulumi.Context, args LookupLiveToolsArpTableOutputArgs, opts ...pulumi.InvokeOption) LookupLiveToolsArpTableResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLiveToolsArpTableResult, error) { + ApplyT(func(v interface{}) (LookupLiveToolsArpTableResultOutput, error) { args := v.(LookupLiveToolsArpTableArgs) - r, err := LookupLiveToolsArpTable(ctx, &args, opts...) - var s LookupLiveToolsArpTableResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLiveToolsArpTableResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsArpTable:getLiveToolsArpTable", args, &rv, "", opts...) + if err != nil { + return LookupLiveToolsArpTableResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLiveToolsArpTableResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLiveToolsArpTableResultOutput), nil + } + return output, nil }).(LookupLiveToolsArpTableResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsCableTest.go b/sdk/go/meraki/devices/getLiveToolsCableTest.go index 125edea1..50880098 100644 --- a/sdk/go/meraki/devices/getLiveToolsCableTest.go +++ b/sdk/go/meraki/devices/getLiveToolsCableTest.go @@ -67,14 +67,20 @@ type GetLiveToolsCableTestResult struct { func GetLiveToolsCableTestOutput(ctx *pulumi.Context, args GetLiveToolsCableTestOutputArgs, opts ...pulumi.InvokeOption) GetLiveToolsCableTestResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLiveToolsCableTestResult, error) { + ApplyT(func(v interface{}) (GetLiveToolsCableTestResultOutput, error) { args := v.(GetLiveToolsCableTestArgs) - r, err := GetLiveToolsCableTest(ctx, &args, opts...) - var s GetLiveToolsCableTestResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLiveToolsCableTestResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsCableTest:getLiveToolsCableTest", args, &rv, "", opts...) + if err != nil { + return GetLiveToolsCableTestResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLiveToolsCableTestResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLiveToolsCableTestResultOutput), nil + } + return output, nil }).(GetLiveToolsCableTestResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsPing.go b/sdk/go/meraki/devices/getLiveToolsPing.go index 609ff4d4..1b0e3e05 100644 --- a/sdk/go/meraki/devices/getLiveToolsPing.go +++ b/sdk/go/meraki/devices/getLiveToolsPing.go @@ -67,14 +67,20 @@ type LookupLiveToolsPingResult struct { func LookupLiveToolsPingOutput(ctx *pulumi.Context, args LookupLiveToolsPingOutputArgs, opts ...pulumi.InvokeOption) LookupLiveToolsPingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLiveToolsPingResult, error) { + ApplyT(func(v interface{}) (LookupLiveToolsPingResultOutput, error) { args := v.(LookupLiveToolsPingArgs) - r, err := LookupLiveToolsPing(ctx, &args, opts...) - var s LookupLiveToolsPingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLiveToolsPingResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsPing:getLiveToolsPing", args, &rv, "", opts...) + if err != nil { + return LookupLiveToolsPingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLiveToolsPingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLiveToolsPingResultOutput), nil + } + return output, nil }).(LookupLiveToolsPingResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsPingDevice.go b/sdk/go/meraki/devices/getLiveToolsPingDevice.go index e93d01b8..b9ca9e9e 100644 --- a/sdk/go/meraki/devices/getLiveToolsPingDevice.go +++ b/sdk/go/meraki/devices/getLiveToolsPingDevice.go @@ -67,14 +67,20 @@ type LookupLiveToolsPingDeviceResult struct { func LookupLiveToolsPingDeviceOutput(ctx *pulumi.Context, args LookupLiveToolsPingDeviceOutputArgs, opts ...pulumi.InvokeOption) LookupLiveToolsPingDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLiveToolsPingDeviceResult, error) { + ApplyT(func(v interface{}) (LookupLiveToolsPingDeviceResultOutput, error) { args := v.(LookupLiveToolsPingDeviceArgs) - r, err := LookupLiveToolsPingDevice(ctx, &args, opts...) - var s LookupLiveToolsPingDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLiveToolsPingDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsPingDevice:getLiveToolsPingDevice", args, &rv, "", opts...) + if err != nil { + return LookupLiveToolsPingDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLiveToolsPingDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLiveToolsPingDeviceResultOutput), nil + } + return output, nil }).(LookupLiveToolsPingDeviceResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsThroughputTest.go b/sdk/go/meraki/devices/getLiveToolsThroughputTest.go index 4f174401..8e82ecdd 100644 --- a/sdk/go/meraki/devices/getLiveToolsThroughputTest.go +++ b/sdk/go/meraki/devices/getLiveToolsThroughputTest.go @@ -69,14 +69,20 @@ type LookupLiveToolsThroughputTestResult struct { func LookupLiveToolsThroughputTestOutput(ctx *pulumi.Context, args LookupLiveToolsThroughputTestOutputArgs, opts ...pulumi.InvokeOption) LookupLiveToolsThroughputTestResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLiveToolsThroughputTestResult, error) { + ApplyT(func(v interface{}) (LookupLiveToolsThroughputTestResultOutput, error) { args := v.(LookupLiveToolsThroughputTestArgs) - r, err := LookupLiveToolsThroughputTest(ctx, &args, opts...) - var s LookupLiveToolsThroughputTestResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLiveToolsThroughputTestResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsThroughputTest:getLiveToolsThroughputTest", args, &rv, "", opts...) + if err != nil { + return LookupLiveToolsThroughputTestResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLiveToolsThroughputTestResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLiveToolsThroughputTestResultOutput), nil + } + return output, nil }).(LookupLiveToolsThroughputTestResultOutput) } diff --git a/sdk/go/meraki/devices/getLiveToolsWakeOnLan.go b/sdk/go/meraki/devices/getLiveToolsWakeOnLan.go index 096b827d..e5cc0d0b 100644 --- a/sdk/go/meraki/devices/getLiveToolsWakeOnLan.go +++ b/sdk/go/meraki/devices/getLiveToolsWakeOnLan.go @@ -69,14 +69,20 @@ type LookupLiveToolsWakeOnLanResult struct { func LookupLiveToolsWakeOnLanOutput(ctx *pulumi.Context, args LookupLiveToolsWakeOnLanOutputArgs, opts ...pulumi.InvokeOption) LookupLiveToolsWakeOnLanResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLiveToolsWakeOnLanResult, error) { + ApplyT(func(v interface{}) (LookupLiveToolsWakeOnLanResultOutput, error) { args := v.(LookupLiveToolsWakeOnLanArgs) - r, err := LookupLiveToolsWakeOnLan(ctx, &args, opts...) - var s LookupLiveToolsWakeOnLanResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLiveToolsWakeOnLanResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLiveToolsWakeOnLan:getLiveToolsWakeOnLan", args, &rv, "", opts...) + if err != nil { + return LookupLiveToolsWakeOnLanResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLiveToolsWakeOnLanResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLiveToolsWakeOnLanResultOutput), nil + } + return output, nil }).(LookupLiveToolsWakeOnLanResultOutput) } diff --git a/sdk/go/meraki/devices/getLldpCdp.go b/sdk/go/meraki/devices/getLldpCdp.go index 24cb3948..25704d94 100644 --- a/sdk/go/meraki/devices/getLldpCdp.go +++ b/sdk/go/meraki/devices/getLldpCdp.go @@ -64,14 +64,20 @@ type GetLldpCdpResult struct { func GetLldpCdpOutput(ctx *pulumi.Context, args GetLldpCdpOutputArgs, opts ...pulumi.InvokeOption) GetLldpCdpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLldpCdpResult, error) { + ApplyT(func(v interface{}) (GetLldpCdpResultOutput, error) { args := v.(GetLldpCdpArgs) - r, err := GetLldpCdp(ctx, &args, opts...) - var s GetLldpCdpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLldpCdpResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getLldpCdp:getLldpCdp", args, &rv, "", opts...) + if err != nil { + return GetLldpCdpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLldpCdpResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLldpCdpResultOutput), nil + } + return output, nil }).(GetLldpCdpResultOutput) } diff --git a/sdk/go/meraki/devices/getManagementInterface.go b/sdk/go/meraki/devices/getManagementInterface.go index 21b9c5d1..431d1e91 100644 --- a/sdk/go/meraki/devices/getManagementInterface.go +++ b/sdk/go/meraki/devices/getManagementInterface.go @@ -64,14 +64,20 @@ type LookupManagementInterfaceResult struct { func LookupManagementInterfaceOutput(ctx *pulumi.Context, args LookupManagementInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupManagementInterfaceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupManagementInterfaceResult, error) { + ApplyT(func(v interface{}) (LookupManagementInterfaceResultOutput, error) { args := v.(LookupManagementInterfaceArgs) - r, err := LookupManagementInterface(ctx, &args, opts...) - var s LookupManagementInterfaceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupManagementInterfaceResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getManagementInterface:getManagementInterface", args, &rv, "", opts...) + if err != nil { + return LookupManagementInterfaceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupManagementInterfaceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupManagementInterfaceResultOutput), nil + } + return output, nil }).(LookupManagementInterfaceResultOutput) } diff --git a/sdk/go/meraki/devices/getSensorRelationships.go b/sdk/go/meraki/devices/getSensorRelationships.go index 0df8c587..73975147 100644 --- a/sdk/go/meraki/devices/getSensorRelationships.go +++ b/sdk/go/meraki/devices/getSensorRelationships.go @@ -64,14 +64,20 @@ type LookupSensorRelationshipsResult struct { func LookupSensorRelationshipsOutput(ctx *pulumi.Context, args LookupSensorRelationshipsOutputArgs, opts ...pulumi.InvokeOption) LookupSensorRelationshipsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSensorRelationshipsResult, error) { + ApplyT(func(v interface{}) (LookupSensorRelationshipsResultOutput, error) { args := v.(LookupSensorRelationshipsArgs) - r, err := LookupSensorRelationships(ctx, &args, opts...) - var s LookupSensorRelationshipsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSensorRelationshipsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSensorRelationships:getSensorRelationships", args, &rv, "", opts...) + if err != nil { + return LookupSensorRelationshipsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSensorRelationshipsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSensorRelationshipsResultOutput), nil + } + return output, nil }).(LookupSensorRelationshipsResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchPorts.go b/sdk/go/meraki/devices/getSwitchPorts.go index 8815df80..99805919 100644 --- a/sdk/go/meraki/devices/getSwitchPorts.go +++ b/sdk/go/meraki/devices/getSwitchPorts.go @@ -45,14 +45,20 @@ type LookupSwitchPortsResult struct { func LookupSwitchPortsOutput(ctx *pulumi.Context, args LookupSwitchPortsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchPortsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchPortsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchPortsResultOutput, error) { args := v.(LookupSwitchPortsArgs) - r, err := LookupSwitchPorts(ctx, &args, opts...) - var s LookupSwitchPortsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchPortsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchPorts:getSwitchPorts", args, &rv, "", opts...) + if err != nil { + return LookupSwitchPortsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchPortsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchPortsResultOutput), nil + } + return output, nil }).(LookupSwitchPortsResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchPortsStatuses.go b/sdk/go/meraki/devices/getSwitchPortsStatuses.go index bacf72b0..c3d44316 100644 --- a/sdk/go/meraki/devices/getSwitchPortsStatuses.go +++ b/sdk/go/meraki/devices/getSwitchPortsStatuses.go @@ -75,14 +75,20 @@ type GetSwitchPortsStatusesResult struct { func GetSwitchPortsStatusesOutput(ctx *pulumi.Context, args GetSwitchPortsStatusesOutputArgs, opts ...pulumi.InvokeOption) GetSwitchPortsStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSwitchPortsStatusesResult, error) { + ApplyT(func(v interface{}) (GetSwitchPortsStatusesResultOutput, error) { args := v.(GetSwitchPortsStatusesArgs) - r, err := GetSwitchPortsStatuses(ctx, &args, opts...) - var s GetSwitchPortsStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSwitchPortsStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchPortsStatuses:getSwitchPortsStatuses", args, &rv, "", opts...) + if err != nil { + return GetSwitchPortsStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSwitchPortsStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSwitchPortsStatusesResultOutput), nil + } + return output, nil }).(GetSwitchPortsStatusesResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchRoutingInterfaces.go b/sdk/go/meraki/devices/getSwitchRoutingInterfaces.go index 650d56cf..723b49da 100644 --- a/sdk/go/meraki/devices/getSwitchRoutingInterfaces.go +++ b/sdk/go/meraki/devices/getSwitchRoutingInterfaces.go @@ -45,14 +45,20 @@ type LookupSwitchRoutingInterfacesResult struct { func LookupSwitchRoutingInterfacesOutput(ctx *pulumi.Context, args LookupSwitchRoutingInterfacesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingInterfacesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingInterfacesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingInterfacesResultOutput, error) { args := v.(LookupSwitchRoutingInterfacesArgs) - r, err := LookupSwitchRoutingInterfaces(ctx, &args, opts...) - var s LookupSwitchRoutingInterfacesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingInterfacesResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchRoutingInterfaces:getSwitchRoutingInterfaces", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingInterfacesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingInterfacesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingInterfacesResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingInterfacesResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchRoutingInterfacesDhcp.go b/sdk/go/meraki/devices/getSwitchRoutingInterfacesDhcp.go index 0e085c81..00875586 100644 --- a/sdk/go/meraki/devices/getSwitchRoutingInterfacesDhcp.go +++ b/sdk/go/meraki/devices/getSwitchRoutingInterfacesDhcp.go @@ -69,14 +69,20 @@ type LookupSwitchRoutingInterfacesDhcpResult struct { func LookupSwitchRoutingInterfacesDhcpOutput(ctx *pulumi.Context, args LookupSwitchRoutingInterfacesDhcpOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingInterfacesDhcpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingInterfacesDhcpResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingInterfacesDhcpResultOutput, error) { args := v.(LookupSwitchRoutingInterfacesDhcpArgs) - r, err := LookupSwitchRoutingInterfacesDhcp(ctx, &args, opts...) - var s LookupSwitchRoutingInterfacesDhcpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingInterfacesDhcpResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchRoutingInterfacesDhcp:getSwitchRoutingInterfacesDhcp", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingInterfacesDhcpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingInterfacesDhcpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingInterfacesDhcpResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingInterfacesDhcpResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchRoutingStaticRoutes.go b/sdk/go/meraki/devices/getSwitchRoutingStaticRoutes.go index 191ac865..aaad10fd 100644 --- a/sdk/go/meraki/devices/getSwitchRoutingStaticRoutes.go +++ b/sdk/go/meraki/devices/getSwitchRoutingStaticRoutes.go @@ -45,14 +45,20 @@ type LookupSwitchRoutingStaticRoutesResult struct { func LookupSwitchRoutingStaticRoutesOutput(ctx *pulumi.Context, args LookupSwitchRoutingStaticRoutesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingStaticRoutesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingStaticRoutesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingStaticRoutesResultOutput, error) { args := v.(LookupSwitchRoutingStaticRoutesArgs) - r, err := LookupSwitchRoutingStaticRoutes(ctx, &args, opts...) - var s LookupSwitchRoutingStaticRoutesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingStaticRoutesResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingStaticRoutesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingStaticRoutesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingStaticRoutesResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingStaticRoutesResultOutput) } diff --git a/sdk/go/meraki/devices/getSwitchWarmSpare.go b/sdk/go/meraki/devices/getSwitchWarmSpare.go index d610e5c9..a42fd7fc 100644 --- a/sdk/go/meraki/devices/getSwitchWarmSpare.go +++ b/sdk/go/meraki/devices/getSwitchWarmSpare.go @@ -64,14 +64,20 @@ type LookupSwitchWarmSpareResult struct { func LookupSwitchWarmSpareOutput(ctx *pulumi.Context, args LookupSwitchWarmSpareOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchWarmSpareResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchWarmSpareResult, error) { + ApplyT(func(v interface{}) (LookupSwitchWarmSpareResultOutput, error) { args := v.(LookupSwitchWarmSpareArgs) - r, err := LookupSwitchWarmSpare(ctx, &args, opts...) - var s LookupSwitchWarmSpareResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchWarmSpareResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getSwitchWarmSpare:getSwitchWarmSpare", args, &rv, "", opts...) + if err != nil { + return LookupSwitchWarmSpareResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchWarmSpareResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchWarmSpareResultOutput), nil + } + return output, nil }).(LookupSwitchWarmSpareResultOutput) } diff --git a/sdk/go/meraki/devices/getWirelessBluetoothSettings.go b/sdk/go/meraki/devices/getWirelessBluetoothSettings.go index f45425d8..8d632b06 100644 --- a/sdk/go/meraki/devices/getWirelessBluetoothSettings.go +++ b/sdk/go/meraki/devices/getWirelessBluetoothSettings.go @@ -64,14 +64,20 @@ type LookupWirelessBluetoothSettingsResult struct { func LookupWirelessBluetoothSettingsOutput(ctx *pulumi.Context, args LookupWirelessBluetoothSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessBluetoothSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessBluetoothSettingsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessBluetoothSettingsResultOutput, error) { args := v.(LookupWirelessBluetoothSettingsArgs) - r, err := LookupWirelessBluetoothSettings(ctx, &args, opts...) - var s LookupWirelessBluetoothSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessBluetoothSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getWirelessBluetoothSettings:getWirelessBluetoothSettings", args, &rv, "", opts...) + if err != nil { + return LookupWirelessBluetoothSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessBluetoothSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessBluetoothSettingsResultOutput), nil + } + return output, nil }).(LookupWirelessBluetoothSettingsResultOutput) } diff --git a/sdk/go/meraki/devices/getWirelessConnectionStats.go b/sdk/go/meraki/devices/getWirelessConnectionStats.go index 2ba924c3..3b0cbe69 100644 --- a/sdk/go/meraki/devices/getWirelessConnectionStats.go +++ b/sdk/go/meraki/devices/getWirelessConnectionStats.go @@ -99,14 +99,20 @@ type GetWirelessConnectionStatsResult struct { func GetWirelessConnectionStatsOutput(ctx *pulumi.Context, args GetWirelessConnectionStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessConnectionStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessConnectionStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessConnectionStatsResultOutput, error) { args := v.(GetWirelessConnectionStatsArgs) - r, err := GetWirelessConnectionStats(ctx, &args, opts...) - var s GetWirelessConnectionStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessConnectionStatsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getWirelessConnectionStats:getWirelessConnectionStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessConnectionStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessConnectionStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessConnectionStatsResultOutput), nil + } + return output, nil }).(GetWirelessConnectionStatsResultOutput) } diff --git a/sdk/go/meraki/devices/getWirelessLatencyStats.go b/sdk/go/meraki/devices/getWirelessLatencyStats.go index fd2f8715..01a1d02a 100644 --- a/sdk/go/meraki/devices/getWirelessLatencyStats.go +++ b/sdk/go/meraki/devices/getWirelessLatencyStats.go @@ -104,14 +104,20 @@ type GetWirelessLatencyStatsResult struct { func GetWirelessLatencyStatsOutput(ctx *pulumi.Context, args GetWirelessLatencyStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessLatencyStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessLatencyStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessLatencyStatsResultOutput, error) { args := v.(GetWirelessLatencyStatsArgs) - r, err := GetWirelessLatencyStats(ctx, &args, opts...) - var s GetWirelessLatencyStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessLatencyStatsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getWirelessLatencyStats:getWirelessLatencyStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessLatencyStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessLatencyStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessLatencyStatsResultOutput), nil + } + return output, nil }).(GetWirelessLatencyStatsResultOutput) } diff --git a/sdk/go/meraki/devices/getWirelessRadioSettings.go b/sdk/go/meraki/devices/getWirelessRadioSettings.go index 01e379ff..45ee8777 100644 --- a/sdk/go/meraki/devices/getWirelessRadioSettings.go +++ b/sdk/go/meraki/devices/getWirelessRadioSettings.go @@ -64,14 +64,20 @@ type LookupWirelessRadioSettingsResult struct { func LookupWirelessRadioSettingsOutput(ctx *pulumi.Context, args LookupWirelessRadioSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessRadioSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessRadioSettingsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessRadioSettingsResultOutput, error) { args := v.(LookupWirelessRadioSettingsArgs) - r, err := LookupWirelessRadioSettings(ctx, &args, opts...) - var s LookupWirelessRadioSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessRadioSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getWirelessRadioSettings:getWirelessRadioSettings", args, &rv, "", opts...) + if err != nil { + return LookupWirelessRadioSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessRadioSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessRadioSettingsResultOutput), nil + } + return output, nil }).(LookupWirelessRadioSettingsResultOutput) } diff --git a/sdk/go/meraki/devices/getWirelessStatus.go b/sdk/go/meraki/devices/getWirelessStatus.go index cf74c645..bcdb40bc 100644 --- a/sdk/go/meraki/devices/getWirelessStatus.go +++ b/sdk/go/meraki/devices/getWirelessStatus.go @@ -64,14 +64,20 @@ type GetWirelessStatusResult struct { func GetWirelessStatusOutput(ctx *pulumi.Context, args GetWirelessStatusOutputArgs, opts ...pulumi.InvokeOption) GetWirelessStatusResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessStatusResult, error) { + ApplyT(func(v interface{}) (GetWirelessStatusResultOutput, error) { args := v.(GetWirelessStatusArgs) - r, err := GetWirelessStatus(ctx, &args, opts...) - var s GetWirelessStatusResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessStatusResult + secret, err := ctx.InvokePackageRaw("meraki:devices/getWirelessStatus:getWirelessStatus", args, &rv, "", opts...) + if err != nil { + return GetWirelessStatusResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessStatusResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessStatusResultOutput), nil + } + return output, nil }).(GetWirelessStatusResultOutput) } diff --git a/sdk/go/meraki/getDevices.go b/sdk/go/meraki/getDevices.go index 87efee10..5782e113 100644 --- a/sdk/go/meraki/getDevices.go +++ b/sdk/go/meraki/getDevices.go @@ -109,14 +109,20 @@ type GetDevicesResult struct { func GetDevicesOutput(ctx *pulumi.Context, args GetDevicesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesResult, error) { + ApplyT(func(v interface{}) (GetDevicesResultOutput, error) { args := v.(GetDevicesArgs) - r, err := GetDevices(ctx, &args, opts...) - var s GetDevicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesResult + secret, err := ctx.InvokePackageRaw("meraki:index/getDevices:getDevices", args, &rv, "", opts...) + if err != nil { + return GetDevicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesResultOutput), nil + } + return output, nil }).(GetDevicesResultOutput) } diff --git a/sdk/go/meraki/getNetworks.go b/sdk/go/meraki/getNetworks.go index cc40da1e..96c776d1 100644 --- a/sdk/go/meraki/getNetworks.go +++ b/sdk/go/meraki/getNetworks.go @@ -73,14 +73,20 @@ type GetNetworksResult struct { func GetNetworksOutput(ctx *pulumi.Context, args GetNetworksOutputArgs, opts ...pulumi.InvokeOption) GetNetworksResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetworksResult, error) { + ApplyT(func(v interface{}) (GetNetworksResultOutput, error) { args := v.(GetNetworksArgs) - r, err := GetNetworks(ctx, &args, opts...) - var s GetNetworksResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetNetworksResult + secret, err := ctx.InvokePackageRaw("meraki:index/getNetworks:getNetworks", args, &rv, "", opts...) + if err != nil { + return GetNetworksResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetNetworksResultOutput) + if secret { + return pulumi.ToSecret(output).(GetNetworksResultOutput), nil + } + return output, nil }).(GetNetworksResultOutput) } diff --git a/sdk/go/meraki/getOrganizations.go b/sdk/go/meraki/getOrganizations.go index 11fda362..ba9e6ce4 100644 --- a/sdk/go/meraki/getOrganizations.go +++ b/sdk/go/meraki/getOrganizations.go @@ -53,14 +53,20 @@ type GetOrganizationsResult struct { func GetOrganizationsOutput(ctx *pulumi.Context, args GetOrganizationsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetOrganizationsResult, error) { + ApplyT(func(v interface{}) (GetOrganizationsResultOutput, error) { args := v.(GetOrganizationsArgs) - r, err := GetOrganizations(ctx, &args, opts...) - var s GetOrganizationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrganizationsResult + secret, err := ctx.InvokePackageRaw("meraki:index/getOrganizations:getOrganizations", args, &rv, "", opts...) + if err != nil { + return GetOrganizationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetOrganizationsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetOrganizationsResultOutput), nil + } + return output, nil }).(GetOrganizationsResultOutput) } diff --git a/sdk/go/meraki/networks/getAlertsHistory.go b/sdk/go/meraki/networks/getAlertsHistory.go index bf2acfa9..2e204c1f 100644 --- a/sdk/go/meraki/networks/getAlertsHistory.go +++ b/sdk/go/meraki/networks/getAlertsHistory.go @@ -80,14 +80,20 @@ type GetAlertsHistoryResult struct { func GetAlertsHistoryOutput(ctx *pulumi.Context, args GetAlertsHistoryOutputArgs, opts ...pulumi.InvokeOption) GetAlertsHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAlertsHistoryResult, error) { + ApplyT(func(v interface{}) (GetAlertsHistoryResultOutput, error) { args := v.(GetAlertsHistoryArgs) - r, err := GetAlertsHistory(ctx, &args, opts...) - var s GetAlertsHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAlertsHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getAlertsHistory:getAlertsHistory", args, &rv, "", opts...) + if err != nil { + return GetAlertsHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAlertsHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAlertsHistoryResultOutput), nil + } + return output, nil }).(GetAlertsHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getAlertsSettings.go b/sdk/go/meraki/networks/getAlertsSettings.go index d5232b13..48b946ae 100644 --- a/sdk/go/meraki/networks/getAlertsSettings.go +++ b/sdk/go/meraki/networks/getAlertsSettings.go @@ -64,14 +64,20 @@ type LookupAlertsSettingsResult struct { func LookupAlertsSettingsOutput(ctx *pulumi.Context, args LookupAlertsSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupAlertsSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAlertsSettingsResult, error) { + ApplyT(func(v interface{}) (LookupAlertsSettingsResultOutput, error) { args := v.(LookupAlertsSettingsArgs) - r, err := LookupAlertsSettings(ctx, &args, opts...) - var s LookupAlertsSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAlertsSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getAlertsSettings:getAlertsSettings", args, &rv, "", opts...) + if err != nil { + return LookupAlertsSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAlertsSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAlertsSettingsResultOutput), nil + } + return output, nil }).(LookupAlertsSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceConnectivityMonitoringDestinations.go b/sdk/go/meraki/networks/getApplianceConnectivityMonitoringDestinations.go index 32ef76b1..8e8bfdd9 100644 --- a/sdk/go/meraki/networks/getApplianceConnectivityMonitoringDestinations.go +++ b/sdk/go/meraki/networks/getApplianceConnectivityMonitoringDestinations.go @@ -64,14 +64,20 @@ type LookupApplianceConnectivityMonitoringDestinationsResult struct { func LookupApplianceConnectivityMonitoringDestinationsOutput(ctx *pulumi.Context, args LookupApplianceConnectivityMonitoringDestinationsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceConnectivityMonitoringDestinationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceConnectivityMonitoringDestinationsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceConnectivityMonitoringDestinationsResultOutput, error) { args := v.(LookupApplianceConnectivityMonitoringDestinationsArgs) - r, err := LookupApplianceConnectivityMonitoringDestinations(ctx, &args, opts...) - var s LookupApplianceConnectivityMonitoringDestinationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceConnectivityMonitoringDestinationsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceConnectivityMonitoringDestinations:getApplianceConnectivityMonitoringDestinations", args, &rv, "", opts...) + if err != nil { + return LookupApplianceConnectivityMonitoringDestinationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceConnectivityMonitoringDestinationsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceConnectivityMonitoringDestinationsResultOutput), nil + } + return output, nil }).(LookupApplianceConnectivityMonitoringDestinationsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceContentFiltering.go b/sdk/go/meraki/networks/getApplianceContentFiltering.go index f32fb94f..876d48f7 100644 --- a/sdk/go/meraki/networks/getApplianceContentFiltering.go +++ b/sdk/go/meraki/networks/getApplianceContentFiltering.go @@ -64,14 +64,20 @@ type LookupApplianceContentFilteringResult struct { func LookupApplianceContentFilteringOutput(ctx *pulumi.Context, args LookupApplianceContentFilteringOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceContentFilteringResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceContentFilteringResult, error) { + ApplyT(func(v interface{}) (LookupApplianceContentFilteringResultOutput, error) { args := v.(LookupApplianceContentFilteringArgs) - r, err := LookupApplianceContentFiltering(ctx, &args, opts...) - var s LookupApplianceContentFilteringResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceContentFilteringResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceContentFiltering:getApplianceContentFiltering", args, &rv, "", opts...) + if err != nil { + return LookupApplianceContentFilteringResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceContentFilteringResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceContentFilteringResultOutput), nil + } + return output, nil }).(LookupApplianceContentFilteringResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceContentFilteringCategories.go b/sdk/go/meraki/networks/getApplianceContentFilteringCategories.go index ee10e78a..62d8f6e1 100644 --- a/sdk/go/meraki/networks/getApplianceContentFilteringCategories.go +++ b/sdk/go/meraki/networks/getApplianceContentFilteringCategories.go @@ -64,14 +64,20 @@ type GetApplianceContentFilteringCategoriesResult struct { func GetApplianceContentFilteringCategoriesOutput(ctx *pulumi.Context, args GetApplianceContentFilteringCategoriesOutputArgs, opts ...pulumi.InvokeOption) GetApplianceContentFilteringCategoriesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApplianceContentFilteringCategoriesResult, error) { + ApplyT(func(v interface{}) (GetApplianceContentFilteringCategoriesResultOutput, error) { args := v.(GetApplianceContentFilteringCategoriesArgs) - r, err := GetApplianceContentFilteringCategories(ctx, &args, opts...) - var s GetApplianceContentFilteringCategoriesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApplianceContentFilteringCategoriesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceContentFilteringCategories:getApplianceContentFilteringCategories", args, &rv, "", opts...) + if err != nil { + return GetApplianceContentFilteringCategoriesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApplianceContentFilteringCategoriesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApplianceContentFilteringCategoriesResultOutput), nil + } + return output, nil }).(GetApplianceContentFilteringCategoriesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallCellularFirewallRules.go b/sdk/go/meraki/networks/getApplianceFirewallCellularFirewallRules.go index 1c1670ee..f5dfcb87 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallCellularFirewallRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallCellularFirewallRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallCellularFirewallRulesResult struct { func LookupApplianceFirewallCellularFirewallRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallCellularFirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallCellularFirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallCellularFirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallCellularFirewallRulesResultOutput, error) { args := v.(LookupApplianceFirewallCellularFirewallRulesArgs) - r, err := LookupApplianceFirewallCellularFirewallRules(ctx, &args, opts...) - var s LookupApplianceFirewallCellularFirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallCellularFirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallCellularFirewallRules:getApplianceFirewallCellularFirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallCellularFirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallCellularFirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallCellularFirewallRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallCellularFirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallFirewalledServices.go b/sdk/go/meraki/networks/getApplianceFirewallFirewalledServices.go index 2a942fbd..fee32026 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallFirewalledServices.go +++ b/sdk/go/meraki/networks/getApplianceFirewallFirewalledServices.go @@ -69,14 +69,20 @@ type LookupApplianceFirewallFirewalledServicesResult struct { func LookupApplianceFirewallFirewalledServicesOutput(ctx *pulumi.Context, args LookupApplianceFirewallFirewalledServicesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallFirewalledServicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallFirewalledServicesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallFirewalledServicesResultOutput, error) { args := v.(LookupApplianceFirewallFirewalledServicesArgs) - r, err := LookupApplianceFirewallFirewalledServices(ctx, &args, opts...) - var s LookupApplianceFirewallFirewalledServicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallFirewalledServicesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallFirewalledServices:getApplianceFirewallFirewalledServices", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallFirewalledServicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallFirewalledServicesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallFirewalledServicesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallFirewalledServicesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallInboundFirewallRules.go b/sdk/go/meraki/networks/getApplianceFirewallInboundFirewallRules.go index 67a3b241..8b580b0e 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallInboundFirewallRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallInboundFirewallRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallInboundFirewallRulesResult struct { func LookupApplianceFirewallInboundFirewallRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallInboundFirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallInboundFirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallInboundFirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallInboundFirewallRulesResultOutput, error) { args := v.(LookupApplianceFirewallInboundFirewallRulesArgs) - r, err := LookupApplianceFirewallInboundFirewallRules(ctx, &args, opts...) - var s LookupApplianceFirewallInboundFirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallInboundFirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallInboundFirewallRules:getApplianceFirewallInboundFirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallInboundFirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallInboundFirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallInboundFirewallRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallInboundFirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallL3FirewallRules.go b/sdk/go/meraki/networks/getApplianceFirewallL3FirewallRules.go index bd89a08c..29b66028 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallL3FirewallRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallL3FirewallRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallL3FirewallRulesResult struct { func LookupApplianceFirewallL3FirewallRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallL3FirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallL3FirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallL3FirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallL3FirewallRulesResultOutput, error) { args := v.(LookupApplianceFirewallL3FirewallRulesArgs) - r, err := LookupApplianceFirewallL3FirewallRules(ctx, &args, opts...) - var s LookupApplianceFirewallL3FirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallL3FirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallL3FirewallRules:getApplianceFirewallL3FirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallL3FirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallL3FirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallL3FirewallRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallL3FirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRules.go b/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRules.go index 487420f8..a8a9aa8e 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallL7FirewallRulesResult struct { func LookupApplianceFirewallL7FirewallRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallL7FirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallL7FirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallL7FirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallL7FirewallRulesResultOutput, error) { args := v.(LookupApplianceFirewallL7FirewallRulesArgs) - r, err := LookupApplianceFirewallL7FirewallRules(ctx, &args, opts...) - var s LookupApplianceFirewallL7FirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallL7FirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallL7FirewallRules:getApplianceFirewallL7FirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallL7FirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallL7FirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallL7FirewallRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallL7FirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.go b/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.go index 661ab1bd..daa3bdbe 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.go +++ b/sdk/go/meraki/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.go @@ -64,14 +64,20 @@ type GetApplianceFirewallL7FirewallRulesApplicationCategoriesResult struct { func GetApplianceFirewallL7FirewallRulesApplicationCategoriesOutput(ctx *pulumi.Context, args GetApplianceFirewallL7FirewallRulesApplicationCategoriesOutputArgs, opts ...pulumi.InvokeOption) GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApplianceFirewallL7FirewallRulesApplicationCategoriesResult, error) { + ApplyT(func(v interface{}) (GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput, error) { args := v.(GetApplianceFirewallL7FirewallRulesApplicationCategoriesArgs) - r, err := GetApplianceFirewallL7FirewallRulesApplicationCategories(ctx, &args, opts...) - var s GetApplianceFirewallL7FirewallRulesApplicationCategoriesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApplianceFirewallL7FirewallRulesApplicationCategoriesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallL7FirewallRulesApplicationCategories:getApplianceFirewallL7FirewallRulesApplicationCategories", args, &rv, "", opts...) + if err != nil { + return GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput), nil + } + return output, nil }).(GetApplianceFirewallL7FirewallRulesApplicationCategoriesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallOneToManyNatRules.go b/sdk/go/meraki/networks/getApplianceFirewallOneToManyNatRules.go index 474e7626..c0af3bfd 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallOneToManyNatRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallOneToManyNatRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallOneToManyNatRulesResult struct { func LookupApplianceFirewallOneToManyNatRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallOneToManyNatRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallOneToManyNatRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallOneToManyNatRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallOneToManyNatRulesResultOutput, error) { args := v.(LookupApplianceFirewallOneToManyNatRulesArgs) - r, err := LookupApplianceFirewallOneToManyNatRules(ctx, &args, opts...) - var s LookupApplianceFirewallOneToManyNatRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallOneToManyNatRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallOneToManyNatRules:getApplianceFirewallOneToManyNatRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallOneToManyNatRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallOneToManyNatRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallOneToManyNatRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallOneToManyNatRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallOneToOneNatRules.go b/sdk/go/meraki/networks/getApplianceFirewallOneToOneNatRules.go index 5eb45cc5..d27d8656 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallOneToOneNatRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallOneToOneNatRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallOneToOneNatRulesResult struct { func LookupApplianceFirewallOneToOneNatRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallOneToOneNatRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallOneToOneNatRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallOneToOneNatRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallOneToOneNatRulesResultOutput, error) { args := v.(LookupApplianceFirewallOneToOneNatRulesArgs) - r, err := LookupApplianceFirewallOneToOneNatRules(ctx, &args, opts...) - var s LookupApplianceFirewallOneToOneNatRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallOneToOneNatRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallOneToOneNatRules:getApplianceFirewallOneToOneNatRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallOneToOneNatRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallOneToOneNatRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallOneToOneNatRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallOneToOneNatRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallPortForwardingRules.go b/sdk/go/meraki/networks/getApplianceFirewallPortForwardingRules.go index ee9a4f01..61a3bb55 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallPortForwardingRules.go +++ b/sdk/go/meraki/networks/getApplianceFirewallPortForwardingRules.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallPortForwardingRulesResult struct { func LookupApplianceFirewallPortForwardingRulesOutput(ctx *pulumi.Context, args LookupApplianceFirewallPortForwardingRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallPortForwardingRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallPortForwardingRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallPortForwardingRulesResultOutput, error) { args := v.(LookupApplianceFirewallPortForwardingRulesArgs) - r, err := LookupApplianceFirewallPortForwardingRules(ctx, &args, opts...) - var s LookupApplianceFirewallPortForwardingRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallPortForwardingRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallPortForwardingRules:getApplianceFirewallPortForwardingRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallPortForwardingRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallPortForwardingRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallPortForwardingRulesResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallPortForwardingRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceFirewallSettings.go b/sdk/go/meraki/networks/getApplianceFirewallSettings.go index a2f95b14..d2dd0f12 100644 --- a/sdk/go/meraki/networks/getApplianceFirewallSettings.go +++ b/sdk/go/meraki/networks/getApplianceFirewallSettings.go @@ -64,14 +64,20 @@ type LookupApplianceFirewallSettingsResult struct { func LookupApplianceFirewallSettingsOutput(ctx *pulumi.Context, args LookupApplianceFirewallSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceFirewallSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceFirewallSettingsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceFirewallSettingsResultOutput, error) { args := v.(LookupApplianceFirewallSettingsArgs) - r, err := LookupApplianceFirewallSettings(ctx, &args, opts...) - var s LookupApplianceFirewallSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceFirewallSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceFirewallSettings:getApplianceFirewallSettings", args, &rv, "", opts...) + if err != nil { + return LookupApplianceFirewallSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceFirewallSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceFirewallSettingsResultOutput), nil + } + return output, nil }).(LookupApplianceFirewallSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getAppliancePorts.go b/sdk/go/meraki/networks/getAppliancePorts.go index 1a039ff5..1c7f481e 100644 --- a/sdk/go/meraki/networks/getAppliancePorts.go +++ b/sdk/go/meraki/networks/getAppliancePorts.go @@ -45,14 +45,20 @@ type LookupAppliancePortsResult struct { func LookupAppliancePortsOutput(ctx *pulumi.Context, args LookupAppliancePortsOutputArgs, opts ...pulumi.InvokeOption) LookupAppliancePortsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppliancePortsResult, error) { + ApplyT(func(v interface{}) (LookupAppliancePortsResultOutput, error) { args := v.(LookupAppliancePortsArgs) - r, err := LookupAppliancePorts(ctx, &args, opts...) - var s LookupAppliancePortsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppliancePortsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getAppliancePorts:getAppliancePorts", args, &rv, "", opts...) + if err != nil { + return LookupAppliancePortsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppliancePortsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppliancePortsResultOutput), nil + } + return output, nil }).(LookupAppliancePortsResultOutput) } diff --git a/sdk/go/meraki/networks/getAppliancePrefixesDelegatedStatics.go b/sdk/go/meraki/networks/getAppliancePrefixesDelegatedStatics.go index 654e6214..63eac823 100644 --- a/sdk/go/meraki/networks/getAppliancePrefixesDelegatedStatics.go +++ b/sdk/go/meraki/networks/getAppliancePrefixesDelegatedStatics.go @@ -45,14 +45,20 @@ type LookupAppliancePrefixesDelegatedStaticsResult struct { func LookupAppliancePrefixesDelegatedStaticsOutput(ctx *pulumi.Context, args LookupAppliancePrefixesDelegatedStaticsOutputArgs, opts ...pulumi.InvokeOption) LookupAppliancePrefixesDelegatedStaticsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppliancePrefixesDelegatedStaticsResult, error) { + ApplyT(func(v interface{}) (LookupAppliancePrefixesDelegatedStaticsResultOutput, error) { args := v.(LookupAppliancePrefixesDelegatedStaticsArgs) - r, err := LookupAppliancePrefixesDelegatedStatics(ctx, &args, opts...) - var s LookupAppliancePrefixesDelegatedStaticsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppliancePrefixesDelegatedStaticsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getAppliancePrefixesDelegatedStatics:getAppliancePrefixesDelegatedStatics", args, &rv, "", opts...) + if err != nil { + return LookupAppliancePrefixesDelegatedStaticsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppliancePrefixesDelegatedStaticsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppliancePrefixesDelegatedStaticsResultOutput), nil + } + return output, nil }).(LookupAppliancePrefixesDelegatedStaticsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceRfProfiles.go b/sdk/go/meraki/networks/getApplianceRfProfiles.go index 69db2159..c25e8cdc 100644 --- a/sdk/go/meraki/networks/getApplianceRfProfiles.go +++ b/sdk/go/meraki/networks/getApplianceRfProfiles.go @@ -68,14 +68,20 @@ type LookupApplianceRfProfilesResult struct { func LookupApplianceRfProfilesOutput(ctx *pulumi.Context, args LookupApplianceRfProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceRfProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceRfProfilesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceRfProfilesResultOutput, error) { args := v.(LookupApplianceRfProfilesArgs) - r, err := LookupApplianceRfProfiles(ctx, &args, opts...) - var s LookupApplianceRfProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceRfProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceRfProfiles:getApplianceRfProfiles", args, &rv, "", opts...) + if err != nil { + return LookupApplianceRfProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceRfProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceRfProfilesResultOutput), nil + } + return output, nil }).(LookupApplianceRfProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceSecurityIntrusion.go b/sdk/go/meraki/networks/getApplianceSecurityIntrusion.go index f3f9420e..3f9a9e50 100644 --- a/sdk/go/meraki/networks/getApplianceSecurityIntrusion.go +++ b/sdk/go/meraki/networks/getApplianceSecurityIntrusion.go @@ -64,14 +64,20 @@ type LookupApplianceSecurityIntrusionResult struct { func LookupApplianceSecurityIntrusionOutput(ctx *pulumi.Context, args LookupApplianceSecurityIntrusionOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSecurityIntrusionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSecurityIntrusionResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSecurityIntrusionResultOutput, error) { args := v.(LookupApplianceSecurityIntrusionArgs) - r, err := LookupApplianceSecurityIntrusion(ctx, &args, opts...) - var s LookupApplianceSecurityIntrusionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSecurityIntrusionResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSecurityIntrusionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSecurityIntrusionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSecurityIntrusionResultOutput), nil + } + return output, nil }).(LookupApplianceSecurityIntrusionResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceSecurityMalware.go b/sdk/go/meraki/networks/getApplianceSecurityMalware.go index da2632eb..94907208 100644 --- a/sdk/go/meraki/networks/getApplianceSecurityMalware.go +++ b/sdk/go/meraki/networks/getApplianceSecurityMalware.go @@ -64,14 +64,20 @@ type LookupApplianceSecurityMalwareResult struct { func LookupApplianceSecurityMalwareOutput(ctx *pulumi.Context, args LookupApplianceSecurityMalwareOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSecurityMalwareResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSecurityMalwareResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSecurityMalwareResultOutput, error) { args := v.(LookupApplianceSecurityMalwareArgs) - r, err := LookupApplianceSecurityMalware(ctx, &args, opts...) - var s LookupApplianceSecurityMalwareResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSecurityMalwareResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceSecurityMalware:getApplianceSecurityMalware", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSecurityMalwareResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSecurityMalwareResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSecurityMalwareResultOutput), nil + } + return output, nil }).(LookupApplianceSecurityMalwareResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceSettings.go b/sdk/go/meraki/networks/getApplianceSettings.go index 9f459f7c..7f33302a 100644 --- a/sdk/go/meraki/networks/getApplianceSettings.go +++ b/sdk/go/meraki/networks/getApplianceSettings.go @@ -64,14 +64,20 @@ type LookupApplianceSettingsResult struct { func LookupApplianceSettingsOutput(ctx *pulumi.Context, args LookupApplianceSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSettingsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSettingsResultOutput, error) { args := v.(LookupApplianceSettingsArgs) - r, err := LookupApplianceSettings(ctx, &args, opts...) - var s LookupApplianceSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceSettings:getApplianceSettings", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSettingsResultOutput), nil + } + return output, nil }).(LookupApplianceSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceSingleLan.go b/sdk/go/meraki/networks/getApplianceSingleLan.go index 896caa39..dfa0801e 100644 --- a/sdk/go/meraki/networks/getApplianceSingleLan.go +++ b/sdk/go/meraki/networks/getApplianceSingleLan.go @@ -64,14 +64,20 @@ type LookupApplianceSingleLanResult struct { func LookupApplianceSingleLanOutput(ctx *pulumi.Context, args LookupApplianceSingleLanOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSingleLanResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSingleLanResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSingleLanResultOutput, error) { args := v.(LookupApplianceSingleLanArgs) - r, err := LookupApplianceSingleLan(ctx, &args, opts...) - var s LookupApplianceSingleLanResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSingleLanResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceSingleLan:getApplianceSingleLan", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSingleLanResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSingleLanResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSingleLanResultOutput), nil + } + return output, nil }).(LookupApplianceSingleLanResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceSsids.go b/sdk/go/meraki/networks/getApplianceSsids.go index 6abc8275..383bc626 100644 --- a/sdk/go/meraki/networks/getApplianceSsids.go +++ b/sdk/go/meraki/networks/getApplianceSsids.go @@ -45,14 +45,20 @@ type LookupApplianceSsidsResult struct { func LookupApplianceSsidsOutput(ctx *pulumi.Context, args LookupApplianceSsidsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSsidsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSsidsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSsidsResultOutput, error) { args := v.(LookupApplianceSsidsArgs) - r, err := LookupApplianceSsids(ctx, &args, opts...) - var s LookupApplianceSsidsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSsidsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceSsids:getApplianceSsids", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSsidsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSsidsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSsidsResultOutput), nil + } + return output, nil }).(LookupApplianceSsidsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceTrafficShaping.go b/sdk/go/meraki/networks/getApplianceTrafficShaping.go index 5f8adde9..0c004109 100644 --- a/sdk/go/meraki/networks/getApplianceTrafficShaping.go +++ b/sdk/go/meraki/networks/getApplianceTrafficShaping.go @@ -64,14 +64,20 @@ type LookupApplianceTrafficShapingResult struct { func LookupApplianceTrafficShapingOutput(ctx *pulumi.Context, args LookupApplianceTrafficShapingOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceTrafficShapingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceTrafficShapingResult, error) { + ApplyT(func(v interface{}) (LookupApplianceTrafficShapingResultOutput, error) { args := v.(LookupApplianceTrafficShapingArgs) - r, err := LookupApplianceTrafficShaping(ctx, &args, opts...) - var s LookupApplianceTrafficShapingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceTrafficShapingResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceTrafficShaping:getApplianceTrafficShaping", args, &rv, "", opts...) + if err != nil { + return LookupApplianceTrafficShapingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceTrafficShapingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceTrafficShapingResultOutput), nil + } + return output, nil }).(LookupApplianceTrafficShapingResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceTrafficShapingRules.go b/sdk/go/meraki/networks/getApplianceTrafficShapingRules.go index cd04e9a6..fc450da0 100644 --- a/sdk/go/meraki/networks/getApplianceTrafficShapingRules.go +++ b/sdk/go/meraki/networks/getApplianceTrafficShapingRules.go @@ -64,14 +64,20 @@ type LookupApplianceTrafficShapingRulesResult struct { func LookupApplianceTrafficShapingRulesOutput(ctx *pulumi.Context, args LookupApplianceTrafficShapingRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceTrafficShapingRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceTrafficShapingRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceTrafficShapingRulesResultOutput, error) { args := v.(LookupApplianceTrafficShapingRulesArgs) - r, err := LookupApplianceTrafficShapingRules(ctx, &args, opts...) - var s LookupApplianceTrafficShapingRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceTrafficShapingRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceTrafficShapingRules:getApplianceTrafficShapingRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceTrafficShapingRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceTrafficShapingRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceTrafficShapingRulesResultOutput), nil + } + return output, nil }).(LookupApplianceTrafficShapingRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkBandwidth.go b/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkBandwidth.go index bf75559c..95df4676 100644 --- a/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkBandwidth.go +++ b/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkBandwidth.go @@ -64,14 +64,20 @@ type LookupApplianceTrafficShapingUplinkBandwidthResult struct { func LookupApplianceTrafficShapingUplinkBandwidthOutput(ctx *pulumi.Context, args LookupApplianceTrafficShapingUplinkBandwidthOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceTrafficShapingUplinkBandwidthResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceTrafficShapingUplinkBandwidthResult, error) { + ApplyT(func(v interface{}) (LookupApplianceTrafficShapingUplinkBandwidthResultOutput, error) { args := v.(LookupApplianceTrafficShapingUplinkBandwidthArgs) - r, err := LookupApplianceTrafficShapingUplinkBandwidth(ctx, &args, opts...) - var s LookupApplianceTrafficShapingUplinkBandwidthResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceTrafficShapingUplinkBandwidthResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceTrafficShapingUplinkBandwidth:getApplianceTrafficShapingUplinkBandwidth", args, &rv, "", opts...) + if err != nil { + return LookupApplianceTrafficShapingUplinkBandwidthResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceTrafficShapingUplinkBandwidthResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceTrafficShapingUplinkBandwidthResultOutput), nil + } + return output, nil }).(LookupApplianceTrafficShapingUplinkBandwidthResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkSelection.go b/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkSelection.go index 1f301565..b3267ef5 100644 --- a/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkSelection.go +++ b/sdk/go/meraki/networks/getApplianceTrafficShapingUplinkSelection.go @@ -64,14 +64,20 @@ type LookupApplianceTrafficShapingUplinkSelectionResult struct { func LookupApplianceTrafficShapingUplinkSelectionOutput(ctx *pulumi.Context, args LookupApplianceTrafficShapingUplinkSelectionOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceTrafficShapingUplinkSelectionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceTrafficShapingUplinkSelectionResult, error) { + ApplyT(func(v interface{}) (LookupApplianceTrafficShapingUplinkSelectionResultOutput, error) { args := v.(LookupApplianceTrafficShapingUplinkSelectionArgs) - r, err := LookupApplianceTrafficShapingUplinkSelection(ctx, &args, opts...) - var s LookupApplianceTrafficShapingUplinkSelectionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceTrafficShapingUplinkSelectionResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceTrafficShapingUplinkSelection:getApplianceTrafficShapingUplinkSelection", args, &rv, "", opts...) + if err != nil { + return LookupApplianceTrafficShapingUplinkSelectionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceTrafficShapingUplinkSelectionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceTrafficShapingUplinkSelectionResultOutput), nil + } + return output, nil }).(LookupApplianceTrafficShapingUplinkSelectionResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceVlans.go b/sdk/go/meraki/networks/getApplianceVlans.go index d19f3ba7..3177da44 100644 --- a/sdk/go/meraki/networks/getApplianceVlans.go +++ b/sdk/go/meraki/networks/getApplianceVlans.go @@ -45,14 +45,20 @@ type LookupApplianceVlansResult struct { func LookupApplianceVlansOutput(ctx *pulumi.Context, args LookupApplianceVlansOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVlansResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVlansResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVlansResultOutput, error) { args := v.(LookupApplianceVlansArgs) - r, err := LookupApplianceVlans(ctx, &args, opts...) - var s LookupApplianceVlansResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVlansResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceVlans:getApplianceVlans", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVlansResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVlansResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVlansResultOutput), nil + } + return output, nil }).(LookupApplianceVlansResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceVlansSettings.go b/sdk/go/meraki/networks/getApplianceVlansSettings.go index c1c3e7b2..f196f423 100644 --- a/sdk/go/meraki/networks/getApplianceVlansSettings.go +++ b/sdk/go/meraki/networks/getApplianceVlansSettings.go @@ -64,14 +64,20 @@ type LookupApplianceVlansSettingsResult struct { func LookupApplianceVlansSettingsOutput(ctx *pulumi.Context, args LookupApplianceVlansSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVlansSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVlansSettingsResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVlansSettingsResultOutput, error) { args := v.(LookupApplianceVlansSettingsArgs) - r, err := LookupApplianceVlansSettings(ctx, &args, opts...) - var s LookupApplianceVlansSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVlansSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceVlansSettings:getApplianceVlansSettings", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVlansSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVlansSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVlansSettingsResultOutput), nil + } + return output, nil }).(LookupApplianceVlansSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceVpnBgp.go b/sdk/go/meraki/networks/getApplianceVpnBgp.go index 2350ddce..24fc6d57 100644 --- a/sdk/go/meraki/networks/getApplianceVpnBgp.go +++ b/sdk/go/meraki/networks/getApplianceVpnBgp.go @@ -64,14 +64,20 @@ type LookupApplianceVpnBgpResult struct { func LookupApplianceVpnBgpOutput(ctx *pulumi.Context, args LookupApplianceVpnBgpOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVpnBgpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVpnBgpResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVpnBgpResultOutput, error) { args := v.(LookupApplianceVpnBgpArgs) - r, err := LookupApplianceVpnBgp(ctx, &args, opts...) - var s LookupApplianceVpnBgpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVpnBgpResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceVpnBgp:getApplianceVpnBgp", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVpnBgpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVpnBgpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVpnBgpResultOutput), nil + } + return output, nil }).(LookupApplianceVpnBgpResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceVpnSiteToSiteVpn.go b/sdk/go/meraki/networks/getApplianceVpnSiteToSiteVpn.go index 6b61f93b..6e7c9ad7 100644 --- a/sdk/go/meraki/networks/getApplianceVpnSiteToSiteVpn.go +++ b/sdk/go/meraki/networks/getApplianceVpnSiteToSiteVpn.go @@ -64,14 +64,20 @@ type LookupApplianceVpnSiteToSiteVpnResult struct { func LookupApplianceVpnSiteToSiteVpnOutput(ctx *pulumi.Context, args LookupApplianceVpnSiteToSiteVpnOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVpnSiteToSiteVpnResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVpnSiteToSiteVpnResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVpnSiteToSiteVpnResultOutput, error) { args := v.(LookupApplianceVpnSiteToSiteVpnArgs) - r, err := LookupApplianceVpnSiteToSiteVpn(ctx, &args, opts...) - var s LookupApplianceVpnSiteToSiteVpnResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVpnSiteToSiteVpnResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceVpnSiteToSiteVpn:getApplianceVpnSiteToSiteVpn", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVpnSiteToSiteVpnResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVpnSiteToSiteVpnResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVpnSiteToSiteVpnResultOutput), nil + } + return output, nil }).(LookupApplianceVpnSiteToSiteVpnResultOutput) } diff --git a/sdk/go/meraki/networks/getApplianceWarmSpare.go b/sdk/go/meraki/networks/getApplianceWarmSpare.go index 079bdd95..9ed6c7f7 100644 --- a/sdk/go/meraki/networks/getApplianceWarmSpare.go +++ b/sdk/go/meraki/networks/getApplianceWarmSpare.go @@ -64,14 +64,20 @@ type LookupApplianceWarmSpareResult struct { func LookupApplianceWarmSpareOutput(ctx *pulumi.Context, args LookupApplianceWarmSpareOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceWarmSpareResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceWarmSpareResult, error) { + ApplyT(func(v interface{}) (LookupApplianceWarmSpareResultOutput, error) { args := v.(LookupApplianceWarmSpareArgs) - r, err := LookupApplianceWarmSpare(ctx, &args, opts...) - var s LookupApplianceWarmSpareResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceWarmSpareResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getApplianceWarmSpare:getApplianceWarmSpare", args, &rv, "", opts...) + if err != nil { + return LookupApplianceWarmSpareResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceWarmSpareResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceWarmSpareResultOutput), nil + } + return output, nil }).(LookupApplianceWarmSpareResultOutput) } diff --git a/sdk/go/meraki/networks/getBluetoothClients.go b/sdk/go/meraki/networks/getBluetoothClients.go index 191c243e..550eb4b4 100644 --- a/sdk/go/meraki/networks/getBluetoothClients.go +++ b/sdk/go/meraki/networks/getBluetoothClients.go @@ -79,14 +79,20 @@ type GetBluetoothClientsResult struct { func GetBluetoothClientsOutput(ctx *pulumi.Context, args GetBluetoothClientsOutputArgs, opts ...pulumi.InvokeOption) GetBluetoothClientsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBluetoothClientsResult, error) { + ApplyT(func(v interface{}) (GetBluetoothClientsResultOutput, error) { args := v.(GetBluetoothClientsArgs) - r, err := GetBluetoothClients(ctx, &args, opts...) - var s GetBluetoothClientsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBluetoothClientsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getBluetoothClients:getBluetoothClients", args, &rv, "", opts...) + if err != nil { + return GetBluetoothClientsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBluetoothClientsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBluetoothClientsResultOutput), nil + } + return output, nil }).(GetBluetoothClientsResultOutput) } diff --git a/sdk/go/meraki/networks/getCameraQualityRetentionProfiles.go b/sdk/go/meraki/networks/getCameraQualityRetentionProfiles.go index a16ee454..661c0e90 100644 --- a/sdk/go/meraki/networks/getCameraQualityRetentionProfiles.go +++ b/sdk/go/meraki/networks/getCameraQualityRetentionProfiles.go @@ -45,14 +45,20 @@ type LookupCameraQualityRetentionProfilesResult struct { func LookupCameraQualityRetentionProfilesOutput(ctx *pulumi.Context, args LookupCameraQualityRetentionProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupCameraQualityRetentionProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraQualityRetentionProfilesResult, error) { + ApplyT(func(v interface{}) (LookupCameraQualityRetentionProfilesResultOutput, error) { args := v.(LookupCameraQualityRetentionProfilesArgs) - r, err := LookupCameraQualityRetentionProfiles(ctx, &args, opts...) - var s LookupCameraQualityRetentionProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraQualityRetentionProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCameraQualityRetentionProfiles:getCameraQualityRetentionProfiles", args, &rv, "", opts...) + if err != nil { + return LookupCameraQualityRetentionProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraQualityRetentionProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraQualityRetentionProfilesResultOutput), nil + } + return output, nil }).(LookupCameraQualityRetentionProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getCameraWirelessProfiles.go b/sdk/go/meraki/networks/getCameraWirelessProfiles.go index ab6b716d..e36c685f 100644 --- a/sdk/go/meraki/networks/getCameraWirelessProfiles.go +++ b/sdk/go/meraki/networks/getCameraWirelessProfiles.go @@ -45,14 +45,20 @@ type LookupCameraWirelessProfilesResult struct { func LookupCameraWirelessProfilesOutput(ctx *pulumi.Context, args LookupCameraWirelessProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupCameraWirelessProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraWirelessProfilesResult, error) { + ApplyT(func(v interface{}) (LookupCameraWirelessProfilesResultOutput, error) { args := v.(LookupCameraWirelessProfilesArgs) - r, err := LookupCameraWirelessProfiles(ctx, &args, opts...) - var s LookupCameraWirelessProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraWirelessProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCameraWirelessProfiles:getCameraWirelessProfiles", args, &rv, "", opts...) + if err != nil { + return LookupCameraWirelessProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraWirelessProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraWirelessProfilesResultOutput), nil + } + return output, nil }).(LookupCameraWirelessProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getCellularGatewayConnectivityMonitoringDestinations.go b/sdk/go/meraki/networks/getCellularGatewayConnectivityMonitoringDestinations.go index addfbff5..bb55aa4d 100644 --- a/sdk/go/meraki/networks/getCellularGatewayConnectivityMonitoringDestinations.go +++ b/sdk/go/meraki/networks/getCellularGatewayConnectivityMonitoringDestinations.go @@ -64,14 +64,20 @@ type LookupCellularGatewayConnectivityMonitoringDestinationsResult struct { func LookupCellularGatewayConnectivityMonitoringDestinationsOutput(ctx *pulumi.Context, args LookupCellularGatewayConnectivityMonitoringDestinationsOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewayConnectivityMonitoringDestinationsResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput, error) { args := v.(LookupCellularGatewayConnectivityMonitoringDestinationsArgs) - r, err := LookupCellularGatewayConnectivityMonitoringDestinations(ctx, &args, opts...) - var s LookupCellularGatewayConnectivityMonitoringDestinationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewayConnectivityMonitoringDestinationsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCellularGatewayConnectivityMonitoringDestinations:getCellularGatewayConnectivityMonitoringDestinations", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput), nil + } + return output, nil }).(LookupCellularGatewayConnectivityMonitoringDestinationsResultOutput) } diff --git a/sdk/go/meraki/networks/getCellularGatewayDhcp.go b/sdk/go/meraki/networks/getCellularGatewayDhcp.go index 8f19ac20..2b2f73a4 100644 --- a/sdk/go/meraki/networks/getCellularGatewayDhcp.go +++ b/sdk/go/meraki/networks/getCellularGatewayDhcp.go @@ -64,14 +64,20 @@ type LookupCellularGatewayDhcpResult struct { func LookupCellularGatewayDhcpOutput(ctx *pulumi.Context, args LookupCellularGatewayDhcpOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewayDhcpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewayDhcpResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewayDhcpResultOutput, error) { args := v.(LookupCellularGatewayDhcpArgs) - r, err := LookupCellularGatewayDhcp(ctx, &args, opts...) - var s LookupCellularGatewayDhcpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewayDhcpResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCellularGatewayDhcp:getCellularGatewayDhcp", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewayDhcpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewayDhcpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewayDhcpResultOutput), nil + } + return output, nil }).(LookupCellularGatewayDhcpResultOutput) } diff --git a/sdk/go/meraki/networks/getCellularGatewaySubnetPool.go b/sdk/go/meraki/networks/getCellularGatewaySubnetPool.go index 3822544c..40e9d804 100644 --- a/sdk/go/meraki/networks/getCellularGatewaySubnetPool.go +++ b/sdk/go/meraki/networks/getCellularGatewaySubnetPool.go @@ -64,14 +64,20 @@ type LookupCellularGatewaySubnetPoolResult struct { func LookupCellularGatewaySubnetPoolOutput(ctx *pulumi.Context, args LookupCellularGatewaySubnetPoolOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewaySubnetPoolResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewaySubnetPoolResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewaySubnetPoolResultOutput, error) { args := v.(LookupCellularGatewaySubnetPoolArgs) - r, err := LookupCellularGatewaySubnetPool(ctx, &args, opts...) - var s LookupCellularGatewaySubnetPoolResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewaySubnetPoolResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCellularGatewaySubnetPool:getCellularGatewaySubnetPool", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewaySubnetPoolResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewaySubnetPoolResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewaySubnetPoolResultOutput), nil + } + return output, nil }).(LookupCellularGatewaySubnetPoolResultOutput) } diff --git a/sdk/go/meraki/networks/getCellularGatewayUplink.go b/sdk/go/meraki/networks/getCellularGatewayUplink.go index 9262cdce..40d4e06e 100644 --- a/sdk/go/meraki/networks/getCellularGatewayUplink.go +++ b/sdk/go/meraki/networks/getCellularGatewayUplink.go @@ -64,14 +64,20 @@ type LookupCellularGatewayUplinkResult struct { func LookupCellularGatewayUplinkOutput(ctx *pulumi.Context, args LookupCellularGatewayUplinkOutputArgs, opts ...pulumi.InvokeOption) LookupCellularGatewayUplinkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCellularGatewayUplinkResult, error) { + ApplyT(func(v interface{}) (LookupCellularGatewayUplinkResultOutput, error) { args := v.(LookupCellularGatewayUplinkArgs) - r, err := LookupCellularGatewayUplink(ctx, &args, opts...) - var s LookupCellularGatewayUplinkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCellularGatewayUplinkResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getCellularGatewayUplink:getCellularGatewayUplink", args, &rv, "", opts...) + if err != nil { + return LookupCellularGatewayUplinkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCellularGatewayUplinkResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCellularGatewayUplinkResultOutput), nil + } + return output, nil }).(LookupCellularGatewayUplinkResultOutput) } diff --git a/sdk/go/meraki/networks/getClients.go b/sdk/go/meraki/networks/getClients.go index 5f13fcde..cb30454a 100644 --- a/sdk/go/meraki/networks/getClients.go +++ b/sdk/go/meraki/networks/getClients.go @@ -69,14 +69,20 @@ type GetClientsResult struct { func GetClientsOutput(ctx *pulumi.Context, args GetClientsOutputArgs, opts ...pulumi.InvokeOption) GetClientsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientsResult, error) { + ApplyT(func(v interface{}) (GetClientsResultOutput, error) { args := v.(GetClientsArgs) - r, err := GetClients(ctx, &args, opts...) - var s GetClientsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getClients:getClients", args, &rv, "", opts...) + if err != nil { + return GetClientsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientsResultOutput), nil + } + return output, nil }).(GetClientsResultOutput) } diff --git a/sdk/go/meraki/networks/getClientsOverview.go b/sdk/go/meraki/networks/getClientsOverview.go index 197c5246..f5b6d0e0 100644 --- a/sdk/go/meraki/networks/getClientsOverview.go +++ b/sdk/go/meraki/networks/getClientsOverview.go @@ -84,14 +84,20 @@ type GetClientsOverviewResult struct { func GetClientsOverviewOutput(ctx *pulumi.Context, args GetClientsOverviewOutputArgs, opts ...pulumi.InvokeOption) GetClientsOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientsOverviewResult, error) { + ApplyT(func(v interface{}) (GetClientsOverviewResultOutput, error) { args := v.(GetClientsOverviewArgs) - r, err := GetClientsOverview(ctx, &args, opts...) - var s GetClientsOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientsOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getClientsOverview:getClientsOverview", args, &rv, "", opts...) + if err != nil { + return GetClientsOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientsOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientsOverviewResultOutput), nil + } + return output, nil }).(GetClientsOverviewResultOutput) } diff --git a/sdk/go/meraki/networks/getClientsPolicy.go b/sdk/go/meraki/networks/getClientsPolicy.go index 486b6119..8b067793 100644 --- a/sdk/go/meraki/networks/getClientsPolicy.go +++ b/sdk/go/meraki/networks/getClientsPolicy.go @@ -69,14 +69,20 @@ type LookupClientsPolicyResult struct { func LookupClientsPolicyOutput(ctx *pulumi.Context, args LookupClientsPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupClientsPolicyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupClientsPolicyResult, error) { + ApplyT(func(v interface{}) (LookupClientsPolicyResultOutput, error) { args := v.(LookupClientsPolicyArgs) - r, err := LookupClientsPolicy(ctx, &args, opts...) - var s LookupClientsPolicyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupClientsPolicyResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getClientsPolicy:getClientsPolicy", args, &rv, "", opts...) + if err != nil { + return LookupClientsPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupClientsPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupClientsPolicyResultOutput), nil + } + return output, nil }).(LookupClientsPolicyResultOutput) } diff --git a/sdk/go/meraki/networks/getClientsSplashAuthorizationStatus.go b/sdk/go/meraki/networks/getClientsSplashAuthorizationStatus.go index c9caab08..8da3c07c 100644 --- a/sdk/go/meraki/networks/getClientsSplashAuthorizationStatus.go +++ b/sdk/go/meraki/networks/getClientsSplashAuthorizationStatus.go @@ -69,14 +69,20 @@ type LookupClientsSplashAuthorizationStatusResult struct { func LookupClientsSplashAuthorizationStatusOutput(ctx *pulumi.Context, args LookupClientsSplashAuthorizationStatusOutputArgs, opts ...pulumi.InvokeOption) LookupClientsSplashAuthorizationStatusResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupClientsSplashAuthorizationStatusResult, error) { + ApplyT(func(v interface{}) (LookupClientsSplashAuthorizationStatusResultOutput, error) { args := v.(LookupClientsSplashAuthorizationStatusArgs) - r, err := LookupClientsSplashAuthorizationStatus(ctx, &args, opts...) - var s LookupClientsSplashAuthorizationStatusResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupClientsSplashAuthorizationStatusResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getClientsSplashAuthorizationStatus:getClientsSplashAuthorizationStatus", args, &rv, "", opts...) + if err != nil { + return LookupClientsSplashAuthorizationStatusResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupClientsSplashAuthorizationStatusResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupClientsSplashAuthorizationStatusResultOutput), nil + } + return output, nil }).(LookupClientsSplashAuthorizationStatusResultOutput) } diff --git a/sdk/go/meraki/networks/getEvents.go b/sdk/go/meraki/networks/getEvents.go index 72ba9f15..f32c5ec6 100644 --- a/sdk/go/meraki/networks/getEvents.go +++ b/sdk/go/meraki/networks/getEvents.go @@ -138,14 +138,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("meraki:networks/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/meraki/networks/getEventsEventTypes.go b/sdk/go/meraki/networks/getEventsEventTypes.go index 67a95651..31c84f01 100644 --- a/sdk/go/meraki/networks/getEventsEventTypes.go +++ b/sdk/go/meraki/networks/getEventsEventTypes.go @@ -65,14 +65,20 @@ type GetEventsEventTypesResult struct { func GetEventsEventTypesOutput(ctx *pulumi.Context, args GetEventsEventTypesOutputArgs, opts ...pulumi.InvokeOption) GetEventsEventTypesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEventsEventTypesResult, error) { + ApplyT(func(v interface{}) (GetEventsEventTypesResultOutput, error) { args := v.(GetEventsEventTypesArgs) - r, err := GetEventsEventTypes(ctx, &args, opts...) - var s GetEventsEventTypesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEventsEventTypesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getEventsEventTypes:getEventsEventTypes", args, &rv, "", opts...) + if err != nil { + return GetEventsEventTypesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEventsEventTypesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEventsEventTypesResultOutput), nil + } + return output, nil }).(GetEventsEventTypesResultOutput) } diff --git a/sdk/go/meraki/networks/getFirmwareUpgrades.go b/sdk/go/meraki/networks/getFirmwareUpgrades.go index a762b701..042ef751 100644 --- a/sdk/go/meraki/networks/getFirmwareUpgrades.go +++ b/sdk/go/meraki/networks/getFirmwareUpgrades.go @@ -64,14 +64,20 @@ type LookupFirmwareUpgradesResult struct { func LookupFirmwareUpgradesOutput(ctx *pulumi.Context, args LookupFirmwareUpgradesOutputArgs, opts ...pulumi.InvokeOption) LookupFirmwareUpgradesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFirmwareUpgradesResult, error) { + ApplyT(func(v interface{}) (LookupFirmwareUpgradesResultOutput, error) { args := v.(LookupFirmwareUpgradesArgs) - r, err := LookupFirmwareUpgrades(ctx, &args, opts...) - var s LookupFirmwareUpgradesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupFirmwareUpgradesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getFirmwareUpgrades:getFirmwareUpgrades", args, &rv, "", opts...) + if err != nil { + return LookupFirmwareUpgradesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupFirmwareUpgradesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupFirmwareUpgradesResultOutput), nil + } + return output, nil }).(LookupFirmwareUpgradesResultOutput) } diff --git a/sdk/go/meraki/networks/getFirmwareUpgradesStagedEvents.go b/sdk/go/meraki/networks/getFirmwareUpgradesStagedEvents.go index 2f83ab57..79e0338e 100644 --- a/sdk/go/meraki/networks/getFirmwareUpgradesStagedEvents.go +++ b/sdk/go/meraki/networks/getFirmwareUpgradesStagedEvents.go @@ -64,14 +64,20 @@ type LookupFirmwareUpgradesStagedEventsResult struct { func LookupFirmwareUpgradesStagedEventsOutput(ctx *pulumi.Context, args LookupFirmwareUpgradesStagedEventsOutputArgs, opts ...pulumi.InvokeOption) LookupFirmwareUpgradesStagedEventsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedEventsResult, error) { + ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedEventsResultOutput, error) { args := v.(LookupFirmwareUpgradesStagedEventsArgs) - r, err := LookupFirmwareUpgradesStagedEvents(ctx, &args, opts...) - var s LookupFirmwareUpgradesStagedEventsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupFirmwareUpgradesStagedEventsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getFirmwareUpgradesStagedEvents:getFirmwareUpgradesStagedEvents", args, &rv, "", opts...) + if err != nil { + return LookupFirmwareUpgradesStagedEventsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupFirmwareUpgradesStagedEventsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupFirmwareUpgradesStagedEventsResultOutput), nil + } + return output, nil }).(LookupFirmwareUpgradesStagedEventsResultOutput) } diff --git a/sdk/go/meraki/networks/getFirmwareUpgradesStagedGroups.go b/sdk/go/meraki/networks/getFirmwareUpgradesStagedGroups.go index 36b67ca6..d1790df1 100644 --- a/sdk/go/meraki/networks/getFirmwareUpgradesStagedGroups.go +++ b/sdk/go/meraki/networks/getFirmwareUpgradesStagedGroups.go @@ -45,14 +45,20 @@ type LookupFirmwareUpgradesStagedGroupsResult struct { func LookupFirmwareUpgradesStagedGroupsOutput(ctx *pulumi.Context, args LookupFirmwareUpgradesStagedGroupsOutputArgs, opts ...pulumi.InvokeOption) LookupFirmwareUpgradesStagedGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedGroupsResult, error) { + ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedGroupsResultOutput, error) { args := v.(LookupFirmwareUpgradesStagedGroupsArgs) - r, err := LookupFirmwareUpgradesStagedGroups(ctx, &args, opts...) - var s LookupFirmwareUpgradesStagedGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupFirmwareUpgradesStagedGroupsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getFirmwareUpgradesStagedGroups:getFirmwareUpgradesStagedGroups", args, &rv, "", opts...) + if err != nil { + return LookupFirmwareUpgradesStagedGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupFirmwareUpgradesStagedGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupFirmwareUpgradesStagedGroupsResultOutput), nil + } + return output, nil }).(LookupFirmwareUpgradesStagedGroupsResultOutput) } diff --git a/sdk/go/meraki/networks/getFirmwareUpgradesStagedStages.go b/sdk/go/meraki/networks/getFirmwareUpgradesStagedStages.go index 49266756..e9c7f0e5 100644 --- a/sdk/go/meraki/networks/getFirmwareUpgradesStagedStages.go +++ b/sdk/go/meraki/networks/getFirmwareUpgradesStagedStages.go @@ -65,14 +65,20 @@ type LookupFirmwareUpgradesStagedStagesResult struct { func LookupFirmwareUpgradesStagedStagesOutput(ctx *pulumi.Context, args LookupFirmwareUpgradesStagedStagesOutputArgs, opts ...pulumi.InvokeOption) LookupFirmwareUpgradesStagedStagesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedStagesResult, error) { + ApplyT(func(v interface{}) (LookupFirmwareUpgradesStagedStagesResultOutput, error) { args := v.(LookupFirmwareUpgradesStagedStagesArgs) - r, err := LookupFirmwareUpgradesStagedStages(ctx, &args, opts...) - var s LookupFirmwareUpgradesStagedStagesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupFirmwareUpgradesStagedStagesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getFirmwareUpgradesStagedStages:getFirmwareUpgradesStagedStages", args, &rv, "", opts...) + if err != nil { + return LookupFirmwareUpgradesStagedStagesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupFirmwareUpgradesStagedStagesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupFirmwareUpgradesStagedStagesResultOutput), nil + } + return output, nil }).(LookupFirmwareUpgradesStagedStagesResultOutput) } diff --git a/sdk/go/meraki/networks/getFloorPlans.go b/sdk/go/meraki/networks/getFloorPlans.go index 39fe2bff..63a4250c 100644 --- a/sdk/go/meraki/networks/getFloorPlans.go +++ b/sdk/go/meraki/networks/getFloorPlans.go @@ -45,14 +45,20 @@ type LookupFloorPlansResult struct { func LookupFloorPlansOutput(ctx *pulumi.Context, args LookupFloorPlansOutputArgs, opts ...pulumi.InvokeOption) LookupFloorPlansResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFloorPlansResult, error) { + ApplyT(func(v interface{}) (LookupFloorPlansResultOutput, error) { args := v.(LookupFloorPlansArgs) - r, err := LookupFloorPlans(ctx, &args, opts...) - var s LookupFloorPlansResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupFloorPlansResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getFloorPlans:getFloorPlans", args, &rv, "", opts...) + if err != nil { + return LookupFloorPlansResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupFloorPlansResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupFloorPlansResultOutput), nil + } + return output, nil }).(LookupFloorPlansResultOutput) } diff --git a/sdk/go/meraki/networks/getGroupPolicies.go b/sdk/go/meraki/networks/getGroupPolicies.go index bba816ee..693ebc07 100644 --- a/sdk/go/meraki/networks/getGroupPolicies.go +++ b/sdk/go/meraki/networks/getGroupPolicies.go @@ -45,14 +45,20 @@ type LookupGroupPoliciesResult struct { func LookupGroupPoliciesOutput(ctx *pulumi.Context, args LookupGroupPoliciesOutputArgs, opts ...pulumi.InvokeOption) LookupGroupPoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGroupPoliciesResult, error) { + ApplyT(func(v interface{}) (LookupGroupPoliciesResultOutput, error) { args := v.(LookupGroupPoliciesArgs) - r, err := LookupGroupPolicies(ctx, &args, opts...) - var s LookupGroupPoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGroupPoliciesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getGroupPolicies:getGroupPolicies", args, &rv, "", opts...) + if err != nil { + return LookupGroupPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGroupPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGroupPoliciesResultOutput), nil + } + return output, nil }).(LookupGroupPoliciesResultOutput) } diff --git a/sdk/go/meraki/networks/getHealthAlerts.go b/sdk/go/meraki/networks/getHealthAlerts.go index 16044c07..7ce23feb 100644 --- a/sdk/go/meraki/networks/getHealthAlerts.go +++ b/sdk/go/meraki/networks/getHealthAlerts.go @@ -65,14 +65,20 @@ type GetHealthAlertsResult struct { func GetHealthAlertsOutput(ctx *pulumi.Context, args GetHealthAlertsOutputArgs, opts ...pulumi.InvokeOption) GetHealthAlertsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetHealthAlertsResult, error) { + ApplyT(func(v interface{}) (GetHealthAlertsResultOutput, error) { args := v.(GetHealthAlertsArgs) - r, err := GetHealthAlerts(ctx, &args, opts...) - var s GetHealthAlertsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetHealthAlertsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getHealthAlerts:getHealthAlerts", args, &rv, "", opts...) + if err != nil { + return GetHealthAlertsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetHealthAlertsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetHealthAlertsResultOutput), nil + } + return output, nil }).(GetHealthAlertsResultOutput) } diff --git a/sdk/go/meraki/networks/getInsightApplicationsHealthByTime.go b/sdk/go/meraki/networks/getInsightApplicationsHealthByTime.go index 1b0d9d35..9f305f25 100644 --- a/sdk/go/meraki/networks/getInsightApplicationsHealthByTime.go +++ b/sdk/go/meraki/networks/getInsightApplicationsHealthByTime.go @@ -90,14 +90,20 @@ type GetInsightApplicationsHealthByTimeResult struct { func GetInsightApplicationsHealthByTimeOutput(ctx *pulumi.Context, args GetInsightApplicationsHealthByTimeOutputArgs, opts ...pulumi.InvokeOption) GetInsightApplicationsHealthByTimeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInsightApplicationsHealthByTimeResult, error) { + ApplyT(func(v interface{}) (GetInsightApplicationsHealthByTimeResultOutput, error) { args := v.(GetInsightApplicationsHealthByTimeArgs) - r, err := GetInsightApplicationsHealthByTime(ctx, &args, opts...) - var s GetInsightApplicationsHealthByTimeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInsightApplicationsHealthByTimeResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getInsightApplicationsHealthByTime:getInsightApplicationsHealthByTime", args, &rv, "", opts...) + if err != nil { + return GetInsightApplicationsHealthByTimeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInsightApplicationsHealthByTimeResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInsightApplicationsHealthByTimeResultOutput), nil + } + return output, nil }).(GetInsightApplicationsHealthByTimeResultOutput) } diff --git a/sdk/go/meraki/networks/getMerakiAuthUsers.go b/sdk/go/meraki/networks/getMerakiAuthUsers.go index 7d467295..57d19143 100644 --- a/sdk/go/meraki/networks/getMerakiAuthUsers.go +++ b/sdk/go/meraki/networks/getMerakiAuthUsers.go @@ -45,14 +45,20 @@ type LookupMerakiAuthUsersResult struct { func LookupMerakiAuthUsersOutput(ctx *pulumi.Context, args LookupMerakiAuthUsersOutputArgs, opts ...pulumi.InvokeOption) LookupMerakiAuthUsersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupMerakiAuthUsersResult, error) { + ApplyT(func(v interface{}) (LookupMerakiAuthUsersResultOutput, error) { args := v.(LookupMerakiAuthUsersArgs) - r, err := LookupMerakiAuthUsers(ctx, &args, opts...) - var s LookupMerakiAuthUsersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMerakiAuthUsersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getMerakiAuthUsers:getMerakiAuthUsers", args, &rv, "", opts...) + if err != nil { + return LookupMerakiAuthUsersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupMerakiAuthUsersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupMerakiAuthUsersResultOutput), nil + } + return output, nil }).(LookupMerakiAuthUsersResultOutput) } diff --git a/sdk/go/meraki/networks/getNetflow.go b/sdk/go/meraki/networks/getNetflow.go index 55a63336..b88cb3c7 100644 --- a/sdk/go/meraki/networks/getNetflow.go +++ b/sdk/go/meraki/networks/getNetflow.go @@ -64,14 +64,20 @@ type LookupNetflowResult struct { func LookupNetflowOutput(ctx *pulumi.Context, args LookupNetflowOutputArgs, opts ...pulumi.InvokeOption) LookupNetflowResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetflowResult, error) { + ApplyT(func(v interface{}) (LookupNetflowResultOutput, error) { args := v.(LookupNetflowArgs) - r, err := LookupNetflow(ctx, &args, opts...) - var s LookupNetflowResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNetflowResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getNetflow:getNetflow", args, &rv, "", opts...) + if err != nil { + return LookupNetflowResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupNetflowResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupNetflowResultOutput), nil + } + return output, nil }).(LookupNetflowResultOutput) } diff --git a/sdk/go/meraki/networks/getPiiPiiKeys.go b/sdk/go/meraki/networks/getPiiPiiKeys.go index 5c5505a9..2f15c332 100644 --- a/sdk/go/meraki/networks/getPiiPiiKeys.go +++ b/sdk/go/meraki/networks/getPiiPiiKeys.go @@ -94,14 +94,20 @@ type GetPiiPiiKeysResult struct { func GetPiiPiiKeysOutput(ctx *pulumi.Context, args GetPiiPiiKeysOutputArgs, opts ...pulumi.InvokeOption) GetPiiPiiKeysResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPiiPiiKeysResult, error) { + ApplyT(func(v interface{}) (GetPiiPiiKeysResultOutput, error) { args := v.(GetPiiPiiKeysArgs) - r, err := GetPiiPiiKeys(ctx, &args, opts...) - var s GetPiiPiiKeysResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPiiPiiKeysResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getPiiPiiKeys:getPiiPiiKeys", args, &rv, "", opts...) + if err != nil { + return GetPiiPiiKeysResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPiiPiiKeysResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPiiPiiKeysResultOutput), nil + } + return output, nil }).(GetPiiPiiKeysResultOutput) } diff --git a/sdk/go/meraki/networks/getPiiRequests.go b/sdk/go/meraki/networks/getPiiRequests.go index 9618f145..f41c52cc 100644 --- a/sdk/go/meraki/networks/getPiiRequests.go +++ b/sdk/go/meraki/networks/getPiiRequests.go @@ -45,14 +45,20 @@ type GetPiiRequestsResult struct { func GetPiiRequestsOutput(ctx *pulumi.Context, args GetPiiRequestsOutputArgs, opts ...pulumi.InvokeOption) GetPiiRequestsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPiiRequestsResult, error) { + ApplyT(func(v interface{}) (GetPiiRequestsResultOutput, error) { args := v.(GetPiiRequestsArgs) - r, err := GetPiiRequests(ctx, &args, opts...) - var s GetPiiRequestsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPiiRequestsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getPiiRequests:getPiiRequests", args, &rv, "", opts...) + if err != nil { + return GetPiiRequestsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPiiRequestsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPiiRequestsResultOutput), nil + } + return output, nil }).(GetPiiRequestsResultOutput) } diff --git a/sdk/go/meraki/networks/getPiiSmDevicesForKey.go b/sdk/go/meraki/networks/getPiiSmDevicesForKey.go index d8db0d83..164300fc 100644 --- a/sdk/go/meraki/networks/getPiiSmDevicesForKey.go +++ b/sdk/go/meraki/networks/getPiiSmDevicesForKey.go @@ -94,14 +94,20 @@ type GetPiiSmDevicesForKeyResult struct { func GetPiiSmDevicesForKeyOutput(ctx *pulumi.Context, args GetPiiSmDevicesForKeyOutputArgs, opts ...pulumi.InvokeOption) GetPiiSmDevicesForKeyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPiiSmDevicesForKeyResult, error) { + ApplyT(func(v interface{}) (GetPiiSmDevicesForKeyResultOutput, error) { args := v.(GetPiiSmDevicesForKeyArgs) - r, err := GetPiiSmDevicesForKey(ctx, &args, opts...) - var s GetPiiSmDevicesForKeyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPiiSmDevicesForKeyResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getPiiSmDevicesForKey:getPiiSmDevicesForKey", args, &rv, "", opts...) + if err != nil { + return GetPiiSmDevicesForKeyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPiiSmDevicesForKeyResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPiiSmDevicesForKeyResultOutput), nil + } + return output, nil }).(GetPiiSmDevicesForKeyResultOutput) } diff --git a/sdk/go/meraki/networks/getPiiSmOwnersForKey.go b/sdk/go/meraki/networks/getPiiSmOwnersForKey.go index 1251e6a9..c71eeaea 100644 --- a/sdk/go/meraki/networks/getPiiSmOwnersForKey.go +++ b/sdk/go/meraki/networks/getPiiSmOwnersForKey.go @@ -94,14 +94,20 @@ type GetPiiSmOwnersForKeyResult struct { func GetPiiSmOwnersForKeyOutput(ctx *pulumi.Context, args GetPiiSmOwnersForKeyOutputArgs, opts ...pulumi.InvokeOption) GetPiiSmOwnersForKeyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPiiSmOwnersForKeyResult, error) { + ApplyT(func(v interface{}) (GetPiiSmOwnersForKeyResultOutput, error) { args := v.(GetPiiSmOwnersForKeyArgs) - r, err := GetPiiSmOwnersForKey(ctx, &args, opts...) - var s GetPiiSmOwnersForKeyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPiiSmOwnersForKeyResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getPiiSmOwnersForKey:getPiiSmOwnersForKey", args, &rv, "", opts...) + if err != nil { + return GetPiiSmOwnersForKeyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPiiSmOwnersForKeyResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPiiSmOwnersForKeyResultOutput), nil + } + return output, nil }).(GetPiiSmOwnersForKeyResultOutput) } diff --git a/sdk/go/meraki/networks/getPoliciesByClient.go b/sdk/go/meraki/networks/getPoliciesByClient.go index 46c1550b..be494de3 100644 --- a/sdk/go/meraki/networks/getPoliciesByClient.go +++ b/sdk/go/meraki/networks/getPoliciesByClient.go @@ -90,14 +90,20 @@ type GetPoliciesByClientResult struct { func GetPoliciesByClientOutput(ctx *pulumi.Context, args GetPoliciesByClientOutputArgs, opts ...pulumi.InvokeOption) GetPoliciesByClientResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPoliciesByClientResult, error) { + ApplyT(func(v interface{}) (GetPoliciesByClientResultOutput, error) { args := v.(GetPoliciesByClientArgs) - r, err := GetPoliciesByClient(ctx, &args, opts...) - var s GetPoliciesByClientResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPoliciesByClientResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getPoliciesByClient:getPoliciesByClient", args, &rv, "", opts...) + if err != nil { + return GetPoliciesByClientResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPoliciesByClientResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPoliciesByClientResultOutput), nil + } + return output, nil }).(GetPoliciesByClientResultOutput) } diff --git a/sdk/go/meraki/networks/getSensorAlertsCurrentOverviewByMetric.go b/sdk/go/meraki/networks/getSensorAlertsCurrentOverviewByMetric.go index 0a10cd06..cca1f62f 100644 --- a/sdk/go/meraki/networks/getSensorAlertsCurrentOverviewByMetric.go +++ b/sdk/go/meraki/networks/getSensorAlertsCurrentOverviewByMetric.go @@ -64,14 +64,20 @@ type GetSensorAlertsCurrentOverviewByMetricResult struct { func GetSensorAlertsCurrentOverviewByMetricOutput(ctx *pulumi.Context, args GetSensorAlertsCurrentOverviewByMetricOutputArgs, opts ...pulumi.InvokeOption) GetSensorAlertsCurrentOverviewByMetricResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSensorAlertsCurrentOverviewByMetricResult, error) { + ApplyT(func(v interface{}) (GetSensorAlertsCurrentOverviewByMetricResultOutput, error) { args := v.(GetSensorAlertsCurrentOverviewByMetricArgs) - r, err := GetSensorAlertsCurrentOverviewByMetric(ctx, &args, opts...) - var s GetSensorAlertsCurrentOverviewByMetricResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSensorAlertsCurrentOverviewByMetricResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSensorAlertsCurrentOverviewByMetric:getSensorAlertsCurrentOverviewByMetric", args, &rv, "", opts...) + if err != nil { + return GetSensorAlertsCurrentOverviewByMetricResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSensorAlertsCurrentOverviewByMetricResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSensorAlertsCurrentOverviewByMetricResultOutput), nil + } + return output, nil }).(GetSensorAlertsCurrentOverviewByMetricResultOutput) } diff --git a/sdk/go/meraki/networks/getSensorAlertsOverviewByMetric.go b/sdk/go/meraki/networks/getSensorAlertsOverviewByMetric.go index 07684c7c..f02023e0 100644 --- a/sdk/go/meraki/networks/getSensorAlertsOverviewByMetric.go +++ b/sdk/go/meraki/networks/getSensorAlertsOverviewByMetric.go @@ -85,14 +85,20 @@ type GetSensorAlertsOverviewByMetricResult struct { func GetSensorAlertsOverviewByMetricOutput(ctx *pulumi.Context, args GetSensorAlertsOverviewByMetricOutputArgs, opts ...pulumi.InvokeOption) GetSensorAlertsOverviewByMetricResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSensorAlertsOverviewByMetricResult, error) { + ApplyT(func(v interface{}) (GetSensorAlertsOverviewByMetricResultOutput, error) { args := v.(GetSensorAlertsOverviewByMetricArgs) - r, err := GetSensorAlertsOverviewByMetric(ctx, &args, opts...) - var s GetSensorAlertsOverviewByMetricResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSensorAlertsOverviewByMetricResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSensorAlertsOverviewByMetric:getSensorAlertsOverviewByMetric", args, &rv, "", opts...) + if err != nil { + return GetSensorAlertsOverviewByMetricResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSensorAlertsOverviewByMetricResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSensorAlertsOverviewByMetricResultOutput), nil + } + return output, nil }).(GetSensorAlertsOverviewByMetricResultOutput) } diff --git a/sdk/go/meraki/networks/getSensorAlertsProfiles.go b/sdk/go/meraki/networks/getSensorAlertsProfiles.go index 0edcaf07..71bd2259 100644 --- a/sdk/go/meraki/networks/getSensorAlertsProfiles.go +++ b/sdk/go/meraki/networks/getSensorAlertsProfiles.go @@ -43,14 +43,20 @@ type LookupSensorAlertsProfilesResult struct { func LookupSensorAlertsProfilesOutput(ctx *pulumi.Context, args LookupSensorAlertsProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupSensorAlertsProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSensorAlertsProfilesResult, error) { + ApplyT(func(v interface{}) (LookupSensorAlertsProfilesResultOutput, error) { args := v.(LookupSensorAlertsProfilesArgs) - r, err := LookupSensorAlertsProfiles(ctx, &args, opts...) - var s LookupSensorAlertsProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSensorAlertsProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSensorAlertsProfiles:getSensorAlertsProfiles", args, &rv, "", opts...) + if err != nil { + return LookupSensorAlertsProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSensorAlertsProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSensorAlertsProfilesResultOutput), nil + } + return output, nil }).(LookupSensorAlertsProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getSensorMqttBrokers.go b/sdk/go/meraki/networks/getSensorMqttBrokers.go index 673ee85a..c0aaaacd 100644 --- a/sdk/go/meraki/networks/getSensorMqttBrokers.go +++ b/sdk/go/meraki/networks/getSensorMqttBrokers.go @@ -45,14 +45,20 @@ type LookupSensorMqttBrokersResult struct { func LookupSensorMqttBrokersOutput(ctx *pulumi.Context, args LookupSensorMqttBrokersOutputArgs, opts ...pulumi.InvokeOption) LookupSensorMqttBrokersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSensorMqttBrokersResult, error) { + ApplyT(func(v interface{}) (LookupSensorMqttBrokersResultOutput, error) { args := v.(LookupSensorMqttBrokersArgs) - r, err := LookupSensorMqttBrokers(ctx, &args, opts...) - var s LookupSensorMqttBrokersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSensorMqttBrokersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSensorMqttBrokers:getSensorMqttBrokers", args, &rv, "", opts...) + if err != nil { + return LookupSensorMqttBrokersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSensorMqttBrokersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSensorMqttBrokersResultOutput), nil + } + return output, nil }).(LookupSensorMqttBrokersResultOutput) } diff --git a/sdk/go/meraki/networks/getSensorRelationships.go b/sdk/go/meraki/networks/getSensorRelationships.go index 7c9abd39..341c6fe3 100644 --- a/sdk/go/meraki/networks/getSensorRelationships.go +++ b/sdk/go/meraki/networks/getSensorRelationships.go @@ -65,14 +65,20 @@ type GetSensorRelationshipsResult struct { func GetSensorRelationshipsOutput(ctx *pulumi.Context, args GetSensorRelationshipsOutputArgs, opts ...pulumi.InvokeOption) GetSensorRelationshipsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSensorRelationshipsResult, error) { + ApplyT(func(v interface{}) (GetSensorRelationshipsResultOutput, error) { args := v.(GetSensorRelationshipsArgs) - r, err := GetSensorRelationships(ctx, &args, opts...) - var s GetSensorRelationshipsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSensorRelationshipsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSensorRelationships:getSensorRelationships", args, &rv, "", opts...) + if err != nil { + return GetSensorRelationshipsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSensorRelationshipsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSensorRelationshipsResultOutput), nil + } + return output, nil }).(GetSensorRelationshipsResultOutput) } diff --git a/sdk/go/meraki/networks/getSettings.go b/sdk/go/meraki/networks/getSettings.go index 58dbf316..30769e0d 100644 --- a/sdk/go/meraki/networks/getSettings.go +++ b/sdk/go/meraki/networks/getSettings.go @@ -64,14 +64,20 @@ type LookupSettingsResult struct { func LookupSettingsOutput(ctx *pulumi.Context, args LookupSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSettingsResult, error) { + ApplyT(func(v interface{}) (LookupSettingsResultOutput, error) { args := v.(LookupSettingsArgs) - r, err := LookupSettings(ctx, &args, opts...) - var s LookupSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSettings:getSettings", args, &rv, "", opts...) + if err != nil { + return LookupSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSettingsResultOutput), nil + } + return output, nil }).(LookupSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmBypassActivationLockAttempts.go b/sdk/go/meraki/networks/getSmBypassActivationLockAttempts.go index 1d137340..a5f81d02 100644 --- a/sdk/go/meraki/networks/getSmBypassActivationLockAttempts.go +++ b/sdk/go/meraki/networks/getSmBypassActivationLockAttempts.go @@ -69,14 +69,20 @@ type LookupSmBypassActivationLockAttemptsResult struct { func LookupSmBypassActivationLockAttemptsOutput(ctx *pulumi.Context, args LookupSmBypassActivationLockAttemptsOutputArgs, opts ...pulumi.InvokeOption) LookupSmBypassActivationLockAttemptsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSmBypassActivationLockAttemptsResult, error) { + ApplyT(func(v interface{}) (LookupSmBypassActivationLockAttemptsResultOutput, error) { args := v.(LookupSmBypassActivationLockAttemptsArgs) - r, err := LookupSmBypassActivationLockAttempts(ctx, &args, opts...) - var s LookupSmBypassActivationLockAttemptsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSmBypassActivationLockAttemptsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmBypassActivationLockAttempts:getSmBypassActivationLockAttempts", args, &rv, "", opts...) + if err != nil { + return LookupSmBypassActivationLockAttemptsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSmBypassActivationLockAttemptsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSmBypassActivationLockAttemptsResultOutput), nil + } + return output, nil }).(LookupSmBypassActivationLockAttemptsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevices.go b/sdk/go/meraki/networks/getSmDevices.go index bd126200..6f73ae65 100644 --- a/sdk/go/meraki/networks/getSmDevices.go +++ b/sdk/go/meraki/networks/getSmDevices.go @@ -141,14 +141,20 @@ type GetSmDevicesResult struct { func GetSmDevicesOutput(ctx *pulumi.Context, args GetSmDevicesOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesResultOutput, error) { args := v.(GetSmDevicesArgs) - r, err := GetSmDevices(ctx, &args, opts...) - var s GetSmDevicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevices:getSmDevices", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesResultOutput), nil + } + return output, nil }).(GetSmDevicesResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesCellularUsageHistory.go b/sdk/go/meraki/networks/getSmDevicesCellularUsageHistory.go index 058763a5..98c6e8c1 100644 --- a/sdk/go/meraki/networks/getSmDevicesCellularUsageHistory.go +++ b/sdk/go/meraki/networks/getSmDevicesCellularUsageHistory.go @@ -70,14 +70,20 @@ type GetSmDevicesCellularUsageHistoryResult struct { func GetSmDevicesCellularUsageHistoryOutput(ctx *pulumi.Context, args GetSmDevicesCellularUsageHistoryOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesCellularUsageHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesCellularUsageHistoryResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesCellularUsageHistoryResultOutput, error) { args := v.(GetSmDevicesCellularUsageHistoryArgs) - r, err := GetSmDevicesCellularUsageHistory(ctx, &args, opts...) - var s GetSmDevicesCellularUsageHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesCellularUsageHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesCellularUsageHistory:getSmDevicesCellularUsageHistory", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesCellularUsageHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesCellularUsageHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesCellularUsageHistoryResultOutput), nil + } + return output, nil }).(GetSmDevicesCellularUsageHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesCerts.go b/sdk/go/meraki/networks/getSmDevicesCerts.go index a6c0c7cb..02bd29ef 100644 --- a/sdk/go/meraki/networks/getSmDevicesCerts.go +++ b/sdk/go/meraki/networks/getSmDevicesCerts.go @@ -70,14 +70,20 @@ type GetSmDevicesCertsResult struct { func GetSmDevicesCertsOutput(ctx *pulumi.Context, args GetSmDevicesCertsOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesCertsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesCertsResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesCertsResultOutput, error) { args := v.(GetSmDevicesCertsArgs) - r, err := GetSmDevicesCerts(ctx, &args, opts...) - var s GetSmDevicesCertsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesCertsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesCerts:getSmDevicesCerts", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesCertsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesCertsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesCertsResultOutput), nil + } + return output, nil }).(GetSmDevicesCertsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesConnectivity.go b/sdk/go/meraki/networks/getSmDevicesConnectivity.go index 85f9fd61..cad08599 100644 --- a/sdk/go/meraki/networks/getSmDevicesConnectivity.go +++ b/sdk/go/meraki/networks/getSmDevicesConnectivity.go @@ -85,14 +85,20 @@ type GetSmDevicesConnectivityResult struct { func GetSmDevicesConnectivityOutput(ctx *pulumi.Context, args GetSmDevicesConnectivityOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesConnectivityResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesConnectivityResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesConnectivityResultOutput, error) { args := v.(GetSmDevicesConnectivityArgs) - r, err := GetSmDevicesConnectivity(ctx, &args, opts...) - var s GetSmDevicesConnectivityResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesConnectivityResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesConnectivity:getSmDevicesConnectivity", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesConnectivityResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesConnectivityResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesConnectivityResultOutput), nil + } + return output, nil }).(GetSmDevicesConnectivityResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesDesktopLogs.go b/sdk/go/meraki/networks/getSmDevicesDesktopLogs.go index 52fe20a3..89f725cb 100644 --- a/sdk/go/meraki/networks/getSmDevicesDesktopLogs.go +++ b/sdk/go/meraki/networks/getSmDevicesDesktopLogs.go @@ -85,14 +85,20 @@ type GetSmDevicesDesktopLogsResult struct { func GetSmDevicesDesktopLogsOutput(ctx *pulumi.Context, args GetSmDevicesDesktopLogsOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesDesktopLogsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesDesktopLogsResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesDesktopLogsResultOutput, error) { args := v.(GetSmDevicesDesktopLogsArgs) - r, err := GetSmDevicesDesktopLogs(ctx, &args, opts...) - var s GetSmDevicesDesktopLogsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesDesktopLogsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesDesktopLogsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesDesktopLogsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesDesktopLogsResultOutput), nil + } + return output, nil }).(GetSmDevicesDesktopLogsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesDeviceCommandLogs.go b/sdk/go/meraki/networks/getSmDevicesDeviceCommandLogs.go index 6bea6dda..dc03e94a 100644 --- a/sdk/go/meraki/networks/getSmDevicesDeviceCommandLogs.go +++ b/sdk/go/meraki/networks/getSmDevicesDeviceCommandLogs.go @@ -85,14 +85,20 @@ type GetSmDevicesDeviceCommandLogsResult struct { func GetSmDevicesDeviceCommandLogsOutput(ctx *pulumi.Context, args GetSmDevicesDeviceCommandLogsOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesDeviceCommandLogsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesDeviceCommandLogsResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesDeviceCommandLogsResultOutput, error) { args := v.(GetSmDevicesDeviceCommandLogsArgs) - r, err := GetSmDevicesDeviceCommandLogs(ctx, &args, opts...) - var s GetSmDevicesDeviceCommandLogsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesDeviceCommandLogsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesDeviceCommandLogs:getSmDevicesDeviceCommandLogs", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesDeviceCommandLogsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesDeviceCommandLogsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesDeviceCommandLogsResultOutput), nil + } + return output, nil }).(GetSmDevicesDeviceCommandLogsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesDeviceProfiles.go b/sdk/go/meraki/networks/getSmDevicesDeviceProfiles.go index 66187606..7514d4c6 100644 --- a/sdk/go/meraki/networks/getSmDevicesDeviceProfiles.go +++ b/sdk/go/meraki/networks/getSmDevicesDeviceProfiles.go @@ -70,14 +70,20 @@ type GetSmDevicesDeviceProfilesResult struct { func GetSmDevicesDeviceProfilesOutput(ctx *pulumi.Context, args GetSmDevicesDeviceProfilesOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesDeviceProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesDeviceProfilesResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesDeviceProfilesResultOutput, error) { args := v.(GetSmDevicesDeviceProfilesArgs) - r, err := GetSmDevicesDeviceProfiles(ctx, &args, opts...) - var s GetSmDevicesDeviceProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesDeviceProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesDeviceProfiles:getSmDevicesDeviceProfiles", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesDeviceProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesDeviceProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesDeviceProfilesResultOutput), nil + } + return output, nil }).(GetSmDevicesDeviceProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesNetworkAdapters.go b/sdk/go/meraki/networks/getSmDevicesNetworkAdapters.go index 3f22da21..a67cbd61 100644 --- a/sdk/go/meraki/networks/getSmDevicesNetworkAdapters.go +++ b/sdk/go/meraki/networks/getSmDevicesNetworkAdapters.go @@ -70,14 +70,20 @@ type GetSmDevicesNetworkAdaptersResult struct { func GetSmDevicesNetworkAdaptersOutput(ctx *pulumi.Context, args GetSmDevicesNetworkAdaptersOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesNetworkAdaptersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesNetworkAdaptersResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesNetworkAdaptersResultOutput, error) { args := v.(GetSmDevicesNetworkAdaptersArgs) - r, err := GetSmDevicesNetworkAdapters(ctx, &args, opts...) - var s GetSmDevicesNetworkAdaptersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesNetworkAdaptersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesNetworkAdapters:getSmDevicesNetworkAdapters", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesNetworkAdaptersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesNetworkAdaptersResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesNetworkAdaptersResultOutput), nil + } + return output, nil }).(GetSmDevicesNetworkAdaptersResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesPerformanceHistory.go b/sdk/go/meraki/networks/getSmDevicesPerformanceHistory.go index 394932a5..4979d1e5 100644 --- a/sdk/go/meraki/networks/getSmDevicesPerformanceHistory.go +++ b/sdk/go/meraki/networks/getSmDevicesPerformanceHistory.go @@ -85,14 +85,20 @@ type GetSmDevicesPerformanceHistoryResult struct { func GetSmDevicesPerformanceHistoryOutput(ctx *pulumi.Context, args GetSmDevicesPerformanceHistoryOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesPerformanceHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesPerformanceHistoryResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesPerformanceHistoryResultOutput, error) { args := v.(GetSmDevicesPerformanceHistoryArgs) - r, err := GetSmDevicesPerformanceHistory(ctx, &args, opts...) - var s GetSmDevicesPerformanceHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesPerformanceHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesPerformanceHistory:getSmDevicesPerformanceHistory", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesPerformanceHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesPerformanceHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesPerformanceHistoryResultOutput), nil + } + return output, nil }).(GetSmDevicesPerformanceHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesSecurityCenters.go b/sdk/go/meraki/networks/getSmDevicesSecurityCenters.go index e599c738..abf0a843 100644 --- a/sdk/go/meraki/networks/getSmDevicesSecurityCenters.go +++ b/sdk/go/meraki/networks/getSmDevicesSecurityCenters.go @@ -70,14 +70,20 @@ type GetSmDevicesSecurityCentersResult struct { func GetSmDevicesSecurityCentersOutput(ctx *pulumi.Context, args GetSmDevicesSecurityCentersOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesSecurityCentersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesSecurityCentersResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesSecurityCentersResultOutput, error) { args := v.(GetSmDevicesSecurityCentersArgs) - r, err := GetSmDevicesSecurityCenters(ctx, &args, opts...) - var s GetSmDevicesSecurityCentersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesSecurityCentersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesSecurityCenters:getSmDevicesSecurityCenters", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesSecurityCentersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesSecurityCentersResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesSecurityCentersResultOutput), nil + } + return output, nil }).(GetSmDevicesSecurityCentersResultOutput) } diff --git a/sdk/go/meraki/networks/getSmDevicesWlanLists.go b/sdk/go/meraki/networks/getSmDevicesWlanLists.go index b79be6bf..b1d68849 100644 --- a/sdk/go/meraki/networks/getSmDevicesWlanLists.go +++ b/sdk/go/meraki/networks/getSmDevicesWlanLists.go @@ -70,14 +70,20 @@ type GetSmDevicesWlanListsResult struct { func GetSmDevicesWlanListsOutput(ctx *pulumi.Context, args GetSmDevicesWlanListsOutputArgs, opts ...pulumi.InvokeOption) GetSmDevicesWlanListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmDevicesWlanListsResult, error) { + ApplyT(func(v interface{}) (GetSmDevicesWlanListsResultOutput, error) { args := v.(GetSmDevicesWlanListsArgs) - r, err := GetSmDevicesWlanLists(ctx, &args, opts...) - var s GetSmDevicesWlanListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmDevicesWlanListsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmDevicesWlanLists:getSmDevicesWlanLists", args, &rv, "", opts...) + if err != nil { + return GetSmDevicesWlanListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmDevicesWlanListsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmDevicesWlanListsResultOutput), nil + } + return output, nil }).(GetSmDevicesWlanListsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmProfiles.go b/sdk/go/meraki/networks/getSmProfiles.go index 6191c6d1..14469b54 100644 --- a/sdk/go/meraki/networks/getSmProfiles.go +++ b/sdk/go/meraki/networks/getSmProfiles.go @@ -72,14 +72,20 @@ type GetSmProfilesResult struct { func GetSmProfilesOutput(ctx *pulumi.Context, args GetSmProfilesOutputArgs, opts ...pulumi.InvokeOption) GetSmProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmProfilesResult, error) { + ApplyT(func(v interface{}) (GetSmProfilesResultOutput, error) { args := v.(GetSmProfilesArgs) - r, err := GetSmProfiles(ctx, &args, opts...) - var s GetSmProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmProfiles:getSmProfiles", args, &rv, "", opts...) + if err != nil { + return GetSmProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmProfilesResultOutput), nil + } + return output, nil }).(GetSmProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getSmTargetGroups.go b/sdk/go/meraki/networks/getSmTargetGroups.go index 40a79fe4..05e97042 100644 --- a/sdk/go/meraki/networks/getSmTargetGroups.go +++ b/sdk/go/meraki/networks/getSmTargetGroups.go @@ -49,14 +49,20 @@ type LookupSmTargetGroupsResult struct { func LookupSmTargetGroupsOutput(ctx *pulumi.Context, args LookupSmTargetGroupsOutputArgs, opts ...pulumi.InvokeOption) LookupSmTargetGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSmTargetGroupsResult, error) { + ApplyT(func(v interface{}) (LookupSmTargetGroupsResultOutput, error) { args := v.(LookupSmTargetGroupsArgs) - r, err := LookupSmTargetGroups(ctx, &args, opts...) - var s LookupSmTargetGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSmTargetGroupsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmTargetGroups:getSmTargetGroups", args, &rv, "", opts...) + if err != nil { + return LookupSmTargetGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSmTargetGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSmTargetGroupsResultOutput), nil + } + return output, nil }).(LookupSmTargetGroupsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmTrustedAccessConfigs.go b/sdk/go/meraki/networks/getSmTrustedAccessConfigs.go index f0edbcc2..41b594d9 100644 --- a/sdk/go/meraki/networks/getSmTrustedAccessConfigs.go +++ b/sdk/go/meraki/networks/getSmTrustedAccessConfigs.go @@ -80,14 +80,20 @@ type GetSmTrustedAccessConfigsResult struct { func GetSmTrustedAccessConfigsOutput(ctx *pulumi.Context, args GetSmTrustedAccessConfigsOutputArgs, opts ...pulumi.InvokeOption) GetSmTrustedAccessConfigsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmTrustedAccessConfigsResult, error) { + ApplyT(func(v interface{}) (GetSmTrustedAccessConfigsResultOutput, error) { args := v.(GetSmTrustedAccessConfigsArgs) - r, err := GetSmTrustedAccessConfigs(ctx, &args, opts...) - var s GetSmTrustedAccessConfigsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmTrustedAccessConfigsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmTrustedAccessConfigs:getSmTrustedAccessConfigs", args, &rv, "", opts...) + if err != nil { + return GetSmTrustedAccessConfigsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmTrustedAccessConfigsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmTrustedAccessConfigsResultOutput), nil + } + return output, nil }).(GetSmTrustedAccessConfigsResultOutput) } diff --git a/sdk/go/meraki/networks/getSmUserAccessDevices.go b/sdk/go/meraki/networks/getSmUserAccessDevices.go index f5b71d1b..fbfea7f7 100644 --- a/sdk/go/meraki/networks/getSmUserAccessDevices.go +++ b/sdk/go/meraki/networks/getSmUserAccessDevices.go @@ -80,14 +80,20 @@ type GetSmUserAccessDevicesResult struct { func GetSmUserAccessDevicesOutput(ctx *pulumi.Context, args GetSmUserAccessDevicesOutputArgs, opts ...pulumi.InvokeOption) GetSmUserAccessDevicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmUserAccessDevicesResult, error) { + ApplyT(func(v interface{}) (GetSmUserAccessDevicesResultOutput, error) { args := v.(GetSmUserAccessDevicesArgs) - r, err := GetSmUserAccessDevices(ctx, &args, opts...) - var s GetSmUserAccessDevicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmUserAccessDevicesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmUserAccessDevices:getSmUserAccessDevices", args, &rv, "", opts...) + if err != nil { + return GetSmUserAccessDevicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmUserAccessDevicesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmUserAccessDevicesResultOutput), nil + } + return output, nil }).(GetSmUserAccessDevicesResultOutput) } diff --git a/sdk/go/meraki/networks/getSmUsers.go b/sdk/go/meraki/networks/getSmUsers.go index 68bd3099..7c8d59f0 100644 --- a/sdk/go/meraki/networks/getSmUsers.go +++ b/sdk/go/meraki/networks/getSmUsers.go @@ -93,14 +93,20 @@ type GetSmUsersResult struct { func GetSmUsersOutput(ctx *pulumi.Context, args GetSmUsersOutputArgs, opts ...pulumi.InvokeOption) GetSmUsersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmUsersResult, error) { + ApplyT(func(v interface{}) (GetSmUsersResultOutput, error) { args := v.(GetSmUsersArgs) - r, err := GetSmUsers(ctx, &args, opts...) - var s GetSmUsersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmUsersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmUsers:getSmUsers", args, &rv, "", opts...) + if err != nil { + return GetSmUsersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmUsersResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmUsersResultOutput), nil + } + return output, nil }).(GetSmUsersResultOutput) } diff --git a/sdk/go/meraki/networks/getSmUsersDeviceProfiles.go b/sdk/go/meraki/networks/getSmUsersDeviceProfiles.go index 88510e0d..5798e6ed 100644 --- a/sdk/go/meraki/networks/getSmUsersDeviceProfiles.go +++ b/sdk/go/meraki/networks/getSmUsersDeviceProfiles.go @@ -70,14 +70,20 @@ type GetSmUsersDeviceProfilesResult struct { func GetSmUsersDeviceProfilesOutput(ctx *pulumi.Context, args GetSmUsersDeviceProfilesOutputArgs, opts ...pulumi.InvokeOption) GetSmUsersDeviceProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmUsersDeviceProfilesResult, error) { + ApplyT(func(v interface{}) (GetSmUsersDeviceProfilesResultOutput, error) { args := v.(GetSmUsersDeviceProfilesArgs) - r, err := GetSmUsersDeviceProfiles(ctx, &args, opts...) - var s GetSmUsersDeviceProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmUsersDeviceProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmUsersDeviceProfiles:getSmUsersDeviceProfiles", args, &rv, "", opts...) + if err != nil { + return GetSmUsersDeviceProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmUsersDeviceProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmUsersDeviceProfilesResultOutput), nil + } + return output, nil }).(GetSmUsersDeviceProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getSmUsersSoftwares.go b/sdk/go/meraki/networks/getSmUsersSoftwares.go index 2777a6ff..be1fcf4c 100644 --- a/sdk/go/meraki/networks/getSmUsersSoftwares.go +++ b/sdk/go/meraki/networks/getSmUsersSoftwares.go @@ -70,14 +70,20 @@ type GetSmUsersSoftwaresResult struct { func GetSmUsersSoftwaresOutput(ctx *pulumi.Context, args GetSmUsersSoftwaresOutputArgs, opts ...pulumi.InvokeOption) GetSmUsersSoftwaresResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmUsersSoftwaresResult, error) { + ApplyT(func(v interface{}) (GetSmUsersSoftwaresResultOutput, error) { args := v.(GetSmUsersSoftwaresArgs) - r, err := GetSmUsersSoftwares(ctx, &args, opts...) - var s GetSmUsersSoftwaresResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmUsersSoftwaresResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSmUsersSoftwares:getSmUsersSoftwares", args, &rv, "", opts...) + if err != nil { + return GetSmUsersSoftwaresResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmUsersSoftwaresResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmUsersSoftwaresResultOutput), nil + } + return output, nil }).(GetSmUsersSoftwaresResultOutput) } diff --git a/sdk/go/meraki/networks/getSnmp.go b/sdk/go/meraki/networks/getSnmp.go index eddde05a..df338f1b 100644 --- a/sdk/go/meraki/networks/getSnmp.go +++ b/sdk/go/meraki/networks/getSnmp.go @@ -64,14 +64,20 @@ type LookupSnmpResult struct { func LookupSnmpOutput(ctx *pulumi.Context, args LookupSnmpOutputArgs, opts ...pulumi.InvokeOption) LookupSnmpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSnmpResult, error) { + ApplyT(func(v interface{}) (LookupSnmpResultOutput, error) { args := v.(LookupSnmpArgs) - r, err := LookupSnmp(ctx, &args, opts...) - var s LookupSnmpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSnmpResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSnmp:getSnmp", args, &rv, "", opts...) + if err != nil { + return LookupSnmpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSnmpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSnmpResultOutput), nil + } + return output, nil }).(LookupSnmpResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchAccessControlLists.go b/sdk/go/meraki/networks/getSwitchAccessControlLists.go index 9df46d3e..42e5e79c 100644 --- a/sdk/go/meraki/networks/getSwitchAccessControlLists.go +++ b/sdk/go/meraki/networks/getSwitchAccessControlLists.go @@ -64,14 +64,20 @@ type LookupSwitchAccessControlListsResult struct { func LookupSwitchAccessControlListsOutput(ctx *pulumi.Context, args LookupSwitchAccessControlListsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchAccessControlListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchAccessControlListsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchAccessControlListsResultOutput, error) { args := v.(LookupSwitchAccessControlListsArgs) - r, err := LookupSwitchAccessControlLists(ctx, &args, opts...) - var s LookupSwitchAccessControlListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchAccessControlListsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchAccessControlLists:getSwitchAccessControlLists", args, &rv, "", opts...) + if err != nil { + return LookupSwitchAccessControlListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchAccessControlListsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchAccessControlListsResultOutput), nil + } + return output, nil }).(LookupSwitchAccessControlListsResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchAccessPolicies.go b/sdk/go/meraki/networks/getSwitchAccessPolicies.go index e21defdd..2ec436fd 100644 --- a/sdk/go/meraki/networks/getSwitchAccessPolicies.go +++ b/sdk/go/meraki/networks/getSwitchAccessPolicies.go @@ -45,14 +45,20 @@ type LookupSwitchAccessPoliciesResult struct { func LookupSwitchAccessPoliciesOutput(ctx *pulumi.Context, args LookupSwitchAccessPoliciesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchAccessPoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchAccessPoliciesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchAccessPoliciesResultOutput, error) { args := v.(LookupSwitchAccessPoliciesArgs) - r, err := LookupSwitchAccessPolicies(ctx, &args, opts...) - var s LookupSwitchAccessPoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchAccessPoliciesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchAccessPolicies:getSwitchAccessPolicies", args, &rv, "", opts...) + if err != nil { + return LookupSwitchAccessPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchAccessPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchAccessPoliciesResultOutput), nil + } + return output, nil }).(LookupSwitchAccessPoliciesResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchAlternateManagementInterface.go b/sdk/go/meraki/networks/getSwitchAlternateManagementInterface.go index 3edf2217..2a1e3263 100644 --- a/sdk/go/meraki/networks/getSwitchAlternateManagementInterface.go +++ b/sdk/go/meraki/networks/getSwitchAlternateManagementInterface.go @@ -64,14 +64,20 @@ type LookupSwitchAlternateManagementInterfaceResult struct { func LookupSwitchAlternateManagementInterfaceOutput(ctx *pulumi.Context, args LookupSwitchAlternateManagementInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchAlternateManagementInterfaceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchAlternateManagementInterfaceResult, error) { + ApplyT(func(v interface{}) (LookupSwitchAlternateManagementInterfaceResultOutput, error) { args := v.(LookupSwitchAlternateManagementInterfaceArgs) - r, err := LookupSwitchAlternateManagementInterface(ctx, &args, opts...) - var s LookupSwitchAlternateManagementInterfaceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchAlternateManagementInterfaceResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchAlternateManagementInterface:getSwitchAlternateManagementInterface", args, &rv, "", opts...) + if err != nil { + return LookupSwitchAlternateManagementInterfaceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchAlternateManagementInterfaceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchAlternateManagementInterfaceResultOutput), nil + } + return output, nil }).(LookupSwitchAlternateManagementInterfaceResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchDhcpServerPolicy.go b/sdk/go/meraki/networks/getSwitchDhcpServerPolicy.go index 3681ac8d..5cba91a0 100644 --- a/sdk/go/meraki/networks/getSwitchDhcpServerPolicy.go +++ b/sdk/go/meraki/networks/getSwitchDhcpServerPolicy.go @@ -64,14 +64,20 @@ type LookupSwitchDhcpServerPolicyResult struct { func LookupSwitchDhcpServerPolicyOutput(ctx *pulumi.Context, args LookupSwitchDhcpServerPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchDhcpServerPolicyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchDhcpServerPolicyResult, error) { + ApplyT(func(v interface{}) (LookupSwitchDhcpServerPolicyResultOutput, error) { args := v.(LookupSwitchDhcpServerPolicyArgs) - r, err := LookupSwitchDhcpServerPolicy(ctx, &args, opts...) - var s LookupSwitchDhcpServerPolicyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchDhcpServerPolicyResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchDhcpServerPolicy:getSwitchDhcpServerPolicy", args, &rv, "", opts...) + if err != nil { + return LookupSwitchDhcpServerPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchDhcpServerPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchDhcpServerPolicyResultOutput), nil + } + return output, nil }).(LookupSwitchDhcpServerPolicyResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.go b/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.go index a1d203e0..7e8e86be 100644 --- a/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.go +++ b/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.go @@ -80,14 +80,20 @@ type LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResult struct { func LookupSwitchDhcpServerPolicyArpInspectionTrustedServersOutput(ctx *pulumi.Context, args LookupSwitchDhcpServerPolicyArpInspectionTrustedServersOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResult, error) { + ApplyT(func(v interface{}) (LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput, error) { args := v.(LookupSwitchDhcpServerPolicyArpInspectionTrustedServersArgs) - r, err := LookupSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx, &args, opts...) - var s LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers:getSwitchDhcpServerPolicyArpInspectionTrustedServers", args, &rv, "", opts...) + if err != nil { + return LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput), nil + } + return output, nil }).(LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.go b/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.go index ebd9028f..13f4ecfe 100644 --- a/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.go +++ b/sdk/go/meraki/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.go @@ -80,14 +80,20 @@ type GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResult struct { func GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOutput(ctx *pulumi.Context, args GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResult, error) { + ApplyT(func(v interface{}) (GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput, error) { args := v.(GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceArgs) - r, err := GetSwitchDhcpServerPolicyArpInspectionWarningsByDevice(ctx, &args, opts...) - var s GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice:getSwitchDhcpServerPolicyArpInspectionWarningsByDevice", args, &rv, "", opts...) + if err != nil { + return GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput), nil + } + return output, nil }).(GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchDhcpV4ServersSeen.go b/sdk/go/meraki/networks/getSwitchDhcpV4ServersSeen.go index 6a626e9b..ee312b3b 100644 --- a/sdk/go/meraki/networks/getSwitchDhcpV4ServersSeen.go +++ b/sdk/go/meraki/networks/getSwitchDhcpV4ServersSeen.go @@ -90,14 +90,20 @@ type GetSwitchDhcpV4ServersSeenResult struct { func GetSwitchDhcpV4ServersSeenOutput(ctx *pulumi.Context, args GetSwitchDhcpV4ServersSeenOutputArgs, opts ...pulumi.InvokeOption) GetSwitchDhcpV4ServersSeenResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSwitchDhcpV4ServersSeenResult, error) { + ApplyT(func(v interface{}) (GetSwitchDhcpV4ServersSeenResultOutput, error) { args := v.(GetSwitchDhcpV4ServersSeenArgs) - r, err := GetSwitchDhcpV4ServersSeen(ctx, &args, opts...) - var s GetSwitchDhcpV4ServersSeenResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSwitchDhcpV4ServersSeenResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchDhcpV4ServersSeen:getSwitchDhcpV4ServersSeen", args, &rv, "", opts...) + if err != nil { + return GetSwitchDhcpV4ServersSeenResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSwitchDhcpV4ServersSeenResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSwitchDhcpV4ServersSeenResultOutput), nil + } + return output, nil }).(GetSwitchDhcpV4ServersSeenResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchDscpToCosMappings.go b/sdk/go/meraki/networks/getSwitchDscpToCosMappings.go index 86e9eb2e..863e8a70 100644 --- a/sdk/go/meraki/networks/getSwitchDscpToCosMappings.go +++ b/sdk/go/meraki/networks/getSwitchDscpToCosMappings.go @@ -64,14 +64,20 @@ type LookupSwitchDscpToCosMappingsResult struct { func LookupSwitchDscpToCosMappingsOutput(ctx *pulumi.Context, args LookupSwitchDscpToCosMappingsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchDscpToCosMappingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchDscpToCosMappingsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchDscpToCosMappingsResultOutput, error) { args := v.(LookupSwitchDscpToCosMappingsArgs) - r, err := LookupSwitchDscpToCosMappings(ctx, &args, opts...) - var s LookupSwitchDscpToCosMappingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchDscpToCosMappingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchDscpToCosMappings:getSwitchDscpToCosMappings", args, &rv, "", opts...) + if err != nil { + return LookupSwitchDscpToCosMappingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchDscpToCosMappingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchDscpToCosMappingsResultOutput), nil + } + return output, nil }).(LookupSwitchDscpToCosMappingsResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchLinkAggregations.go b/sdk/go/meraki/networks/getSwitchLinkAggregations.go index e99a46d5..30be5513 100644 --- a/sdk/go/meraki/networks/getSwitchLinkAggregations.go +++ b/sdk/go/meraki/networks/getSwitchLinkAggregations.go @@ -65,14 +65,20 @@ type LookupSwitchLinkAggregationsResult struct { func LookupSwitchLinkAggregationsOutput(ctx *pulumi.Context, args LookupSwitchLinkAggregationsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchLinkAggregationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchLinkAggregationsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchLinkAggregationsResultOutput, error) { args := v.(LookupSwitchLinkAggregationsArgs) - r, err := LookupSwitchLinkAggregations(ctx, &args, opts...) - var s LookupSwitchLinkAggregationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchLinkAggregationsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchLinkAggregations:getSwitchLinkAggregations", args, &rv, "", opts...) + if err != nil { + return LookupSwitchLinkAggregationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchLinkAggregationsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchLinkAggregationsResultOutput), nil + } + return output, nil }).(LookupSwitchLinkAggregationsResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchMtu.go b/sdk/go/meraki/networks/getSwitchMtu.go index 2f1159cd..c42f757d 100644 --- a/sdk/go/meraki/networks/getSwitchMtu.go +++ b/sdk/go/meraki/networks/getSwitchMtu.go @@ -64,14 +64,20 @@ type LookupSwitchMtuResult struct { func LookupSwitchMtuOutput(ctx *pulumi.Context, args LookupSwitchMtuOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchMtuResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchMtuResult, error) { + ApplyT(func(v interface{}) (LookupSwitchMtuResultOutput, error) { args := v.(LookupSwitchMtuArgs) - r, err := LookupSwitchMtu(ctx, &args, opts...) - var s LookupSwitchMtuResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchMtuResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchMtu:getSwitchMtu", args, &rv, "", opts...) + if err != nil { + return LookupSwitchMtuResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchMtuResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchMtuResultOutput), nil + } + return output, nil }).(LookupSwitchMtuResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchPortSchedules.go b/sdk/go/meraki/networks/getSwitchPortSchedules.go index 1b026343..5262e21c 100644 --- a/sdk/go/meraki/networks/getSwitchPortSchedules.go +++ b/sdk/go/meraki/networks/getSwitchPortSchedules.go @@ -65,14 +65,20 @@ type LookupSwitchPortSchedulesResult struct { func LookupSwitchPortSchedulesOutput(ctx *pulumi.Context, args LookupSwitchPortSchedulesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchPortSchedulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchPortSchedulesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchPortSchedulesResultOutput, error) { args := v.(LookupSwitchPortSchedulesArgs) - r, err := LookupSwitchPortSchedules(ctx, &args, opts...) - var s LookupSwitchPortSchedulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchPortSchedulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchPortSchedules:getSwitchPortSchedules", args, &rv, "", opts...) + if err != nil { + return LookupSwitchPortSchedulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchPortSchedulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchPortSchedulesResultOutput), nil + } + return output, nil }).(LookupSwitchPortSchedulesResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchQosRulesOrder.go b/sdk/go/meraki/networks/getSwitchQosRulesOrder.go index 32af79b1..059ea289 100644 --- a/sdk/go/meraki/networks/getSwitchQosRulesOrder.go +++ b/sdk/go/meraki/networks/getSwitchQosRulesOrder.go @@ -45,14 +45,20 @@ type LookupSwitchQosRulesOrderResult struct { func LookupSwitchQosRulesOrderOutput(ctx *pulumi.Context, args LookupSwitchQosRulesOrderOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchQosRulesOrderResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchQosRulesOrderResult, error) { + ApplyT(func(v interface{}) (LookupSwitchQosRulesOrderResultOutput, error) { args := v.(LookupSwitchQosRulesOrderArgs) - r, err := LookupSwitchQosRulesOrder(ctx, &args, opts...) - var s LookupSwitchQosRulesOrderResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchQosRulesOrderResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchQosRulesOrder:getSwitchQosRulesOrder", args, &rv, "", opts...) + if err != nil { + return LookupSwitchQosRulesOrderResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchQosRulesOrderResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchQosRulesOrderResultOutput), nil + } + return output, nil }).(LookupSwitchQosRulesOrderResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchRoutingMulticast.go b/sdk/go/meraki/networks/getSwitchRoutingMulticast.go index b60094de..e79ed384 100644 --- a/sdk/go/meraki/networks/getSwitchRoutingMulticast.go +++ b/sdk/go/meraki/networks/getSwitchRoutingMulticast.go @@ -64,14 +64,20 @@ type LookupSwitchRoutingMulticastResult struct { func LookupSwitchRoutingMulticastOutput(ctx *pulumi.Context, args LookupSwitchRoutingMulticastOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingMulticastResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingMulticastResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingMulticastResultOutput, error) { args := v.(LookupSwitchRoutingMulticastArgs) - r, err := LookupSwitchRoutingMulticast(ctx, &args, opts...) - var s LookupSwitchRoutingMulticastResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingMulticastResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchRoutingMulticast:getSwitchRoutingMulticast", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingMulticastResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingMulticastResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingMulticastResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingMulticastResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchRoutingMulticastRendezvousPoints.go b/sdk/go/meraki/networks/getSwitchRoutingMulticastRendezvousPoints.go index 28cbd121..048db87a 100644 --- a/sdk/go/meraki/networks/getSwitchRoutingMulticastRendezvousPoints.go +++ b/sdk/go/meraki/networks/getSwitchRoutingMulticastRendezvousPoints.go @@ -45,14 +45,20 @@ type LookupSwitchRoutingMulticastRendezvousPointsResult struct { func LookupSwitchRoutingMulticastRendezvousPointsOutput(ctx *pulumi.Context, args LookupSwitchRoutingMulticastRendezvousPointsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingMulticastRendezvousPointsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingMulticastRendezvousPointsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingMulticastRendezvousPointsResultOutput, error) { args := v.(LookupSwitchRoutingMulticastRendezvousPointsArgs) - r, err := LookupSwitchRoutingMulticastRendezvousPoints(ctx, &args, opts...) - var s LookupSwitchRoutingMulticastRendezvousPointsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingMulticastRendezvousPointsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchRoutingMulticastRendezvousPoints:getSwitchRoutingMulticastRendezvousPoints", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingMulticastRendezvousPointsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingMulticastRendezvousPointsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingMulticastRendezvousPointsResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingMulticastRendezvousPointsResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchRoutingOspf.go b/sdk/go/meraki/networks/getSwitchRoutingOspf.go index 9cfe492f..68ee8ca2 100644 --- a/sdk/go/meraki/networks/getSwitchRoutingOspf.go +++ b/sdk/go/meraki/networks/getSwitchRoutingOspf.go @@ -64,14 +64,20 @@ type LookupSwitchRoutingOspfResult struct { func LookupSwitchRoutingOspfOutput(ctx *pulumi.Context, args LookupSwitchRoutingOspfOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchRoutingOspfResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchRoutingOspfResult, error) { + ApplyT(func(v interface{}) (LookupSwitchRoutingOspfResultOutput, error) { args := v.(LookupSwitchRoutingOspfArgs) - r, err := LookupSwitchRoutingOspf(ctx, &args, opts...) - var s LookupSwitchRoutingOspfResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchRoutingOspfResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchRoutingOspf:getSwitchRoutingOspf", args, &rv, "", opts...) + if err != nil { + return LookupSwitchRoutingOspfResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchRoutingOspfResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchRoutingOspfResultOutput), nil + } + return output, nil }).(LookupSwitchRoutingOspfResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchSettings.go b/sdk/go/meraki/networks/getSwitchSettings.go index d19a283e..ecba39f2 100644 --- a/sdk/go/meraki/networks/getSwitchSettings.go +++ b/sdk/go/meraki/networks/getSwitchSettings.go @@ -64,14 +64,20 @@ type LookupSwitchSettingsResult struct { func LookupSwitchSettingsOutput(ctx *pulumi.Context, args LookupSwitchSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchSettingsResult, error) { + ApplyT(func(v interface{}) (LookupSwitchSettingsResultOutput, error) { args := v.(LookupSwitchSettingsArgs) - r, err := LookupSwitchSettings(ctx, &args, opts...) - var s LookupSwitchSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchSettings:getSwitchSettings", args, &rv, "", opts...) + if err != nil { + return LookupSwitchSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchSettingsResultOutput), nil + } + return output, nil }).(LookupSwitchSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStacks.go b/sdk/go/meraki/networks/getSwitchStacks.go index 3e1a98d3..58347009 100644 --- a/sdk/go/meraki/networks/getSwitchStacks.go +++ b/sdk/go/meraki/networks/getSwitchStacks.go @@ -45,14 +45,20 @@ type LookupSwitchStacksResult struct { func LookupSwitchStacksOutput(ctx *pulumi.Context, args LookupSwitchStacksOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStacksResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStacksResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStacksResultOutput, error) { args := v.(LookupSwitchStacksArgs) - r, err := LookupSwitchStacks(ctx, &args, opts...) - var s LookupSwitchStacksResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStacksResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStacks:getSwitchStacks", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStacksResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStacksResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStacksResultOutput), nil + } + return output, nil }).(LookupSwitchStacksResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStacksRoutingInterfaces.go b/sdk/go/meraki/networks/getSwitchStacksRoutingInterfaces.go index 50108737..ced9b014 100644 --- a/sdk/go/meraki/networks/getSwitchStacksRoutingInterfaces.go +++ b/sdk/go/meraki/networks/getSwitchStacksRoutingInterfaces.go @@ -49,14 +49,20 @@ type LookupSwitchStacksRoutingInterfacesResult struct { func LookupSwitchStacksRoutingInterfacesOutput(ctx *pulumi.Context, args LookupSwitchStacksRoutingInterfacesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStacksRoutingInterfacesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStacksRoutingInterfacesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStacksRoutingInterfacesResultOutput, error) { args := v.(LookupSwitchStacksRoutingInterfacesArgs) - r, err := LookupSwitchStacksRoutingInterfaces(ctx, &args, opts...) - var s LookupSwitchStacksRoutingInterfacesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStacksRoutingInterfacesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStacksRoutingInterfaces:getSwitchStacksRoutingInterfaces", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStacksRoutingInterfacesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStacksRoutingInterfacesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStacksRoutingInterfacesResultOutput), nil + } + return output, nil }).(LookupSwitchStacksRoutingInterfacesResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStacksRoutingInterfacesDhcp.go b/sdk/go/meraki/networks/getSwitchStacksRoutingInterfacesDhcp.go index 1089e496..71b70b64 100644 --- a/sdk/go/meraki/networks/getSwitchStacksRoutingInterfacesDhcp.go +++ b/sdk/go/meraki/networks/getSwitchStacksRoutingInterfacesDhcp.go @@ -74,14 +74,20 @@ type LookupSwitchStacksRoutingInterfacesDhcpResult struct { func LookupSwitchStacksRoutingInterfacesDhcpOutput(ctx *pulumi.Context, args LookupSwitchStacksRoutingInterfacesDhcpOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStacksRoutingInterfacesDhcpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStacksRoutingInterfacesDhcpResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStacksRoutingInterfacesDhcpResultOutput, error) { args := v.(LookupSwitchStacksRoutingInterfacesDhcpArgs) - r, err := LookupSwitchStacksRoutingInterfacesDhcp(ctx, &args, opts...) - var s LookupSwitchStacksRoutingInterfacesDhcpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStacksRoutingInterfacesDhcpResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStacksRoutingInterfacesDhcp:getSwitchStacksRoutingInterfacesDhcp", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStacksRoutingInterfacesDhcpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStacksRoutingInterfacesDhcpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStacksRoutingInterfacesDhcpResultOutput), nil + } + return output, nil }).(LookupSwitchStacksRoutingInterfacesDhcpResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStacksRoutingStaticRoutes.go b/sdk/go/meraki/networks/getSwitchStacksRoutingStaticRoutes.go index 080bbcf3..8acc3446 100644 --- a/sdk/go/meraki/networks/getSwitchStacksRoutingStaticRoutes.go +++ b/sdk/go/meraki/networks/getSwitchStacksRoutingStaticRoutes.go @@ -49,14 +49,20 @@ type LookupSwitchStacksRoutingStaticRoutesResult struct { func LookupSwitchStacksRoutingStaticRoutesOutput(ctx *pulumi.Context, args LookupSwitchStacksRoutingStaticRoutesOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStacksRoutingStaticRoutesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStacksRoutingStaticRoutesResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStacksRoutingStaticRoutesResultOutput, error) { args := v.(LookupSwitchStacksRoutingStaticRoutesArgs) - r, err := LookupSwitchStacksRoutingStaticRoutes(ctx, &args, opts...) - var s LookupSwitchStacksRoutingStaticRoutesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStacksRoutingStaticRoutesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStacksRoutingStaticRoutes:getSwitchStacksRoutingStaticRoutes", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStacksRoutingStaticRoutesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStacksRoutingStaticRoutesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStacksRoutingStaticRoutesResultOutput), nil + } + return output, nil }).(LookupSwitchStacksRoutingStaticRoutesResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStormControl.go b/sdk/go/meraki/networks/getSwitchStormControl.go index e79128c5..aabc3984 100644 --- a/sdk/go/meraki/networks/getSwitchStormControl.go +++ b/sdk/go/meraki/networks/getSwitchStormControl.go @@ -64,14 +64,20 @@ type LookupSwitchStormControlResult struct { func LookupSwitchStormControlOutput(ctx *pulumi.Context, args LookupSwitchStormControlOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStormControlResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStormControlResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStormControlResultOutput, error) { args := v.(LookupSwitchStormControlArgs) - r, err := LookupSwitchStormControl(ctx, &args, opts...) - var s LookupSwitchStormControlResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStormControlResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStormControl:getSwitchStormControl", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStormControlResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStormControlResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStormControlResultOutput), nil + } + return output, nil }).(LookupSwitchStormControlResultOutput) } diff --git a/sdk/go/meraki/networks/getSwitchStp.go b/sdk/go/meraki/networks/getSwitchStp.go index 6590942f..956854ed 100644 --- a/sdk/go/meraki/networks/getSwitchStp.go +++ b/sdk/go/meraki/networks/getSwitchStp.go @@ -64,14 +64,20 @@ type LookupSwitchStpResult struct { func LookupSwitchStpOutput(ctx *pulumi.Context, args LookupSwitchStpOutputArgs, opts ...pulumi.InvokeOption) LookupSwitchStpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSwitchStpResult, error) { + ApplyT(func(v interface{}) (LookupSwitchStpResultOutput, error) { args := v.(LookupSwitchStpArgs) - r, err := LookupSwitchStp(ctx, &args, opts...) - var s LookupSwitchStpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSwitchStpResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSwitchStp:getSwitchStp", args, &rv, "", opts...) + if err != nil { + return LookupSwitchStpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSwitchStpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSwitchStpResultOutput), nil + } + return output, nil }).(LookupSwitchStpResultOutput) } diff --git a/sdk/go/meraki/networks/getSyslogServers.go b/sdk/go/meraki/networks/getSyslogServers.go index f211f7ee..af358cab 100644 --- a/sdk/go/meraki/networks/getSyslogServers.go +++ b/sdk/go/meraki/networks/getSyslogServers.go @@ -64,14 +64,20 @@ type LookupSyslogServersResult struct { func LookupSyslogServersOutput(ctx *pulumi.Context, args LookupSyslogServersOutputArgs, opts ...pulumi.InvokeOption) LookupSyslogServersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSyslogServersResult, error) { + ApplyT(func(v interface{}) (LookupSyslogServersResultOutput, error) { args := v.(LookupSyslogServersArgs) - r, err := LookupSyslogServers(ctx, &args, opts...) - var s LookupSyslogServersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSyslogServersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getSyslogServers:getSyslogServers", args, &rv, "", opts...) + if err != nil { + return LookupSyslogServersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSyslogServersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSyslogServersResultOutput), nil + } + return output, nil }).(LookupSyslogServersResultOutput) } diff --git a/sdk/go/meraki/networks/getTopologyLinkLayer.go b/sdk/go/meraki/networks/getTopologyLinkLayer.go index ac84ffbb..af1f0c68 100644 --- a/sdk/go/meraki/networks/getTopologyLinkLayer.go +++ b/sdk/go/meraki/networks/getTopologyLinkLayer.go @@ -64,14 +64,20 @@ type GetTopologyLinkLayerResult struct { func GetTopologyLinkLayerOutput(ctx *pulumi.Context, args GetTopologyLinkLayerOutputArgs, opts ...pulumi.InvokeOption) GetTopologyLinkLayerResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetTopologyLinkLayerResult, error) { + ApplyT(func(v interface{}) (GetTopologyLinkLayerResultOutput, error) { args := v.(GetTopologyLinkLayerArgs) - r, err := GetTopologyLinkLayer(ctx, &args, opts...) - var s GetTopologyLinkLayerResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetTopologyLinkLayerResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getTopologyLinkLayer:getTopologyLinkLayer", args, &rv, "", opts...) + if err != nil { + return GetTopologyLinkLayerResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetTopologyLinkLayerResultOutput) + if secret { + return pulumi.ToSecret(output).(GetTopologyLinkLayerResultOutput), nil + } + return output, nil }).(GetTopologyLinkLayerResultOutput) } diff --git a/sdk/go/meraki/networks/getTrafficAnalysis.go b/sdk/go/meraki/networks/getTrafficAnalysis.go index 0d288a51..bddc61fd 100644 --- a/sdk/go/meraki/networks/getTrafficAnalysis.go +++ b/sdk/go/meraki/networks/getTrafficAnalysis.go @@ -64,14 +64,20 @@ type LookupTrafficAnalysisResult struct { func LookupTrafficAnalysisOutput(ctx *pulumi.Context, args LookupTrafficAnalysisOutputArgs, opts ...pulumi.InvokeOption) LookupTrafficAnalysisResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupTrafficAnalysisResult, error) { + ApplyT(func(v interface{}) (LookupTrafficAnalysisResultOutput, error) { args := v.(LookupTrafficAnalysisArgs) - r, err := LookupTrafficAnalysis(ctx, &args, opts...) - var s LookupTrafficAnalysisResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupTrafficAnalysisResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getTrafficAnalysis:getTrafficAnalysis", args, &rv, "", opts...) + if err != nil { + return LookupTrafficAnalysisResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupTrafficAnalysisResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupTrafficAnalysisResultOutput), nil + } + return output, nil }).(LookupTrafficAnalysisResultOutput) } diff --git a/sdk/go/meraki/networks/getTrafficShapingApplicationCategories.go b/sdk/go/meraki/networks/getTrafficShapingApplicationCategories.go index 7f65351f..4ee51cf0 100644 --- a/sdk/go/meraki/networks/getTrafficShapingApplicationCategories.go +++ b/sdk/go/meraki/networks/getTrafficShapingApplicationCategories.go @@ -64,14 +64,20 @@ type GetTrafficShapingApplicationCategoriesResult struct { func GetTrafficShapingApplicationCategoriesOutput(ctx *pulumi.Context, args GetTrafficShapingApplicationCategoriesOutputArgs, opts ...pulumi.InvokeOption) GetTrafficShapingApplicationCategoriesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetTrafficShapingApplicationCategoriesResult, error) { + ApplyT(func(v interface{}) (GetTrafficShapingApplicationCategoriesResultOutput, error) { args := v.(GetTrafficShapingApplicationCategoriesArgs) - r, err := GetTrafficShapingApplicationCategories(ctx, &args, opts...) - var s GetTrafficShapingApplicationCategoriesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetTrafficShapingApplicationCategoriesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getTrafficShapingApplicationCategories:getTrafficShapingApplicationCategories", args, &rv, "", opts...) + if err != nil { + return GetTrafficShapingApplicationCategoriesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetTrafficShapingApplicationCategoriesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetTrafficShapingApplicationCategoriesResultOutput), nil + } + return output, nil }).(GetTrafficShapingApplicationCategoriesResultOutput) } diff --git a/sdk/go/meraki/networks/getTrafficShapingDscpTaggingOptions.go b/sdk/go/meraki/networks/getTrafficShapingDscpTaggingOptions.go index a56ea9a7..ec294ab0 100644 --- a/sdk/go/meraki/networks/getTrafficShapingDscpTaggingOptions.go +++ b/sdk/go/meraki/networks/getTrafficShapingDscpTaggingOptions.go @@ -65,14 +65,20 @@ type GetTrafficShapingDscpTaggingOptionsResult struct { func GetTrafficShapingDscpTaggingOptionsOutput(ctx *pulumi.Context, args GetTrafficShapingDscpTaggingOptionsOutputArgs, opts ...pulumi.InvokeOption) GetTrafficShapingDscpTaggingOptionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetTrafficShapingDscpTaggingOptionsResult, error) { + ApplyT(func(v interface{}) (GetTrafficShapingDscpTaggingOptionsResultOutput, error) { args := v.(GetTrafficShapingDscpTaggingOptionsArgs) - r, err := GetTrafficShapingDscpTaggingOptions(ctx, &args, opts...) - var s GetTrafficShapingDscpTaggingOptionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetTrafficShapingDscpTaggingOptionsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getTrafficShapingDscpTaggingOptions:getTrafficShapingDscpTaggingOptions", args, &rv, "", opts...) + if err != nil { + return GetTrafficShapingDscpTaggingOptionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetTrafficShapingDscpTaggingOptionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetTrafficShapingDscpTaggingOptionsResultOutput), nil + } + return output, nil }).(GetTrafficShapingDscpTaggingOptionsResultOutput) } diff --git a/sdk/go/meraki/networks/getVlanProfiles.go b/sdk/go/meraki/networks/getVlanProfiles.go index afada7d9..91ab1dd3 100644 --- a/sdk/go/meraki/networks/getVlanProfiles.go +++ b/sdk/go/meraki/networks/getVlanProfiles.go @@ -69,14 +69,20 @@ type LookupVlanProfilesResult struct { func LookupVlanProfilesOutput(ctx *pulumi.Context, args LookupVlanProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupVlanProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVlanProfilesResult, error) { + ApplyT(func(v interface{}) (LookupVlanProfilesResultOutput, error) { args := v.(LookupVlanProfilesArgs) - r, err := LookupVlanProfiles(ctx, &args, opts...) - var s LookupVlanProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVlanProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getVlanProfiles:getVlanProfiles", args, &rv, "", opts...) + if err != nil { + return LookupVlanProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVlanProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVlanProfilesResultOutput), nil + } + return output, nil }).(LookupVlanProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getVlanProfilesAssignmentsByDevice.go b/sdk/go/meraki/networks/getVlanProfilesAssignmentsByDevice.go index f96cf4a2..82956373 100644 --- a/sdk/go/meraki/networks/getVlanProfilesAssignmentsByDevice.go +++ b/sdk/go/meraki/networks/getVlanProfilesAssignmentsByDevice.go @@ -101,14 +101,20 @@ type GetVlanProfilesAssignmentsByDeviceResult struct { func GetVlanProfilesAssignmentsByDeviceOutput(ctx *pulumi.Context, args GetVlanProfilesAssignmentsByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetVlanProfilesAssignmentsByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVlanProfilesAssignmentsByDeviceResult, error) { + ApplyT(func(v interface{}) (GetVlanProfilesAssignmentsByDeviceResultOutput, error) { args := v.(GetVlanProfilesAssignmentsByDeviceArgs) - r, err := GetVlanProfilesAssignmentsByDevice(ctx, &args, opts...) - var s GetVlanProfilesAssignmentsByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVlanProfilesAssignmentsByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getVlanProfilesAssignmentsByDevice:getVlanProfilesAssignmentsByDevice", args, &rv, "", opts...) + if err != nil { + return GetVlanProfilesAssignmentsByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVlanProfilesAssignmentsByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVlanProfilesAssignmentsByDeviceResultOutput), nil + } + return output, nil }).(GetVlanProfilesAssignmentsByDeviceResultOutput) } diff --git a/sdk/go/meraki/networks/getWebhooksHttpServers.go b/sdk/go/meraki/networks/getWebhooksHttpServers.go index 29cd7f6b..019caa6d 100644 --- a/sdk/go/meraki/networks/getWebhooksHttpServers.go +++ b/sdk/go/meraki/networks/getWebhooksHttpServers.go @@ -45,14 +45,20 @@ type LookupWebhooksHttpServersResult struct { func LookupWebhooksHttpServersOutput(ctx *pulumi.Context, args LookupWebhooksHttpServersOutputArgs, opts ...pulumi.InvokeOption) LookupWebhooksHttpServersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebhooksHttpServersResult, error) { + ApplyT(func(v interface{}) (LookupWebhooksHttpServersResultOutput, error) { args := v.(LookupWebhooksHttpServersArgs) - r, err := LookupWebhooksHttpServers(ctx, &args, opts...) - var s LookupWebhooksHttpServersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWebhooksHttpServersResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWebhooksHttpServers:getWebhooksHttpServers", args, &rv, "", opts...) + if err != nil { + return LookupWebhooksHttpServersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWebhooksHttpServersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWebhooksHttpServersResultOutput), nil + } + return output, nil }).(LookupWebhooksHttpServersResultOutput) } diff --git a/sdk/go/meraki/networks/getWebhooksPayloadTemplates.go b/sdk/go/meraki/networks/getWebhooksPayloadTemplates.go index 45403fb3..b451d8d1 100644 --- a/sdk/go/meraki/networks/getWebhooksPayloadTemplates.go +++ b/sdk/go/meraki/networks/getWebhooksPayloadTemplates.go @@ -45,14 +45,20 @@ type LookupWebhooksPayloadTemplatesResult struct { func LookupWebhooksPayloadTemplatesOutput(ctx *pulumi.Context, args LookupWebhooksPayloadTemplatesOutputArgs, opts ...pulumi.InvokeOption) LookupWebhooksPayloadTemplatesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWebhooksPayloadTemplatesResult, error) { + ApplyT(func(v interface{}) (LookupWebhooksPayloadTemplatesResultOutput, error) { args := v.(LookupWebhooksPayloadTemplatesArgs) - r, err := LookupWebhooksPayloadTemplates(ctx, &args, opts...) - var s LookupWebhooksPayloadTemplatesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWebhooksPayloadTemplatesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWebhooksPayloadTemplates:getWebhooksPayloadTemplates", args, &rv, "", opts...) + if err != nil { + return LookupWebhooksPayloadTemplatesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWebhooksPayloadTemplatesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWebhooksPayloadTemplatesResultOutput), nil + } + return output, nil }).(LookupWebhooksPayloadTemplatesResultOutput) } diff --git a/sdk/go/meraki/networks/getWebhooksWebhookTests.go b/sdk/go/meraki/networks/getWebhooksWebhookTests.go index ea5c8cd3..6d517d69 100644 --- a/sdk/go/meraki/networks/getWebhooksWebhookTests.go +++ b/sdk/go/meraki/networks/getWebhooksWebhookTests.go @@ -69,14 +69,20 @@ type GetWebhooksWebhookTestsResult struct { func GetWebhooksWebhookTestsOutput(ctx *pulumi.Context, args GetWebhooksWebhookTestsOutputArgs, opts ...pulumi.InvokeOption) GetWebhooksWebhookTestsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWebhooksWebhookTestsResult, error) { + ApplyT(func(v interface{}) (GetWebhooksWebhookTestsResultOutput, error) { args := v.(GetWebhooksWebhookTestsArgs) - r, err := GetWebhooksWebhookTests(ctx, &args, opts...) - var s GetWebhooksWebhookTestsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWebhooksWebhookTestsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWebhooksWebhookTests:getWebhooksWebhookTests", args, &rv, "", opts...) + if err != nil { + return GetWebhooksWebhookTestsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWebhooksWebhookTestsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWebhooksWebhookTestsResultOutput), nil + } + return output, nil }).(GetWebhooksWebhookTestsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessAlternateManagementInterface.go b/sdk/go/meraki/networks/getWirelessAlternateManagementInterface.go index f02dbabd..a5fb2a23 100644 --- a/sdk/go/meraki/networks/getWirelessAlternateManagementInterface.go +++ b/sdk/go/meraki/networks/getWirelessAlternateManagementInterface.go @@ -64,14 +64,20 @@ type LookupWirelessAlternateManagementInterfaceResult struct { func LookupWirelessAlternateManagementInterfaceOutput(ctx *pulumi.Context, args LookupWirelessAlternateManagementInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessAlternateManagementInterfaceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessAlternateManagementInterfaceResult, error) { + ApplyT(func(v interface{}) (LookupWirelessAlternateManagementInterfaceResultOutput, error) { args := v.(LookupWirelessAlternateManagementInterfaceArgs) - r, err := LookupWirelessAlternateManagementInterface(ctx, &args, opts...) - var s LookupWirelessAlternateManagementInterfaceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessAlternateManagementInterfaceResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessAlternateManagementInterface:getWirelessAlternateManagementInterface", args, &rv, "", opts...) + if err != nil { + return LookupWirelessAlternateManagementInterfaceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessAlternateManagementInterfaceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessAlternateManagementInterfaceResultOutput), nil + } + return output, nil }).(LookupWirelessAlternateManagementInterfaceResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessBilling.go b/sdk/go/meraki/networks/getWirelessBilling.go index 84b9da24..40a5e65f 100644 --- a/sdk/go/meraki/networks/getWirelessBilling.go +++ b/sdk/go/meraki/networks/getWirelessBilling.go @@ -64,14 +64,20 @@ type LookupWirelessBillingResult struct { func LookupWirelessBillingOutput(ctx *pulumi.Context, args LookupWirelessBillingOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessBillingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessBillingResult, error) { + ApplyT(func(v interface{}) (LookupWirelessBillingResultOutput, error) { args := v.(LookupWirelessBillingArgs) - r, err := LookupWirelessBilling(ctx, &args, opts...) - var s LookupWirelessBillingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessBillingResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessBilling:getWirelessBilling", args, &rv, "", opts...) + if err != nil { + return LookupWirelessBillingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessBillingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessBillingResultOutput), nil + } + return output, nil }).(LookupWirelessBillingResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessBluetoothSettings.go b/sdk/go/meraki/networks/getWirelessBluetoothSettings.go index e9256ed7..c3c4650a 100644 --- a/sdk/go/meraki/networks/getWirelessBluetoothSettings.go +++ b/sdk/go/meraki/networks/getWirelessBluetoothSettings.go @@ -64,14 +64,20 @@ type LookupWirelessBluetoothSettingsResult struct { func LookupWirelessBluetoothSettingsOutput(ctx *pulumi.Context, args LookupWirelessBluetoothSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessBluetoothSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessBluetoothSettingsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessBluetoothSettingsResultOutput, error) { args := v.(LookupWirelessBluetoothSettingsArgs) - r, err := LookupWirelessBluetoothSettings(ctx, &args, opts...) - var s LookupWirelessBluetoothSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessBluetoothSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessBluetoothSettings:getWirelessBluetoothSettings", args, &rv, "", opts...) + if err != nil { + return LookupWirelessBluetoothSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessBluetoothSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessBluetoothSettingsResultOutput), nil + } + return output, nil }).(LookupWirelessBluetoothSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessChannelUtilizationHistory.go b/sdk/go/meraki/networks/getWirelessChannelUtilizationHistory.go index 78b741b7..62ad859d 100644 --- a/sdk/go/meraki/networks/getWirelessChannelUtilizationHistory.go +++ b/sdk/go/meraki/networks/getWirelessChannelUtilizationHistory.go @@ -110,14 +110,20 @@ type GetWirelessChannelUtilizationHistoryResult struct { func GetWirelessChannelUtilizationHistoryOutput(ctx *pulumi.Context, args GetWirelessChannelUtilizationHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessChannelUtilizationHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessChannelUtilizationHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessChannelUtilizationHistoryResultOutput, error) { args := v.(GetWirelessChannelUtilizationHistoryArgs) - r, err := GetWirelessChannelUtilizationHistory(ctx, &args, opts...) - var s GetWirelessChannelUtilizationHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessChannelUtilizationHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessChannelUtilizationHistory:getWirelessChannelUtilizationHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessChannelUtilizationHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessChannelUtilizationHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessChannelUtilizationHistoryResultOutput), nil + } + return output, nil }).(GetWirelessChannelUtilizationHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessClientCountHistory.go b/sdk/go/meraki/networks/getWirelessClientCountHistory.go index 17381519..63855acc 100644 --- a/sdk/go/meraki/networks/getWirelessClientCountHistory.go +++ b/sdk/go/meraki/networks/getWirelessClientCountHistory.go @@ -115,14 +115,20 @@ type GetWirelessClientCountHistoryResult struct { func GetWirelessClientCountHistoryOutput(ctx *pulumi.Context, args GetWirelessClientCountHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessClientCountHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessClientCountHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessClientCountHistoryResultOutput, error) { args := v.(GetWirelessClientCountHistoryArgs) - r, err := GetWirelessClientCountHistory(ctx, &args, opts...) - var s GetWirelessClientCountHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessClientCountHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessClientCountHistory:getWirelessClientCountHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessClientCountHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessClientCountHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessClientCountHistoryResultOutput), nil + } + return output, nil }).(GetWirelessClientCountHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessClientsConnectionStats.go b/sdk/go/meraki/networks/getWirelessClientsConnectionStats.go index e968df25..b29ff698 100644 --- a/sdk/go/meraki/networks/getWirelessClientsConnectionStats.go +++ b/sdk/go/meraki/networks/getWirelessClientsConnectionStats.go @@ -104,14 +104,20 @@ type GetWirelessClientsConnectionStatsResult struct { func GetWirelessClientsConnectionStatsOutput(ctx *pulumi.Context, args GetWirelessClientsConnectionStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessClientsConnectionStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessClientsConnectionStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessClientsConnectionStatsResultOutput, error) { args := v.(GetWirelessClientsConnectionStatsArgs) - r, err := GetWirelessClientsConnectionStats(ctx, &args, opts...) - var s GetWirelessClientsConnectionStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessClientsConnectionStatsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessClientsConnectionStats:getWirelessClientsConnectionStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessClientsConnectionStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessClientsConnectionStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessClientsConnectionStatsResultOutput), nil + } + return output, nil }).(GetWirelessClientsConnectionStatsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessClientsLatencyStats.go b/sdk/go/meraki/networks/getWirelessClientsLatencyStats.go index 5a48f617..c3f31396 100644 --- a/sdk/go/meraki/networks/getWirelessClientsLatencyStats.go +++ b/sdk/go/meraki/networks/getWirelessClientsLatencyStats.go @@ -109,14 +109,20 @@ type GetWirelessClientsLatencyStatsResult struct { func GetWirelessClientsLatencyStatsOutput(ctx *pulumi.Context, args GetWirelessClientsLatencyStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessClientsLatencyStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessClientsLatencyStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessClientsLatencyStatsResultOutput, error) { args := v.(GetWirelessClientsLatencyStatsArgs) - r, err := GetWirelessClientsLatencyStats(ctx, &args, opts...) - var s GetWirelessClientsLatencyStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessClientsLatencyStatsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessClientsLatencyStats:getWirelessClientsLatencyStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessClientsLatencyStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessClientsLatencyStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessClientsLatencyStatsResultOutput), nil + } + return output, nil }).(GetWirelessClientsLatencyStatsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessConnectionStats.go b/sdk/go/meraki/networks/getWirelessConnectionStats.go index de81d554..daf60fd7 100644 --- a/sdk/go/meraki/networks/getWirelessConnectionStats.go +++ b/sdk/go/meraki/networks/getWirelessConnectionStats.go @@ -99,14 +99,20 @@ type GetWirelessConnectionStatsResult struct { func GetWirelessConnectionStatsOutput(ctx *pulumi.Context, args GetWirelessConnectionStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessConnectionStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessConnectionStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessConnectionStatsResultOutput, error) { args := v.(GetWirelessConnectionStatsArgs) - r, err := GetWirelessConnectionStats(ctx, &args, opts...) - var s GetWirelessConnectionStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessConnectionStatsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessConnectionStats:getWirelessConnectionStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessConnectionStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessConnectionStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessConnectionStatsResultOutput), nil + } + return output, nil }).(GetWirelessConnectionStatsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessDataRateHistory.go b/sdk/go/meraki/networks/getWirelessDataRateHistory.go index b469fc88..90ecd70f 100644 --- a/sdk/go/meraki/networks/getWirelessDataRateHistory.go +++ b/sdk/go/meraki/networks/getWirelessDataRateHistory.go @@ -115,14 +115,20 @@ type GetWirelessDataRateHistoryResult struct { func GetWirelessDataRateHistoryOutput(ctx *pulumi.Context, args GetWirelessDataRateHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDataRateHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDataRateHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessDataRateHistoryResultOutput, error) { args := v.(GetWirelessDataRateHistoryArgs) - r, err := GetWirelessDataRateHistory(ctx, &args, opts...) - var s GetWirelessDataRateHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDataRateHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessDataRateHistory:getWirelessDataRateHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessDataRateHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDataRateHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDataRateHistoryResultOutput), nil + } + return output, nil }).(GetWirelessDataRateHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessDevicesConnectionStats.go b/sdk/go/meraki/networks/getWirelessDevicesConnectionStats.go index 498a1850..c7cfb91f 100644 --- a/sdk/go/meraki/networks/getWirelessDevicesConnectionStats.go +++ b/sdk/go/meraki/networks/getWirelessDevicesConnectionStats.go @@ -100,14 +100,20 @@ type GetWirelessDevicesConnectionStatsResult struct { func GetWirelessDevicesConnectionStatsOutput(ctx *pulumi.Context, args GetWirelessDevicesConnectionStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesConnectionStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesConnectionStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesConnectionStatsResultOutput, error) { args := v.(GetWirelessDevicesConnectionStatsArgs) - r, err := GetWirelessDevicesConnectionStats(ctx, &args, opts...) - var s GetWirelessDevicesConnectionStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesConnectionStatsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessDevicesConnectionStats:getWirelessDevicesConnectionStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesConnectionStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesConnectionStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesConnectionStatsResultOutput), nil + } + return output, nil }).(GetWirelessDevicesConnectionStatsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessEthernetPortsProfiles.go b/sdk/go/meraki/networks/getWirelessEthernetPortsProfiles.go index 2ef0a626..4a5af85f 100644 --- a/sdk/go/meraki/networks/getWirelessEthernetPortsProfiles.go +++ b/sdk/go/meraki/networks/getWirelessEthernetPortsProfiles.go @@ -69,14 +69,20 @@ type LookupWirelessEthernetPortsProfilesResult struct { func LookupWirelessEthernetPortsProfilesOutput(ctx *pulumi.Context, args LookupWirelessEthernetPortsProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessEthernetPortsProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessEthernetPortsProfilesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessEthernetPortsProfilesResultOutput, error) { args := v.(LookupWirelessEthernetPortsProfilesArgs) - r, err := LookupWirelessEthernetPortsProfiles(ctx, &args, opts...) - var s LookupWirelessEthernetPortsProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessEthernetPortsProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessEthernetPortsProfiles:getWirelessEthernetPortsProfiles", args, &rv, "", opts...) + if err != nil { + return LookupWirelessEthernetPortsProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessEthernetPortsProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessEthernetPortsProfilesResultOutput), nil + } + return output, nil }).(LookupWirelessEthernetPortsProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessFailedConnections.go b/sdk/go/meraki/networks/getWirelessFailedConnections.go index e06cb72a..6df0522f 100644 --- a/sdk/go/meraki/networks/getWirelessFailedConnections.go +++ b/sdk/go/meraki/networks/getWirelessFailedConnections.go @@ -110,14 +110,20 @@ type GetWirelessFailedConnectionsResult struct { func GetWirelessFailedConnectionsOutput(ctx *pulumi.Context, args GetWirelessFailedConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessFailedConnectionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessFailedConnectionsResult, error) { + ApplyT(func(v interface{}) (GetWirelessFailedConnectionsResultOutput, error) { args := v.(GetWirelessFailedConnectionsArgs) - r, err := GetWirelessFailedConnections(ctx, &args, opts...) - var s GetWirelessFailedConnectionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessFailedConnectionsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessFailedConnections:getWirelessFailedConnections", args, &rv, "", opts...) + if err != nil { + return GetWirelessFailedConnectionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessFailedConnectionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessFailedConnectionsResultOutput), nil + } + return output, nil }).(GetWirelessFailedConnectionsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessLatencyHistory.go b/sdk/go/meraki/networks/getWirelessLatencyHistory.go index 56efe4e8..901d2304 100644 --- a/sdk/go/meraki/networks/getWirelessLatencyHistory.go +++ b/sdk/go/meraki/networks/getWirelessLatencyHistory.go @@ -120,14 +120,20 @@ type GetWirelessLatencyHistoryResult struct { func GetWirelessLatencyHistoryOutput(ctx *pulumi.Context, args GetWirelessLatencyHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessLatencyHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessLatencyHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessLatencyHistoryResultOutput, error) { args := v.(GetWirelessLatencyHistoryArgs) - r, err := GetWirelessLatencyHistory(ctx, &args, opts...) - var s GetWirelessLatencyHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessLatencyHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessLatencyHistory:getWirelessLatencyHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessLatencyHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessLatencyHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessLatencyHistoryResultOutput), nil + } + return output, nil }).(GetWirelessLatencyHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessLatencyStats.go b/sdk/go/meraki/networks/getWirelessLatencyStats.go index a9ddf6e6..d049f889 100644 --- a/sdk/go/meraki/networks/getWirelessLatencyStats.go +++ b/sdk/go/meraki/networks/getWirelessLatencyStats.go @@ -104,14 +104,20 @@ type GetWirelessLatencyStatsResult struct { func GetWirelessLatencyStatsOutput(ctx *pulumi.Context, args GetWirelessLatencyStatsOutputArgs, opts ...pulumi.InvokeOption) GetWirelessLatencyStatsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessLatencyStatsResult, error) { + ApplyT(func(v interface{}) (GetWirelessLatencyStatsResultOutput, error) { args := v.(GetWirelessLatencyStatsArgs) - r, err := GetWirelessLatencyStats(ctx, &args, opts...) - var s GetWirelessLatencyStatsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessLatencyStatsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessLatencyStats:getWirelessLatencyStats", args, &rv, "", opts...) + if err != nil { + return GetWirelessLatencyStatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessLatencyStatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessLatencyStatsResultOutput), nil + } + return output, nil }).(GetWirelessLatencyStatsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessMeshStatuses.go b/sdk/go/meraki/networks/getWirelessMeshStatuses.go index 88b92f3d..1673b646 100644 --- a/sdk/go/meraki/networks/getWirelessMeshStatuses.go +++ b/sdk/go/meraki/networks/getWirelessMeshStatuses.go @@ -80,14 +80,20 @@ type GetWirelessMeshStatusesResult struct { func GetWirelessMeshStatusesOutput(ctx *pulumi.Context, args GetWirelessMeshStatusesOutputArgs, opts ...pulumi.InvokeOption) GetWirelessMeshStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessMeshStatusesResult, error) { + ApplyT(func(v interface{}) (GetWirelessMeshStatusesResultOutput, error) { args := v.(GetWirelessMeshStatusesArgs) - r, err := GetWirelessMeshStatuses(ctx, &args, opts...) - var s GetWirelessMeshStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessMeshStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessMeshStatuses:getWirelessMeshStatuses", args, &rv, "", opts...) + if err != nil { + return GetWirelessMeshStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessMeshStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessMeshStatusesResultOutput), nil + } + return output, nil }).(GetWirelessMeshStatusesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessRfProfiles.go b/sdk/go/meraki/networks/getWirelessRfProfiles.go index 1709c2c0..80b4e9e6 100644 --- a/sdk/go/meraki/networks/getWirelessRfProfiles.go +++ b/sdk/go/meraki/networks/getWirelessRfProfiles.go @@ -73,14 +73,20 @@ type LookupWirelessRfProfilesResult struct { func LookupWirelessRfProfilesOutput(ctx *pulumi.Context, args LookupWirelessRfProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessRfProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessRfProfilesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessRfProfilesResultOutput, error) { args := v.(LookupWirelessRfProfilesArgs) - r, err := LookupWirelessRfProfiles(ctx, &args, opts...) - var s LookupWirelessRfProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessRfProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessRfProfiles:getWirelessRfProfiles", args, &rv, "", opts...) + if err != nil { + return LookupWirelessRfProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessRfProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessRfProfilesResultOutput), nil + } + return output, nil }).(LookupWirelessRfProfilesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSettings.go b/sdk/go/meraki/networks/getWirelessSettings.go index 47c8f738..ac9973f9 100644 --- a/sdk/go/meraki/networks/getWirelessSettings.go +++ b/sdk/go/meraki/networks/getWirelessSettings.go @@ -64,14 +64,20 @@ type LookupWirelessSettingsResult struct { func LookupWirelessSettingsOutput(ctx *pulumi.Context, args LookupWirelessSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSettingsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSettingsResultOutput, error) { args := v.(LookupWirelessSettingsArgs) - r, err := LookupWirelessSettings(ctx, &args, opts...) - var s LookupWirelessSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSettings:getWirelessSettings", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSettingsResultOutput), nil + } + return output, nil }).(LookupWirelessSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSignalQualityHistory.go b/sdk/go/meraki/networks/getWirelessSignalQualityHistory.go index 6a7be053..fe30c6b3 100644 --- a/sdk/go/meraki/networks/getWirelessSignalQualityHistory.go +++ b/sdk/go/meraki/networks/getWirelessSignalQualityHistory.go @@ -115,14 +115,20 @@ type GetWirelessSignalQualityHistoryResult struct { func GetWirelessSignalQualityHistoryOutput(ctx *pulumi.Context, args GetWirelessSignalQualityHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessSignalQualityHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessSignalQualityHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessSignalQualityHistoryResultOutput, error) { args := v.(GetWirelessSignalQualityHistoryArgs) - r, err := GetWirelessSignalQualityHistory(ctx, &args, opts...) - var s GetWirelessSignalQualityHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessSignalQualityHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSignalQualityHistory:getWirelessSignalQualityHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessSignalQualityHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessSignalQualityHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessSignalQualityHistoryResultOutput), nil + } + return output, nil }).(GetWirelessSignalQualityHistoryResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsids.go b/sdk/go/meraki/networks/getWirelessSsids.go index cf5473dd..b5755ddb 100644 --- a/sdk/go/meraki/networks/getWirelessSsids.go +++ b/sdk/go/meraki/networks/getWirelessSsids.go @@ -45,14 +45,20 @@ type LookupWirelessSsidsResult struct { func LookupWirelessSsidsOutput(ctx *pulumi.Context, args LookupWirelessSsidsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsResultOutput, error) { args := v.(LookupWirelessSsidsArgs) - r, err := LookupWirelessSsids(ctx, &args, opts...) - var s LookupWirelessSsidsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsids:getWirelessSsids", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsBonjourForwarding.go b/sdk/go/meraki/networks/getWirelessSsidsBonjourForwarding.go index f6a8b8f3..9d393752 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsBonjourForwarding.go +++ b/sdk/go/meraki/networks/getWirelessSsidsBonjourForwarding.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsBonjourForwardingResult struct { func LookupWirelessSsidsBonjourForwardingOutput(ctx *pulumi.Context, args LookupWirelessSsidsBonjourForwardingOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsBonjourForwardingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsBonjourForwardingResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsBonjourForwardingResultOutput, error) { args := v.(LookupWirelessSsidsBonjourForwardingArgs) - r, err := LookupWirelessSsidsBonjourForwarding(ctx, &args, opts...) - var s LookupWirelessSsidsBonjourForwardingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsBonjourForwardingResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsBonjourForwarding:getWirelessSsidsBonjourForwarding", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsBonjourForwardingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsBonjourForwardingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsBonjourForwardingResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsBonjourForwardingResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsDeviceTypeGroupPolicies.go b/sdk/go/meraki/networks/getWirelessSsidsDeviceTypeGroupPolicies.go index 65b8d7be..d224460b 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsDeviceTypeGroupPolicies.go +++ b/sdk/go/meraki/networks/getWirelessSsidsDeviceTypeGroupPolicies.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsDeviceTypeGroupPoliciesResult struct { func LookupWirelessSsidsDeviceTypeGroupPoliciesOutput(ctx *pulumi.Context, args LookupWirelessSsidsDeviceTypeGroupPoliciesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsDeviceTypeGroupPoliciesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput, error) { args := v.(LookupWirelessSsidsDeviceTypeGroupPoliciesArgs) - r, err := LookupWirelessSsidsDeviceTypeGroupPolicies(ctx, &args, opts...) - var s LookupWirelessSsidsDeviceTypeGroupPoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsDeviceTypeGroupPoliciesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsDeviceTypeGroupPolicies:getWirelessSsidsDeviceTypeGroupPolicies", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsDeviceTypeGroupPoliciesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsEapOverride.go b/sdk/go/meraki/networks/getWirelessSsidsEapOverride.go index ac9aa06b..780beb06 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsEapOverride.go +++ b/sdk/go/meraki/networks/getWirelessSsidsEapOverride.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsEapOverrideResult struct { func LookupWirelessSsidsEapOverrideOutput(ctx *pulumi.Context, args LookupWirelessSsidsEapOverrideOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsEapOverrideResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsEapOverrideResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsEapOverrideResultOutput, error) { args := v.(LookupWirelessSsidsEapOverrideArgs) - r, err := LookupWirelessSsidsEapOverride(ctx, &args, opts...) - var s LookupWirelessSsidsEapOverrideResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsEapOverrideResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsEapOverride:getWirelessSsidsEapOverride", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsEapOverrideResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsEapOverrideResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsEapOverrideResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsEapOverrideResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsFirewallL3FirewallRules.go b/sdk/go/meraki/networks/getWirelessSsidsFirewallL3FirewallRules.go index 44d071e4..a298c8bb 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsFirewallL3FirewallRules.go +++ b/sdk/go/meraki/networks/getWirelessSsidsFirewallL3FirewallRules.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsFirewallL3FirewallRulesResult struct { func LookupWirelessSsidsFirewallL3FirewallRulesOutput(ctx *pulumi.Context, args LookupWirelessSsidsFirewallL3FirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsFirewallL3FirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsFirewallL3FirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsFirewallL3FirewallRulesResultOutput, error) { args := v.(LookupWirelessSsidsFirewallL3FirewallRulesArgs) - r, err := LookupWirelessSsidsFirewallL3FirewallRules(ctx, &args, opts...) - var s LookupWirelessSsidsFirewallL3FirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsFirewallL3FirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsFirewallL3FirewallRules:getWirelessSsidsFirewallL3FirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsFirewallL3FirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsFirewallL3FirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsFirewallL3FirewallRulesResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsFirewallL3FirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsFirewallL7FirewallRules.go b/sdk/go/meraki/networks/getWirelessSsidsFirewallL7FirewallRules.go index b655efac..b99adc95 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsFirewallL7FirewallRules.go +++ b/sdk/go/meraki/networks/getWirelessSsidsFirewallL7FirewallRules.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsFirewallL7FirewallRulesResult struct { func LookupWirelessSsidsFirewallL7FirewallRulesOutput(ctx *pulumi.Context, args LookupWirelessSsidsFirewallL7FirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsFirewallL7FirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsFirewallL7FirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsFirewallL7FirewallRulesResultOutput, error) { args := v.(LookupWirelessSsidsFirewallL7FirewallRulesArgs) - r, err := LookupWirelessSsidsFirewallL7FirewallRules(ctx, &args, opts...) - var s LookupWirelessSsidsFirewallL7FirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsFirewallL7FirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsFirewallL7FirewallRules:getWirelessSsidsFirewallL7FirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsFirewallL7FirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsFirewallL7FirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsFirewallL7FirewallRulesResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsFirewallL7FirewallRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsHotspot20.go b/sdk/go/meraki/networks/getWirelessSsidsHotspot20.go index 722c196f..1ae4a96f 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsHotspot20.go +++ b/sdk/go/meraki/networks/getWirelessSsidsHotspot20.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsHotspot20Result struct { func LookupWirelessSsidsHotspot20Output(ctx *pulumi.Context, args LookupWirelessSsidsHotspot20OutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsHotspot20ResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsHotspot20Result, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsHotspot20ResultOutput, error) { args := v.(LookupWirelessSsidsHotspot20Args) - r, err := LookupWirelessSsidsHotspot20(ctx, &args, opts...) - var s LookupWirelessSsidsHotspot20Result - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsHotspot20Result + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsHotspot20:getWirelessSsidsHotspot20", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsHotspot20ResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsHotspot20ResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsHotspot20ResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsHotspot20ResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsIdentityPsks.go b/sdk/go/meraki/networks/getWirelessSsidsIdentityPsks.go index 82dd8872..e41b8647 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsIdentityPsks.go +++ b/sdk/go/meraki/networks/getWirelessSsidsIdentityPsks.go @@ -49,14 +49,20 @@ type LookupWirelessSsidsIdentityPsksResult struct { func LookupWirelessSsidsIdentityPsksOutput(ctx *pulumi.Context, args LookupWirelessSsidsIdentityPsksOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsIdentityPsksResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsIdentityPsksResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsIdentityPsksResultOutput, error) { args := v.(LookupWirelessSsidsIdentityPsksArgs) - r, err := LookupWirelessSsidsIdentityPsks(ctx, &args, opts...) - var s LookupWirelessSsidsIdentityPsksResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsIdentityPsksResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsIdentityPsks:getWirelessSsidsIdentityPsks", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsIdentityPsksResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsIdentityPsksResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsIdentityPsksResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsIdentityPsksResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsSchedules.go b/sdk/go/meraki/networks/getWirelessSsidsSchedules.go index 949d4a3a..5060e8c5 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsSchedules.go +++ b/sdk/go/meraki/networks/getWirelessSsidsSchedules.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsSchedulesResult struct { func LookupWirelessSsidsSchedulesOutput(ctx *pulumi.Context, args LookupWirelessSsidsSchedulesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsSchedulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsSchedulesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsSchedulesResultOutput, error) { args := v.(LookupWirelessSsidsSchedulesArgs) - r, err := LookupWirelessSsidsSchedules(ctx, &args, opts...) - var s LookupWirelessSsidsSchedulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsSchedulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsSchedules:getWirelessSsidsSchedules", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsSchedulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsSchedulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsSchedulesResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsSchedulesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsSplashSettings.go b/sdk/go/meraki/networks/getWirelessSsidsSplashSettings.go index ba7e1e10..9cf6b3ca 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsSplashSettings.go +++ b/sdk/go/meraki/networks/getWirelessSsidsSplashSettings.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsSplashSettingsResult struct { func LookupWirelessSsidsSplashSettingsOutput(ctx *pulumi.Context, args LookupWirelessSsidsSplashSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsSplashSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsSplashSettingsResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsSplashSettingsResultOutput, error) { args := v.(LookupWirelessSsidsSplashSettingsArgs) - r, err := LookupWirelessSsidsSplashSettings(ctx, &args, opts...) - var s LookupWirelessSsidsSplashSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsSplashSettingsResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsSplashSettings:getWirelessSsidsSplashSettings", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsSplashSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsSplashSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsSplashSettingsResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsSplashSettingsResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsTrafficShapingRules.go b/sdk/go/meraki/networks/getWirelessSsidsTrafficShapingRules.go index 457dd6d6..335019b7 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsTrafficShapingRules.go +++ b/sdk/go/meraki/networks/getWirelessSsidsTrafficShapingRules.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsTrafficShapingRulesResult struct { func LookupWirelessSsidsTrafficShapingRulesOutput(ctx *pulumi.Context, args LookupWirelessSsidsTrafficShapingRulesOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsTrafficShapingRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsTrafficShapingRulesResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsTrafficShapingRulesResultOutput, error) { args := v.(LookupWirelessSsidsTrafficShapingRulesArgs) - r, err := LookupWirelessSsidsTrafficShapingRules(ctx, &args, opts...) - var s LookupWirelessSsidsTrafficShapingRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsTrafficShapingRulesResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsTrafficShapingRules:getWirelessSsidsTrafficShapingRules", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsTrafficShapingRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsTrafficShapingRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsTrafficShapingRulesResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsTrafficShapingRulesResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessSsidsVpn.go b/sdk/go/meraki/networks/getWirelessSsidsVpn.go index 49482d1b..52e9a02c 100644 --- a/sdk/go/meraki/networks/getWirelessSsidsVpn.go +++ b/sdk/go/meraki/networks/getWirelessSsidsVpn.go @@ -69,14 +69,20 @@ type LookupWirelessSsidsVpnResult struct { func LookupWirelessSsidsVpnOutput(ctx *pulumi.Context, args LookupWirelessSsidsVpnOutputArgs, opts ...pulumi.InvokeOption) LookupWirelessSsidsVpnResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupWirelessSsidsVpnResult, error) { + ApplyT(func(v interface{}) (LookupWirelessSsidsVpnResultOutput, error) { args := v.(LookupWirelessSsidsVpnArgs) - r, err := LookupWirelessSsidsVpn(ctx, &args, opts...) - var s LookupWirelessSsidsVpnResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupWirelessSsidsVpnResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessSsidsVpn:getWirelessSsidsVpn", args, &rv, "", opts...) + if err != nil { + return LookupWirelessSsidsVpnResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupWirelessSsidsVpnResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupWirelessSsidsVpnResultOutput), nil + } + return output, nil }).(LookupWirelessSsidsVpnResultOutput) } diff --git a/sdk/go/meraki/networks/getWirelessUsageHistory.go b/sdk/go/meraki/networks/getWirelessUsageHistory.go index 3ab10d85..f37a56f0 100644 --- a/sdk/go/meraki/networks/getWirelessUsageHistory.go +++ b/sdk/go/meraki/networks/getWirelessUsageHistory.go @@ -115,14 +115,20 @@ type GetWirelessUsageHistoryResult struct { func GetWirelessUsageHistoryOutput(ctx *pulumi.Context, args GetWirelessUsageHistoryOutputArgs, opts ...pulumi.InvokeOption) GetWirelessUsageHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessUsageHistoryResult, error) { + ApplyT(func(v interface{}) (GetWirelessUsageHistoryResultOutput, error) { args := v.(GetWirelessUsageHistoryArgs) - r, err := GetWirelessUsageHistory(ctx, &args, opts...) - var s GetWirelessUsageHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessUsageHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:networks/getWirelessUsageHistory:getWirelessUsageHistory", args, &rv, "", opts...) + if err != nil { + return GetWirelessUsageHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessUsageHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessUsageHistoryResultOutput), nil + } + return output, nil }).(GetWirelessUsageHistoryResultOutput) } diff --git a/sdk/go/meraki/organizations/getActionBatches.go b/sdk/go/meraki/organizations/getActionBatches.go index da2f7165..7e8e0c59 100644 --- a/sdk/go/meraki/organizations/getActionBatches.go +++ b/sdk/go/meraki/organizations/getActionBatches.go @@ -49,14 +49,20 @@ type LookupActionBatchesResult struct { func LookupActionBatchesOutput(ctx *pulumi.Context, args LookupActionBatchesOutputArgs, opts ...pulumi.InvokeOption) LookupActionBatchesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupActionBatchesResult, error) { + ApplyT(func(v interface{}) (LookupActionBatchesResultOutput, error) { args := v.(LookupActionBatchesArgs) - r, err := LookupActionBatches(ctx, &args, opts...) - var s LookupActionBatchesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupActionBatchesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getActionBatches:getActionBatches", args, &rv, "", opts...) + if err != nil { + return LookupActionBatchesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupActionBatchesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupActionBatchesResultOutput), nil + } + return output, nil }).(LookupActionBatchesResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdaptivePolicyAcls.go b/sdk/go/meraki/organizations/getAdaptivePolicyAcls.go index ac7ec08c..74c0545a 100644 --- a/sdk/go/meraki/organizations/getAdaptivePolicyAcls.go +++ b/sdk/go/meraki/organizations/getAdaptivePolicyAcls.go @@ -45,14 +45,20 @@ type LookupAdaptivePolicyAclsResult struct { func LookupAdaptivePolicyAclsOutput(ctx *pulumi.Context, args LookupAdaptivePolicyAclsOutputArgs, opts ...pulumi.InvokeOption) LookupAdaptivePolicyAclsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdaptivePolicyAclsResult, error) { + ApplyT(func(v interface{}) (LookupAdaptivePolicyAclsResultOutput, error) { args := v.(LookupAdaptivePolicyAclsArgs) - r, err := LookupAdaptivePolicyAcls(ctx, &args, opts...) - var s LookupAdaptivePolicyAclsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAdaptivePolicyAclsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdaptivePolicyAcls:getAdaptivePolicyAcls", args, &rv, "", opts...) + if err != nil { + return LookupAdaptivePolicyAclsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAdaptivePolicyAclsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAdaptivePolicyAclsResultOutput), nil + } + return output, nil }).(LookupAdaptivePolicyAclsResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdaptivePolicyGroups.go b/sdk/go/meraki/organizations/getAdaptivePolicyGroups.go index 921c95dc..0fd3f005 100644 --- a/sdk/go/meraki/organizations/getAdaptivePolicyGroups.go +++ b/sdk/go/meraki/organizations/getAdaptivePolicyGroups.go @@ -43,14 +43,20 @@ type LookupAdaptivePolicyGroupsResult struct { func LookupAdaptivePolicyGroupsOutput(ctx *pulumi.Context, args LookupAdaptivePolicyGroupsOutputArgs, opts ...pulumi.InvokeOption) LookupAdaptivePolicyGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdaptivePolicyGroupsResult, error) { + ApplyT(func(v interface{}) (LookupAdaptivePolicyGroupsResultOutput, error) { args := v.(LookupAdaptivePolicyGroupsArgs) - r, err := LookupAdaptivePolicyGroups(ctx, &args, opts...) - var s LookupAdaptivePolicyGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAdaptivePolicyGroupsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdaptivePolicyGroups:getAdaptivePolicyGroups", args, &rv, "", opts...) + if err != nil { + return LookupAdaptivePolicyGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAdaptivePolicyGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAdaptivePolicyGroupsResultOutput), nil + } + return output, nil }).(LookupAdaptivePolicyGroupsResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdaptivePolicyOverview.go b/sdk/go/meraki/organizations/getAdaptivePolicyOverview.go index 4c686e80..41b7065b 100644 --- a/sdk/go/meraki/organizations/getAdaptivePolicyOverview.go +++ b/sdk/go/meraki/organizations/getAdaptivePolicyOverview.go @@ -64,14 +64,20 @@ type GetAdaptivePolicyOverviewResult struct { func GetAdaptivePolicyOverviewOutput(ctx *pulumi.Context, args GetAdaptivePolicyOverviewOutputArgs, opts ...pulumi.InvokeOption) GetAdaptivePolicyOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAdaptivePolicyOverviewResult, error) { + ApplyT(func(v interface{}) (GetAdaptivePolicyOverviewResultOutput, error) { args := v.(GetAdaptivePolicyOverviewArgs) - r, err := GetAdaptivePolicyOverview(ctx, &args, opts...) - var s GetAdaptivePolicyOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAdaptivePolicyOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdaptivePolicyOverview:getAdaptivePolicyOverview", args, &rv, "", opts...) + if err != nil { + return GetAdaptivePolicyOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAdaptivePolicyOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAdaptivePolicyOverviewResultOutput), nil + } + return output, nil }).(GetAdaptivePolicyOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdaptivePolicyPolicies.go b/sdk/go/meraki/organizations/getAdaptivePolicyPolicies.go index 201c5474..97ad6580 100644 --- a/sdk/go/meraki/organizations/getAdaptivePolicyPolicies.go +++ b/sdk/go/meraki/organizations/getAdaptivePolicyPolicies.go @@ -43,14 +43,20 @@ type LookupAdaptivePolicyPoliciesResult struct { func LookupAdaptivePolicyPoliciesOutput(ctx *pulumi.Context, args LookupAdaptivePolicyPoliciesOutputArgs, opts ...pulumi.InvokeOption) LookupAdaptivePolicyPoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdaptivePolicyPoliciesResult, error) { + ApplyT(func(v interface{}) (LookupAdaptivePolicyPoliciesResultOutput, error) { args := v.(LookupAdaptivePolicyPoliciesArgs) - r, err := LookupAdaptivePolicyPolicies(ctx, &args, opts...) - var s LookupAdaptivePolicyPoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAdaptivePolicyPoliciesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdaptivePolicyPolicies:getAdaptivePolicyPolicies", args, &rv, "", opts...) + if err != nil { + return LookupAdaptivePolicyPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAdaptivePolicyPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAdaptivePolicyPoliciesResultOutput), nil + } + return output, nil }).(LookupAdaptivePolicyPoliciesResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdaptivePolicySettings.go b/sdk/go/meraki/organizations/getAdaptivePolicySettings.go index 9f0ae0d7..018018d7 100644 --- a/sdk/go/meraki/organizations/getAdaptivePolicySettings.go +++ b/sdk/go/meraki/organizations/getAdaptivePolicySettings.go @@ -64,14 +64,20 @@ type LookupAdaptivePolicySettingsResult struct { func LookupAdaptivePolicySettingsOutput(ctx *pulumi.Context, args LookupAdaptivePolicySettingsOutputArgs, opts ...pulumi.InvokeOption) LookupAdaptivePolicySettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdaptivePolicySettingsResult, error) { + ApplyT(func(v interface{}) (LookupAdaptivePolicySettingsResultOutput, error) { args := v.(LookupAdaptivePolicySettingsArgs) - r, err := LookupAdaptivePolicySettings(ctx, &args, opts...) - var s LookupAdaptivePolicySettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAdaptivePolicySettingsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdaptivePolicySettings:getAdaptivePolicySettings", args, &rv, "", opts...) + if err != nil { + return LookupAdaptivePolicySettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAdaptivePolicySettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAdaptivePolicySettingsResultOutput), nil + } + return output, nil }).(LookupAdaptivePolicySettingsResultOutput) } diff --git a/sdk/go/meraki/organizations/getAdmins.go b/sdk/go/meraki/organizations/getAdmins.go index 6790005f..cea914f6 100644 --- a/sdk/go/meraki/organizations/getAdmins.go +++ b/sdk/go/meraki/organizations/getAdmins.go @@ -65,14 +65,20 @@ type LookupAdminsResult struct { func LookupAdminsOutput(ctx *pulumi.Context, args LookupAdminsOutputArgs, opts ...pulumi.InvokeOption) LookupAdminsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAdminsResult, error) { + ApplyT(func(v interface{}) (LookupAdminsResultOutput, error) { args := v.(LookupAdminsArgs) - r, err := LookupAdmins(ctx, &args, opts...) - var s LookupAdminsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAdminsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAdmins:getAdmins", args, &rv, "", opts...) + if err != nil { + return LookupAdminsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAdminsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAdminsResultOutput), nil + } + return output, nil }).(LookupAdminsResultOutput) } diff --git a/sdk/go/meraki/organizations/getAlertsProfiles.go b/sdk/go/meraki/organizations/getAlertsProfiles.go index 54d9074e..211bc380 100644 --- a/sdk/go/meraki/organizations/getAlertsProfiles.go +++ b/sdk/go/meraki/organizations/getAlertsProfiles.go @@ -65,14 +65,20 @@ type LookupAlertsProfilesResult struct { func LookupAlertsProfilesOutput(ctx *pulumi.Context, args LookupAlertsProfilesOutputArgs, opts ...pulumi.InvokeOption) LookupAlertsProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAlertsProfilesResult, error) { + ApplyT(func(v interface{}) (LookupAlertsProfilesResultOutput, error) { args := v.(LookupAlertsProfilesArgs) - r, err := LookupAlertsProfiles(ctx, &args, opts...) - var s LookupAlertsProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAlertsProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getAlertsProfiles:getAlertsProfiles", args, &rv, "", opts...) + if err != nil { + return LookupAlertsProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAlertsProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAlertsProfilesResultOutput), nil + } + return output, nil }).(LookupAlertsProfilesResultOutput) } diff --git a/sdk/go/meraki/organizations/getApiRequests.go b/sdk/go/meraki/organizations/getApiRequests.go index 4ba3a079..4ce9a20a 100644 --- a/sdk/go/meraki/organizations/getApiRequests.go +++ b/sdk/go/meraki/organizations/getApiRequests.go @@ -137,14 +137,20 @@ type GetApiRequestsResult struct { func GetApiRequestsOutput(ctx *pulumi.Context, args GetApiRequestsOutputArgs, opts ...pulumi.InvokeOption) GetApiRequestsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApiRequestsResult, error) { + ApplyT(func(v interface{}) (GetApiRequestsResultOutput, error) { args := v.(GetApiRequestsArgs) - r, err := GetApiRequests(ctx, &args, opts...) - var s GetApiRequestsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApiRequestsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApiRequests:getApiRequests", args, &rv, "", opts...) + if err != nil { + return GetApiRequestsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApiRequestsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApiRequestsResultOutput), nil + } + return output, nil }).(GetApiRequestsResultOutput) } diff --git a/sdk/go/meraki/organizations/getApiRequestsOverview.go b/sdk/go/meraki/organizations/getApiRequestsOverview.go index cb1dacf0..23345d1d 100644 --- a/sdk/go/meraki/organizations/getApiRequestsOverview.go +++ b/sdk/go/meraki/organizations/getApiRequestsOverview.go @@ -79,14 +79,20 @@ type GetApiRequestsOverviewResult struct { func GetApiRequestsOverviewOutput(ctx *pulumi.Context, args GetApiRequestsOverviewOutputArgs, opts ...pulumi.InvokeOption) GetApiRequestsOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApiRequestsOverviewResult, error) { + ApplyT(func(v interface{}) (GetApiRequestsOverviewResultOutput, error) { args := v.(GetApiRequestsOverviewArgs) - r, err := GetApiRequestsOverview(ctx, &args, opts...) - var s GetApiRequestsOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApiRequestsOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApiRequestsOverview:getApiRequestsOverview", args, &rv, "", opts...) + if err != nil { + return GetApiRequestsOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApiRequestsOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApiRequestsOverviewResultOutput), nil + } + return output, nil }).(GetApiRequestsOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getApiRequestsOverviewResponseCodesByInterval.go b/sdk/go/meraki/organizations/getApiRequestsOverviewResponseCodesByInterval.go index 8a05def8..ef2c0a60 100644 --- a/sdk/go/meraki/organizations/getApiRequestsOverviewResponseCodesByInterval.go +++ b/sdk/go/meraki/organizations/getApiRequestsOverviewResponseCodesByInterval.go @@ -116,14 +116,20 @@ type GetApiRequestsOverviewResponseCodesByIntervalResult struct { func GetApiRequestsOverviewResponseCodesByIntervalOutput(ctx *pulumi.Context, args GetApiRequestsOverviewResponseCodesByIntervalOutputArgs, opts ...pulumi.InvokeOption) GetApiRequestsOverviewResponseCodesByIntervalResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApiRequestsOverviewResponseCodesByIntervalResult, error) { + ApplyT(func(v interface{}) (GetApiRequestsOverviewResponseCodesByIntervalResultOutput, error) { args := v.(GetApiRequestsOverviewResponseCodesByIntervalArgs) - r, err := GetApiRequestsOverviewResponseCodesByInterval(ctx, &args, opts...) - var s GetApiRequestsOverviewResponseCodesByIntervalResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApiRequestsOverviewResponseCodesByIntervalResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApiRequestsOverviewResponseCodesByInterval:getApiRequestsOverviewResponseCodesByInterval", args, &rv, "", opts...) + if err != nil { + return GetApiRequestsOverviewResponseCodesByIntervalResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApiRequestsOverviewResponseCodesByIntervalResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApiRequestsOverviewResponseCodesByIntervalResultOutput), nil + } + return output, nil }).(GetApiRequestsOverviewResponseCodesByIntervalResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceSecurityIntrusion.go b/sdk/go/meraki/organizations/getApplianceSecurityIntrusion.go index bdd99a31..bc91c954 100644 --- a/sdk/go/meraki/organizations/getApplianceSecurityIntrusion.go +++ b/sdk/go/meraki/organizations/getApplianceSecurityIntrusion.go @@ -64,14 +64,20 @@ type LookupApplianceSecurityIntrusionResult struct { func LookupApplianceSecurityIntrusionOutput(ctx *pulumi.Context, args LookupApplianceSecurityIntrusionOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceSecurityIntrusionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceSecurityIntrusionResult, error) { + ApplyT(func(v interface{}) (LookupApplianceSecurityIntrusionResultOutput, error) { args := v.(LookupApplianceSecurityIntrusionArgs) - r, err := LookupApplianceSecurityIntrusion(ctx, &args, opts...) - var s LookupApplianceSecurityIntrusionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceSecurityIntrusionResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", args, &rv, "", opts...) + if err != nil { + return LookupApplianceSecurityIntrusionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceSecurityIntrusionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceSecurityIntrusionResultOutput), nil + } + return output, nil }).(LookupApplianceSecurityIntrusionResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.go b/sdk/go/meraki/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.go index 75f5c435..b781ba65 100644 --- a/sdk/go/meraki/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.go +++ b/sdk/go/meraki/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.go @@ -86,14 +86,20 @@ type GetApplianceTrafficShapingVpnExclusionsByNetworkResult struct { func GetApplianceTrafficShapingVpnExclusionsByNetworkOutput(ctx *pulumi.Context, args GetApplianceTrafficShapingVpnExclusionsByNetworkOutputArgs, opts ...pulumi.InvokeOption) GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApplianceTrafficShapingVpnExclusionsByNetworkResult, error) { + ApplyT(func(v interface{}) (GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput, error) { args := v.(GetApplianceTrafficShapingVpnExclusionsByNetworkArgs) - r, err := GetApplianceTrafficShapingVpnExclusionsByNetwork(ctx, &args, opts...) - var s GetApplianceTrafficShapingVpnExclusionsByNetworkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApplianceTrafficShapingVpnExclusionsByNetworkResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceTrafficShapingVpnExclusionsByNetwork:getApplianceTrafficShapingVpnExclusionsByNetwork", args, &rv, "", opts...) + if err != nil { + return GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput), nil + } + return output, nil }).(GetApplianceTrafficShapingVpnExclusionsByNetworkResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceUplinksStatusesOverview.go b/sdk/go/meraki/organizations/getApplianceUplinksStatusesOverview.go index 2e732da1..97fa5f50 100644 --- a/sdk/go/meraki/organizations/getApplianceUplinksStatusesOverview.go +++ b/sdk/go/meraki/organizations/getApplianceUplinksStatusesOverview.go @@ -64,14 +64,20 @@ type GetApplianceUplinksStatusesOverviewResult struct { func GetApplianceUplinksStatusesOverviewOutput(ctx *pulumi.Context, args GetApplianceUplinksStatusesOverviewOutputArgs, opts ...pulumi.InvokeOption) GetApplianceUplinksStatusesOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApplianceUplinksStatusesOverviewResult, error) { + ApplyT(func(v interface{}) (GetApplianceUplinksStatusesOverviewResultOutput, error) { args := v.(GetApplianceUplinksStatusesOverviewArgs) - r, err := GetApplianceUplinksStatusesOverview(ctx, &args, opts...) - var s GetApplianceUplinksStatusesOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApplianceUplinksStatusesOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceUplinksStatusesOverview:getApplianceUplinksStatusesOverview", args, &rv, "", opts...) + if err != nil { + return GetApplianceUplinksStatusesOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApplianceUplinksStatusesOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApplianceUplinksStatusesOverviewResultOutput), nil + } + return output, nil }).(GetApplianceUplinksStatusesOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceUplinksUsageByNetwork.go b/sdk/go/meraki/organizations/getApplianceUplinksUsageByNetwork.go index 4d65e360..349114d5 100644 --- a/sdk/go/meraki/organizations/getApplianceUplinksUsageByNetwork.go +++ b/sdk/go/meraki/organizations/getApplianceUplinksUsageByNetwork.go @@ -80,14 +80,20 @@ type GetApplianceUplinksUsageByNetworkResult struct { func GetApplianceUplinksUsageByNetworkOutput(ctx *pulumi.Context, args GetApplianceUplinksUsageByNetworkOutputArgs, opts ...pulumi.InvokeOption) GetApplianceUplinksUsageByNetworkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApplianceUplinksUsageByNetworkResult, error) { + ApplyT(func(v interface{}) (GetApplianceUplinksUsageByNetworkResultOutput, error) { args := v.(GetApplianceUplinksUsageByNetworkArgs) - r, err := GetApplianceUplinksUsageByNetwork(ctx, &args, opts...) - var s GetApplianceUplinksUsageByNetworkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetApplianceUplinksUsageByNetworkResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceUplinksUsageByNetwork:getApplianceUplinksUsageByNetwork", args, &rv, "", opts...) + if err != nil { + return GetApplianceUplinksUsageByNetworkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetApplianceUplinksUsageByNetworkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetApplianceUplinksUsageByNetworkResultOutput), nil + } + return output, nil }).(GetApplianceUplinksUsageByNetworkResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceVpnThirdPartyVpnpeers.go b/sdk/go/meraki/organizations/getApplianceVpnThirdPartyVpnpeers.go index f6cb1263..cf798d59 100644 --- a/sdk/go/meraki/organizations/getApplianceVpnThirdPartyVpnpeers.go +++ b/sdk/go/meraki/organizations/getApplianceVpnThirdPartyVpnpeers.go @@ -64,14 +64,20 @@ type LookupApplianceVpnThirdPartyVpnpeersResult struct { func LookupApplianceVpnThirdPartyVpnpeersOutput(ctx *pulumi.Context, args LookupApplianceVpnThirdPartyVpnpeersOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVpnThirdPartyVpnpeersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVpnThirdPartyVpnpeersResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVpnThirdPartyVpnpeersResultOutput, error) { args := v.(LookupApplianceVpnThirdPartyVpnpeersArgs) - r, err := LookupApplianceVpnThirdPartyVpnpeers(ctx, &args, opts...) - var s LookupApplianceVpnThirdPartyVpnpeersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVpnThirdPartyVpnpeersResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceVpnThirdPartyVpnpeers:getApplianceVpnThirdPartyVpnpeers", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVpnThirdPartyVpnpeersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVpnThirdPartyVpnpeersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVpnThirdPartyVpnpeersResultOutput), nil + } + return output, nil }).(LookupApplianceVpnThirdPartyVpnpeersResultOutput) } diff --git a/sdk/go/meraki/organizations/getApplianceVpnVpnFirewallRules.go b/sdk/go/meraki/organizations/getApplianceVpnVpnFirewallRules.go index 5d614075..b6712471 100644 --- a/sdk/go/meraki/organizations/getApplianceVpnVpnFirewallRules.go +++ b/sdk/go/meraki/organizations/getApplianceVpnVpnFirewallRules.go @@ -64,14 +64,20 @@ type LookupApplianceVpnVpnFirewallRulesResult struct { func LookupApplianceVpnVpnFirewallRulesOutput(ctx *pulumi.Context, args LookupApplianceVpnVpnFirewallRulesOutputArgs, opts ...pulumi.InvokeOption) LookupApplianceVpnVpnFirewallRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApplianceVpnVpnFirewallRulesResult, error) { + ApplyT(func(v interface{}) (LookupApplianceVpnVpnFirewallRulesResultOutput, error) { args := v.(LookupApplianceVpnVpnFirewallRulesArgs) - r, err := LookupApplianceVpnVpnFirewallRules(ctx, &args, opts...) - var s LookupApplianceVpnVpnFirewallRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplianceVpnVpnFirewallRulesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getApplianceVpnVpnFirewallRules:getApplianceVpnVpnFirewallRules", args, &rv, "", opts...) + if err != nil { + return LookupApplianceVpnVpnFirewallRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupApplianceVpnVpnFirewallRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplianceVpnVpnFirewallRulesResultOutput), nil + } + return output, nil }).(LookupApplianceVpnVpnFirewallRulesResultOutput) } diff --git a/sdk/go/meraki/organizations/getBrandingPolicies.go b/sdk/go/meraki/organizations/getBrandingPolicies.go index 5c5992e0..2828ca49 100644 --- a/sdk/go/meraki/organizations/getBrandingPolicies.go +++ b/sdk/go/meraki/organizations/getBrandingPolicies.go @@ -45,14 +45,20 @@ type LookupBrandingPoliciesResult struct { func LookupBrandingPoliciesOutput(ctx *pulumi.Context, args LookupBrandingPoliciesOutputArgs, opts ...pulumi.InvokeOption) LookupBrandingPoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBrandingPoliciesResult, error) { + ApplyT(func(v interface{}) (LookupBrandingPoliciesResultOutput, error) { args := v.(LookupBrandingPoliciesArgs) - r, err := LookupBrandingPolicies(ctx, &args, opts...) - var s LookupBrandingPoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBrandingPoliciesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getBrandingPolicies:getBrandingPolicies", args, &rv, "", opts...) + if err != nil { + return LookupBrandingPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBrandingPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBrandingPoliciesResultOutput), nil + } + return output, nil }).(LookupBrandingPoliciesResultOutput) } diff --git a/sdk/go/meraki/organizations/getBrandingPoliciesPriorities.go b/sdk/go/meraki/organizations/getBrandingPoliciesPriorities.go index 08697bc5..e0696a95 100644 --- a/sdk/go/meraki/organizations/getBrandingPoliciesPriorities.go +++ b/sdk/go/meraki/organizations/getBrandingPoliciesPriorities.go @@ -64,14 +64,20 @@ type LookupBrandingPoliciesPrioritiesResult struct { func LookupBrandingPoliciesPrioritiesOutput(ctx *pulumi.Context, args LookupBrandingPoliciesPrioritiesOutputArgs, opts ...pulumi.InvokeOption) LookupBrandingPoliciesPrioritiesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBrandingPoliciesPrioritiesResult, error) { + ApplyT(func(v interface{}) (LookupBrandingPoliciesPrioritiesResultOutput, error) { args := v.(LookupBrandingPoliciesPrioritiesArgs) - r, err := LookupBrandingPoliciesPriorities(ctx, &args, opts...) - var s LookupBrandingPoliciesPrioritiesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBrandingPoliciesPrioritiesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getBrandingPoliciesPriorities:getBrandingPoliciesPriorities", args, &rv, "", opts...) + if err != nil { + return LookupBrandingPoliciesPrioritiesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBrandingPoliciesPrioritiesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBrandingPoliciesPrioritiesResultOutput), nil + } + return output, nil }).(LookupBrandingPoliciesPrioritiesResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraBoundariesAreasByDevice.go b/sdk/go/meraki/organizations/getCameraBoundariesAreasByDevice.go index f28b1347..2515661b 100644 --- a/sdk/go/meraki/organizations/getCameraBoundariesAreasByDevice.go +++ b/sdk/go/meraki/organizations/getCameraBoundariesAreasByDevice.go @@ -72,14 +72,20 @@ type GetCameraBoundariesAreasByDeviceResult struct { func GetCameraBoundariesAreasByDeviceOutput(ctx *pulumi.Context, args GetCameraBoundariesAreasByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetCameraBoundariesAreasByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraBoundariesAreasByDeviceResult, error) { + ApplyT(func(v interface{}) (GetCameraBoundariesAreasByDeviceResultOutput, error) { args := v.(GetCameraBoundariesAreasByDeviceArgs) - r, err := GetCameraBoundariesAreasByDevice(ctx, &args, opts...) - var s GetCameraBoundariesAreasByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraBoundariesAreasByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraBoundariesAreasByDevice:getCameraBoundariesAreasByDevice", args, &rv, "", opts...) + if err != nil { + return GetCameraBoundariesAreasByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraBoundariesAreasByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraBoundariesAreasByDeviceResultOutput), nil + } + return output, nil }).(GetCameraBoundariesAreasByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraBoundariesLinesByDevice.go b/sdk/go/meraki/organizations/getCameraBoundariesLinesByDevice.go index 627026c3..7e835cb1 100644 --- a/sdk/go/meraki/organizations/getCameraBoundariesLinesByDevice.go +++ b/sdk/go/meraki/organizations/getCameraBoundariesLinesByDevice.go @@ -72,14 +72,20 @@ type GetCameraBoundariesLinesByDeviceResult struct { func GetCameraBoundariesLinesByDeviceOutput(ctx *pulumi.Context, args GetCameraBoundariesLinesByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetCameraBoundariesLinesByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraBoundariesLinesByDeviceResult, error) { + ApplyT(func(v interface{}) (GetCameraBoundariesLinesByDeviceResultOutput, error) { args := v.(GetCameraBoundariesLinesByDeviceArgs) - r, err := GetCameraBoundariesLinesByDevice(ctx, &args, opts...) - var s GetCameraBoundariesLinesByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraBoundariesLinesByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraBoundariesLinesByDevice:getCameraBoundariesLinesByDevice", args, &rv, "", opts...) + if err != nil { + return GetCameraBoundariesLinesByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraBoundariesLinesByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraBoundariesLinesByDeviceResultOutput), nil + } + return output, nil }).(GetCameraBoundariesLinesByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraCustomAnalyticsArtifacts.go b/sdk/go/meraki/organizations/getCameraCustomAnalyticsArtifacts.go index 22601245..78b73dd0 100644 --- a/sdk/go/meraki/organizations/getCameraCustomAnalyticsArtifacts.go +++ b/sdk/go/meraki/organizations/getCameraCustomAnalyticsArtifacts.go @@ -45,14 +45,20 @@ type LookupCameraCustomAnalyticsArtifactsResult struct { func LookupCameraCustomAnalyticsArtifactsOutput(ctx *pulumi.Context, args LookupCameraCustomAnalyticsArtifactsOutputArgs, opts ...pulumi.InvokeOption) LookupCameraCustomAnalyticsArtifactsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraCustomAnalyticsArtifactsResult, error) { + ApplyT(func(v interface{}) (LookupCameraCustomAnalyticsArtifactsResultOutput, error) { args := v.(LookupCameraCustomAnalyticsArtifactsArgs) - r, err := LookupCameraCustomAnalyticsArtifacts(ctx, &args, opts...) - var s LookupCameraCustomAnalyticsArtifactsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraCustomAnalyticsArtifactsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraCustomAnalyticsArtifacts:getCameraCustomAnalyticsArtifacts", args, &rv, "", opts...) + if err != nil { + return LookupCameraCustomAnalyticsArtifactsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraCustomAnalyticsArtifactsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraCustomAnalyticsArtifactsResultOutput), nil + } + return output, nil }).(LookupCameraCustomAnalyticsArtifactsResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraDetectionsHistoryByBoundaryByInterval.go b/sdk/go/meraki/organizations/getCameraDetectionsHistoryByBoundaryByInterval.go index 5463b0f3..6a4671a9 100644 --- a/sdk/go/meraki/organizations/getCameraDetectionsHistoryByBoundaryByInterval.go +++ b/sdk/go/meraki/organizations/getCameraDetectionsHistoryByBoundaryByInterval.go @@ -96,14 +96,20 @@ type GetCameraDetectionsHistoryByBoundaryByIntervalResult struct { func GetCameraDetectionsHistoryByBoundaryByIntervalOutput(ctx *pulumi.Context, args GetCameraDetectionsHistoryByBoundaryByIntervalOutputArgs, opts ...pulumi.InvokeOption) GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraDetectionsHistoryByBoundaryByIntervalResult, error) { + ApplyT(func(v interface{}) (GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput, error) { args := v.(GetCameraDetectionsHistoryByBoundaryByIntervalArgs) - r, err := GetCameraDetectionsHistoryByBoundaryByInterval(ctx, &args, opts...) - var s GetCameraDetectionsHistoryByBoundaryByIntervalResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraDetectionsHistoryByBoundaryByIntervalResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraDetectionsHistoryByBoundaryByInterval:getCameraDetectionsHistoryByBoundaryByInterval", args, &rv, "", opts...) + if err != nil { + return GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput), nil + } + return output, nil }).(GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraPermissions.go b/sdk/go/meraki/organizations/getCameraPermissions.go index a58c42e8..14fa5e57 100644 --- a/sdk/go/meraki/organizations/getCameraPermissions.go +++ b/sdk/go/meraki/organizations/getCameraPermissions.go @@ -69,14 +69,20 @@ type GetCameraPermissionsResult struct { func GetCameraPermissionsOutput(ctx *pulumi.Context, args GetCameraPermissionsOutputArgs, opts ...pulumi.InvokeOption) GetCameraPermissionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCameraPermissionsResult, error) { + ApplyT(func(v interface{}) (GetCameraPermissionsResultOutput, error) { args := v.(GetCameraPermissionsArgs) - r, err := GetCameraPermissions(ctx, &args, opts...) - var s GetCameraPermissionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCameraPermissionsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraPermissions:getCameraPermissions", args, &rv, "", opts...) + if err != nil { + return GetCameraPermissionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCameraPermissionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCameraPermissionsResultOutput), nil + } + return output, nil }).(GetCameraPermissionsResultOutput) } diff --git a/sdk/go/meraki/organizations/getCameraRoles.go b/sdk/go/meraki/organizations/getCameraRoles.go index cc09daac..a1d49e61 100644 --- a/sdk/go/meraki/organizations/getCameraRoles.go +++ b/sdk/go/meraki/organizations/getCameraRoles.go @@ -45,14 +45,20 @@ type LookupCameraRolesResult struct { func LookupCameraRolesOutput(ctx *pulumi.Context, args LookupCameraRolesOutputArgs, opts ...pulumi.InvokeOption) LookupCameraRolesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCameraRolesResult, error) { + ApplyT(func(v interface{}) (LookupCameraRolesResultOutput, error) { args := v.(LookupCameraRolesArgs) - r, err := LookupCameraRoles(ctx, &args, opts...) - var s LookupCameraRolesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCameraRolesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCameraRoles:getCameraRoles", args, &rv, "", opts...) + if err != nil { + return LookupCameraRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCameraRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCameraRolesResultOutput), nil + } + return output, nil }).(LookupCameraRolesResultOutput) } diff --git a/sdk/go/meraki/organizations/getCellularGatewayUplinkStatuses.go b/sdk/go/meraki/organizations/getCellularGatewayUplinkStatuses.go index ece595cf..15effdf2 100644 --- a/sdk/go/meraki/organizations/getCellularGatewayUplinkStatuses.go +++ b/sdk/go/meraki/organizations/getCellularGatewayUplinkStatuses.go @@ -101,14 +101,20 @@ type GetCellularGatewayUplinkStatusesResult struct { func GetCellularGatewayUplinkStatusesOutput(ctx *pulumi.Context, args GetCellularGatewayUplinkStatusesOutputArgs, opts ...pulumi.InvokeOption) GetCellularGatewayUplinkStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCellularGatewayUplinkStatusesResult, error) { + ApplyT(func(v interface{}) (GetCellularGatewayUplinkStatusesResultOutput, error) { args := v.(GetCellularGatewayUplinkStatusesArgs) - r, err := GetCellularGatewayUplinkStatuses(ctx, &args, opts...) - var s GetCellularGatewayUplinkStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCellularGatewayUplinkStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getCellularGatewayUplinkStatuses:getCellularGatewayUplinkStatuses", args, &rv, "", opts...) + if err != nil { + return GetCellularGatewayUplinkStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCellularGatewayUplinkStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCellularGatewayUplinkStatusesResultOutput), nil + } + return output, nil }).(GetCellularGatewayUplinkStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getClientsBandwidthUsageHistory.go b/sdk/go/meraki/organizations/getClientsBandwidthUsageHistory.go index ee29cfa2..eb6b66d5 100644 --- a/sdk/go/meraki/organizations/getClientsBandwidthUsageHistory.go +++ b/sdk/go/meraki/organizations/getClientsBandwidthUsageHistory.go @@ -80,14 +80,20 @@ type GetClientsBandwidthUsageHistoryResult struct { func GetClientsBandwidthUsageHistoryOutput(ctx *pulumi.Context, args GetClientsBandwidthUsageHistoryOutputArgs, opts ...pulumi.InvokeOption) GetClientsBandwidthUsageHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientsBandwidthUsageHistoryResult, error) { + ApplyT(func(v interface{}) (GetClientsBandwidthUsageHistoryResultOutput, error) { args := v.(GetClientsBandwidthUsageHistoryArgs) - r, err := GetClientsBandwidthUsageHistory(ctx, &args, opts...) - var s GetClientsBandwidthUsageHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientsBandwidthUsageHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getClientsBandwidthUsageHistory:getClientsBandwidthUsageHistory", args, &rv, "", opts...) + if err != nil { + return GetClientsBandwidthUsageHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientsBandwidthUsageHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientsBandwidthUsageHistoryResultOutput), nil + } + return output, nil }).(GetClientsBandwidthUsageHistoryResultOutput) } diff --git a/sdk/go/meraki/organizations/getClientsOverview.go b/sdk/go/meraki/organizations/getClientsOverview.go index 9428cf07..dab2923f 100644 --- a/sdk/go/meraki/organizations/getClientsOverview.go +++ b/sdk/go/meraki/organizations/getClientsOverview.go @@ -79,14 +79,20 @@ type GetClientsOverviewResult struct { func GetClientsOverviewOutput(ctx *pulumi.Context, args GetClientsOverviewOutputArgs, opts ...pulumi.InvokeOption) GetClientsOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientsOverviewResult, error) { + ApplyT(func(v interface{}) (GetClientsOverviewResultOutput, error) { args := v.(GetClientsOverviewArgs) - r, err := GetClientsOverview(ctx, &args, opts...) - var s GetClientsOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientsOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getClientsOverview:getClientsOverview", args, &rv, "", opts...) + if err != nil { + return GetClientsOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientsOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientsOverviewResultOutput), nil + } + return output, nil }).(GetClientsOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getClientsSearch.go b/sdk/go/meraki/organizations/getClientsSearch.go index 581f951f..8dec2303 100644 --- a/sdk/go/meraki/organizations/getClientsSearch.go +++ b/sdk/go/meraki/organizations/getClientsSearch.go @@ -84,14 +84,20 @@ type GetClientsSearchResult struct { func GetClientsSearchOutput(ctx *pulumi.Context, args GetClientsSearchOutputArgs, opts ...pulumi.InvokeOption) GetClientsSearchResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientsSearchResult, error) { + ApplyT(func(v interface{}) (GetClientsSearchResultOutput, error) { args := v.(GetClientsSearchArgs) - r, err := GetClientsSearch(ctx, &args, opts...) - var s GetClientsSearchResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientsSearchResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getClientsSearch:getClientsSearch", args, &rv, "", opts...) + if err != nil { + return GetClientsSearchResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientsSearchResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientsSearchResultOutput), nil + } + return output, nil }).(GetClientsSearchResultOutput) } diff --git a/sdk/go/meraki/organizations/getConfigTemplates.go b/sdk/go/meraki/organizations/getConfigTemplates.go index a6d94459..9c24f1ef 100644 --- a/sdk/go/meraki/organizations/getConfigTemplates.go +++ b/sdk/go/meraki/organizations/getConfigTemplates.go @@ -45,14 +45,20 @@ type LookupConfigTemplatesResult struct { func LookupConfigTemplatesOutput(ctx *pulumi.Context, args LookupConfigTemplatesOutputArgs, opts ...pulumi.InvokeOption) LookupConfigTemplatesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupConfigTemplatesResult, error) { + ApplyT(func(v interface{}) (LookupConfigTemplatesResultOutput, error) { args := v.(LookupConfigTemplatesArgs) - r, err := LookupConfigTemplates(ctx, &args, opts...) - var s LookupConfigTemplatesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupConfigTemplatesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getConfigTemplates:getConfigTemplates", args, &rv, "", opts...) + if err != nil { + return LookupConfigTemplatesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupConfigTemplatesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupConfigTemplatesResultOutput), nil + } + return output, nil }).(LookupConfigTemplatesResultOutput) } diff --git a/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfiles.go b/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfiles.go index 6f650eab..b6c68023 100644 --- a/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfiles.go +++ b/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfiles.go @@ -70,14 +70,20 @@ type GetConfigTemplatesSwitchProfilesResult struct { func GetConfigTemplatesSwitchProfilesOutput(ctx *pulumi.Context, args GetConfigTemplatesSwitchProfilesOutputArgs, opts ...pulumi.InvokeOption) GetConfigTemplatesSwitchProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetConfigTemplatesSwitchProfilesResult, error) { + ApplyT(func(v interface{}) (GetConfigTemplatesSwitchProfilesResultOutput, error) { args := v.(GetConfigTemplatesSwitchProfilesArgs) - r, err := GetConfigTemplatesSwitchProfiles(ctx, &args, opts...) - var s GetConfigTemplatesSwitchProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetConfigTemplatesSwitchProfilesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getConfigTemplatesSwitchProfiles:getConfigTemplatesSwitchProfiles", args, &rv, "", opts...) + if err != nil { + return GetConfigTemplatesSwitchProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetConfigTemplatesSwitchProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetConfigTemplatesSwitchProfilesResultOutput), nil + } + return output, nil }).(GetConfigTemplatesSwitchProfilesResultOutput) } diff --git a/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfilesPorts.go b/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfilesPorts.go index d7085349..6906f459 100644 --- a/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfilesPorts.go +++ b/sdk/go/meraki/organizations/getConfigTemplatesSwitchProfilesPorts.go @@ -53,14 +53,20 @@ type LookupConfigTemplatesSwitchProfilesPortsResult struct { func LookupConfigTemplatesSwitchProfilesPortsOutput(ctx *pulumi.Context, args LookupConfigTemplatesSwitchProfilesPortsOutputArgs, opts ...pulumi.InvokeOption) LookupConfigTemplatesSwitchProfilesPortsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupConfigTemplatesSwitchProfilesPortsResult, error) { + ApplyT(func(v interface{}) (LookupConfigTemplatesSwitchProfilesPortsResultOutput, error) { args := v.(LookupConfigTemplatesSwitchProfilesPortsArgs) - r, err := LookupConfigTemplatesSwitchProfilesPorts(ctx, &args, opts...) - var s LookupConfigTemplatesSwitchProfilesPortsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupConfigTemplatesSwitchProfilesPortsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getConfigTemplatesSwitchProfilesPorts:getConfigTemplatesSwitchProfilesPorts", args, &rv, "", opts...) + if err != nil { + return LookupConfigTemplatesSwitchProfilesPortsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupConfigTemplatesSwitchProfilesPortsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupConfigTemplatesSwitchProfilesPortsResultOutput), nil + } + return output, nil }).(LookupConfigTemplatesSwitchProfilesPortsResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevices.go b/sdk/go/meraki/organizations/getDevices.go index 5e6db9a2..6bf37779 100644 --- a/sdk/go/meraki/organizations/getDevices.go +++ b/sdk/go/meraki/organizations/getDevices.go @@ -166,14 +166,20 @@ type GetDevicesResult struct { func GetDevicesOutput(ctx *pulumi.Context, args GetDevicesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesResult, error) { + ApplyT(func(v interface{}) (GetDevicesResultOutput, error) { args := v.(GetDevicesArgs) - r, err := GetDevices(ctx, &args, opts...) - var s GetDevicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevices:getDevices", args, &rv, "", opts...) + if err != nil { + return GetDevicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesResultOutput), nil + } + return output, nil }).(GetDevicesResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesAvailabilities.go b/sdk/go/meraki/organizations/getDevicesAvailabilities.go index 4913f7a2..d12f0a1a 100644 --- a/sdk/go/meraki/organizations/getDevicesAvailabilities.go +++ b/sdk/go/meraki/organizations/getDevicesAvailabilities.go @@ -113,14 +113,20 @@ type GetDevicesAvailabilitiesResult struct { func GetDevicesAvailabilitiesOutput(ctx *pulumi.Context, args GetDevicesAvailabilitiesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesAvailabilitiesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesAvailabilitiesResult, error) { + ApplyT(func(v interface{}) (GetDevicesAvailabilitiesResultOutput, error) { args := v.(GetDevicesAvailabilitiesArgs) - r, err := GetDevicesAvailabilities(ctx, &args, opts...) - var s GetDevicesAvailabilitiesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesAvailabilitiesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesAvailabilities:getDevicesAvailabilities", args, &rv, "", opts...) + if err != nil { + return GetDevicesAvailabilitiesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesAvailabilitiesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesAvailabilitiesResultOutput), nil + } + return output, nil }).(GetDevicesAvailabilitiesResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesAvailabilitiesChangeHistory.go b/sdk/go/meraki/organizations/getDevicesAvailabilitiesChangeHistory.go index 2d1a5452..3685fe74 100644 --- a/sdk/go/meraki/organizations/getDevicesAvailabilitiesChangeHistory.go +++ b/sdk/go/meraki/organizations/getDevicesAvailabilitiesChangeHistory.go @@ -123,14 +123,20 @@ type GetDevicesAvailabilitiesChangeHistoryResult struct { func GetDevicesAvailabilitiesChangeHistoryOutput(ctx *pulumi.Context, args GetDevicesAvailabilitiesChangeHistoryOutputArgs, opts ...pulumi.InvokeOption) GetDevicesAvailabilitiesChangeHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesAvailabilitiesChangeHistoryResult, error) { + ApplyT(func(v interface{}) (GetDevicesAvailabilitiesChangeHistoryResultOutput, error) { args := v.(GetDevicesAvailabilitiesChangeHistoryArgs) - r, err := GetDevicesAvailabilitiesChangeHistory(ctx, &args, opts...) - var s GetDevicesAvailabilitiesChangeHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesAvailabilitiesChangeHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesAvailabilitiesChangeHistory:getDevicesAvailabilitiesChangeHistory", args, &rv, "", opts...) + if err != nil { + return GetDevicesAvailabilitiesChangeHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesAvailabilitiesChangeHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesAvailabilitiesChangeHistoryResultOutput), nil + } + return output, nil }).(GetDevicesAvailabilitiesChangeHistoryResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesBootsHistory.go b/sdk/go/meraki/organizations/getDevicesBootsHistory.go index 7e1b85e8..3c5720d7 100644 --- a/sdk/go/meraki/organizations/getDevicesBootsHistory.go +++ b/sdk/go/meraki/organizations/getDevicesBootsHistory.go @@ -112,14 +112,20 @@ type GetDevicesBootsHistoryResult struct { func GetDevicesBootsHistoryOutput(ctx *pulumi.Context, args GetDevicesBootsHistoryOutputArgs, opts ...pulumi.InvokeOption) GetDevicesBootsHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesBootsHistoryResult, error) { + ApplyT(func(v interface{}) (GetDevicesBootsHistoryResultOutput, error) { args := v.(GetDevicesBootsHistoryArgs) - r, err := GetDevicesBootsHistory(ctx, &args, opts...) - var s GetDevicesBootsHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesBootsHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesBootsHistory:getDevicesBootsHistory", args, &rv, "", opts...) + if err != nil { + return GetDevicesBootsHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesBootsHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesBootsHistoryResultOutput), nil + } + return output, nil }).(GetDevicesBootsHistoryResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesPowerModulesStatusesByDevice.go b/sdk/go/meraki/organizations/getDevicesPowerModulesStatusesByDevice.go index 67028b89..3b7fa175 100644 --- a/sdk/go/meraki/organizations/getDevicesPowerModulesStatusesByDevice.go +++ b/sdk/go/meraki/organizations/getDevicesPowerModulesStatusesByDevice.go @@ -113,14 +113,20 @@ type GetDevicesPowerModulesStatusesByDeviceResult struct { func GetDevicesPowerModulesStatusesByDeviceOutput(ctx *pulumi.Context, args GetDevicesPowerModulesStatusesByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetDevicesPowerModulesStatusesByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesPowerModulesStatusesByDeviceResult, error) { + ApplyT(func(v interface{}) (GetDevicesPowerModulesStatusesByDeviceResultOutput, error) { args := v.(GetDevicesPowerModulesStatusesByDeviceArgs) - r, err := GetDevicesPowerModulesStatusesByDevice(ctx, &args, opts...) - var s GetDevicesPowerModulesStatusesByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesPowerModulesStatusesByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesPowerModulesStatusesByDevice:getDevicesPowerModulesStatusesByDevice", args, &rv, "", opts...) + if err != nil { + return GetDevicesPowerModulesStatusesByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesPowerModulesStatusesByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesPowerModulesStatusesByDeviceResultOutput), nil + } + return output, nil }).(GetDevicesPowerModulesStatusesByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesProvisioningStatuses.go b/sdk/go/meraki/organizations/getDevicesProvisioningStatuses.go index 4a00d3fc..5be5c6df 100644 --- a/sdk/go/meraki/organizations/getDevicesProvisioningStatuses.go +++ b/sdk/go/meraki/organizations/getDevicesProvisioningStatuses.go @@ -118,14 +118,20 @@ type GetDevicesProvisioningStatusesResult struct { func GetDevicesProvisioningStatusesOutput(ctx *pulumi.Context, args GetDevicesProvisioningStatusesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesProvisioningStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesProvisioningStatusesResult, error) { + ApplyT(func(v interface{}) (GetDevicesProvisioningStatusesResultOutput, error) { args := v.(GetDevicesProvisioningStatusesArgs) - r, err := GetDevicesProvisioningStatuses(ctx, &args, opts...) - var s GetDevicesProvisioningStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesProvisioningStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesProvisioningStatuses:getDevicesProvisioningStatuses", args, &rv, "", opts...) + if err != nil { + return GetDevicesProvisioningStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesProvisioningStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesProvisioningStatusesResultOutput), nil + } + return output, nil }).(GetDevicesProvisioningStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesStatuses.go b/sdk/go/meraki/organizations/getDevicesStatuses.go index cc6d8296..97175827 100644 --- a/sdk/go/meraki/organizations/getDevicesStatuses.go +++ b/sdk/go/meraki/organizations/getDevicesStatuses.go @@ -127,14 +127,20 @@ type GetDevicesStatusesResult struct { func GetDevicesStatusesOutput(ctx *pulumi.Context, args GetDevicesStatusesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesStatusesResult, error) { + ApplyT(func(v interface{}) (GetDevicesStatusesResultOutput, error) { args := v.(GetDevicesStatusesArgs) - r, err := GetDevicesStatuses(ctx, &args, opts...) - var s GetDevicesStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesStatuses:getDevicesStatuses", args, &rv, "", opts...) + if err != nil { + return GetDevicesStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesStatusesResultOutput), nil + } + return output, nil }).(GetDevicesStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesStatusesOverview.go b/sdk/go/meraki/organizations/getDevicesStatusesOverview.go index 5a52c6fc..6c56f166 100644 --- a/sdk/go/meraki/organizations/getDevicesStatusesOverview.go +++ b/sdk/go/meraki/organizations/getDevicesStatusesOverview.go @@ -78,14 +78,20 @@ type GetDevicesStatusesOverviewResult struct { func GetDevicesStatusesOverviewOutput(ctx *pulumi.Context, args GetDevicesStatusesOverviewOutputArgs, opts ...pulumi.InvokeOption) GetDevicesStatusesOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesStatusesOverviewResult, error) { + ApplyT(func(v interface{}) (GetDevicesStatusesOverviewResultOutput, error) { args := v.(GetDevicesStatusesOverviewArgs) - r, err := GetDevicesStatusesOverview(ctx, &args, opts...) - var s GetDevicesStatusesOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesStatusesOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesStatusesOverview:getDevicesStatusesOverview", args, &rv, "", opts...) + if err != nil { + return GetDevicesStatusesOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesStatusesOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesStatusesOverviewResultOutput), nil + } + return output, nil }).(GetDevicesStatusesOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesUplinksAddressesByDevice.go b/sdk/go/meraki/organizations/getDevicesUplinksAddressesByDevice.go index ee8f699c..e7eee864 100644 --- a/sdk/go/meraki/organizations/getDevicesUplinksAddressesByDevice.go +++ b/sdk/go/meraki/organizations/getDevicesUplinksAddressesByDevice.go @@ -113,14 +113,20 @@ type GetDevicesUplinksAddressesByDeviceResult struct { func GetDevicesUplinksAddressesByDeviceOutput(ctx *pulumi.Context, args GetDevicesUplinksAddressesByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetDevicesUplinksAddressesByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesUplinksAddressesByDeviceResult, error) { + ApplyT(func(v interface{}) (GetDevicesUplinksAddressesByDeviceResultOutput, error) { args := v.(GetDevicesUplinksAddressesByDeviceArgs) - r, err := GetDevicesUplinksAddressesByDevice(ctx, &args, opts...) - var s GetDevicesUplinksAddressesByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesUplinksAddressesByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesUplinksAddressesByDevice:getDevicesUplinksAddressesByDevice", args, &rv, "", opts...) + if err != nil { + return GetDevicesUplinksAddressesByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesUplinksAddressesByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesUplinksAddressesByDeviceResultOutput), nil + } + return output, nil }).(GetDevicesUplinksAddressesByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getDevicesUplinksLossAndLatency.go b/sdk/go/meraki/organizations/getDevicesUplinksLossAndLatency.go index 3798569b..3c07fa2e 100644 --- a/sdk/go/meraki/organizations/getDevicesUplinksLossAndLatency.go +++ b/sdk/go/meraki/organizations/getDevicesUplinksLossAndLatency.go @@ -90,14 +90,20 @@ type GetDevicesUplinksLossAndLatencyResult struct { func GetDevicesUplinksLossAndLatencyOutput(ctx *pulumi.Context, args GetDevicesUplinksLossAndLatencyOutputArgs, opts ...pulumi.InvokeOption) GetDevicesUplinksLossAndLatencyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDevicesUplinksLossAndLatencyResult, error) { + ApplyT(func(v interface{}) (GetDevicesUplinksLossAndLatencyResultOutput, error) { args := v.(GetDevicesUplinksLossAndLatencyArgs) - r, err := GetDevicesUplinksLossAndLatency(ctx, &args, opts...) - var s GetDevicesUplinksLossAndLatencyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesUplinksLossAndLatencyResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getDevicesUplinksLossAndLatency:getDevicesUplinksLossAndLatency", args, &rv, "", opts...) + if err != nil { + return GetDevicesUplinksLossAndLatencyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDevicesUplinksLossAndLatencyResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDevicesUplinksLossAndLatencyResultOutput), nil + } + return output, nil }).(GetDevicesUplinksLossAndLatencyResultOutput) } diff --git a/sdk/go/meraki/organizations/getEarlyAccessFeatures.go b/sdk/go/meraki/organizations/getEarlyAccessFeatures.go index f043e127..0edf16c6 100644 --- a/sdk/go/meraki/organizations/getEarlyAccessFeatures.go +++ b/sdk/go/meraki/organizations/getEarlyAccessFeatures.go @@ -65,14 +65,20 @@ type GetEarlyAccessFeaturesResult struct { func GetEarlyAccessFeaturesOutput(ctx *pulumi.Context, args GetEarlyAccessFeaturesOutputArgs, opts ...pulumi.InvokeOption) GetEarlyAccessFeaturesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEarlyAccessFeaturesResult, error) { + ApplyT(func(v interface{}) (GetEarlyAccessFeaturesResultOutput, error) { args := v.(GetEarlyAccessFeaturesArgs) - r, err := GetEarlyAccessFeatures(ctx, &args, opts...) - var s GetEarlyAccessFeaturesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEarlyAccessFeaturesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getEarlyAccessFeatures:getEarlyAccessFeatures", args, &rv, "", opts...) + if err != nil { + return GetEarlyAccessFeaturesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEarlyAccessFeaturesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEarlyAccessFeaturesResultOutput), nil + } + return output, nil }).(GetEarlyAccessFeaturesResultOutput) } diff --git a/sdk/go/meraki/organizations/getEarlyAccessFeaturesOptIns.go b/sdk/go/meraki/organizations/getEarlyAccessFeaturesOptIns.go index be25219a..fff6ea22 100644 --- a/sdk/go/meraki/organizations/getEarlyAccessFeaturesOptIns.go +++ b/sdk/go/meraki/organizations/getEarlyAccessFeaturesOptIns.go @@ -68,14 +68,20 @@ type LookupEarlyAccessFeaturesOptInsResult struct { func LookupEarlyAccessFeaturesOptInsOutput(ctx *pulumi.Context, args LookupEarlyAccessFeaturesOptInsOutputArgs, opts ...pulumi.InvokeOption) LookupEarlyAccessFeaturesOptInsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupEarlyAccessFeaturesOptInsResult, error) { + ApplyT(func(v interface{}) (LookupEarlyAccessFeaturesOptInsResultOutput, error) { args := v.(LookupEarlyAccessFeaturesOptInsArgs) - r, err := LookupEarlyAccessFeaturesOptIns(ctx, &args, opts...) - var s LookupEarlyAccessFeaturesOptInsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupEarlyAccessFeaturesOptInsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getEarlyAccessFeaturesOptIns:getEarlyAccessFeaturesOptIns", args, &rv, "", opts...) + if err != nil { + return LookupEarlyAccessFeaturesOptInsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupEarlyAccessFeaturesOptInsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupEarlyAccessFeaturesOptInsResultOutput), nil + } + return output, nil }).(LookupEarlyAccessFeaturesOptInsResultOutput) } diff --git a/sdk/go/meraki/organizations/getFirmwareUpgrades.go b/sdk/go/meraki/organizations/getFirmwareUpgrades.go index 8e7493ed..a59601bc 100644 --- a/sdk/go/meraki/organizations/getFirmwareUpgrades.go +++ b/sdk/go/meraki/organizations/getFirmwareUpgrades.go @@ -94,14 +94,20 @@ type GetFirmwareUpgradesResult struct { func GetFirmwareUpgradesOutput(ctx *pulumi.Context, args GetFirmwareUpgradesOutputArgs, opts ...pulumi.InvokeOption) GetFirmwareUpgradesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFirmwareUpgradesResult, error) { + ApplyT(func(v interface{}) (GetFirmwareUpgradesResultOutput, error) { args := v.(GetFirmwareUpgradesArgs) - r, err := GetFirmwareUpgrades(ctx, &args, opts...) - var s GetFirmwareUpgradesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetFirmwareUpgradesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getFirmwareUpgrades:getFirmwareUpgrades", args, &rv, "", opts...) + if err != nil { + return GetFirmwareUpgradesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetFirmwareUpgradesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetFirmwareUpgradesResultOutput), nil + } + return output, nil }).(GetFirmwareUpgradesResultOutput) } diff --git a/sdk/go/meraki/organizations/getFirmwareUpgradesByDevice.go b/sdk/go/meraki/organizations/getFirmwareUpgradesByDevice.go index d2a2d330..e7f934a7 100644 --- a/sdk/go/meraki/organizations/getFirmwareUpgradesByDevice.go +++ b/sdk/go/meraki/organizations/getFirmwareUpgradesByDevice.go @@ -115,14 +115,20 @@ type GetFirmwareUpgradesByDeviceResult struct { func GetFirmwareUpgradesByDeviceOutput(ctx *pulumi.Context, args GetFirmwareUpgradesByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetFirmwareUpgradesByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFirmwareUpgradesByDeviceResult, error) { + ApplyT(func(v interface{}) (GetFirmwareUpgradesByDeviceResultOutput, error) { args := v.(GetFirmwareUpgradesByDeviceArgs) - r, err := GetFirmwareUpgradesByDevice(ctx, &args, opts...) - var s GetFirmwareUpgradesByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetFirmwareUpgradesByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getFirmwareUpgradesByDevice:getFirmwareUpgradesByDevice", args, &rv, "", opts...) + if err != nil { + return GetFirmwareUpgradesByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetFirmwareUpgradesByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetFirmwareUpgradesByDeviceResultOutput), nil + } + return output, nil }).(GetFirmwareUpgradesByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getInsightApplications.go b/sdk/go/meraki/organizations/getInsightApplications.go index 901fc54c..84fb88e5 100644 --- a/sdk/go/meraki/organizations/getInsightApplications.go +++ b/sdk/go/meraki/organizations/getInsightApplications.go @@ -65,14 +65,20 @@ type GetInsightApplicationsResult struct { func GetInsightApplicationsOutput(ctx *pulumi.Context, args GetInsightApplicationsOutputArgs, opts ...pulumi.InvokeOption) GetInsightApplicationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInsightApplicationsResult, error) { + ApplyT(func(v interface{}) (GetInsightApplicationsResultOutput, error) { args := v.(GetInsightApplicationsArgs) - r, err := GetInsightApplications(ctx, &args, opts...) - var s GetInsightApplicationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInsightApplicationsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getInsightApplications:getInsightApplications", args, &rv, "", opts...) + if err != nil { + return GetInsightApplicationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInsightApplicationsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInsightApplicationsResultOutput), nil + } + return output, nil }).(GetInsightApplicationsResultOutput) } diff --git a/sdk/go/meraki/organizations/getInsightMonitoredMediaServers.go b/sdk/go/meraki/organizations/getInsightMonitoredMediaServers.go index 929e832c..0d1431f1 100644 --- a/sdk/go/meraki/organizations/getInsightMonitoredMediaServers.go +++ b/sdk/go/meraki/organizations/getInsightMonitoredMediaServers.go @@ -45,14 +45,20 @@ type LookupInsightMonitoredMediaServersResult struct { func LookupInsightMonitoredMediaServersOutput(ctx *pulumi.Context, args LookupInsightMonitoredMediaServersOutputArgs, opts ...pulumi.InvokeOption) LookupInsightMonitoredMediaServersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupInsightMonitoredMediaServersResult, error) { + ApplyT(func(v interface{}) (LookupInsightMonitoredMediaServersResultOutput, error) { args := v.(LookupInsightMonitoredMediaServersArgs) - r, err := LookupInsightMonitoredMediaServers(ctx, &args, opts...) - var s LookupInsightMonitoredMediaServersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupInsightMonitoredMediaServersResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getInsightMonitoredMediaServers:getInsightMonitoredMediaServers", args, &rv, "", opts...) + if err != nil { + return LookupInsightMonitoredMediaServersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupInsightMonitoredMediaServersResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupInsightMonitoredMediaServersResultOutput), nil + } + return output, nil }).(LookupInsightMonitoredMediaServersResultOutput) } diff --git a/sdk/go/meraki/organizations/getInventoryDevices.go b/sdk/go/meraki/organizations/getInventoryDevices.go index 7f60cc95..668403c7 100644 --- a/sdk/go/meraki/organizations/getInventoryDevices.go +++ b/sdk/go/meraki/organizations/getInventoryDevices.go @@ -97,14 +97,20 @@ type GetInventoryDevicesResult struct { func GetInventoryDevicesOutput(ctx *pulumi.Context, args GetInventoryDevicesOutputArgs, opts ...pulumi.InvokeOption) GetInventoryDevicesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInventoryDevicesResult, error) { + ApplyT(func(v interface{}) (GetInventoryDevicesResultOutput, error) { args := v.(GetInventoryDevicesArgs) - r, err := GetInventoryDevices(ctx, &args, opts...) - var s GetInventoryDevicesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInventoryDevicesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getInventoryDevices:getInventoryDevices", args, &rv, "", opts...) + if err != nil { + return GetInventoryDevicesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInventoryDevicesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInventoryDevicesResultOutput), nil + } + return output, nil }).(GetInventoryDevicesResultOutput) } diff --git a/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringImports.go b/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringImports.go index 39a176a4..8e358f9f 100644 --- a/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringImports.go +++ b/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringImports.go @@ -72,14 +72,20 @@ type LookupInventoryOnboardingCloudMonitoringImportsResult struct { func LookupInventoryOnboardingCloudMonitoringImportsOutput(ctx *pulumi.Context, args LookupInventoryOnboardingCloudMonitoringImportsOutputArgs, opts ...pulumi.InvokeOption) LookupInventoryOnboardingCloudMonitoringImportsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupInventoryOnboardingCloudMonitoringImportsResult, error) { + ApplyT(func(v interface{}) (LookupInventoryOnboardingCloudMonitoringImportsResultOutput, error) { args := v.(LookupInventoryOnboardingCloudMonitoringImportsArgs) - r, err := LookupInventoryOnboardingCloudMonitoringImports(ctx, &args, opts...) - var s LookupInventoryOnboardingCloudMonitoringImportsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupInventoryOnboardingCloudMonitoringImportsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getInventoryOnboardingCloudMonitoringImports:getInventoryOnboardingCloudMonitoringImports", args, &rv, "", opts...) + if err != nil { + return LookupInventoryOnboardingCloudMonitoringImportsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupInventoryOnboardingCloudMonitoringImportsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupInventoryOnboardingCloudMonitoringImportsResultOutput), nil + } + return output, nil }).(LookupInventoryOnboardingCloudMonitoringImportsResultOutput) } diff --git a/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringNetworks.go b/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringNetworks.go index 413d7419..971c5d0d 100644 --- a/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringNetworks.go +++ b/sdk/go/meraki/organizations/getInventoryOnboardingCloudMonitoringNetworks.go @@ -90,14 +90,20 @@ type GetInventoryOnboardingCloudMonitoringNetworksResult struct { func GetInventoryOnboardingCloudMonitoringNetworksOutput(ctx *pulumi.Context, args GetInventoryOnboardingCloudMonitoringNetworksOutputArgs, opts ...pulumi.InvokeOption) GetInventoryOnboardingCloudMonitoringNetworksResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInventoryOnboardingCloudMonitoringNetworksResult, error) { + ApplyT(func(v interface{}) (GetInventoryOnboardingCloudMonitoringNetworksResultOutput, error) { args := v.(GetInventoryOnboardingCloudMonitoringNetworksArgs) - r, err := GetInventoryOnboardingCloudMonitoringNetworks(ctx, &args, opts...) - var s GetInventoryOnboardingCloudMonitoringNetworksResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInventoryOnboardingCloudMonitoringNetworksResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getInventoryOnboardingCloudMonitoringNetworks:getInventoryOnboardingCloudMonitoringNetworks", args, &rv, "", opts...) + if err != nil { + return GetInventoryOnboardingCloudMonitoringNetworksResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInventoryOnboardingCloudMonitoringNetworksResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInventoryOnboardingCloudMonitoringNetworksResultOutput), nil + } + return output, nil }).(GetInventoryOnboardingCloudMonitoringNetworksResultOutput) } diff --git a/sdk/go/meraki/organizations/getLicenses.go b/sdk/go/meraki/organizations/getLicenses.go index 366cdb56..64e3ab5f 100644 --- a/sdk/go/meraki/organizations/getLicenses.go +++ b/sdk/go/meraki/organizations/getLicenses.go @@ -69,14 +69,20 @@ type LookupLicensesResult struct { func LookupLicensesOutput(ctx *pulumi.Context, args LookupLicensesOutputArgs, opts ...pulumi.InvokeOption) LookupLicensesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLicensesResult, error) { + ApplyT(func(v interface{}) (LookupLicensesResultOutput, error) { args := v.(LookupLicensesArgs) - r, err := LookupLicenses(ctx, &args, opts...) - var s LookupLicensesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLicensesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getLicenses:getLicenses", args, &rv, "", opts...) + if err != nil { + return LookupLicensesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLicensesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLicensesResultOutput), nil + } + return output, nil }).(LookupLicensesResultOutput) } diff --git a/sdk/go/meraki/organizations/getLicensesOverview.go b/sdk/go/meraki/organizations/getLicensesOverview.go index 90aa5e6f..ad09975a 100644 --- a/sdk/go/meraki/organizations/getLicensesOverview.go +++ b/sdk/go/meraki/organizations/getLicensesOverview.go @@ -64,14 +64,20 @@ type GetLicensesOverviewResult struct { func GetLicensesOverviewOutput(ctx *pulumi.Context, args GetLicensesOverviewOutputArgs, opts ...pulumi.InvokeOption) GetLicensesOverviewResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLicensesOverviewResult, error) { + ApplyT(func(v interface{}) (GetLicensesOverviewResultOutput, error) { args := v.(GetLicensesOverviewArgs) - r, err := GetLicensesOverview(ctx, &args, opts...) - var s GetLicensesOverviewResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLicensesOverviewResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getLicensesOverview:getLicensesOverview", args, &rv, "", opts...) + if err != nil { + return GetLicensesOverviewResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLicensesOverviewResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLicensesOverviewResultOutput), nil + } + return output, nil }).(GetLicensesOverviewResultOutput) } diff --git a/sdk/go/meraki/organizations/getLicensingCotermLicenses.go b/sdk/go/meraki/organizations/getLicensingCotermLicenses.go index 7000b53e..39de8859 100644 --- a/sdk/go/meraki/organizations/getLicensingCotermLicenses.go +++ b/sdk/go/meraki/organizations/getLicensingCotermLicenses.go @@ -90,14 +90,20 @@ type GetLicensingCotermLicensesResult struct { func GetLicensingCotermLicensesOutput(ctx *pulumi.Context, args GetLicensingCotermLicensesOutputArgs, opts ...pulumi.InvokeOption) GetLicensingCotermLicensesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLicensingCotermLicensesResult, error) { + ApplyT(func(v interface{}) (GetLicensingCotermLicensesResultOutput, error) { args := v.(GetLicensingCotermLicensesArgs) - r, err := GetLicensingCotermLicenses(ctx, &args, opts...) - var s GetLicensingCotermLicensesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLicensingCotermLicensesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getLicensingCotermLicenses:getLicensingCotermLicenses", args, &rv, "", opts...) + if err != nil { + return GetLicensingCotermLicensesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLicensingCotermLicensesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLicensingCotermLicensesResultOutput), nil + } + return output, nil }).(GetLicensingCotermLicensesResultOutput) } diff --git a/sdk/go/meraki/organizations/getLoginSecurity.go b/sdk/go/meraki/organizations/getLoginSecurity.go index 99cf23ff..23a51743 100644 --- a/sdk/go/meraki/organizations/getLoginSecurity.go +++ b/sdk/go/meraki/organizations/getLoginSecurity.go @@ -64,14 +64,20 @@ type LookupLoginSecurityResult struct { func LookupLoginSecurityOutput(ctx *pulumi.Context, args LookupLoginSecurityOutputArgs, opts ...pulumi.InvokeOption) LookupLoginSecurityResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLoginSecurityResult, error) { + ApplyT(func(v interface{}) (LookupLoginSecurityResultOutput, error) { args := v.(LookupLoginSecurityArgs) - r, err := LookupLoginSecurity(ctx, &args, opts...) - var s LookupLoginSecurityResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLoginSecurityResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getLoginSecurity:getLoginSecurity", args, &rv, "", opts...) + if err != nil { + return LookupLoginSecurityResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLoginSecurityResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLoginSecurityResultOutput), nil + } + return output, nil }).(LookupLoginSecurityResultOutput) } diff --git a/sdk/go/meraki/organizations/getOpenapiSpec.go b/sdk/go/meraki/organizations/getOpenapiSpec.go index eda9d272..f7a5df50 100644 --- a/sdk/go/meraki/organizations/getOpenapiSpec.go +++ b/sdk/go/meraki/organizations/getOpenapiSpec.go @@ -69,14 +69,20 @@ type GetOpenapiSpecResult struct { func GetOpenapiSpecOutput(ctx *pulumi.Context, args GetOpenapiSpecOutputArgs, opts ...pulumi.InvokeOption) GetOpenapiSpecResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetOpenapiSpecResult, error) { + ApplyT(func(v interface{}) (GetOpenapiSpecResultOutput, error) { args := v.(GetOpenapiSpecArgs) - r, err := GetOpenapiSpec(ctx, &args, opts...) - var s GetOpenapiSpecResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOpenapiSpecResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getOpenapiSpec:getOpenapiSpec", args, &rv, "", opts...) + if err != nil { + return GetOpenapiSpecResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetOpenapiSpecResultOutput) + if secret { + return pulumi.ToSecret(output).(GetOpenapiSpecResultOutput), nil + } + return output, nil }).(GetOpenapiSpecResultOutput) } diff --git a/sdk/go/meraki/organizations/getPolicyObjects.go b/sdk/go/meraki/organizations/getPolicyObjects.go index 7321c96e..169e0994 100644 --- a/sdk/go/meraki/organizations/getPolicyObjects.go +++ b/sdk/go/meraki/organizations/getPolicyObjects.go @@ -83,14 +83,20 @@ type LookupPolicyObjectsResult struct { func LookupPolicyObjectsOutput(ctx *pulumi.Context, args LookupPolicyObjectsOutputArgs, opts ...pulumi.InvokeOption) LookupPolicyObjectsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPolicyObjectsResult, error) { + ApplyT(func(v interface{}) (LookupPolicyObjectsResultOutput, error) { args := v.(LookupPolicyObjectsArgs) - r, err := LookupPolicyObjects(ctx, &args, opts...) - var s LookupPolicyObjectsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPolicyObjectsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getPolicyObjects:getPolicyObjects", args, &rv, "", opts...) + if err != nil { + return LookupPolicyObjectsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPolicyObjectsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPolicyObjectsResultOutput), nil + } + return output, nil }).(LookupPolicyObjectsResultOutput) } diff --git a/sdk/go/meraki/organizations/getPolicyObjectsGroups.go b/sdk/go/meraki/organizations/getPolicyObjectsGroups.go index 8a745423..bdd6e274 100644 --- a/sdk/go/meraki/organizations/getPolicyObjectsGroups.go +++ b/sdk/go/meraki/organizations/getPolicyObjectsGroups.go @@ -83,14 +83,20 @@ type LookupPolicyObjectsGroupsResult struct { func LookupPolicyObjectsGroupsOutput(ctx *pulumi.Context, args LookupPolicyObjectsGroupsOutputArgs, opts ...pulumi.InvokeOption) LookupPolicyObjectsGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPolicyObjectsGroupsResult, error) { + ApplyT(func(v interface{}) (LookupPolicyObjectsGroupsResultOutput, error) { args := v.(LookupPolicyObjectsGroupsArgs) - r, err := LookupPolicyObjectsGroups(ctx, &args, opts...) - var s LookupPolicyObjectsGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPolicyObjectsGroupsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getPolicyObjectsGroups:getPolicyObjectsGroups", args, &rv, "", opts...) + if err != nil { + return LookupPolicyObjectsGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPolicyObjectsGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPolicyObjectsGroupsResultOutput), nil + } + return output, nil }).(LookupPolicyObjectsGroupsResultOutput) } diff --git a/sdk/go/meraki/organizations/getSaml.go b/sdk/go/meraki/organizations/getSaml.go index ef6dd01f..dc455b28 100644 --- a/sdk/go/meraki/organizations/getSaml.go +++ b/sdk/go/meraki/organizations/getSaml.go @@ -64,14 +64,20 @@ type LookupSamlResult struct { func LookupSamlOutput(ctx *pulumi.Context, args LookupSamlOutputArgs, opts ...pulumi.InvokeOption) LookupSamlResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSamlResult, error) { + ApplyT(func(v interface{}) (LookupSamlResultOutput, error) { args := v.(LookupSamlArgs) - r, err := LookupSaml(ctx, &args, opts...) - var s LookupSamlResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSamlResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSaml:getSaml", args, &rv, "", opts...) + if err != nil { + return LookupSamlResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSamlResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSamlResultOutput), nil + } + return output, nil }).(LookupSamlResultOutput) } diff --git a/sdk/go/meraki/organizations/getSamlIdps.go b/sdk/go/meraki/organizations/getSamlIdps.go index 16536e40..2f39dc77 100644 --- a/sdk/go/meraki/organizations/getSamlIdps.go +++ b/sdk/go/meraki/organizations/getSamlIdps.go @@ -45,14 +45,20 @@ type LookupSamlIdpsResult struct { func LookupSamlIdpsOutput(ctx *pulumi.Context, args LookupSamlIdpsOutputArgs, opts ...pulumi.InvokeOption) LookupSamlIdpsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSamlIdpsResult, error) { + ApplyT(func(v interface{}) (LookupSamlIdpsResultOutput, error) { args := v.(LookupSamlIdpsArgs) - r, err := LookupSamlIdps(ctx, &args, opts...) - var s LookupSamlIdpsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSamlIdpsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSamlIdps:getSamlIdps", args, &rv, "", opts...) + if err != nil { + return LookupSamlIdpsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSamlIdpsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSamlIdpsResultOutput), nil + } + return output, nil }).(LookupSamlIdpsResultOutput) } diff --git a/sdk/go/meraki/organizations/getSamlRoles.go b/sdk/go/meraki/organizations/getSamlRoles.go index 4bb1e27b..dbf93cfe 100644 --- a/sdk/go/meraki/organizations/getSamlRoles.go +++ b/sdk/go/meraki/organizations/getSamlRoles.go @@ -45,14 +45,20 @@ type LookupSamlRolesResult struct { func LookupSamlRolesOutput(ctx *pulumi.Context, args LookupSamlRolesOutputArgs, opts ...pulumi.InvokeOption) LookupSamlRolesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSamlRolesResult, error) { + ApplyT(func(v interface{}) (LookupSamlRolesResultOutput, error) { args := v.(LookupSamlRolesArgs) - r, err := LookupSamlRoles(ctx, &args, opts...) - var s LookupSamlRolesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSamlRolesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSamlRoles:getSamlRoles", args, &rv, "", opts...) + if err != nil { + return LookupSamlRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSamlRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSamlRolesResultOutput), nil + } + return output, nil }).(LookupSamlRolesResultOutput) } diff --git a/sdk/go/meraki/organizations/getSensorReadingsHistory.go b/sdk/go/meraki/organizations/getSensorReadingsHistory.go index 9dd3c397..38f83a1a 100644 --- a/sdk/go/meraki/organizations/getSensorReadingsHistory.go +++ b/sdk/go/meraki/organizations/getSensorReadingsHistory.go @@ -116,14 +116,20 @@ type GetSensorReadingsHistoryResult struct { func GetSensorReadingsHistoryOutput(ctx *pulumi.Context, args GetSensorReadingsHistoryOutputArgs, opts ...pulumi.InvokeOption) GetSensorReadingsHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSensorReadingsHistoryResult, error) { + ApplyT(func(v interface{}) (GetSensorReadingsHistoryResultOutput, error) { args := v.(GetSensorReadingsHistoryArgs) - r, err := GetSensorReadingsHistory(ctx, &args, opts...) - var s GetSensorReadingsHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSensorReadingsHistoryResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSensorReadingsHistory:getSensorReadingsHistory", args, &rv, "", opts...) + if err != nil { + return GetSensorReadingsHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSensorReadingsHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSensorReadingsHistoryResultOutput), nil + } + return output, nil }).(GetSensorReadingsHistoryResultOutput) } diff --git a/sdk/go/meraki/organizations/getSensorReadingsLatest.go b/sdk/go/meraki/organizations/getSensorReadingsLatest.go index 331b28b7..f8232dd9 100644 --- a/sdk/go/meraki/organizations/getSensorReadingsLatest.go +++ b/sdk/go/meraki/organizations/getSensorReadingsLatest.go @@ -101,14 +101,20 @@ type GetSensorReadingsLatestResult struct { func GetSensorReadingsLatestOutput(ctx *pulumi.Context, args GetSensorReadingsLatestOutputArgs, opts ...pulumi.InvokeOption) GetSensorReadingsLatestResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSensorReadingsLatestResult, error) { + ApplyT(func(v interface{}) (GetSensorReadingsLatestResultOutput, error) { args := v.(GetSensorReadingsLatestArgs) - r, err := GetSensorReadingsLatest(ctx, &args, opts...) - var s GetSensorReadingsLatestResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSensorReadingsLatestResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSensorReadingsLatest:getSensorReadingsLatest", args, &rv, "", opts...) + if err != nil { + return GetSensorReadingsLatestResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSensorReadingsLatestResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSensorReadingsLatestResultOutput), nil + } + return output, nil }).(GetSensorReadingsLatestResultOutput) } diff --git a/sdk/go/meraki/organizations/getSmAdminsRoles.go b/sdk/go/meraki/organizations/getSmAdminsRoles.go index 52aa8984..441e9278 100644 --- a/sdk/go/meraki/organizations/getSmAdminsRoles.go +++ b/sdk/go/meraki/organizations/getSmAdminsRoles.go @@ -83,14 +83,20 @@ type LookupSmAdminsRolesResult struct { func LookupSmAdminsRolesOutput(ctx *pulumi.Context, args LookupSmAdminsRolesOutputArgs, opts ...pulumi.InvokeOption) LookupSmAdminsRolesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSmAdminsRolesResult, error) { + ApplyT(func(v interface{}) (LookupSmAdminsRolesResultOutput, error) { args := v.(LookupSmAdminsRolesArgs) - r, err := LookupSmAdminsRoles(ctx, &args, opts...) - var s LookupSmAdminsRolesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSmAdminsRolesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSmAdminsRoles:getSmAdminsRoles", args, &rv, "", opts...) + if err != nil { + return LookupSmAdminsRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSmAdminsRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSmAdminsRolesResultOutput), nil + } + return output, nil }).(LookupSmAdminsRolesResultOutput) } diff --git a/sdk/go/meraki/organizations/getSmApnsCert.go b/sdk/go/meraki/organizations/getSmApnsCert.go index c7c407c6..471e88fd 100644 --- a/sdk/go/meraki/organizations/getSmApnsCert.go +++ b/sdk/go/meraki/organizations/getSmApnsCert.go @@ -64,14 +64,20 @@ type GetSmApnsCertResult struct { func GetSmApnsCertOutput(ctx *pulumi.Context, args GetSmApnsCertOutputArgs, opts ...pulumi.InvokeOption) GetSmApnsCertResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmApnsCertResult, error) { + ApplyT(func(v interface{}) (GetSmApnsCertResultOutput, error) { args := v.(GetSmApnsCertArgs) - r, err := GetSmApnsCert(ctx, &args, opts...) - var s GetSmApnsCertResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmApnsCertResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSmApnsCert:getSmApnsCert", args, &rv, "", opts...) + if err != nil { + return GetSmApnsCertResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmApnsCertResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmApnsCertResultOutput), nil + } + return output, nil }).(GetSmApnsCertResultOutput) } diff --git a/sdk/go/meraki/organizations/getSmSentryPoliciesAssignmentsByNetwork.go b/sdk/go/meraki/organizations/getSmSentryPoliciesAssignmentsByNetwork.go index 551acdfc..6237982a 100644 --- a/sdk/go/meraki/organizations/getSmSentryPoliciesAssignmentsByNetwork.go +++ b/sdk/go/meraki/organizations/getSmSentryPoliciesAssignmentsByNetwork.go @@ -87,14 +87,20 @@ type GetSmSentryPoliciesAssignmentsByNetworkResult struct { func GetSmSentryPoliciesAssignmentsByNetworkOutput(ctx *pulumi.Context, args GetSmSentryPoliciesAssignmentsByNetworkOutputArgs, opts ...pulumi.InvokeOption) GetSmSentryPoliciesAssignmentsByNetworkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmSentryPoliciesAssignmentsByNetworkResult, error) { + ApplyT(func(v interface{}) (GetSmSentryPoliciesAssignmentsByNetworkResultOutput, error) { args := v.(GetSmSentryPoliciesAssignmentsByNetworkArgs) - r, err := GetSmSentryPoliciesAssignmentsByNetwork(ctx, &args, opts...) - var s GetSmSentryPoliciesAssignmentsByNetworkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmSentryPoliciesAssignmentsByNetworkResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSmSentryPoliciesAssignmentsByNetwork:getSmSentryPoliciesAssignmentsByNetwork", args, &rv, "", opts...) + if err != nil { + return GetSmSentryPoliciesAssignmentsByNetworkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmSentryPoliciesAssignmentsByNetworkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmSentryPoliciesAssignmentsByNetworkResultOutput), nil + } + return output, nil }).(GetSmSentryPoliciesAssignmentsByNetworkResultOutput) } diff --git a/sdk/go/meraki/organizations/getSmVppAccounts.go b/sdk/go/meraki/organizations/getSmVppAccounts.go index 08a5bfb4..91193280 100644 --- a/sdk/go/meraki/organizations/getSmVppAccounts.go +++ b/sdk/go/meraki/organizations/getSmVppAccounts.go @@ -45,14 +45,20 @@ type GetSmVppAccountsResult struct { func GetSmVppAccountsOutput(ctx *pulumi.Context, args GetSmVppAccountsOutputArgs, opts ...pulumi.InvokeOption) GetSmVppAccountsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSmVppAccountsResult, error) { + ApplyT(func(v interface{}) (GetSmVppAccountsResultOutput, error) { args := v.(GetSmVppAccountsArgs) - r, err := GetSmVppAccounts(ctx, &args, opts...) - var s GetSmVppAccountsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSmVppAccountsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSmVppAccounts:getSmVppAccounts", args, &rv, "", opts...) + if err != nil { + return GetSmVppAccountsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSmVppAccountsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSmVppAccountsResultOutput), nil + } + return output, nil }).(GetSmVppAccountsResultOutput) } diff --git a/sdk/go/meraki/organizations/getSnmp.go b/sdk/go/meraki/organizations/getSnmp.go index b6054678..68e4ea0e 100644 --- a/sdk/go/meraki/organizations/getSnmp.go +++ b/sdk/go/meraki/organizations/getSnmp.go @@ -64,14 +64,20 @@ type LookupSnmpResult struct { func LookupSnmpOutput(ctx *pulumi.Context, args LookupSnmpOutputArgs, opts ...pulumi.InvokeOption) LookupSnmpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSnmpResult, error) { + ApplyT(func(v interface{}) (LookupSnmpResultOutput, error) { args := v.(LookupSnmpArgs) - r, err := LookupSnmp(ctx, &args, opts...) - var s LookupSnmpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSnmpResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSnmp:getSnmp", args, &rv, "", opts...) + if err != nil { + return LookupSnmpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSnmpResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSnmpResultOutput), nil + } + return output, nil }).(LookupSnmpResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopAppliancesByUtilization.go b/sdk/go/meraki/organizations/getSummaryTopAppliancesByUtilization.go index f0993d5e..71aa186a 100644 --- a/sdk/go/meraki/organizations/getSummaryTopAppliancesByUtilization.go +++ b/sdk/go/meraki/organizations/getSummaryTopAppliancesByUtilization.go @@ -80,14 +80,20 @@ type GetSummaryTopAppliancesByUtilizationResult struct { func GetSummaryTopAppliancesByUtilizationOutput(ctx *pulumi.Context, args GetSummaryTopAppliancesByUtilizationOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopAppliancesByUtilizationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopAppliancesByUtilizationResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopAppliancesByUtilizationResultOutput, error) { args := v.(GetSummaryTopAppliancesByUtilizationArgs) - r, err := GetSummaryTopAppliancesByUtilization(ctx, &args, opts...) - var s GetSummaryTopAppliancesByUtilizationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopAppliancesByUtilizationResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopAppliancesByUtilization:getSummaryTopAppliancesByUtilization", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopAppliancesByUtilizationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopAppliancesByUtilizationResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopAppliancesByUtilizationResultOutput), nil + } + return output, nil }).(GetSummaryTopAppliancesByUtilizationResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopClientsByUsage.go b/sdk/go/meraki/organizations/getSummaryTopClientsByUsage.go index e950cd7d..a6667f1b 100644 --- a/sdk/go/meraki/organizations/getSummaryTopClientsByUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopClientsByUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopClientsByUsageResult struct { func GetSummaryTopClientsByUsageOutput(ctx *pulumi.Context, args GetSummaryTopClientsByUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopClientsByUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopClientsByUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopClientsByUsageResultOutput, error) { args := v.(GetSummaryTopClientsByUsageArgs) - r, err := GetSummaryTopClientsByUsage(ctx, &args, opts...) - var s GetSummaryTopClientsByUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopClientsByUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopClientsByUsage:getSummaryTopClientsByUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopClientsByUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopClientsByUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopClientsByUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopClientsByUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopClientsManufacturersByUsage.go b/sdk/go/meraki/organizations/getSummaryTopClientsManufacturersByUsage.go index 22744109..47faee67 100644 --- a/sdk/go/meraki/organizations/getSummaryTopClientsManufacturersByUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopClientsManufacturersByUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopClientsManufacturersByUsageResult struct { func GetSummaryTopClientsManufacturersByUsageOutput(ctx *pulumi.Context, args GetSummaryTopClientsManufacturersByUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopClientsManufacturersByUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopClientsManufacturersByUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopClientsManufacturersByUsageResultOutput, error) { args := v.(GetSummaryTopClientsManufacturersByUsageArgs) - r, err := GetSummaryTopClientsManufacturersByUsage(ctx, &args, opts...) - var s GetSummaryTopClientsManufacturersByUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopClientsManufacturersByUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopClientsManufacturersByUsage:getSummaryTopClientsManufacturersByUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopClientsManufacturersByUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopClientsManufacturersByUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopClientsManufacturersByUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopClientsManufacturersByUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopDevicesByUsage.go b/sdk/go/meraki/organizations/getSummaryTopDevicesByUsage.go index 371b9cbb..86657380 100644 --- a/sdk/go/meraki/organizations/getSummaryTopDevicesByUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopDevicesByUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopDevicesByUsageResult struct { func GetSummaryTopDevicesByUsageOutput(ctx *pulumi.Context, args GetSummaryTopDevicesByUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopDevicesByUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopDevicesByUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopDevicesByUsageResultOutput, error) { args := v.(GetSummaryTopDevicesByUsageArgs) - r, err := GetSummaryTopDevicesByUsage(ctx, &args, opts...) - var s GetSummaryTopDevicesByUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopDevicesByUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopDevicesByUsage:getSummaryTopDevicesByUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopDevicesByUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopDevicesByUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopDevicesByUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopDevicesByUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopDevicesModelsByUsage.go b/sdk/go/meraki/organizations/getSummaryTopDevicesModelsByUsage.go index 7e2fcf88..78c09e0a 100644 --- a/sdk/go/meraki/organizations/getSummaryTopDevicesModelsByUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopDevicesModelsByUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopDevicesModelsByUsageResult struct { func GetSummaryTopDevicesModelsByUsageOutput(ctx *pulumi.Context, args GetSummaryTopDevicesModelsByUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopDevicesModelsByUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopDevicesModelsByUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopDevicesModelsByUsageResultOutput, error) { args := v.(GetSummaryTopDevicesModelsByUsageArgs) - r, err := GetSummaryTopDevicesModelsByUsage(ctx, &args, opts...) - var s GetSummaryTopDevicesModelsByUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopDevicesModelsByUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopDevicesModelsByUsage:getSummaryTopDevicesModelsByUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopDevicesModelsByUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopDevicesModelsByUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopDevicesModelsByUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopDevicesModelsByUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopNetworksByStatus.go b/sdk/go/meraki/organizations/getSummaryTopNetworksByStatus.go index b60cc044..b5e5a0a5 100644 --- a/sdk/go/meraki/organizations/getSummaryTopNetworksByStatus.go +++ b/sdk/go/meraki/organizations/getSummaryTopNetworksByStatus.go @@ -80,14 +80,20 @@ type GetSummaryTopNetworksByStatusResult struct { func GetSummaryTopNetworksByStatusOutput(ctx *pulumi.Context, args GetSummaryTopNetworksByStatusOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopNetworksByStatusResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopNetworksByStatusResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopNetworksByStatusResultOutput, error) { args := v.(GetSummaryTopNetworksByStatusArgs) - r, err := GetSummaryTopNetworksByStatus(ctx, &args, opts...) - var s GetSummaryTopNetworksByStatusResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopNetworksByStatusResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopNetworksByStatus:getSummaryTopNetworksByStatus", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopNetworksByStatusResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopNetworksByStatusResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopNetworksByStatusResultOutput), nil + } + return output, nil }).(GetSummaryTopNetworksByStatusResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopSsidsByUsage.go b/sdk/go/meraki/organizations/getSummaryTopSsidsByUsage.go index 7e8b4791..61bfd3ae 100644 --- a/sdk/go/meraki/organizations/getSummaryTopSsidsByUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopSsidsByUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopSsidsByUsageResult struct { func GetSummaryTopSsidsByUsageOutput(ctx *pulumi.Context, args GetSummaryTopSsidsByUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopSsidsByUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopSsidsByUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopSsidsByUsageResultOutput, error) { args := v.(GetSummaryTopSsidsByUsageArgs) - r, err := GetSummaryTopSsidsByUsage(ctx, &args, opts...) - var s GetSummaryTopSsidsByUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopSsidsByUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopSsidsByUsage:getSummaryTopSsidsByUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopSsidsByUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopSsidsByUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopSsidsByUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopSsidsByUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSummaryTopSwitchesByEnergyUsage.go b/sdk/go/meraki/organizations/getSummaryTopSwitchesByEnergyUsage.go index b14632ec..cba1c9b6 100644 --- a/sdk/go/meraki/organizations/getSummaryTopSwitchesByEnergyUsage.go +++ b/sdk/go/meraki/organizations/getSummaryTopSwitchesByEnergyUsage.go @@ -80,14 +80,20 @@ type GetSummaryTopSwitchesByEnergyUsageResult struct { func GetSummaryTopSwitchesByEnergyUsageOutput(ctx *pulumi.Context, args GetSummaryTopSwitchesByEnergyUsageOutputArgs, opts ...pulumi.InvokeOption) GetSummaryTopSwitchesByEnergyUsageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSummaryTopSwitchesByEnergyUsageResult, error) { + ApplyT(func(v interface{}) (GetSummaryTopSwitchesByEnergyUsageResultOutput, error) { args := v.(GetSummaryTopSwitchesByEnergyUsageArgs) - r, err := GetSummaryTopSwitchesByEnergyUsage(ctx, &args, opts...) - var s GetSummaryTopSwitchesByEnergyUsageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSummaryTopSwitchesByEnergyUsageResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSummaryTopSwitchesByEnergyUsage:getSummaryTopSwitchesByEnergyUsage", args, &rv, "", opts...) + if err != nil { + return GetSummaryTopSwitchesByEnergyUsageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSummaryTopSwitchesByEnergyUsageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSummaryTopSwitchesByEnergyUsageResultOutput), nil + } + return output, nil }).(GetSummaryTopSwitchesByEnergyUsageResultOutput) } diff --git a/sdk/go/meraki/organizations/getSwitchPortsBySwitch.go b/sdk/go/meraki/organizations/getSwitchPortsBySwitch.go index 56b1cb91..77c24920 100644 --- a/sdk/go/meraki/organizations/getSwitchPortsBySwitch.go +++ b/sdk/go/meraki/organizations/getSwitchPortsBySwitch.go @@ -128,14 +128,20 @@ type GetSwitchPortsBySwitchResult struct { func GetSwitchPortsBySwitchOutput(ctx *pulumi.Context, args GetSwitchPortsBySwitchOutputArgs, opts ...pulumi.InvokeOption) GetSwitchPortsBySwitchResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSwitchPortsBySwitchResult, error) { + ApplyT(func(v interface{}) (GetSwitchPortsBySwitchResultOutput, error) { args := v.(GetSwitchPortsBySwitchArgs) - r, err := GetSwitchPortsBySwitch(ctx, &args, opts...) - var s GetSwitchPortsBySwitchResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSwitchPortsBySwitchResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getSwitchPortsBySwitch:getSwitchPortsBySwitch", args, &rv, "", opts...) + if err != nil { + return GetSwitchPortsBySwitchResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSwitchPortsBySwitchResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSwitchPortsBySwitchResultOutput), nil + } + return output, nil }).(GetSwitchPortsBySwitchResultOutput) } diff --git a/sdk/go/meraki/organizations/getUplinksStatuses.go b/sdk/go/meraki/organizations/getUplinksStatuses.go index 3d172a91..b685cd85 100644 --- a/sdk/go/meraki/organizations/getUplinksStatuses.go +++ b/sdk/go/meraki/organizations/getUplinksStatuses.go @@ -101,14 +101,20 @@ type GetUplinksStatusesResult struct { func GetUplinksStatusesOutput(ctx *pulumi.Context, args GetUplinksStatusesOutputArgs, opts ...pulumi.InvokeOption) GetUplinksStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetUplinksStatusesResult, error) { + ApplyT(func(v interface{}) (GetUplinksStatusesResultOutput, error) { args := v.(GetUplinksStatusesArgs) - r, err := GetUplinksStatuses(ctx, &args, opts...) - var s GetUplinksStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetUplinksStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getUplinksStatuses:getUplinksStatuses", args, &rv, "", opts...) + if err != nil { + return GetUplinksStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetUplinksStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetUplinksStatusesResultOutput), nil + } + return output, nil }).(GetUplinksStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getWebhooksCallbacksStatuses.go b/sdk/go/meraki/organizations/getWebhooksCallbacksStatuses.go index cd622461..aa15a360 100644 --- a/sdk/go/meraki/organizations/getWebhooksCallbacksStatuses.go +++ b/sdk/go/meraki/organizations/getWebhooksCallbacksStatuses.go @@ -69,14 +69,20 @@ type GetWebhooksCallbacksStatusesResult struct { func GetWebhooksCallbacksStatusesOutput(ctx *pulumi.Context, args GetWebhooksCallbacksStatusesOutputArgs, opts ...pulumi.InvokeOption) GetWebhooksCallbacksStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWebhooksCallbacksStatusesResult, error) { + ApplyT(func(v interface{}) (GetWebhooksCallbacksStatusesResultOutput, error) { args := v.(GetWebhooksCallbacksStatusesArgs) - r, err := GetWebhooksCallbacksStatuses(ctx, &args, opts...) - var s GetWebhooksCallbacksStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWebhooksCallbacksStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWebhooksCallbacksStatuses:getWebhooksCallbacksStatuses", args, &rv, "", opts...) + if err != nil { + return GetWebhooksCallbacksStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWebhooksCallbacksStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWebhooksCallbacksStatusesResultOutput), nil + } + return output, nil }).(GetWebhooksCallbacksStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getWebhooksLogs.go b/sdk/go/meraki/organizations/getWebhooksLogs.go index 238e91cc..2acbfbee 100644 --- a/sdk/go/meraki/organizations/getWebhooksLogs.go +++ b/sdk/go/meraki/organizations/getWebhooksLogs.go @@ -100,14 +100,20 @@ type GetWebhooksLogsResult struct { func GetWebhooksLogsOutput(ctx *pulumi.Context, args GetWebhooksLogsOutputArgs, opts ...pulumi.InvokeOption) GetWebhooksLogsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWebhooksLogsResult, error) { + ApplyT(func(v interface{}) (GetWebhooksLogsResultOutput, error) { args := v.(GetWebhooksLogsArgs) - r, err := GetWebhooksLogs(ctx, &args, opts...) - var s GetWebhooksLogsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWebhooksLogsResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWebhooksLogs:getWebhooksLogs", args, &rv, "", opts...) + if err != nil { + return GetWebhooksLogsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWebhooksLogsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWebhooksLogsResultOutput), nil + } + return output, nil }).(GetWebhooksLogsResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByDevice.go b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByDevice.go index 939c7943..36c4a5c9 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByDevice.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByDevice.go @@ -114,14 +114,20 @@ type GetWirelessDevicesChannelUtilizationByDeviceResult struct { func GetWirelessDevicesChannelUtilizationByDeviceOutput(ctx *pulumi.Context, args GetWirelessDevicesChannelUtilizationByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesChannelUtilizationByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationByDeviceResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationByDeviceResultOutput, error) { args := v.(GetWirelessDevicesChannelUtilizationByDeviceArgs) - r, err := GetWirelessDevicesChannelUtilizationByDevice(ctx, &args, opts...) - var s GetWirelessDevicesChannelUtilizationByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesChannelUtilizationByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesChannelUtilizationByDevice:getWirelessDevicesChannelUtilizationByDevice", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesChannelUtilizationByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesChannelUtilizationByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesChannelUtilizationByDeviceResultOutput), nil + } + return output, nil }).(GetWirelessDevicesChannelUtilizationByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByNetwork.go b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByNetwork.go index 3dfc2438..64a51e0e 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByNetwork.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationByNetwork.go @@ -114,14 +114,20 @@ type GetWirelessDevicesChannelUtilizationByNetworkResult struct { func GetWirelessDevicesChannelUtilizationByNetworkOutput(ctx *pulumi.Context, args GetWirelessDevicesChannelUtilizationByNetworkOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesChannelUtilizationByNetworkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationByNetworkResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationByNetworkResultOutput, error) { args := v.(GetWirelessDevicesChannelUtilizationByNetworkArgs) - r, err := GetWirelessDevicesChannelUtilizationByNetwork(ctx, &args, opts...) - var s GetWirelessDevicesChannelUtilizationByNetworkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesChannelUtilizationByNetworkResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesChannelUtilizationByNetwork:getWirelessDevicesChannelUtilizationByNetwork", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesChannelUtilizationByNetworkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesChannelUtilizationByNetworkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesChannelUtilizationByNetworkResultOutput), nil + } + return output, nil }).(GetWirelessDevicesChannelUtilizationByNetworkResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.go b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.go index 119d66a4..8323599d 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.go @@ -114,14 +114,20 @@ type GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResult struct func GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalOutput(ctx *pulumi.Context, args GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput, error) { args := v.(GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalArgs) - r, err := GetWirelessDevicesChannelUtilizationHistoryByDeviceByInterval(ctx, &args, opts...) - var s GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval:getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput), nil + } + return output, nil }).(GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.go b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.go index d00d7246..9854cc45 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.go @@ -114,14 +114,20 @@ type GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResult struct func GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalOutput(ctx *pulumi.Context, args GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput, error) { args := v.(GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalArgs) - r, err := GetWirelessDevicesChannelUtilizationHistoryByNetworkByInterval(ctx, &args, opts...) - var s GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval:getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput), nil + } + return output, nil }).(GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesEthernetStatuses.go b/sdk/go/meraki/organizations/getWirelessDevicesEthernetStatuses.go index 7ddf8fc8..39d823b2 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesEthernetStatuses.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesEthernetStatuses.go @@ -87,14 +87,20 @@ type GetWirelessDevicesEthernetStatusesResult struct { func GetWirelessDevicesEthernetStatusesOutput(ctx *pulumi.Context, args GetWirelessDevicesEthernetStatusesOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesEthernetStatusesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesEthernetStatusesResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesEthernetStatusesResultOutput, error) { args := v.(GetWirelessDevicesEthernetStatusesArgs) - r, err := GetWirelessDevicesEthernetStatuses(ctx, &args, opts...) - var s GetWirelessDevicesEthernetStatusesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesEthernetStatusesResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesEthernetStatuses:getWirelessDevicesEthernetStatuses", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesEthernetStatusesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesEthernetStatusesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesEthernetStatusesResultOutput), nil + } + return output, nil }).(GetWirelessDevicesEthernetStatusesResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByClient.go b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByClient.go index e78950cf..6b619741 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByClient.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByClient.go @@ -123,14 +123,20 @@ type GetWirelessDevicesPacketLossByClientResult struct { func GetWirelessDevicesPacketLossByClientOutput(ctx *pulumi.Context, args GetWirelessDevicesPacketLossByClientOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesPacketLossByClientResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByClientResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByClientResultOutput, error) { args := v.(GetWirelessDevicesPacketLossByClientArgs) - r, err := GetWirelessDevicesPacketLossByClient(ctx, &args, opts...) - var s GetWirelessDevicesPacketLossByClientResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesPacketLossByClientResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesPacketLossByClient:getWirelessDevicesPacketLossByClient", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesPacketLossByClientResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesPacketLossByClientResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesPacketLossByClientResultOutput), nil + } + return output, nil }).(GetWirelessDevicesPacketLossByClientResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByDevice.go b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByDevice.go index baef483f..fcdc7114 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByDevice.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByDevice.go @@ -123,14 +123,20 @@ type GetWirelessDevicesPacketLossByDeviceResult struct { func GetWirelessDevicesPacketLossByDeviceOutput(ctx *pulumi.Context, args GetWirelessDevicesPacketLossByDeviceOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesPacketLossByDeviceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByDeviceResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByDeviceResultOutput, error) { args := v.(GetWirelessDevicesPacketLossByDeviceArgs) - r, err := GetWirelessDevicesPacketLossByDevice(ctx, &args, opts...) - var s GetWirelessDevicesPacketLossByDeviceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesPacketLossByDeviceResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesPacketLossByDevice:getWirelessDevicesPacketLossByDevice", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesPacketLossByDeviceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesPacketLossByDeviceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesPacketLossByDeviceResultOutput), nil + } + return output, nil }).(GetWirelessDevicesPacketLossByDeviceResultOutput) } diff --git a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByNetwork.go b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByNetwork.go index 224c56e6..41d57a52 100644 --- a/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByNetwork.go +++ b/sdk/go/meraki/organizations/getWirelessDevicesPacketLossByNetwork.go @@ -123,14 +123,20 @@ type GetWirelessDevicesPacketLossByNetworkResult struct { func GetWirelessDevicesPacketLossByNetworkOutput(ctx *pulumi.Context, args GetWirelessDevicesPacketLossByNetworkOutputArgs, opts ...pulumi.InvokeOption) GetWirelessDevicesPacketLossByNetworkResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByNetworkResult, error) { + ApplyT(func(v interface{}) (GetWirelessDevicesPacketLossByNetworkResultOutput, error) { args := v.(GetWirelessDevicesPacketLossByNetworkArgs) - r, err := GetWirelessDevicesPacketLossByNetwork(ctx, &args, opts...) - var s GetWirelessDevicesPacketLossByNetworkResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetWirelessDevicesPacketLossByNetworkResult + secret, err := ctx.InvokePackageRaw("meraki:organizations/getWirelessDevicesPacketLossByNetwork:getWirelessDevicesPacketLossByNetwork", args, &rv, "", opts...) + if err != nil { + return GetWirelessDevicesPacketLossByNetworkResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetWirelessDevicesPacketLossByNetworkResultOutput) + if secret { + return pulumi.ToSecret(output).(GetWirelessDevicesPacketLossByNetworkResultOutput), nil + } + return output, nil }).(GetWirelessDevicesPacketLossByNetworkResultOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 3ff2ef4d..28708e06 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/administered/getIdentitiesMe.ts b/sdk/nodejs/administered/getIdentitiesMe.ts index e48c453b..bb45144a 100644 --- a/sdk/nodejs/administered/getIdentitiesMe.ts +++ b/sdk/nodejs/administered/getIdentitiesMe.ts @@ -18,7 +18,6 @@ import * as utilities from "../utilities"; * ``` */ export function getIdentitiesMe(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:administered/getIdentitiesMe:getIdentitiesMe", { }, opts); @@ -46,5 +45,7 @@ export interface GetIdentitiesMeResult { * ``` */ export function getIdentitiesMeOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIdentitiesMe(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:administered/getIdentitiesMe:getIdentitiesMe", { + }, opts); } diff --git a/sdk/nodejs/administered/getLicensingSubscriptionEntitlements.ts b/sdk/nodejs/administered/getLicensingSubscriptionEntitlements.ts index 07a064f0..a9074d47 100644 --- a/sdk/nodejs/administered/getLicensingSubscriptionEntitlements.ts +++ b/sdk/nodejs/administered/getLicensingSubscriptionEntitlements.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; */ export function getLicensingSubscriptionEntitlements(args?: GetLicensingSubscriptionEntitlementsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:administered/getLicensingSubscriptionEntitlements:getLicensingSubscriptionEntitlements", { "skuses": args.skuses, @@ -66,7 +65,11 @@ export interface GetLicensingSubscriptionEntitlementsResult { * ``` */ export function getLicensingSubscriptionEntitlementsOutput(args?: GetLicensingSubscriptionEntitlementsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicensingSubscriptionEntitlements(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:administered/getLicensingSubscriptionEntitlements:getLicensingSubscriptionEntitlements", { + "skuses": args.skuses, + }, opts); } /** diff --git a/sdk/nodejs/administered/getLicensingSubscriptionSubscriptions.ts b/sdk/nodejs/administered/getLicensingSubscriptionSubscriptions.ts index 31dc25b5..541ae68e 100644 --- a/sdk/nodejs/administered/getLicensingSubscriptionSubscriptions.ts +++ b/sdk/nodejs/administered/getLicensingSubscriptionSubscriptions.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; */ export function getLicensingSubscriptionSubscriptions(args?: GetLicensingSubscriptionSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:administered/getLicensingSubscriptionSubscriptions:getLicensingSubscriptionSubscriptions", { "endDate": args.endDate, @@ -161,7 +160,19 @@ export interface GetLicensingSubscriptionSubscriptionsResult { * ``` */ export function getLicensingSubscriptionSubscriptionsOutput(args?: GetLicensingSubscriptionSubscriptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicensingSubscriptionSubscriptions(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:administered/getLicensingSubscriptionSubscriptions:getLicensingSubscriptionSubscriptions", { + "endDate": args.endDate, + "endingBefore": args.endingBefore, + "organizationIds": args.organizationIds, + "perPage": args.perPage, + "productTypes": args.productTypes, + "startDate": args.startDate, + "startingAfter": args.startingAfter, + "statuses": args.statuses, + "subscriptionIds": args.subscriptionIds, + }, opts); } /** diff --git a/sdk/nodejs/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.ts b/sdk/nodejs/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.ts index 3f74c885..a4c9c5f7 100644 --- a/sdk/nodejs/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.ts +++ b/sdk/nodejs/administered/getLicensingSubscriptionSubscriptionsComplianceStatuses.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; */ export function getLicensingSubscriptionSubscriptionsComplianceStatuses(args?: GetLicensingSubscriptionSubscriptionsComplianceStatusesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:administered/getLicensingSubscriptionSubscriptionsComplianceStatuses:getLicensingSubscriptionSubscriptionsComplianceStatuses", { "organizationIds": args.organizationIds, @@ -80,7 +79,12 @@ export interface GetLicensingSubscriptionSubscriptionsComplianceStatusesResult { * ``` */ export function getLicensingSubscriptionSubscriptionsComplianceStatusesOutput(args?: GetLicensingSubscriptionSubscriptionsComplianceStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicensingSubscriptionSubscriptionsComplianceStatuses(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:administered/getLicensingSubscriptionSubscriptionsComplianceStatuses:getLicensingSubscriptionSubscriptionsComplianceStatuses", { + "organizationIds": args.organizationIds, + "subscriptionIds": args.subscriptionIds, + }, opts); } /** diff --git a/sdk/nodejs/devices/getAppliancePerformance.ts b/sdk/nodejs/devices/getAppliancePerformance.ts index 5b542709..acf1b672 100644 --- a/sdk/nodejs/devices/getAppliancePerformance.ts +++ b/sdk/nodejs/devices/getAppliancePerformance.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAppliancePerformance(args: GetAppliancePerformanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getAppliancePerformance:getAppliancePerformance", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetAppliancePerformanceResult { * ``` */ export function getAppliancePerformanceOutput(args: GetAppliancePerformanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppliancePerformance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getAppliancePerformance:getAppliancePerformance", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getApplianceRadioSettings.ts b/sdk/nodejs/devices/getApplianceRadioSettings.ts index ca6fd9a3..84fda7bb 100644 --- a/sdk/nodejs/devices/getApplianceRadioSettings.ts +++ b/sdk/nodejs/devices/getApplianceRadioSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceRadioSettings(args: GetApplianceRadioSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getApplianceRadioSettings:getApplianceRadioSettings", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetApplianceRadioSettingsResult { * ``` */ export function getApplianceRadioSettingsOutput(args: GetApplianceRadioSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceRadioSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getApplianceRadioSettings:getApplianceRadioSettings", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getApplianceUplinksSettings.ts b/sdk/nodejs/devices/getApplianceUplinksSettings.ts index 14158ef2..705fc430 100644 --- a/sdk/nodejs/devices/getApplianceUplinksSettings.ts +++ b/sdk/nodejs/devices/getApplianceUplinksSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceUplinksSettings(args: GetApplianceUplinksSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getApplianceUplinksSettings:getApplianceUplinksSettings", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetApplianceUplinksSettingsResult { * ``` */ export function getApplianceUplinksSettingsOutput(args: GetApplianceUplinksSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceUplinksSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getApplianceUplinksSettings:getApplianceUplinksSettings", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraAnalyticsLive.ts b/sdk/nodejs/devices/getCameraAnalyticsLive.ts index 5d614849..1a71b3e7 100644 --- a/sdk/nodejs/devices/getCameraAnalyticsLive.ts +++ b/sdk/nodejs/devices/getCameraAnalyticsLive.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraAnalyticsLive(args: GetCameraAnalyticsLiveArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraAnalyticsLive:getCameraAnalyticsLive", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraAnalyticsLiveResult { * ``` */ export function getCameraAnalyticsLiveOutput(args: GetCameraAnalyticsLiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraAnalyticsLive(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraAnalyticsLive:getCameraAnalyticsLive", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraCustomAnalytics.ts b/sdk/nodejs/devices/getCameraCustomAnalytics.ts index 5ef02fcd..2fcc880c 100644 --- a/sdk/nodejs/devices/getCameraCustomAnalytics.ts +++ b/sdk/nodejs/devices/getCameraCustomAnalytics.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraCustomAnalytics(args: GetCameraCustomAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraCustomAnalytics:getCameraCustomAnalytics", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraCustomAnalyticsResult { * ``` */ export function getCameraCustomAnalyticsOutput(args: GetCameraCustomAnalyticsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraCustomAnalytics(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraCustomAnalytics:getCameraCustomAnalytics", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraQualityAndRetention.ts b/sdk/nodejs/devices/getCameraQualityAndRetention.ts index f507fbed..e3d2650f 100644 --- a/sdk/nodejs/devices/getCameraQualityAndRetention.ts +++ b/sdk/nodejs/devices/getCameraQualityAndRetention.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraQualityAndRetention(args: GetCameraQualityAndRetentionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraQualityAndRetention:getCameraQualityAndRetention", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraQualityAndRetentionResult { * ``` */ export function getCameraQualityAndRetentionOutput(args: GetCameraQualityAndRetentionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraQualityAndRetention(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraQualityAndRetention:getCameraQualityAndRetention", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraSense.ts b/sdk/nodejs/devices/getCameraSense.ts index 53d54188..1d8480da 100644 --- a/sdk/nodejs/devices/getCameraSense.ts +++ b/sdk/nodejs/devices/getCameraSense.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraSense(args: GetCameraSenseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraSense:getCameraSense", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraSenseResult { * ``` */ export function getCameraSenseOutput(args: GetCameraSenseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraSense(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraSense:getCameraSense", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraVideoLink.ts b/sdk/nodejs/devices/getCameraVideoLink.ts index c9131b67..75aa6fad 100644 --- a/sdk/nodejs/devices/getCameraVideoLink.ts +++ b/sdk/nodejs/devices/getCameraVideoLink.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraVideoLink(args: GetCameraVideoLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraVideoLink:getCameraVideoLink", { "serial": args.serial, @@ -76,7 +75,11 @@ export interface GetCameraVideoLinkResult { * ``` */ export function getCameraVideoLinkOutput(args: GetCameraVideoLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraVideoLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraVideoLink:getCameraVideoLink", { + "serial": args.serial, + "timestamp": args.timestamp, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraVideoSettings.ts b/sdk/nodejs/devices/getCameraVideoSettings.ts index 5ea4ea26..817ace8c 100644 --- a/sdk/nodejs/devices/getCameraVideoSettings.ts +++ b/sdk/nodejs/devices/getCameraVideoSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraVideoSettings(args: GetCameraVideoSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraVideoSettings:getCameraVideoSettings", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraVideoSettingsResult { * ``` */ export function getCameraVideoSettingsOutput(args: GetCameraVideoSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraVideoSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraVideoSettings:getCameraVideoSettings", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCameraWirelessProfiles.ts b/sdk/nodejs/devices/getCameraWirelessProfiles.ts index 1895404d..d211cc01 100644 --- a/sdk/nodejs/devices/getCameraWirelessProfiles.ts +++ b/sdk/nodejs/devices/getCameraWirelessProfiles.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraWirelessProfiles(args: GetCameraWirelessProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCameraWirelessProfiles:getCameraWirelessProfiles", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCameraWirelessProfilesResult { * ``` */ export function getCameraWirelessProfilesOutput(args: GetCameraWirelessProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraWirelessProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCameraWirelessProfiles:getCameraWirelessProfiles", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCellularGatewayLan.ts b/sdk/nodejs/devices/getCellularGatewayLan.ts index 19d780ab..396ace8a 100644 --- a/sdk/nodejs/devices/getCellularGatewayLan.ts +++ b/sdk/nodejs/devices/getCellularGatewayLan.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayLan(args: GetCellularGatewayLanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCellularGatewayLan:getCellularGatewayLan", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCellularGatewayLanResult { * ``` */ export function getCellularGatewayLanOutput(args: GetCellularGatewayLanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayLan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCellularGatewayLan:getCellularGatewayLan", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCellularGatewayPortForwardingRules.ts b/sdk/nodejs/devices/getCellularGatewayPortForwardingRules.ts index 6deec344..f6bdaef5 100644 --- a/sdk/nodejs/devices/getCellularGatewayPortForwardingRules.ts +++ b/sdk/nodejs/devices/getCellularGatewayPortForwardingRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayPortForwardingRules(args: GetCellularGatewayPortForwardingRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCellularGatewayPortForwardingRules:getCellularGatewayPortForwardingRules", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCellularGatewayPortForwardingRulesResult { * ``` */ export function getCellularGatewayPortForwardingRulesOutput(args: GetCellularGatewayPortForwardingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayPortForwardingRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCellularGatewayPortForwardingRules:getCellularGatewayPortForwardingRules", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getCellularSims.ts b/sdk/nodejs/devices/getCellularSims.ts index ff861df5..43896142 100644 --- a/sdk/nodejs/devices/getCellularSims.ts +++ b/sdk/nodejs/devices/getCellularSims.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularSims(args: GetCellularSimsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getCellularSims:getCellularSims", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetCellularSimsResult { * ``` */ export function getCellularSimsOutput(args: GetCellularSimsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularSims(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getCellularSims:getCellularSims", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsArpTable.ts b/sdk/nodejs/devices/getLiveToolsArpTable.ts index 3dcf69b5..96bfc0fb 100644 --- a/sdk/nodejs/devices/getLiveToolsArpTable.ts +++ b/sdk/nodejs/devices/getLiveToolsArpTable.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsArpTable(args: GetLiveToolsArpTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsArpTable:getLiveToolsArpTable", { "arpTableId": args.arpTableId, @@ -76,7 +75,11 @@ export interface GetLiveToolsArpTableResult { * ``` */ export function getLiveToolsArpTableOutput(args: GetLiveToolsArpTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsArpTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsArpTable:getLiveToolsArpTable", { + "arpTableId": args.arpTableId, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsCableTest.ts b/sdk/nodejs/devices/getLiveToolsCableTest.ts index a4c726b6..a055aeee 100644 --- a/sdk/nodejs/devices/getLiveToolsCableTest.ts +++ b/sdk/nodejs/devices/getLiveToolsCableTest.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsCableTest(args: GetLiveToolsCableTestArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsCableTest:getLiveToolsCableTest", { "id": args.id, @@ -72,7 +71,11 @@ export interface GetLiveToolsCableTestResult { * ``` */ export function getLiveToolsCableTestOutput(args: GetLiveToolsCableTestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsCableTest(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsCableTest:getLiveToolsCableTest", { + "id": args.id, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsPing.ts b/sdk/nodejs/devices/getLiveToolsPing.ts index 112cb1a9..95747a5c 100644 --- a/sdk/nodejs/devices/getLiveToolsPing.ts +++ b/sdk/nodejs/devices/getLiveToolsPing.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsPing(args: GetLiveToolsPingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsPing:getLiveToolsPing", { "id": args.id, @@ -72,7 +71,11 @@ export interface GetLiveToolsPingResult { * ``` */ export function getLiveToolsPingOutput(args: GetLiveToolsPingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsPing(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsPing:getLiveToolsPing", { + "id": args.id, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsPingDevice.ts b/sdk/nodejs/devices/getLiveToolsPingDevice.ts index 8459d1c0..2c7a88d0 100644 --- a/sdk/nodejs/devices/getLiveToolsPingDevice.ts +++ b/sdk/nodejs/devices/getLiveToolsPingDevice.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsPingDevice(args: GetLiveToolsPingDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsPingDevice:getLiveToolsPingDevice", { "id": args.id, @@ -72,7 +71,11 @@ export interface GetLiveToolsPingDeviceResult { * ``` */ export function getLiveToolsPingDeviceOutput(args: GetLiveToolsPingDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsPingDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsPingDevice:getLiveToolsPingDevice", { + "id": args.id, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsThroughputTest.ts b/sdk/nodejs/devices/getLiveToolsThroughputTest.ts index 54c8631f..b1881cc7 100644 --- a/sdk/nodejs/devices/getLiveToolsThroughputTest.ts +++ b/sdk/nodejs/devices/getLiveToolsThroughputTest.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsThroughputTest(args: GetLiveToolsThroughputTestArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsThroughputTest:getLiveToolsThroughputTest", { "serial": args.serial, @@ -76,7 +75,11 @@ export interface GetLiveToolsThroughputTestResult { * ``` */ export function getLiveToolsThroughputTestOutput(args: GetLiveToolsThroughputTestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsThroughputTest(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsThroughputTest:getLiveToolsThroughputTest", { + "serial": args.serial, + "throughputTestId": args.throughputTestId, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLiveToolsWakeOnLan.ts b/sdk/nodejs/devices/getLiveToolsWakeOnLan.ts index fcf7417e..ae489bfd 100644 --- a/sdk/nodejs/devices/getLiveToolsWakeOnLan.ts +++ b/sdk/nodejs/devices/getLiveToolsWakeOnLan.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLiveToolsWakeOnLan(args: GetLiveToolsWakeOnLanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLiveToolsWakeOnLan:getLiveToolsWakeOnLan", { "serial": args.serial, @@ -76,7 +75,11 @@ export interface GetLiveToolsWakeOnLanResult { * ``` */ export function getLiveToolsWakeOnLanOutput(args: GetLiveToolsWakeOnLanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveToolsWakeOnLan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLiveToolsWakeOnLan:getLiveToolsWakeOnLan", { + "serial": args.serial, + "wakeOnLanId": args.wakeOnLanId, + }, opts); } /** diff --git a/sdk/nodejs/devices/getLldpCdp.ts b/sdk/nodejs/devices/getLldpCdp.ts index 27b2c100..7676758e 100644 --- a/sdk/nodejs/devices/getLldpCdp.ts +++ b/sdk/nodejs/devices/getLldpCdp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLldpCdp(args: GetLldpCdpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getLldpCdp:getLldpCdp", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetLldpCdpResult { * ``` */ export function getLldpCdpOutput(args: GetLldpCdpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLldpCdp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getLldpCdp:getLldpCdp", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getManagementInterface.ts b/sdk/nodejs/devices/getManagementInterface.ts index 81b93eb2..98972ece 100644 --- a/sdk/nodejs/devices/getManagementInterface.ts +++ b/sdk/nodejs/devices/getManagementInterface.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getManagementInterface(args: GetManagementInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getManagementInterface:getManagementInterface", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetManagementInterfaceResult { * ``` */ export function getManagementInterfaceOutput(args: GetManagementInterfaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getManagementInterface(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getManagementInterface:getManagementInterface", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSensorRelationships.ts b/sdk/nodejs/devices/getSensorRelationships.ts index 69ad078c..288e40ac 100644 --- a/sdk/nodejs/devices/getSensorRelationships.ts +++ b/sdk/nodejs/devices/getSensorRelationships.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorRelationships(args: GetSensorRelationshipsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSensorRelationships:getSensorRelationships", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetSensorRelationshipsResult { * ``` */ export function getSensorRelationshipsOutput(args: GetSensorRelationshipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorRelationships(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSensorRelationships:getSensorRelationships", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchPorts.ts b/sdk/nodejs/devices/getSwitchPorts.ts index 8bf63367..b34277c3 100644 --- a/sdk/nodejs/devices/getSwitchPorts.ts +++ b/sdk/nodejs/devices/getSwitchPorts.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchPorts(args?: GetSwitchPortsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchPorts:getSwitchPorts", { "portId": args.portId, @@ -59,7 +58,12 @@ export interface GetSwitchPortsResult { * ## Example Usage */ export function getSwitchPortsOutput(args?: GetSwitchPortsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchPorts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchPorts:getSwitchPorts", { + "portId": args.portId, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchPortsStatuses.ts b/sdk/nodejs/devices/getSwitchPortsStatuses.ts index d812e485..28715df3 100644 --- a/sdk/nodejs/devices/getSwitchPortsStatuses.ts +++ b/sdk/nodejs/devices/getSwitchPortsStatuses.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchPortsStatuses(args: GetSwitchPortsStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchPortsStatuses:getSwitchPortsStatuses", { "serial": args.serial, @@ -90,7 +89,12 @@ export interface GetSwitchPortsStatusesResult { * ``` */ export function getSwitchPortsStatusesOutput(args: GetSwitchPortsStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchPortsStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchPortsStatuses:getSwitchPortsStatuses", { + "serial": args.serial, + "t0": args.t0, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchRoutingInterfaces.ts b/sdk/nodejs/devices/getSwitchRoutingInterfaces.ts index d6d4bbe6..ff33d63a 100644 --- a/sdk/nodejs/devices/getSwitchRoutingInterfaces.ts +++ b/sdk/nodejs/devices/getSwitchRoutingInterfaces.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchRoutingInterfaces(args?: GetSwitchRoutingInterfacesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchRoutingInterfaces:getSwitchRoutingInterfaces", { "interfaceId": args.interfaceId, @@ -59,7 +58,12 @@ export interface GetSwitchRoutingInterfacesResult { * ## Example Usage */ export function getSwitchRoutingInterfacesOutput(args?: GetSwitchRoutingInterfacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingInterfaces(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchRoutingInterfaces:getSwitchRoutingInterfaces", { + "interfaceId": args.interfaceId, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchRoutingInterfacesDhcp.ts b/sdk/nodejs/devices/getSwitchRoutingInterfacesDhcp.ts index e45afed8..37b525b2 100644 --- a/sdk/nodejs/devices/getSwitchRoutingInterfacesDhcp.ts +++ b/sdk/nodejs/devices/getSwitchRoutingInterfacesDhcp.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchRoutingInterfacesDhcp(args: GetSwitchRoutingInterfacesDhcpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchRoutingInterfacesDhcp:getSwitchRoutingInterfacesDhcp", { "interfaceId": args.interfaceId, @@ -76,7 +75,11 @@ export interface GetSwitchRoutingInterfacesDhcpResult { * ``` */ export function getSwitchRoutingInterfacesDhcpOutput(args: GetSwitchRoutingInterfacesDhcpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingInterfacesDhcp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchRoutingInterfacesDhcp:getSwitchRoutingInterfacesDhcp", { + "interfaceId": args.interfaceId, + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchRoutingStaticRoutes.ts b/sdk/nodejs/devices/getSwitchRoutingStaticRoutes.ts index fe94e179..2e5ea5eb 100644 --- a/sdk/nodejs/devices/getSwitchRoutingStaticRoutes.ts +++ b/sdk/nodejs/devices/getSwitchRoutingStaticRoutes.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchRoutingStaticRoutes(args?: GetSwitchRoutingStaticRoutesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes", { "serial": args.serial, @@ -59,7 +58,12 @@ export interface GetSwitchRoutingStaticRoutesResult { * ## Example Usage */ export function getSwitchRoutingStaticRoutesOutput(args?: GetSwitchRoutingStaticRoutesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingStaticRoutes(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchRoutingStaticRoutes:getSwitchRoutingStaticRoutes", { + "serial": args.serial, + "staticRouteId": args.staticRouteId, + }, opts); } /** diff --git a/sdk/nodejs/devices/getSwitchWarmSpare.ts b/sdk/nodejs/devices/getSwitchWarmSpare.ts index df0762e1..dc492617 100644 --- a/sdk/nodejs/devices/getSwitchWarmSpare.ts +++ b/sdk/nodejs/devices/getSwitchWarmSpare.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchWarmSpare(args: GetSwitchWarmSpareArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getSwitchWarmSpare:getSwitchWarmSpare", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetSwitchWarmSpareResult { * ``` */ export function getSwitchWarmSpareOutput(args: GetSwitchWarmSpareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchWarmSpare(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getSwitchWarmSpare:getSwitchWarmSpare", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getWirelessBluetoothSettings.ts b/sdk/nodejs/devices/getWirelessBluetoothSettings.ts index ba670480..d75969ba 100644 --- a/sdk/nodejs/devices/getWirelessBluetoothSettings.ts +++ b/sdk/nodejs/devices/getWirelessBluetoothSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessBluetoothSettings(args: GetWirelessBluetoothSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getWirelessBluetoothSettings:getWirelessBluetoothSettings", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetWirelessBluetoothSettingsResult { * ``` */ export function getWirelessBluetoothSettingsOutput(args: GetWirelessBluetoothSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessBluetoothSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getWirelessBluetoothSettings:getWirelessBluetoothSettings", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getWirelessConnectionStats.ts b/sdk/nodejs/devices/getWirelessConnectionStats.ts index 6e5de40f..3f2d1878 100644 --- a/sdk/nodejs/devices/getWirelessConnectionStats.ts +++ b/sdk/nodejs/devices/getWirelessConnectionStats.ts @@ -27,7 +27,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessConnectionStats(args: GetWirelessConnectionStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getWirelessConnectionStats:getWirelessConnectionStats", { "apTag": args.apTag, @@ -142,7 +141,17 @@ export interface GetWirelessConnectionStatsResult { * ``` */ export function getWirelessConnectionStatsOutput(args: GetWirelessConnectionStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessConnectionStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getWirelessConnectionStats:getWirelessConnectionStats", { + "apTag": args.apTag, + "band": args.band, + "serial": args.serial, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/devices/getWirelessLatencyStats.ts b/sdk/nodejs/devices/getWirelessLatencyStats.ts index 7f2b3583..8d09e66b 100644 --- a/sdk/nodejs/devices/getWirelessLatencyStats.ts +++ b/sdk/nodejs/devices/getWirelessLatencyStats.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessLatencyStats(args: GetWirelessLatencyStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getWirelessLatencyStats:getWirelessLatencyStats", { "apTag": args.apTag, @@ -153,7 +152,18 @@ export interface GetWirelessLatencyStatsResult { * ``` */ export function getWirelessLatencyStatsOutput(args: GetWirelessLatencyStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessLatencyStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getWirelessLatencyStats:getWirelessLatencyStats", { + "apTag": args.apTag, + "band": args.band, + "fields": args.fields, + "serial": args.serial, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/devices/getWirelessRadioSettings.ts b/sdk/nodejs/devices/getWirelessRadioSettings.ts index ef173db4..2a7f491d 100644 --- a/sdk/nodejs/devices/getWirelessRadioSettings.ts +++ b/sdk/nodejs/devices/getWirelessRadioSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessRadioSettings(args: GetWirelessRadioSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getWirelessRadioSettings:getWirelessRadioSettings", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetWirelessRadioSettingsResult { * ``` */ export function getWirelessRadioSettingsOutput(args: GetWirelessRadioSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessRadioSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getWirelessRadioSettings:getWirelessRadioSettings", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/devices/getWirelessStatus.ts b/sdk/nodejs/devices/getWirelessStatus.ts index e3a7d609..00467b00 100644 --- a/sdk/nodejs/devices/getWirelessStatus.ts +++ b/sdk/nodejs/devices/getWirelessStatus.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessStatus(args: GetWirelessStatusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:devices/getWirelessStatus:getWirelessStatus", { "serial": args.serial, @@ -65,7 +64,10 @@ export interface GetWirelessStatusResult { * ``` */ export function getWirelessStatusOutput(args: GetWirelessStatusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessStatus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:devices/getWirelessStatus:getWirelessStatus", { + "serial": args.serial, + }, opts); } /** diff --git a/sdk/nodejs/getDevices.ts b/sdk/nodejs/getDevices.ts index eb95e43a..f32de72f 100644 --- a/sdk/nodejs/getDevices.ts +++ b/sdk/nodejs/getDevices.ts @@ -11,7 +11,6 @@ import * as utilities from "./utilities"; */ export function getDevices(args?: GetDevicesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:index/getDevices:getDevices", { "configurationUpdatedAfter": args.configurationUpdatedAfter, @@ -203,7 +202,28 @@ export interface GetDevicesResult { * ## Example Usage */ export function getDevicesOutput(args?: GetDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevices(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:index/getDevices:getDevices", { + "configurationUpdatedAfter": args.configurationUpdatedAfter, + "endingBefore": args.endingBefore, + "mac": args.mac, + "macs": args.macs, + "model": args.model, + "models": args.models, + "name": args.name, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "sensorAlertProfileIds": args.sensorAlertProfileIds, + "sensorMetrics": args.sensorMetrics, + "serial": args.serial, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/getNetworks.ts b/sdk/nodejs/getNetworks.ts index e1179ba9..cf884c58 100644 --- a/sdk/nodejs/getNetworks.ts +++ b/sdk/nodejs/getNetworks.ts @@ -11,7 +11,6 @@ import * as utilities from "./utilities"; */ export function getNetworks(args?: GetNetworksArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:index/getNetworks:getNetworks", { "configTemplateId": args.configTemplateId, @@ -122,7 +121,19 @@ export interface GetNetworksResult { * ## Example Usage */ export function getNetworksOutput(args?: GetNetworksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworks(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:index/getNetworks:getNetworks", { + "configTemplateId": args.configTemplateId, + "endingBefore": args.endingBefore, + "isBoundToConfigTemplate": args.isBoundToConfigTemplate, + "networkId": args.networkId, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/getOrganizations.ts b/sdk/nodejs/getOrganizations.ts index d5ddbe2f..40ccff73 100644 --- a/sdk/nodejs/getOrganizations.ts +++ b/sdk/nodejs/getOrganizations.ts @@ -11,7 +11,6 @@ import * as utilities from "./utilities"; */ export function getOrganizations(args?: GetOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:index/getOrganizations:getOrganizations", { "endingBefore": args.endingBefore, @@ -77,7 +76,14 @@ export interface GetOrganizationsResult { * ## Example Usage */ export function getOrganizationsOutput(args?: GetOrganizationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganizations(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:index/getOrganizations:getOrganizations", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getAlertsHistory.ts b/sdk/nodejs/networks/getAlertsHistory.ts index ec67a08b..8d47bcf0 100644 --- a/sdk/nodejs/networks/getAlertsHistory.ts +++ b/sdk/nodejs/networks/getAlertsHistory.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAlertsHistory(args: GetAlertsHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getAlertsHistory:getAlertsHistory", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetAlertsHistoryResult { * ``` */ export function getAlertsHistoryOutput(args: GetAlertsHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlertsHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getAlertsHistory:getAlertsHistory", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getAlertsSettings.ts b/sdk/nodejs/networks/getAlertsSettings.ts index 84a98caa..a8ebd4a7 100644 --- a/sdk/nodejs/networks/getAlertsSettings.ts +++ b/sdk/nodejs/networks/getAlertsSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAlertsSettings(args: GetAlertsSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getAlertsSettings:getAlertsSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetAlertsSettingsResult { * ``` */ export function getAlertsSettingsOutput(args: GetAlertsSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlertsSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getAlertsSettings:getAlertsSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceConnectivityMonitoringDestinations.ts b/sdk/nodejs/networks/getApplianceConnectivityMonitoringDestinations.ts index 74818400..610c916d 100644 --- a/sdk/nodejs/networks/getApplianceConnectivityMonitoringDestinations.ts +++ b/sdk/nodejs/networks/getApplianceConnectivityMonitoringDestinations.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceConnectivityMonitoringDestinations(args: GetApplianceConnectivityMonitoringDestinationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceConnectivityMonitoringDestinations:getApplianceConnectivityMonitoringDestinations", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceConnectivityMonitoringDestinationsResult { * ``` */ export function getApplianceConnectivityMonitoringDestinationsOutput(args: GetApplianceConnectivityMonitoringDestinationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceConnectivityMonitoringDestinations(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceConnectivityMonitoringDestinations:getApplianceConnectivityMonitoringDestinations", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceContentFiltering.ts b/sdk/nodejs/networks/getApplianceContentFiltering.ts index b6ae01f0..c271fa8d 100644 --- a/sdk/nodejs/networks/getApplianceContentFiltering.ts +++ b/sdk/nodejs/networks/getApplianceContentFiltering.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceContentFiltering(args: GetApplianceContentFilteringArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceContentFiltering:getApplianceContentFiltering", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceContentFilteringResult { * ``` */ export function getApplianceContentFilteringOutput(args: GetApplianceContentFilteringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceContentFiltering(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceContentFiltering:getApplianceContentFiltering", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceContentFilteringCategories.ts b/sdk/nodejs/networks/getApplianceContentFilteringCategories.ts index 06476bed..115791a5 100644 --- a/sdk/nodejs/networks/getApplianceContentFilteringCategories.ts +++ b/sdk/nodejs/networks/getApplianceContentFilteringCategories.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceContentFilteringCategories(args: GetApplianceContentFilteringCategoriesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceContentFilteringCategories:getApplianceContentFilteringCategories", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceContentFilteringCategoriesResult { * ``` */ export function getApplianceContentFilteringCategoriesOutput(args: GetApplianceContentFilteringCategoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceContentFilteringCategories(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceContentFilteringCategories:getApplianceContentFilteringCategories", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallCellularFirewallRules.ts b/sdk/nodejs/networks/getApplianceFirewallCellularFirewallRules.ts index c5ad2dbf..43f9b8f5 100644 --- a/sdk/nodejs/networks/getApplianceFirewallCellularFirewallRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallCellularFirewallRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallCellularFirewallRules(args: GetApplianceFirewallCellularFirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallCellularFirewallRules:getApplianceFirewallCellularFirewallRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallCellularFirewallRulesResult { * ``` */ export function getApplianceFirewallCellularFirewallRulesOutput(args: GetApplianceFirewallCellularFirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallCellularFirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallCellularFirewallRules:getApplianceFirewallCellularFirewallRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallFirewalledServices.ts b/sdk/nodejs/networks/getApplianceFirewallFirewalledServices.ts index 2d63ac4f..fbcbcdaa 100644 --- a/sdk/nodejs/networks/getApplianceFirewallFirewalledServices.ts +++ b/sdk/nodejs/networks/getApplianceFirewallFirewalledServices.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallFirewalledServices(args: GetApplianceFirewallFirewalledServicesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallFirewalledServices:getApplianceFirewallFirewalledServices", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetApplianceFirewallFirewalledServicesResult { * ``` */ export function getApplianceFirewallFirewalledServicesOutput(args: GetApplianceFirewallFirewalledServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallFirewalledServices(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallFirewalledServices:getApplianceFirewallFirewalledServices", { + "networkId": args.networkId, + "service": args.service, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallInboundFirewallRules.ts b/sdk/nodejs/networks/getApplianceFirewallInboundFirewallRules.ts index 4672fb5e..979060e8 100644 --- a/sdk/nodejs/networks/getApplianceFirewallInboundFirewallRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallInboundFirewallRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallInboundFirewallRules(args: GetApplianceFirewallInboundFirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallInboundFirewallRules:getApplianceFirewallInboundFirewallRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallInboundFirewallRulesResult { * ``` */ export function getApplianceFirewallInboundFirewallRulesOutput(args: GetApplianceFirewallInboundFirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallInboundFirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallInboundFirewallRules:getApplianceFirewallInboundFirewallRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallL3FirewallRules.ts b/sdk/nodejs/networks/getApplianceFirewallL3FirewallRules.ts index f21c2ec9..3b1b44bf 100644 --- a/sdk/nodejs/networks/getApplianceFirewallL3FirewallRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallL3FirewallRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallL3FirewallRules(args: GetApplianceFirewallL3FirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallL3FirewallRules:getApplianceFirewallL3FirewallRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallL3FirewallRulesResult { * ``` */ export function getApplianceFirewallL3FirewallRulesOutput(args: GetApplianceFirewallL3FirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallL3FirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallL3FirewallRules:getApplianceFirewallL3FirewallRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallL7FirewallRules.ts b/sdk/nodejs/networks/getApplianceFirewallL7FirewallRules.ts index f96180ba..34f1cf69 100644 --- a/sdk/nodejs/networks/getApplianceFirewallL7FirewallRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallL7FirewallRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallL7FirewallRules(args: GetApplianceFirewallL7FirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallL7FirewallRules:getApplianceFirewallL7FirewallRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallL7FirewallRulesResult { * ``` */ export function getApplianceFirewallL7FirewallRulesOutput(args: GetApplianceFirewallL7FirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallL7FirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallL7FirewallRules:getApplianceFirewallL7FirewallRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.ts b/sdk/nodejs/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.ts index 88c81d5f..afda9c89 100644 --- a/sdk/nodejs/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.ts +++ b/sdk/nodejs/networks/getApplianceFirewallL7FirewallRulesApplicationCategories.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallL7FirewallRulesApplicationCategories(args: GetApplianceFirewallL7FirewallRulesApplicationCategoriesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallL7FirewallRulesApplicationCategories:getApplianceFirewallL7FirewallRulesApplicationCategories", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallL7FirewallRulesApplicationCategoriesResult * ``` */ export function getApplianceFirewallL7FirewallRulesApplicationCategoriesOutput(args: GetApplianceFirewallL7FirewallRulesApplicationCategoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallL7FirewallRulesApplicationCategories(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallL7FirewallRulesApplicationCategories:getApplianceFirewallL7FirewallRulesApplicationCategories", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallOneToManyNatRules.ts b/sdk/nodejs/networks/getApplianceFirewallOneToManyNatRules.ts index c87db982..1e926743 100644 --- a/sdk/nodejs/networks/getApplianceFirewallOneToManyNatRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallOneToManyNatRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallOneToManyNatRules(args: GetApplianceFirewallOneToManyNatRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallOneToManyNatRules:getApplianceFirewallOneToManyNatRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallOneToManyNatRulesResult { * ``` */ export function getApplianceFirewallOneToManyNatRulesOutput(args: GetApplianceFirewallOneToManyNatRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallOneToManyNatRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallOneToManyNatRules:getApplianceFirewallOneToManyNatRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallOneToOneNatRules.ts b/sdk/nodejs/networks/getApplianceFirewallOneToOneNatRules.ts index aae280b1..77a10df6 100644 --- a/sdk/nodejs/networks/getApplianceFirewallOneToOneNatRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallOneToOneNatRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallOneToOneNatRules(args: GetApplianceFirewallOneToOneNatRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallOneToOneNatRules:getApplianceFirewallOneToOneNatRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallOneToOneNatRulesResult { * ``` */ export function getApplianceFirewallOneToOneNatRulesOutput(args: GetApplianceFirewallOneToOneNatRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallOneToOneNatRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallOneToOneNatRules:getApplianceFirewallOneToOneNatRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallPortForwardingRules.ts b/sdk/nodejs/networks/getApplianceFirewallPortForwardingRules.ts index 3951359a..c09ee16d 100644 --- a/sdk/nodejs/networks/getApplianceFirewallPortForwardingRules.ts +++ b/sdk/nodejs/networks/getApplianceFirewallPortForwardingRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallPortForwardingRules(args: GetApplianceFirewallPortForwardingRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallPortForwardingRules:getApplianceFirewallPortForwardingRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallPortForwardingRulesResult { * ``` */ export function getApplianceFirewallPortForwardingRulesOutput(args: GetApplianceFirewallPortForwardingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallPortForwardingRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallPortForwardingRules:getApplianceFirewallPortForwardingRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceFirewallSettings.ts b/sdk/nodejs/networks/getApplianceFirewallSettings.ts index 7cce9905..7aab7f5e 100644 --- a/sdk/nodejs/networks/getApplianceFirewallSettings.ts +++ b/sdk/nodejs/networks/getApplianceFirewallSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceFirewallSettings(args: GetApplianceFirewallSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceFirewallSettings:getApplianceFirewallSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceFirewallSettingsResult { * ``` */ export function getApplianceFirewallSettingsOutput(args: GetApplianceFirewallSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceFirewallSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceFirewallSettings:getApplianceFirewallSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getAppliancePorts.ts b/sdk/nodejs/networks/getAppliancePorts.ts index 259c2489..310c32c8 100644 --- a/sdk/nodejs/networks/getAppliancePorts.ts +++ b/sdk/nodejs/networks/getAppliancePorts.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getAppliancePorts(args?: GetAppliancePortsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getAppliancePorts:getAppliancePorts", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetAppliancePortsResult { * ## Example Usage */ export function getAppliancePortsOutput(args?: GetAppliancePortsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppliancePorts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getAppliancePorts:getAppliancePorts", { + "networkId": args.networkId, + "portId": args.portId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getAppliancePrefixesDelegatedStatics.ts b/sdk/nodejs/networks/getAppliancePrefixesDelegatedStatics.ts index 1793ee37..fa618899 100644 --- a/sdk/nodejs/networks/getAppliancePrefixesDelegatedStatics.ts +++ b/sdk/nodejs/networks/getAppliancePrefixesDelegatedStatics.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getAppliancePrefixesDelegatedStatics(args?: GetAppliancePrefixesDelegatedStaticsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getAppliancePrefixesDelegatedStatics:getAppliancePrefixesDelegatedStatics", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetAppliancePrefixesDelegatedStaticsResult { * ## Example Usage */ export function getAppliancePrefixesDelegatedStaticsOutput(args?: GetAppliancePrefixesDelegatedStaticsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppliancePrefixesDelegatedStatics(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getAppliancePrefixesDelegatedStatics:getAppliancePrefixesDelegatedStatics", { + "networkId": args.networkId, + "staticDelegatedPrefixId": args.staticDelegatedPrefixId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceRfProfiles.ts b/sdk/nodejs/networks/getApplianceRfProfiles.ts index 914810fd..6bc393f9 100644 --- a/sdk/nodejs/networks/getApplianceRfProfiles.ts +++ b/sdk/nodejs/networks/getApplianceRfProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; */ export function getApplianceRfProfiles(args?: GetApplianceRfProfilesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceRfProfiles:getApplianceRfProfiles", { "networkId": args.networkId, @@ -75,7 +74,12 @@ export interface GetApplianceRfProfilesResult { * ``` */ export function getApplianceRfProfilesOutput(args?: GetApplianceRfProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceRfProfiles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceRfProfiles:getApplianceRfProfiles", { + "networkId": args.networkId, + "rfProfileId": args.rfProfileId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceSecurityIntrusion.ts b/sdk/nodejs/networks/getApplianceSecurityIntrusion.ts index ac527e6e..00d8597d 100644 --- a/sdk/nodejs/networks/getApplianceSecurityIntrusion.ts +++ b/sdk/nodejs/networks/getApplianceSecurityIntrusion.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceSecurityIntrusion(args: GetApplianceSecurityIntrusionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceSecurityIntrusionResult { * ``` */ export function getApplianceSecurityIntrusionOutput(args: GetApplianceSecurityIntrusionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSecurityIntrusion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceSecurityMalware.ts b/sdk/nodejs/networks/getApplianceSecurityMalware.ts index 34238b60..af138a5d 100644 --- a/sdk/nodejs/networks/getApplianceSecurityMalware.ts +++ b/sdk/nodejs/networks/getApplianceSecurityMalware.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceSecurityMalware(args: GetApplianceSecurityMalwareArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceSecurityMalware:getApplianceSecurityMalware", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceSecurityMalwareResult { * ``` */ export function getApplianceSecurityMalwareOutput(args: GetApplianceSecurityMalwareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSecurityMalware(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceSecurityMalware:getApplianceSecurityMalware", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceSettings.ts b/sdk/nodejs/networks/getApplianceSettings.ts index 2a96fb58..0bb6b7be 100644 --- a/sdk/nodejs/networks/getApplianceSettings.ts +++ b/sdk/nodejs/networks/getApplianceSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceSettings(args: GetApplianceSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceSettings:getApplianceSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceSettingsResult { * ``` */ export function getApplianceSettingsOutput(args: GetApplianceSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceSettings:getApplianceSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceSingleLan.ts b/sdk/nodejs/networks/getApplianceSingleLan.ts index 651b4ffb..939bfbea 100644 --- a/sdk/nodejs/networks/getApplianceSingleLan.ts +++ b/sdk/nodejs/networks/getApplianceSingleLan.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceSingleLan(args: GetApplianceSingleLanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceSingleLan:getApplianceSingleLan", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceSingleLanResult { * ``` */ export function getApplianceSingleLanOutput(args: GetApplianceSingleLanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSingleLan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceSingleLan:getApplianceSingleLan", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceSsids.ts b/sdk/nodejs/networks/getApplianceSsids.ts index 7189c62b..ea210fd7 100644 --- a/sdk/nodejs/networks/getApplianceSsids.ts +++ b/sdk/nodejs/networks/getApplianceSsids.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getApplianceSsids(args?: GetApplianceSsidsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceSsids:getApplianceSsids", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetApplianceSsidsResult { * ## Example Usage */ export function getApplianceSsidsOutput(args?: GetApplianceSsidsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSsids(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceSsids:getApplianceSsids", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceTrafficShaping.ts b/sdk/nodejs/networks/getApplianceTrafficShaping.ts index 51ffdac0..c110b73f 100644 --- a/sdk/nodejs/networks/getApplianceTrafficShaping.ts +++ b/sdk/nodejs/networks/getApplianceTrafficShaping.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceTrafficShaping(args: GetApplianceTrafficShapingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceTrafficShaping:getApplianceTrafficShaping", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceTrafficShapingResult { * ``` */ export function getApplianceTrafficShapingOutput(args: GetApplianceTrafficShapingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceTrafficShaping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceTrafficShaping:getApplianceTrafficShaping", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceTrafficShapingRules.ts b/sdk/nodejs/networks/getApplianceTrafficShapingRules.ts index f4511b3e..5cf1ad94 100644 --- a/sdk/nodejs/networks/getApplianceTrafficShapingRules.ts +++ b/sdk/nodejs/networks/getApplianceTrafficShapingRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceTrafficShapingRules(args: GetApplianceTrafficShapingRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceTrafficShapingRules:getApplianceTrafficShapingRules", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceTrafficShapingRulesResult { * ``` */ export function getApplianceTrafficShapingRulesOutput(args: GetApplianceTrafficShapingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceTrafficShapingRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceTrafficShapingRules:getApplianceTrafficShapingRules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceTrafficShapingUplinkBandwidth.ts b/sdk/nodejs/networks/getApplianceTrafficShapingUplinkBandwidth.ts index 052d08d2..9a03d5b0 100644 --- a/sdk/nodejs/networks/getApplianceTrafficShapingUplinkBandwidth.ts +++ b/sdk/nodejs/networks/getApplianceTrafficShapingUplinkBandwidth.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceTrafficShapingUplinkBandwidth(args: GetApplianceTrafficShapingUplinkBandwidthArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceTrafficShapingUplinkBandwidth:getApplianceTrafficShapingUplinkBandwidth", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceTrafficShapingUplinkBandwidthResult { * ``` */ export function getApplianceTrafficShapingUplinkBandwidthOutput(args: GetApplianceTrafficShapingUplinkBandwidthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceTrafficShapingUplinkBandwidth(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceTrafficShapingUplinkBandwidth:getApplianceTrafficShapingUplinkBandwidth", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceTrafficShapingUplinkSelection.ts b/sdk/nodejs/networks/getApplianceTrafficShapingUplinkSelection.ts index 3f2f04c6..c5542133 100644 --- a/sdk/nodejs/networks/getApplianceTrafficShapingUplinkSelection.ts +++ b/sdk/nodejs/networks/getApplianceTrafficShapingUplinkSelection.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceTrafficShapingUplinkSelection(args: GetApplianceTrafficShapingUplinkSelectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceTrafficShapingUplinkSelection:getApplianceTrafficShapingUplinkSelection", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceTrafficShapingUplinkSelectionResult { * ``` */ export function getApplianceTrafficShapingUplinkSelectionOutput(args: GetApplianceTrafficShapingUplinkSelectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceTrafficShapingUplinkSelection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceTrafficShapingUplinkSelection:getApplianceTrafficShapingUplinkSelection", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceVlans.ts b/sdk/nodejs/networks/getApplianceVlans.ts index e8cbd4a0..3d617d52 100644 --- a/sdk/nodejs/networks/getApplianceVlans.ts +++ b/sdk/nodejs/networks/getApplianceVlans.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getApplianceVlans(args?: GetApplianceVlansArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceVlans:getApplianceVlans", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetApplianceVlansResult { * ## Example Usage */ export function getApplianceVlansOutput(args?: GetApplianceVlansOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVlans(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceVlans:getApplianceVlans", { + "networkId": args.networkId, + "vlanId": args.vlanId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceVlansSettings.ts b/sdk/nodejs/networks/getApplianceVlansSettings.ts index a4733ada..41823893 100644 --- a/sdk/nodejs/networks/getApplianceVlansSettings.ts +++ b/sdk/nodejs/networks/getApplianceVlansSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceVlansSettings(args: GetApplianceVlansSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceVlansSettings:getApplianceVlansSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceVlansSettingsResult { * ``` */ export function getApplianceVlansSettingsOutput(args: GetApplianceVlansSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVlansSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceVlansSettings:getApplianceVlansSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceVpnBgp.ts b/sdk/nodejs/networks/getApplianceVpnBgp.ts index 5d2042b1..61eb3164 100644 --- a/sdk/nodejs/networks/getApplianceVpnBgp.ts +++ b/sdk/nodejs/networks/getApplianceVpnBgp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceVpnBgp(args: GetApplianceVpnBgpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceVpnBgp:getApplianceVpnBgp", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceVpnBgpResult { * ``` */ export function getApplianceVpnBgpOutput(args: GetApplianceVpnBgpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVpnBgp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceVpnBgp:getApplianceVpnBgp", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceVpnSiteToSiteVpn.ts b/sdk/nodejs/networks/getApplianceVpnSiteToSiteVpn.ts index 2e0c7cdd..42fefa23 100644 --- a/sdk/nodejs/networks/getApplianceVpnSiteToSiteVpn.ts +++ b/sdk/nodejs/networks/getApplianceVpnSiteToSiteVpn.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceVpnSiteToSiteVpn(args: GetApplianceVpnSiteToSiteVpnArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceVpnSiteToSiteVpn:getApplianceVpnSiteToSiteVpn", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceVpnSiteToSiteVpnResult { * ``` */ export function getApplianceVpnSiteToSiteVpnOutput(args: GetApplianceVpnSiteToSiteVpnOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVpnSiteToSiteVpn(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceVpnSiteToSiteVpn:getApplianceVpnSiteToSiteVpn", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getApplianceWarmSpare.ts b/sdk/nodejs/networks/getApplianceWarmSpare.ts index fb02dcad..d6c86459 100644 --- a/sdk/nodejs/networks/getApplianceWarmSpare.ts +++ b/sdk/nodejs/networks/getApplianceWarmSpare.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceWarmSpare(args: GetApplianceWarmSpareArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getApplianceWarmSpare:getApplianceWarmSpare", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetApplianceWarmSpareResult { * ``` */ export function getApplianceWarmSpareOutput(args: GetApplianceWarmSpareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceWarmSpare(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getApplianceWarmSpare:getApplianceWarmSpare", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getBluetoothClients.ts b/sdk/nodejs/networks/getBluetoothClients.ts index 7e845601..f19883e7 100644 --- a/sdk/nodejs/networks/getBluetoothClients.ts +++ b/sdk/nodejs/networks/getBluetoothClients.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getBluetoothClients(args: GetBluetoothClientsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getBluetoothClients:getBluetoothClients", { "bluetoothClientId": args.bluetoothClientId, @@ -98,7 +97,13 @@ export interface GetBluetoothClientsResult { * ``` */ export function getBluetoothClientsOutput(args: GetBluetoothClientsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBluetoothClients(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getBluetoothClients:getBluetoothClients", { + "bluetoothClientId": args.bluetoothClientId, + "connectivityHistoryTimespan": args.connectivityHistoryTimespan, + "includeConnectivityHistory": args.includeConnectivityHistory, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCameraQualityRetentionProfiles.ts b/sdk/nodejs/networks/getCameraQualityRetentionProfiles.ts index 42d3cd0f..e325879e 100644 --- a/sdk/nodejs/networks/getCameraQualityRetentionProfiles.ts +++ b/sdk/nodejs/networks/getCameraQualityRetentionProfiles.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getCameraQualityRetentionProfiles(args?: GetCameraQualityRetentionProfilesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCameraQualityRetentionProfiles:getCameraQualityRetentionProfiles", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetCameraQualityRetentionProfilesResult { * ## Example Usage */ export function getCameraQualityRetentionProfilesOutput(args?: GetCameraQualityRetentionProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraQualityRetentionProfiles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCameraQualityRetentionProfiles:getCameraQualityRetentionProfiles", { + "networkId": args.networkId, + "qualityRetentionProfileId": args.qualityRetentionProfileId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCameraWirelessProfiles.ts b/sdk/nodejs/networks/getCameraWirelessProfiles.ts index fcd93563..2b7bbff7 100644 --- a/sdk/nodejs/networks/getCameraWirelessProfiles.ts +++ b/sdk/nodejs/networks/getCameraWirelessProfiles.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getCameraWirelessProfiles(args?: GetCameraWirelessProfilesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCameraWirelessProfiles:getCameraWirelessProfiles", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetCameraWirelessProfilesResult { * ## Example Usage */ export function getCameraWirelessProfilesOutput(args?: GetCameraWirelessProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraWirelessProfiles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCameraWirelessProfiles:getCameraWirelessProfiles", { + "networkId": args.networkId, + "wirelessProfileId": args.wirelessProfileId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCellularGatewayConnectivityMonitoringDestinations.ts b/sdk/nodejs/networks/getCellularGatewayConnectivityMonitoringDestinations.ts index 77b74a79..1db422d4 100644 --- a/sdk/nodejs/networks/getCellularGatewayConnectivityMonitoringDestinations.ts +++ b/sdk/nodejs/networks/getCellularGatewayConnectivityMonitoringDestinations.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayConnectivityMonitoringDestinations(args: GetCellularGatewayConnectivityMonitoringDestinationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCellularGatewayConnectivityMonitoringDestinations:getCellularGatewayConnectivityMonitoringDestinations", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetCellularGatewayConnectivityMonitoringDestinationsResult { * ``` */ export function getCellularGatewayConnectivityMonitoringDestinationsOutput(args: GetCellularGatewayConnectivityMonitoringDestinationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayConnectivityMonitoringDestinations(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCellularGatewayConnectivityMonitoringDestinations:getCellularGatewayConnectivityMonitoringDestinations", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCellularGatewayDhcp.ts b/sdk/nodejs/networks/getCellularGatewayDhcp.ts index 25c0b406..af6cc198 100644 --- a/sdk/nodejs/networks/getCellularGatewayDhcp.ts +++ b/sdk/nodejs/networks/getCellularGatewayDhcp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayDhcp(args: GetCellularGatewayDhcpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCellularGatewayDhcp:getCellularGatewayDhcp", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetCellularGatewayDhcpResult { * ``` */ export function getCellularGatewayDhcpOutput(args: GetCellularGatewayDhcpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayDhcp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCellularGatewayDhcp:getCellularGatewayDhcp", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCellularGatewaySubnetPool.ts b/sdk/nodejs/networks/getCellularGatewaySubnetPool.ts index 2ab60af5..4951ca17 100644 --- a/sdk/nodejs/networks/getCellularGatewaySubnetPool.ts +++ b/sdk/nodejs/networks/getCellularGatewaySubnetPool.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewaySubnetPool(args: GetCellularGatewaySubnetPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCellularGatewaySubnetPool:getCellularGatewaySubnetPool", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetCellularGatewaySubnetPoolResult { * ``` */ export function getCellularGatewaySubnetPoolOutput(args: GetCellularGatewaySubnetPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewaySubnetPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCellularGatewaySubnetPool:getCellularGatewaySubnetPool", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getCellularGatewayUplink.ts b/sdk/nodejs/networks/getCellularGatewayUplink.ts index a7e48e0f..c971f71b 100644 --- a/sdk/nodejs/networks/getCellularGatewayUplink.ts +++ b/sdk/nodejs/networks/getCellularGatewayUplink.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayUplink(args: GetCellularGatewayUplinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getCellularGatewayUplink:getCellularGatewayUplink", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetCellularGatewayUplinkResult { * ``` */ export function getCellularGatewayUplinkOutput(args: GetCellularGatewayUplinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayUplink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getCellularGatewayUplink:getCellularGatewayUplink", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getClients.ts b/sdk/nodejs/networks/getClients.ts index 20088659..8e4c0119 100644 --- a/sdk/nodejs/networks/getClients.ts +++ b/sdk/nodejs/networks/getClients.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClients(args: GetClientsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getClients:getClients", { "clientId": args.clientId, @@ -76,7 +75,11 @@ export interface GetClientsResult { * ``` */ export function getClientsOutput(args: GetClientsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClients(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getClients:getClients", { + "clientId": args.clientId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getClientsOverview.ts b/sdk/nodejs/networks/getClientsOverview.ts index f3d26cb0..27952a20 100644 --- a/sdk/nodejs/networks/getClientsOverview.ts +++ b/sdk/nodejs/networks/getClientsOverview.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsOverview(args: GetClientsOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getClientsOverview:getClientsOverview", { "networkId": args.networkId, @@ -109,7 +108,14 @@ export interface GetClientsOverviewResult { * ``` */ export function getClientsOverviewOutput(args: GetClientsOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getClientsOverview:getClientsOverview", { + "networkId": args.networkId, + "resolution": args.resolution, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getClientsPolicy.ts b/sdk/nodejs/networks/getClientsPolicy.ts index 1a8ddcb4..fdc508df 100644 --- a/sdk/nodejs/networks/getClientsPolicy.ts +++ b/sdk/nodejs/networks/getClientsPolicy.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsPolicy(args: GetClientsPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getClientsPolicy:getClientsPolicy", { "clientId": args.clientId, @@ -76,7 +75,11 @@ export interface GetClientsPolicyResult { * ``` */ export function getClientsPolicyOutput(args: GetClientsPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getClientsPolicy:getClientsPolicy", { + "clientId": args.clientId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getClientsSplashAuthorizationStatus.ts b/sdk/nodejs/networks/getClientsSplashAuthorizationStatus.ts index 2c340564..b28d5bdc 100644 --- a/sdk/nodejs/networks/getClientsSplashAuthorizationStatus.ts +++ b/sdk/nodejs/networks/getClientsSplashAuthorizationStatus.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsSplashAuthorizationStatus(args: GetClientsSplashAuthorizationStatusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getClientsSplashAuthorizationStatus:getClientsSplashAuthorizationStatus", { "clientId": args.clientId, @@ -76,7 +75,11 @@ export interface GetClientsSplashAuthorizationStatusResult { * ``` */ export function getClientsSplashAuthorizationStatusOutput(args: GetClientsSplashAuthorizationStatusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsSplashAuthorizationStatus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getClientsSplashAuthorizationStatus:getClientsSplashAuthorizationStatus", { + "clientId": args.clientId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getEvents.ts b/sdk/nodejs/networks/getEvents.ts index 3cbf1d13..f61f4370 100644 --- a/sdk/nodejs/networks/getEvents.ts +++ b/sdk/nodejs/networks/getEvents.ts @@ -34,7 +34,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("meraki:networks/getEvents:getEvents", { "clientIp": args.clientIp, @@ -219,7 +218,24 @@ 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("meraki:networks/getEvents:getEvents", { + "clientIp": args.clientIp, + "clientMac": args.clientMac, + "clientName": args.clientName, + "deviceMac": args.deviceMac, + "deviceName": args.deviceName, + "deviceSerial": args.deviceSerial, + "endingBefore": args.endingBefore, + "excludedEventTypes": args.excludedEventTypes, + "includedEventTypes": args.includedEventTypes, + "networkId": args.networkId, + "perPage": args.perPage, + "productType": args.productType, + "smDeviceMac": args.smDeviceMac, + "smDeviceName": args.smDeviceName, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getEventsEventTypes.ts b/sdk/nodejs/networks/getEventsEventTypes.ts index 1465bc1a..e52c8db6 100644 --- a/sdk/nodejs/networks/getEventsEventTypes.ts +++ b/sdk/nodejs/networks/getEventsEventTypes.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getEventsEventTypes(args: GetEventsEventTypesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getEventsEventTypes:getEventsEventTypes", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetEventsEventTypesResult { * ``` */ export function getEventsEventTypesOutput(args: GetEventsEventTypesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventsEventTypes(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getEventsEventTypes:getEventsEventTypes", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getFirmwareUpgrades.ts b/sdk/nodejs/networks/getFirmwareUpgrades.ts index f692f951..6f1b7d94 100644 --- a/sdk/nodejs/networks/getFirmwareUpgrades.ts +++ b/sdk/nodejs/networks/getFirmwareUpgrades.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getFirmwareUpgrades(args: GetFirmwareUpgradesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getFirmwareUpgrades:getFirmwareUpgrades", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetFirmwareUpgradesResult { * ``` */ export function getFirmwareUpgradesOutput(args: GetFirmwareUpgradesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgrades(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getFirmwareUpgrades:getFirmwareUpgrades", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getFirmwareUpgradesStagedEvents.ts b/sdk/nodejs/networks/getFirmwareUpgradesStagedEvents.ts index 4dbe74b1..3a1fa958 100644 --- a/sdk/nodejs/networks/getFirmwareUpgradesStagedEvents.ts +++ b/sdk/nodejs/networks/getFirmwareUpgradesStagedEvents.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getFirmwareUpgradesStagedEvents(args: GetFirmwareUpgradesStagedEventsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getFirmwareUpgradesStagedEvents:getFirmwareUpgradesStagedEvents", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetFirmwareUpgradesStagedEventsResult { * ``` */ export function getFirmwareUpgradesStagedEventsOutput(args: GetFirmwareUpgradesStagedEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgradesStagedEvents(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getFirmwareUpgradesStagedEvents:getFirmwareUpgradesStagedEvents", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getFirmwareUpgradesStagedGroups.ts b/sdk/nodejs/networks/getFirmwareUpgradesStagedGroups.ts index 00f5ef91..596c8c40 100644 --- a/sdk/nodejs/networks/getFirmwareUpgradesStagedGroups.ts +++ b/sdk/nodejs/networks/getFirmwareUpgradesStagedGroups.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getFirmwareUpgradesStagedGroups(args?: GetFirmwareUpgradesStagedGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getFirmwareUpgradesStagedGroups:getFirmwareUpgradesStagedGroups", { "groupId": args.groupId, @@ -59,7 +58,12 @@ export interface GetFirmwareUpgradesStagedGroupsResult { * ## Example Usage */ export function getFirmwareUpgradesStagedGroupsOutput(args?: GetFirmwareUpgradesStagedGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgradesStagedGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getFirmwareUpgradesStagedGroups:getFirmwareUpgradesStagedGroups", { + "groupId": args.groupId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getFirmwareUpgradesStagedStages.ts b/sdk/nodejs/networks/getFirmwareUpgradesStagedStages.ts index 94c4f916..e6346c31 100644 --- a/sdk/nodejs/networks/getFirmwareUpgradesStagedStages.ts +++ b/sdk/nodejs/networks/getFirmwareUpgradesStagedStages.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getFirmwareUpgradesStagedStages(args: GetFirmwareUpgradesStagedStagesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getFirmwareUpgradesStagedStages:getFirmwareUpgradesStagedStages", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetFirmwareUpgradesStagedStagesResult { * ``` */ export function getFirmwareUpgradesStagedStagesOutput(args: GetFirmwareUpgradesStagedStagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgradesStagedStages(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getFirmwareUpgradesStagedStages:getFirmwareUpgradesStagedStages", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getFloorPlans.ts b/sdk/nodejs/networks/getFloorPlans.ts index 6a234703..91825d9a 100644 --- a/sdk/nodejs/networks/getFloorPlans.ts +++ b/sdk/nodejs/networks/getFloorPlans.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getFloorPlans(args?: GetFloorPlansArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getFloorPlans:getFloorPlans", { "floorPlanId": args.floorPlanId, @@ -59,7 +58,12 @@ export interface GetFloorPlansResult { * ## Example Usage */ export function getFloorPlansOutput(args?: GetFloorPlansOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFloorPlans(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getFloorPlans:getFloorPlans", { + "floorPlanId": args.floorPlanId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getGroupPolicies.ts b/sdk/nodejs/networks/getGroupPolicies.ts index bed85f22..769dea3b 100644 --- a/sdk/nodejs/networks/getGroupPolicies.ts +++ b/sdk/nodejs/networks/getGroupPolicies.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getGroupPolicies(args?: GetGroupPoliciesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getGroupPolicies:getGroupPolicies", { "groupPolicyId": args.groupPolicyId, @@ -59,7 +58,12 @@ export interface GetGroupPoliciesResult { * ## Example Usage */ export function getGroupPoliciesOutput(args?: GetGroupPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroupPolicies(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getGroupPolicies:getGroupPolicies", { + "groupPolicyId": args.groupPolicyId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getHealthAlerts.ts b/sdk/nodejs/networks/getHealthAlerts.ts index f9f65597..a83d4025 100644 --- a/sdk/nodejs/networks/getHealthAlerts.ts +++ b/sdk/nodejs/networks/getHealthAlerts.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getHealthAlerts(args: GetHealthAlertsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getHealthAlerts:getHealthAlerts", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetHealthAlertsResult { * ``` */ export function getHealthAlertsOutput(args: GetHealthAlertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHealthAlerts(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getHealthAlerts:getHealthAlerts", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getInsightApplicationsHealthByTime.ts b/sdk/nodejs/networks/getInsightApplicationsHealthByTime.ts index 911d1238..e18e4830 100644 --- a/sdk/nodejs/networks/getInsightApplicationsHealthByTime.ts +++ b/sdk/nodejs/networks/getInsightApplicationsHealthByTime.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getInsightApplicationsHealthByTime(args: GetInsightApplicationsHealthByTimeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getInsightApplicationsHealthByTime:getInsightApplicationsHealthByTime", { "applicationId": args.applicationId, @@ -123,7 +122,15 @@ export interface GetInsightApplicationsHealthByTimeResult { * ``` */ export function getInsightApplicationsHealthByTimeOutput(args: GetInsightApplicationsHealthByTimeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInsightApplicationsHealthByTime(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getInsightApplicationsHealthByTime:getInsightApplicationsHealthByTime", { + "applicationId": args.applicationId, + "networkId": args.networkId, + "resolution": args.resolution, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getMerakiAuthUsers.ts b/sdk/nodejs/networks/getMerakiAuthUsers.ts index 4e4cc09f..67da519f 100644 --- a/sdk/nodejs/networks/getMerakiAuthUsers.ts +++ b/sdk/nodejs/networks/getMerakiAuthUsers.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getMerakiAuthUsers(args?: GetMerakiAuthUsersArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getMerakiAuthUsers:getMerakiAuthUsers", { "merakiAuthUserId": args.merakiAuthUserId, @@ -59,7 +58,12 @@ export interface GetMerakiAuthUsersResult { * ## Example Usage */ export function getMerakiAuthUsersOutput(args?: GetMerakiAuthUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMerakiAuthUsers(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getMerakiAuthUsers:getMerakiAuthUsers", { + "merakiAuthUserId": args.merakiAuthUserId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getNetflow.ts b/sdk/nodejs/networks/getNetflow.ts index f767d870..39bf4018 100644 --- a/sdk/nodejs/networks/getNetflow.ts +++ b/sdk/nodejs/networks/getNetflow.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getNetflow(args: GetNetflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getNetflow:getNetflow", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetNetflowResult { * ``` */ export function getNetflowOutput(args: GetNetflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getNetflow:getNetflow", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getPiiPiiKeys.ts b/sdk/nodejs/networks/getPiiPiiKeys.ts index 4864d615..518de49e 100644 --- a/sdk/nodejs/networks/getPiiPiiKeys.ts +++ b/sdk/nodejs/networks/getPiiPiiKeys.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getPiiPiiKeys(args: GetPiiPiiKeysArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getPiiPiiKeys:getPiiPiiKeys", { "bluetoothMac": args.bluetoothMac, @@ -131,7 +130,16 @@ export interface GetPiiPiiKeysResult { * ``` */ export function getPiiPiiKeysOutput(args: GetPiiPiiKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPiiPiiKeys(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getPiiPiiKeys:getPiiPiiKeys", { + "bluetoothMac": args.bluetoothMac, + "email": args.email, + "imei": args.imei, + "mac": args.mac, + "networkId": args.networkId, + "serial": args.serial, + "username": args.username, + }, opts); } /** diff --git a/sdk/nodejs/networks/getPiiRequests.ts b/sdk/nodejs/networks/getPiiRequests.ts index d8820b03..69193cb7 100644 --- a/sdk/nodejs/networks/getPiiRequests.ts +++ b/sdk/nodejs/networks/getPiiRequests.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getPiiRequests(args?: GetPiiRequestsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getPiiRequests:getPiiRequests", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetPiiRequestsResult { * ## Example Usage */ export function getPiiRequestsOutput(args?: GetPiiRequestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPiiRequests(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getPiiRequests:getPiiRequests", { + "networkId": args.networkId, + "requestId": args.requestId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getPiiSmDevicesForKey.ts b/sdk/nodejs/networks/getPiiSmDevicesForKey.ts index e3ed8e11..1e9c5585 100644 --- a/sdk/nodejs/networks/getPiiSmDevicesForKey.ts +++ b/sdk/nodejs/networks/getPiiSmDevicesForKey.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getPiiSmDevicesForKey(args: GetPiiSmDevicesForKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getPiiSmDevicesForKey:getPiiSmDevicesForKey", { "bluetoothMac": args.bluetoothMac, @@ -131,7 +130,16 @@ export interface GetPiiSmDevicesForKeyResult { * ``` */ export function getPiiSmDevicesForKeyOutput(args: GetPiiSmDevicesForKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPiiSmDevicesForKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getPiiSmDevicesForKey:getPiiSmDevicesForKey", { + "bluetoothMac": args.bluetoothMac, + "email": args.email, + "imei": args.imei, + "mac": args.mac, + "networkId": args.networkId, + "serial": args.serial, + "username": args.username, + }, opts); } /** diff --git a/sdk/nodejs/networks/getPiiSmOwnersForKey.ts b/sdk/nodejs/networks/getPiiSmOwnersForKey.ts index 967cfd53..680f312d 100644 --- a/sdk/nodejs/networks/getPiiSmOwnersForKey.ts +++ b/sdk/nodejs/networks/getPiiSmOwnersForKey.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getPiiSmOwnersForKey(args: GetPiiSmOwnersForKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getPiiSmOwnersForKey:getPiiSmOwnersForKey", { "bluetoothMac": args.bluetoothMac, @@ -131,7 +130,16 @@ export interface GetPiiSmOwnersForKeyResult { * ``` */ export function getPiiSmOwnersForKeyOutput(args: GetPiiSmOwnersForKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPiiSmOwnersForKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getPiiSmOwnersForKey:getPiiSmOwnersForKey", { + "bluetoothMac": args.bluetoothMac, + "email": args.email, + "imei": args.imei, + "mac": args.mac, + "networkId": args.networkId, + "serial": args.serial, + "username": args.username, + }, opts); } /** diff --git a/sdk/nodejs/networks/getPoliciesByClient.ts b/sdk/nodejs/networks/getPoliciesByClient.ts index 8ec97637..942451bd 100644 --- a/sdk/nodejs/networks/getPoliciesByClient.ts +++ b/sdk/nodejs/networks/getPoliciesByClient.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getPoliciesByClient(args: GetPoliciesByClientArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getPoliciesByClient:getPoliciesByClient", { "endingBefore": args.endingBefore, @@ -123,7 +122,15 @@ export interface GetPoliciesByClientResult { * ``` */ export function getPoliciesByClientOutput(args: GetPoliciesByClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPoliciesByClient(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getPoliciesByClient:getPoliciesByClient", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + "t0": args.t0, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSensorAlertsCurrentOverviewByMetric.ts b/sdk/nodejs/networks/getSensorAlertsCurrentOverviewByMetric.ts index 5ec86fde..c7816737 100644 --- a/sdk/nodejs/networks/getSensorAlertsCurrentOverviewByMetric.ts +++ b/sdk/nodejs/networks/getSensorAlertsCurrentOverviewByMetric.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorAlertsCurrentOverviewByMetric(args: GetSensorAlertsCurrentOverviewByMetricArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSensorAlertsCurrentOverviewByMetric:getSensorAlertsCurrentOverviewByMetric", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSensorAlertsCurrentOverviewByMetricResult { * ``` */ export function getSensorAlertsCurrentOverviewByMetricOutput(args: GetSensorAlertsCurrentOverviewByMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorAlertsCurrentOverviewByMetric(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSensorAlertsCurrentOverviewByMetric:getSensorAlertsCurrentOverviewByMetric", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSensorAlertsOverviewByMetric.ts b/sdk/nodejs/networks/getSensorAlertsOverviewByMetric.ts index fc79ce50..4129f401 100644 --- a/sdk/nodejs/networks/getSensorAlertsOverviewByMetric.ts +++ b/sdk/nodejs/networks/getSensorAlertsOverviewByMetric.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorAlertsOverviewByMetric(args: GetSensorAlertsOverviewByMetricArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSensorAlertsOverviewByMetric:getSensorAlertsOverviewByMetric", { "interval": args.interval, @@ -112,7 +111,14 @@ export interface GetSensorAlertsOverviewByMetricResult { * ``` */ export function getSensorAlertsOverviewByMetricOutput(args: GetSensorAlertsOverviewByMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorAlertsOverviewByMetric(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSensorAlertsOverviewByMetric:getSensorAlertsOverviewByMetric", { + "interval": args.interval, + "networkId": args.networkId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSensorAlertsProfiles.ts b/sdk/nodejs/networks/getSensorAlertsProfiles.ts index 31d25aa6..15eead48 100644 --- a/sdk/nodejs/networks/getSensorAlertsProfiles.ts +++ b/sdk/nodejs/networks/getSensorAlertsProfiles.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSensorAlertsProfiles(args?: GetSensorAlertsProfilesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSensorAlertsProfiles:getSensorAlertsProfiles", { "id": args.id, @@ -55,7 +54,12 @@ export interface GetSensorAlertsProfilesResult { * ## Example Usage */ export function getSensorAlertsProfilesOutput(args?: GetSensorAlertsProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorAlertsProfiles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSensorAlertsProfiles:getSensorAlertsProfiles", { + "id": args.id, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSensorMqttBrokers.ts b/sdk/nodejs/networks/getSensorMqttBrokers.ts index d4c55a3b..da297f17 100644 --- a/sdk/nodejs/networks/getSensorMqttBrokers.ts +++ b/sdk/nodejs/networks/getSensorMqttBrokers.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSensorMqttBrokers(args?: GetSensorMqttBrokersArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSensorMqttBrokers:getSensorMqttBrokers", { "mqttBrokerId": args.mqttBrokerId, @@ -59,7 +58,12 @@ export interface GetSensorMqttBrokersResult { * ## Example Usage */ export function getSensorMqttBrokersOutput(args?: GetSensorMqttBrokersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorMqttBrokers(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSensorMqttBrokers:getSensorMqttBrokers", { + "mqttBrokerId": args.mqttBrokerId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSensorRelationships.ts b/sdk/nodejs/networks/getSensorRelationships.ts index 8d5c4733..a0e92c1b 100644 --- a/sdk/nodejs/networks/getSensorRelationships.ts +++ b/sdk/nodejs/networks/getSensorRelationships.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorRelationships(args: GetSensorRelationshipsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSensorRelationships:getSensorRelationships", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetSensorRelationshipsResult { * ``` */ export function getSensorRelationshipsOutput(args: GetSensorRelationshipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorRelationships(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSensorRelationships:getSensorRelationships", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSettings.ts b/sdk/nodejs/networks/getSettings.ts index f61e3f8b..f8d0c7d2 100644 --- a/sdk/nodejs/networks/getSettings.ts +++ b/sdk/nodejs/networks/getSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSettings(args: GetSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSettings:getSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSettingsResult { * ``` */ export function getSettingsOutput(args: GetSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSettings:getSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmBypassActivationLockAttempts.ts b/sdk/nodejs/networks/getSmBypassActivationLockAttempts.ts index 05e1b426..5c55fc3f 100644 --- a/sdk/nodejs/networks/getSmBypassActivationLockAttempts.ts +++ b/sdk/nodejs/networks/getSmBypassActivationLockAttempts.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmBypassActivationLockAttempts(args: GetSmBypassActivationLockAttemptsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmBypassActivationLockAttempts:getSmBypassActivationLockAttempts", { "attemptId": args.attemptId, @@ -76,7 +75,11 @@ export interface GetSmBypassActivationLockAttemptsResult { * ``` */ export function getSmBypassActivationLockAttemptsOutput(args: GetSmBypassActivationLockAttemptsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmBypassActivationLockAttempts(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmBypassActivationLockAttempts:getSmBypassActivationLockAttempts", { + "attemptId": args.attemptId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevices.ts b/sdk/nodejs/networks/getSmDevices.ts index 22e2c28b..8bcb79da 100644 --- a/sdk/nodejs/networks/getSmDevices.ts +++ b/sdk/nodejs/networks/getSmDevices.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevices(args: GetSmDevicesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevices:getSmDevices", { "endingBefore": args.endingBefore, @@ -190,7 +189,20 @@ export interface GetSmDevicesResult { * ``` */ export function getSmDevicesOutput(args: GetSmDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevices(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevices:getSmDevices", { + "endingBefore": args.endingBefore, + "fields": args.fields, + "ids": args.ids, + "networkId": args.networkId, + "perPage": args.perPage, + "scopes": args.scopes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "systemTypes": args.systemTypes, + "uuids": args.uuids, + "wifiMacs": args.wifiMacs, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesCellularUsageHistory.ts b/sdk/nodejs/networks/getSmDevicesCellularUsageHistory.ts index 0a57c12f..9c39f278 100644 --- a/sdk/nodejs/networks/getSmDevicesCellularUsageHistory.ts +++ b/sdk/nodejs/networks/getSmDevicesCellularUsageHistory.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesCellularUsageHistory(args: GetSmDevicesCellularUsageHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesCellularUsageHistory:getSmDevicesCellularUsageHistory", { "deviceId": args.deviceId, @@ -79,7 +78,11 @@ export interface GetSmDevicesCellularUsageHistoryResult { * ``` */ export function getSmDevicesCellularUsageHistoryOutput(args: GetSmDevicesCellularUsageHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesCellularUsageHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesCellularUsageHistory:getSmDevicesCellularUsageHistory", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesCerts.ts b/sdk/nodejs/networks/getSmDevicesCerts.ts index 19782800..1ed0a503 100644 --- a/sdk/nodejs/networks/getSmDevicesCerts.ts +++ b/sdk/nodejs/networks/getSmDevicesCerts.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesCerts(args: GetSmDevicesCertsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesCerts:getSmDevicesCerts", { "deviceId": args.deviceId, @@ -79,7 +78,11 @@ export interface GetSmDevicesCertsResult { * ``` */ export function getSmDevicesCertsOutput(args: GetSmDevicesCertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesCerts(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesCerts:getSmDevicesCerts", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesConnectivity.ts b/sdk/nodejs/networks/getSmDevicesConnectivity.ts index c7cb4cad..9f6d8733 100644 --- a/sdk/nodejs/networks/getSmDevicesConnectivity.ts +++ b/sdk/nodejs/networks/getSmDevicesConnectivity.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesConnectivity(args: GetSmDevicesConnectivityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesConnectivity:getSmDevicesConnectivity", { "deviceId": args.deviceId, @@ -112,7 +111,14 @@ export interface GetSmDevicesConnectivityResult { * ``` */ export function getSmDevicesConnectivityOutput(args: GetSmDevicesConnectivityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesConnectivity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesConnectivity:getSmDevicesConnectivity", { + "deviceId": args.deviceId, + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesDesktopLogs.ts b/sdk/nodejs/networks/getSmDevicesDesktopLogs.ts index a849e517..34eb2d5a 100644 --- a/sdk/nodejs/networks/getSmDevicesDesktopLogs.ts +++ b/sdk/nodejs/networks/getSmDevicesDesktopLogs.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesDesktopLogs(args: GetSmDevicesDesktopLogsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs", { "deviceId": args.deviceId, @@ -112,7 +111,14 @@ export interface GetSmDevicesDesktopLogsResult { * ``` */ export function getSmDevicesDesktopLogsOutput(args: GetSmDevicesDesktopLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesDesktopLogs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs", { + "deviceId": args.deviceId, + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesDeviceCommandLogs.ts b/sdk/nodejs/networks/getSmDevicesDeviceCommandLogs.ts index 8c674e7c..d0332dbb 100644 --- a/sdk/nodejs/networks/getSmDevicesDeviceCommandLogs.ts +++ b/sdk/nodejs/networks/getSmDevicesDeviceCommandLogs.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesDeviceCommandLogs(args: GetSmDevicesDeviceCommandLogsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesDeviceCommandLogs:getSmDevicesDeviceCommandLogs", { "deviceId": args.deviceId, @@ -112,7 +111,14 @@ export interface GetSmDevicesDeviceCommandLogsResult { * ``` */ export function getSmDevicesDeviceCommandLogsOutput(args: GetSmDevicesDeviceCommandLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesDeviceCommandLogs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesDeviceCommandLogs:getSmDevicesDeviceCommandLogs", { + "deviceId": args.deviceId, + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesDeviceProfiles.ts b/sdk/nodejs/networks/getSmDevicesDeviceProfiles.ts index a058096f..0ff043ad 100644 --- a/sdk/nodejs/networks/getSmDevicesDeviceProfiles.ts +++ b/sdk/nodejs/networks/getSmDevicesDeviceProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesDeviceProfiles(args: GetSmDevicesDeviceProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesDeviceProfiles:getSmDevicesDeviceProfiles", { "deviceId": args.deviceId, @@ -79,7 +78,11 @@ export interface GetSmDevicesDeviceProfilesResult { * ``` */ export function getSmDevicesDeviceProfilesOutput(args: GetSmDevicesDeviceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesDeviceProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesDeviceProfiles:getSmDevicesDeviceProfiles", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesNetworkAdapters.ts b/sdk/nodejs/networks/getSmDevicesNetworkAdapters.ts index 8e3acc1a..abacb346 100644 --- a/sdk/nodejs/networks/getSmDevicesNetworkAdapters.ts +++ b/sdk/nodejs/networks/getSmDevicesNetworkAdapters.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesNetworkAdapters(args: GetSmDevicesNetworkAdaptersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesNetworkAdapters:getSmDevicesNetworkAdapters", { "deviceId": args.deviceId, @@ -79,7 +78,11 @@ export interface GetSmDevicesNetworkAdaptersResult { * ``` */ export function getSmDevicesNetworkAdaptersOutput(args: GetSmDevicesNetworkAdaptersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesNetworkAdapters(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesNetworkAdapters:getSmDevicesNetworkAdapters", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesPerformanceHistory.ts b/sdk/nodejs/networks/getSmDevicesPerformanceHistory.ts index 05ea27b8..43add062 100644 --- a/sdk/nodejs/networks/getSmDevicesPerformanceHistory.ts +++ b/sdk/nodejs/networks/getSmDevicesPerformanceHistory.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesPerformanceHistory(args: GetSmDevicesPerformanceHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesPerformanceHistory:getSmDevicesPerformanceHistory", { "deviceId": args.deviceId, @@ -112,7 +111,14 @@ export interface GetSmDevicesPerformanceHistoryResult { * ``` */ export function getSmDevicesPerformanceHistoryOutput(args: GetSmDevicesPerformanceHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesPerformanceHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesPerformanceHistory:getSmDevicesPerformanceHistory", { + "deviceId": args.deviceId, + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesSecurityCenters.ts b/sdk/nodejs/networks/getSmDevicesSecurityCenters.ts index b4be7451..5144eba8 100644 --- a/sdk/nodejs/networks/getSmDevicesSecurityCenters.ts +++ b/sdk/nodejs/networks/getSmDevicesSecurityCenters.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; */ export function getSmDevicesSecurityCenters(args?: GetSmDevicesSecurityCentersArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesSecurityCenters:getSmDevicesSecurityCenters", { "deviceId": args.deviceId, @@ -80,7 +79,12 @@ export interface GetSmDevicesSecurityCentersResult { * ``` */ export function getSmDevicesSecurityCentersOutput(args?: GetSmDevicesSecurityCentersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesSecurityCenters(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesSecurityCenters:getSmDevicesSecurityCenters", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmDevicesWlanLists.ts b/sdk/nodejs/networks/getSmDevicesWlanLists.ts index a04073f6..4b64a5c4 100644 --- a/sdk/nodejs/networks/getSmDevicesWlanLists.ts +++ b/sdk/nodejs/networks/getSmDevicesWlanLists.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmDevicesWlanLists(args: GetSmDevicesWlanListsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmDevicesWlanLists:getSmDevicesWlanLists", { "deviceId": args.deviceId, @@ -79,7 +78,11 @@ export interface GetSmDevicesWlanListsResult { * ``` */ export function getSmDevicesWlanListsOutput(args: GetSmDevicesWlanListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmDevicesWlanLists(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesWlanLists:getSmDevicesWlanLists", { + "deviceId": args.deviceId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmProfiles.ts b/sdk/nodejs/networks/getSmProfiles.ts index 2e6414dd..40aea21f 100644 --- a/sdk/nodejs/networks/getSmProfiles.ts +++ b/sdk/nodejs/networks/getSmProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmProfiles(args: GetSmProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmProfiles:getSmProfiles", { "networkId": args.networkId, @@ -79,7 +78,11 @@ export interface GetSmProfilesResult { * ``` */ export function getSmProfilesOutput(args: GetSmProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmProfiles:getSmProfiles", { + "networkId": args.networkId, + "payloadTypes": args.payloadTypes, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmTargetGroups.ts b/sdk/nodejs/networks/getSmTargetGroups.ts index 82214665..73f2c552 100644 --- a/sdk/nodejs/networks/getSmTargetGroups.ts +++ b/sdk/nodejs/networks/getSmTargetGroups.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSmTargetGroups(args?: GetSmTargetGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmTargetGroups:getSmTargetGroups", { "networkId": args.networkId, @@ -68,7 +67,13 @@ export interface GetSmTargetGroupsResult { * ## Example Usage */ export function getSmTargetGroupsOutput(args?: GetSmTargetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmTargetGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmTargetGroups:getSmTargetGroups", { + "networkId": args.networkId, + "targetGroupId": args.targetGroupId, + "withDetails": args.withDetails, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmTrustedAccessConfigs.ts b/sdk/nodejs/networks/getSmTrustedAccessConfigs.ts index e62753f8..73420bfc 100644 --- a/sdk/nodejs/networks/getSmTrustedAccessConfigs.ts +++ b/sdk/nodejs/networks/getSmTrustedAccessConfigs.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmTrustedAccessConfigs(args: GetSmTrustedAccessConfigsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmTrustedAccessConfigs:getSmTrustedAccessConfigs", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetSmTrustedAccessConfigsResult { * ``` */ export function getSmTrustedAccessConfigsOutput(args: GetSmTrustedAccessConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmTrustedAccessConfigs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmTrustedAccessConfigs:getSmTrustedAccessConfigs", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmUserAccessDevices.ts b/sdk/nodejs/networks/getSmUserAccessDevices.ts index 4ebb9c03..7929aea5 100644 --- a/sdk/nodejs/networks/getSmUserAccessDevices.ts +++ b/sdk/nodejs/networks/getSmUserAccessDevices.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmUserAccessDevices(args: GetSmUserAccessDevicesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmUserAccessDevices:getSmUserAccessDevices", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetSmUserAccessDevicesResult { * ``` */ export function getSmUserAccessDevicesOutput(args: GetSmUserAccessDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmUserAccessDevices(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmUserAccessDevices:getSmUserAccessDevices", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmUsers.ts b/sdk/nodejs/networks/getSmUsers.ts index 691b240d..29724339 100644 --- a/sdk/nodejs/networks/getSmUsers.ts +++ b/sdk/nodejs/networks/getSmUsers.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmUsers(args: GetSmUsersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmUsers:getSmUsers", { "emails": args.emails, @@ -112,7 +111,14 @@ export interface GetSmUsersResult { * ``` */ export function getSmUsersOutput(args: GetSmUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmUsers(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmUsers:getSmUsers", { + "emails": args.emails, + "ids": args.ids, + "networkId": args.networkId, + "scopes": args.scopes, + "usernames": args.usernames, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmUsersDeviceProfiles.ts b/sdk/nodejs/networks/getSmUsersDeviceProfiles.ts index 37990a43..77030c3f 100644 --- a/sdk/nodejs/networks/getSmUsersDeviceProfiles.ts +++ b/sdk/nodejs/networks/getSmUsersDeviceProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmUsersDeviceProfiles(args: GetSmUsersDeviceProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmUsersDeviceProfiles:getSmUsersDeviceProfiles", { "networkId": args.networkId, @@ -79,7 +78,11 @@ export interface GetSmUsersDeviceProfilesResult { * ``` */ export function getSmUsersDeviceProfilesOutput(args: GetSmUsersDeviceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmUsersDeviceProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmUsersDeviceProfiles:getSmUsersDeviceProfiles", { + "networkId": args.networkId, + "userId": args.userId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSmUsersSoftwares.ts b/sdk/nodejs/networks/getSmUsersSoftwares.ts index d223fc20..925f82c2 100644 --- a/sdk/nodejs/networks/getSmUsersSoftwares.ts +++ b/sdk/nodejs/networks/getSmUsersSoftwares.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmUsersSoftwares(args: GetSmUsersSoftwaresArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSmUsersSoftwares:getSmUsersSoftwares", { "networkId": args.networkId, @@ -79,7 +78,11 @@ export interface GetSmUsersSoftwaresResult { * ``` */ export function getSmUsersSoftwaresOutput(args: GetSmUsersSoftwaresOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmUsersSoftwares(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSmUsersSoftwares:getSmUsersSoftwares", { + "networkId": args.networkId, + "userId": args.userId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSnmp.ts b/sdk/nodejs/networks/getSnmp.ts index 856e0dab..e470ad3c 100644 --- a/sdk/nodejs/networks/getSnmp.ts +++ b/sdk/nodejs/networks/getSnmp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSnmp(args: GetSnmpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSnmp:getSnmp", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSnmpResult { * ``` */ export function getSnmpOutput(args: GetSnmpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSnmp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSnmp:getSnmp", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchAccessControlLists.ts b/sdk/nodejs/networks/getSwitchAccessControlLists.ts index b467b6a3..021f8a29 100644 --- a/sdk/nodejs/networks/getSwitchAccessControlLists.ts +++ b/sdk/nodejs/networks/getSwitchAccessControlLists.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchAccessControlLists(args: GetSwitchAccessControlListsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchAccessControlLists:getSwitchAccessControlLists", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchAccessControlListsResult { * ``` */ export function getSwitchAccessControlListsOutput(args: GetSwitchAccessControlListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchAccessControlLists(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchAccessControlLists:getSwitchAccessControlLists", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchAccessPolicies.ts b/sdk/nodejs/networks/getSwitchAccessPolicies.ts index 54cbab64..a92d26e0 100644 --- a/sdk/nodejs/networks/getSwitchAccessPolicies.ts +++ b/sdk/nodejs/networks/getSwitchAccessPolicies.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchAccessPolicies(args?: GetSwitchAccessPoliciesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchAccessPolicies:getSwitchAccessPolicies", { "accessPolicyNumber": args.accessPolicyNumber, @@ -59,7 +58,12 @@ export interface GetSwitchAccessPoliciesResult { * ## Example Usage */ export function getSwitchAccessPoliciesOutput(args?: GetSwitchAccessPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchAccessPolicies(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchAccessPolicies:getSwitchAccessPolicies", { + "accessPolicyNumber": args.accessPolicyNumber, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchAlternateManagementInterface.ts b/sdk/nodejs/networks/getSwitchAlternateManagementInterface.ts index 4d4a02c2..f6fd1fef 100644 --- a/sdk/nodejs/networks/getSwitchAlternateManagementInterface.ts +++ b/sdk/nodejs/networks/getSwitchAlternateManagementInterface.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchAlternateManagementInterface(args: GetSwitchAlternateManagementInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchAlternateManagementInterface:getSwitchAlternateManagementInterface", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchAlternateManagementInterfaceResult { * ``` */ export function getSwitchAlternateManagementInterfaceOutput(args: GetSwitchAlternateManagementInterfaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchAlternateManagementInterface(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchAlternateManagementInterface:getSwitchAlternateManagementInterface", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchDhcpServerPolicy.ts b/sdk/nodejs/networks/getSwitchDhcpServerPolicy.ts index c035ee57..cad4c8b1 100644 --- a/sdk/nodejs/networks/getSwitchDhcpServerPolicy.ts +++ b/sdk/nodejs/networks/getSwitchDhcpServerPolicy.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchDhcpServerPolicy(args: GetSwitchDhcpServerPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDhcpServerPolicy:getSwitchDhcpServerPolicy", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchDhcpServerPolicyResult { * ``` */ export function getSwitchDhcpServerPolicyOutput(args: GetSwitchDhcpServerPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchDhcpServerPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDhcpServerPolicy:getSwitchDhcpServerPolicy", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.ts b/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.ts index 6167b3fd..7bbeeb1f 100644 --- a/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.ts +++ b/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchDhcpServerPolicyArpInspectionTrustedServers(args: GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers:getSwitchDhcpServerPolicyArpInspectionTrustedServers", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult { * ``` */ export function getSwitchDhcpServerPolicyArpInspectionTrustedServersOutput(args: GetSwitchDhcpServerPolicyArpInspectionTrustedServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchDhcpServerPolicyArpInspectionTrustedServers(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers:getSwitchDhcpServerPolicyArpInspectionTrustedServers", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.ts b/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.ts index 991afb81..72f6d2b4 100644 --- a/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.ts +++ b/sdk/nodejs/networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchDhcpServerPolicyArpInspectionWarningsByDevice(args: GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice:getSwitchDhcpServerPolicyArpInspectionWarningsByDevice", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceResult { * ``` */ export function getSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOutput(args: GetSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchDhcpServerPolicyArpInspectionWarningsByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDhcpServerPolicyArpInspectionWarningsByDevice:getSwitchDhcpServerPolicyArpInspectionWarningsByDevice", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchDhcpV4ServersSeen.ts b/sdk/nodejs/networks/getSwitchDhcpV4ServersSeen.ts index 9089ddac..bae13d75 100644 --- a/sdk/nodejs/networks/getSwitchDhcpV4ServersSeen.ts +++ b/sdk/nodejs/networks/getSwitchDhcpV4ServersSeen.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchDhcpV4ServersSeen(args: GetSwitchDhcpV4ServersSeenArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDhcpV4ServersSeen:getSwitchDhcpV4ServersSeen", { "endingBefore": args.endingBefore, @@ -123,7 +122,15 @@ export interface GetSwitchDhcpV4ServersSeenResult { * ``` */ export function getSwitchDhcpV4ServersSeenOutput(args: GetSwitchDhcpV4ServersSeenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchDhcpV4ServersSeen(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDhcpV4ServersSeen:getSwitchDhcpV4ServersSeen", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + "t0": args.t0, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchDscpToCosMappings.ts b/sdk/nodejs/networks/getSwitchDscpToCosMappings.ts index e0a4c924..86e4b411 100644 --- a/sdk/nodejs/networks/getSwitchDscpToCosMappings.ts +++ b/sdk/nodejs/networks/getSwitchDscpToCosMappings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchDscpToCosMappings(args: GetSwitchDscpToCosMappingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDscpToCosMappings:getSwitchDscpToCosMappings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchDscpToCosMappingsResult { * ``` */ export function getSwitchDscpToCosMappingsOutput(args: GetSwitchDscpToCosMappingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchDscpToCosMappings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDscpToCosMappings:getSwitchDscpToCosMappings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchLinkAggregations.ts b/sdk/nodejs/networks/getSwitchLinkAggregations.ts index 1a59b824..6f9e98ca 100644 --- a/sdk/nodejs/networks/getSwitchLinkAggregations.ts +++ b/sdk/nodejs/networks/getSwitchLinkAggregations.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchLinkAggregations(args: GetSwitchLinkAggregationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchLinkAggregations:getSwitchLinkAggregations", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetSwitchLinkAggregationsResult { * ``` */ export function getSwitchLinkAggregationsOutput(args: GetSwitchLinkAggregationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchLinkAggregations(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchLinkAggregations:getSwitchLinkAggregations", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchMtu.ts b/sdk/nodejs/networks/getSwitchMtu.ts index 195bb4ce..ad5464b2 100644 --- a/sdk/nodejs/networks/getSwitchMtu.ts +++ b/sdk/nodejs/networks/getSwitchMtu.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchMtu(args: GetSwitchMtuArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchMtu:getSwitchMtu", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchMtuResult { * ``` */ export function getSwitchMtuOutput(args: GetSwitchMtuOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchMtu(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchMtu:getSwitchMtu", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchPortSchedules.ts b/sdk/nodejs/networks/getSwitchPortSchedules.ts index 902d4f95..90585106 100644 --- a/sdk/nodejs/networks/getSwitchPortSchedules.ts +++ b/sdk/nodejs/networks/getSwitchPortSchedules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchPortSchedules(args: GetSwitchPortSchedulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchPortSchedules:getSwitchPortSchedules", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetSwitchPortSchedulesResult { * ``` */ export function getSwitchPortSchedulesOutput(args: GetSwitchPortSchedulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchPortSchedules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchPortSchedules:getSwitchPortSchedules", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchQosRulesOrder.ts b/sdk/nodejs/networks/getSwitchQosRulesOrder.ts index df5c0277..02ac0fa0 100644 --- a/sdk/nodejs/networks/getSwitchQosRulesOrder.ts +++ b/sdk/nodejs/networks/getSwitchQosRulesOrder.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchQosRulesOrder(args?: GetSwitchQosRulesOrderArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchQosRulesOrder:getSwitchQosRulesOrder", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetSwitchQosRulesOrderResult { * ## Example Usage */ export function getSwitchQosRulesOrderOutput(args?: GetSwitchQosRulesOrderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchQosRulesOrder(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchQosRulesOrder:getSwitchQosRulesOrder", { + "networkId": args.networkId, + "qosRuleId": args.qosRuleId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchRoutingMulticast.ts b/sdk/nodejs/networks/getSwitchRoutingMulticast.ts index 277957be..7772ecd6 100644 --- a/sdk/nodejs/networks/getSwitchRoutingMulticast.ts +++ b/sdk/nodejs/networks/getSwitchRoutingMulticast.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchRoutingMulticast(args: GetSwitchRoutingMulticastArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchRoutingMulticast:getSwitchRoutingMulticast", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchRoutingMulticastResult { * ``` */ export function getSwitchRoutingMulticastOutput(args: GetSwitchRoutingMulticastOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingMulticast(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchRoutingMulticast:getSwitchRoutingMulticast", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchRoutingMulticastRendezvousPoints.ts b/sdk/nodejs/networks/getSwitchRoutingMulticastRendezvousPoints.ts index 1fa04861..eeeca9cb 100644 --- a/sdk/nodejs/networks/getSwitchRoutingMulticastRendezvousPoints.ts +++ b/sdk/nodejs/networks/getSwitchRoutingMulticastRendezvousPoints.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchRoutingMulticastRendezvousPoints(args?: GetSwitchRoutingMulticastRendezvousPointsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchRoutingMulticastRendezvousPoints:getSwitchRoutingMulticastRendezvousPoints", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetSwitchRoutingMulticastRendezvousPointsResult { * ## Example Usage */ export function getSwitchRoutingMulticastRendezvousPointsOutput(args?: GetSwitchRoutingMulticastRendezvousPointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingMulticastRendezvousPoints(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchRoutingMulticastRendezvousPoints:getSwitchRoutingMulticastRendezvousPoints", { + "networkId": args.networkId, + "rendezvousPointId": args.rendezvousPointId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchRoutingOspf.ts b/sdk/nodejs/networks/getSwitchRoutingOspf.ts index 293bfbd4..7db0a3ee 100644 --- a/sdk/nodejs/networks/getSwitchRoutingOspf.ts +++ b/sdk/nodejs/networks/getSwitchRoutingOspf.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchRoutingOspf(args: GetSwitchRoutingOspfArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchRoutingOspf:getSwitchRoutingOspf", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchRoutingOspfResult { * ``` */ export function getSwitchRoutingOspfOutput(args: GetSwitchRoutingOspfOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchRoutingOspf(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchRoutingOspf:getSwitchRoutingOspf", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchSettings.ts b/sdk/nodejs/networks/getSwitchSettings.ts index 15f50ad0..3b221aeb 100644 --- a/sdk/nodejs/networks/getSwitchSettings.ts +++ b/sdk/nodejs/networks/getSwitchSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchSettings(args: GetSwitchSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchSettings:getSwitchSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchSettingsResult { * ``` */ export function getSwitchSettingsOutput(args: GetSwitchSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchSettings:getSwitchSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStacks.ts b/sdk/nodejs/networks/getSwitchStacks.ts index 2f9c6bb4..df4079e4 100644 --- a/sdk/nodejs/networks/getSwitchStacks.ts +++ b/sdk/nodejs/networks/getSwitchStacks.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchStacks(args?: GetSwitchStacksArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStacks:getSwitchStacks", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetSwitchStacksResult { * ## Example Usage */ export function getSwitchStacksOutput(args?: GetSwitchStacksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStacks(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStacks:getSwitchStacks", { + "networkId": args.networkId, + "switchStackId": args.switchStackId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStacksRoutingInterfaces.ts b/sdk/nodejs/networks/getSwitchStacksRoutingInterfaces.ts index 7dbf96d9..d34e4823 100644 --- a/sdk/nodejs/networks/getSwitchStacksRoutingInterfaces.ts +++ b/sdk/nodejs/networks/getSwitchStacksRoutingInterfaces.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchStacksRoutingInterfaces(args?: GetSwitchStacksRoutingInterfacesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStacksRoutingInterfaces:getSwitchStacksRoutingInterfaces", { "interfaceId": args.interfaceId, @@ -68,7 +67,13 @@ export interface GetSwitchStacksRoutingInterfacesResult { * ## Example Usage */ export function getSwitchStacksRoutingInterfacesOutput(args?: GetSwitchStacksRoutingInterfacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStacksRoutingInterfaces(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStacksRoutingInterfaces:getSwitchStacksRoutingInterfaces", { + "interfaceId": args.interfaceId, + "networkId": args.networkId, + "switchStackId": args.switchStackId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStacksRoutingInterfacesDhcp.ts b/sdk/nodejs/networks/getSwitchStacksRoutingInterfacesDhcp.ts index 02dabbd2..3225852a 100644 --- a/sdk/nodejs/networks/getSwitchStacksRoutingInterfacesDhcp.ts +++ b/sdk/nodejs/networks/getSwitchStacksRoutingInterfacesDhcp.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchStacksRoutingInterfacesDhcp(args: GetSwitchStacksRoutingInterfacesDhcpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStacksRoutingInterfacesDhcp:getSwitchStacksRoutingInterfacesDhcp", { "interfaceId": args.interfaceId, @@ -87,7 +86,12 @@ export interface GetSwitchStacksRoutingInterfacesDhcpResult { * ``` */ export function getSwitchStacksRoutingInterfacesDhcpOutput(args: GetSwitchStacksRoutingInterfacesDhcpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStacksRoutingInterfacesDhcp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStacksRoutingInterfacesDhcp:getSwitchStacksRoutingInterfacesDhcp", { + "interfaceId": args.interfaceId, + "networkId": args.networkId, + "switchStackId": args.switchStackId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStacksRoutingStaticRoutes.ts b/sdk/nodejs/networks/getSwitchStacksRoutingStaticRoutes.ts index 2e99685b..929b8bb9 100644 --- a/sdk/nodejs/networks/getSwitchStacksRoutingStaticRoutes.ts +++ b/sdk/nodejs/networks/getSwitchStacksRoutingStaticRoutes.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSwitchStacksRoutingStaticRoutes(args?: GetSwitchStacksRoutingStaticRoutesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStacksRoutingStaticRoutes:getSwitchStacksRoutingStaticRoutes", { "networkId": args.networkId, @@ -68,7 +67,13 @@ export interface GetSwitchStacksRoutingStaticRoutesResult { * ## Example Usage */ export function getSwitchStacksRoutingStaticRoutesOutput(args?: GetSwitchStacksRoutingStaticRoutesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStacksRoutingStaticRoutes(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStacksRoutingStaticRoutes:getSwitchStacksRoutingStaticRoutes", { + "networkId": args.networkId, + "staticRouteId": args.staticRouteId, + "switchStackId": args.switchStackId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStormControl.ts b/sdk/nodejs/networks/getSwitchStormControl.ts index 1163683e..b791bc32 100644 --- a/sdk/nodejs/networks/getSwitchStormControl.ts +++ b/sdk/nodejs/networks/getSwitchStormControl.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchStormControl(args: GetSwitchStormControlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStormControl:getSwitchStormControl", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchStormControlResult { * ``` */ export function getSwitchStormControlOutput(args: GetSwitchStormControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStormControl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStormControl:getSwitchStormControl", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSwitchStp.ts b/sdk/nodejs/networks/getSwitchStp.ts index df6157d7..4bde7726 100644 --- a/sdk/nodejs/networks/getSwitchStp.ts +++ b/sdk/nodejs/networks/getSwitchStp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchStp(args: GetSwitchStpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchStp:getSwitchStp", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSwitchStpResult { * ``` */ export function getSwitchStpOutput(args: GetSwitchStpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchStp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSwitchStp:getSwitchStp", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getSyslogServers.ts b/sdk/nodejs/networks/getSyslogServers.ts index c017f541..f07a2718 100644 --- a/sdk/nodejs/networks/getSyslogServers.ts +++ b/sdk/nodejs/networks/getSyslogServers.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSyslogServers(args: GetSyslogServersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSyslogServers:getSyslogServers", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetSyslogServersResult { * ``` */ export function getSyslogServersOutput(args: GetSyslogServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSyslogServers(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getSyslogServers:getSyslogServers", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getTopologyLinkLayer.ts b/sdk/nodejs/networks/getTopologyLinkLayer.ts index 20cde3f4..42421bff 100644 --- a/sdk/nodejs/networks/getTopologyLinkLayer.ts +++ b/sdk/nodejs/networks/getTopologyLinkLayer.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getTopologyLinkLayer(args: GetTopologyLinkLayerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getTopologyLinkLayer:getTopologyLinkLayer", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetTopologyLinkLayerResult { * ``` */ export function getTopologyLinkLayerOutput(args: GetTopologyLinkLayerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopologyLinkLayer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getTopologyLinkLayer:getTopologyLinkLayer", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getTrafficAnalysis.ts b/sdk/nodejs/networks/getTrafficAnalysis.ts index b2dde0d8..7a65ea8e 100644 --- a/sdk/nodejs/networks/getTrafficAnalysis.ts +++ b/sdk/nodejs/networks/getTrafficAnalysis.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getTrafficAnalysis(args: GetTrafficAnalysisArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getTrafficAnalysis:getTrafficAnalysis", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetTrafficAnalysisResult { * ``` */ export function getTrafficAnalysisOutput(args: GetTrafficAnalysisOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrafficAnalysis(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getTrafficAnalysis:getTrafficAnalysis", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getTrafficShapingApplicationCategories.ts b/sdk/nodejs/networks/getTrafficShapingApplicationCategories.ts index e31d2892..abcd4d0d 100644 --- a/sdk/nodejs/networks/getTrafficShapingApplicationCategories.ts +++ b/sdk/nodejs/networks/getTrafficShapingApplicationCategories.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getTrafficShapingApplicationCategories(args: GetTrafficShapingApplicationCategoriesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getTrafficShapingApplicationCategories:getTrafficShapingApplicationCategories", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetTrafficShapingApplicationCategoriesResult { * ``` */ export function getTrafficShapingApplicationCategoriesOutput(args: GetTrafficShapingApplicationCategoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrafficShapingApplicationCategories(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getTrafficShapingApplicationCategories:getTrafficShapingApplicationCategories", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getTrafficShapingDscpTaggingOptions.ts b/sdk/nodejs/networks/getTrafficShapingDscpTaggingOptions.ts index 28e62e20..3a581ba6 100644 --- a/sdk/nodejs/networks/getTrafficShapingDscpTaggingOptions.ts +++ b/sdk/nodejs/networks/getTrafficShapingDscpTaggingOptions.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getTrafficShapingDscpTaggingOptions(args: GetTrafficShapingDscpTaggingOptionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getTrafficShapingDscpTaggingOptions:getTrafficShapingDscpTaggingOptions", { "networkId": args.networkId, @@ -68,7 +67,10 @@ export interface GetTrafficShapingDscpTaggingOptionsResult { * ``` */ export function getTrafficShapingDscpTaggingOptionsOutput(args: GetTrafficShapingDscpTaggingOptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrafficShapingDscpTaggingOptions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getTrafficShapingDscpTaggingOptions:getTrafficShapingDscpTaggingOptions", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getVlanProfiles.ts b/sdk/nodejs/networks/getVlanProfiles.ts index 2e57264b..5cd9e235 100644 --- a/sdk/nodejs/networks/getVlanProfiles.ts +++ b/sdk/nodejs/networks/getVlanProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getVlanProfiles(args: GetVlanProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getVlanProfiles:getVlanProfiles", { "iname": args.iname, @@ -76,7 +75,11 @@ export interface GetVlanProfilesResult { * ``` */ export function getVlanProfilesOutput(args: GetVlanProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVlanProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getVlanProfiles:getVlanProfiles", { + "iname": args.iname, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getVlanProfilesAssignmentsByDevice.ts b/sdk/nodejs/networks/getVlanProfilesAssignmentsByDevice.ts index 02d0284b..0a52ab64 100644 --- a/sdk/nodejs/networks/getVlanProfilesAssignmentsByDevice.ts +++ b/sdk/nodejs/networks/getVlanProfilesAssignmentsByDevice.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getVlanProfilesAssignmentsByDevice(args: GetVlanProfilesAssignmentsByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getVlanProfilesAssignmentsByDevice:getVlanProfilesAssignmentsByDevice", { "endingBefore": args.endingBefore, @@ -134,7 +133,16 @@ export interface GetVlanProfilesAssignmentsByDeviceResult { * ``` */ export function getVlanProfilesAssignmentsByDeviceOutput(args: GetVlanProfilesAssignmentsByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVlanProfilesAssignmentsByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getVlanProfilesAssignmentsByDevice:getVlanProfilesAssignmentsByDevice", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "stackIds": args.stackIds, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWebhooksHttpServers.ts b/sdk/nodejs/networks/getWebhooksHttpServers.ts index 0b6414ce..aa2cb9e4 100644 --- a/sdk/nodejs/networks/getWebhooksHttpServers.ts +++ b/sdk/nodejs/networks/getWebhooksHttpServers.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getWebhooksHttpServers(args?: GetWebhooksHttpServersArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWebhooksHttpServers:getWebhooksHttpServers", { "httpServerId": args.httpServerId, @@ -59,7 +58,12 @@ export interface GetWebhooksHttpServersResult { * ## Example Usage */ export function getWebhooksHttpServersOutput(args?: GetWebhooksHttpServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebhooksHttpServers(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWebhooksHttpServers:getWebhooksHttpServers", { + "httpServerId": args.httpServerId, + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWebhooksPayloadTemplates.ts b/sdk/nodejs/networks/getWebhooksPayloadTemplates.ts index db922e40..3663f167 100644 --- a/sdk/nodejs/networks/getWebhooksPayloadTemplates.ts +++ b/sdk/nodejs/networks/getWebhooksPayloadTemplates.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getWebhooksPayloadTemplates(args?: GetWebhooksPayloadTemplatesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWebhooksPayloadTemplates:getWebhooksPayloadTemplates", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetWebhooksPayloadTemplatesResult { * ## Example Usage */ export function getWebhooksPayloadTemplatesOutput(args?: GetWebhooksPayloadTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebhooksPayloadTemplates(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWebhooksPayloadTemplates:getWebhooksPayloadTemplates", { + "networkId": args.networkId, + "payloadTemplateId": args.payloadTemplateId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWebhooksWebhookTests.ts b/sdk/nodejs/networks/getWebhooksWebhookTests.ts index 69e031f7..9bfb3cd5 100644 --- a/sdk/nodejs/networks/getWebhooksWebhookTests.ts +++ b/sdk/nodejs/networks/getWebhooksWebhookTests.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWebhooksWebhookTests(args: GetWebhooksWebhookTestsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWebhooksWebhookTests:getWebhooksWebhookTests", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWebhooksWebhookTestsResult { * ``` */ export function getWebhooksWebhookTestsOutput(args: GetWebhooksWebhookTestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebhooksWebhookTests(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWebhooksWebhookTests:getWebhooksWebhookTests", { + "networkId": args.networkId, + "webhookTestId": args.webhookTestId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessAlternateManagementInterface.ts b/sdk/nodejs/networks/getWirelessAlternateManagementInterface.ts index 61ba1424..a641b2b2 100644 --- a/sdk/nodejs/networks/getWirelessAlternateManagementInterface.ts +++ b/sdk/nodejs/networks/getWirelessAlternateManagementInterface.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessAlternateManagementInterface(args: GetWirelessAlternateManagementInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessAlternateManagementInterface:getWirelessAlternateManagementInterface", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetWirelessAlternateManagementInterfaceResult { * ``` */ export function getWirelessAlternateManagementInterfaceOutput(args: GetWirelessAlternateManagementInterfaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessAlternateManagementInterface(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessAlternateManagementInterface:getWirelessAlternateManagementInterface", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessBilling.ts b/sdk/nodejs/networks/getWirelessBilling.ts index 869969b0..3368040b 100644 --- a/sdk/nodejs/networks/getWirelessBilling.ts +++ b/sdk/nodejs/networks/getWirelessBilling.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessBilling(args: GetWirelessBillingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessBilling:getWirelessBilling", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetWirelessBillingResult { * ``` */ export function getWirelessBillingOutput(args: GetWirelessBillingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessBilling(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessBilling:getWirelessBilling", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessBluetoothSettings.ts b/sdk/nodejs/networks/getWirelessBluetoothSettings.ts index 41c9d4f0..0043b6e4 100644 --- a/sdk/nodejs/networks/getWirelessBluetoothSettings.ts +++ b/sdk/nodejs/networks/getWirelessBluetoothSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessBluetoothSettings(args: GetWirelessBluetoothSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessBluetoothSettings:getWirelessBluetoothSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetWirelessBluetoothSettingsResult { * ``` */ export function getWirelessBluetoothSettingsOutput(args: GetWirelessBluetoothSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessBluetoothSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessBluetoothSettings:getWirelessBluetoothSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessChannelUtilizationHistory.ts b/sdk/nodejs/networks/getWirelessChannelUtilizationHistory.ts index 8c250a9f..9f7c6873 100644 --- a/sdk/nodejs/networks/getWirelessChannelUtilizationHistory.ts +++ b/sdk/nodejs/networks/getWirelessChannelUtilizationHistory.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessChannelUtilizationHistory(args: GetWirelessChannelUtilizationHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessChannelUtilizationHistory:getWirelessChannelUtilizationHistory", { "apTag": args.apTag, @@ -167,7 +166,19 @@ export interface GetWirelessChannelUtilizationHistoryResult { * ``` */ export function getWirelessChannelUtilizationHistoryOutput(args: GetWirelessChannelUtilizationHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessChannelUtilizationHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessChannelUtilizationHistory:getWirelessChannelUtilizationHistory", { + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessClientCountHistory.ts b/sdk/nodejs/networks/getWirelessClientCountHistory.ts index 55fa7db7..05b691ac 100644 --- a/sdk/nodejs/networks/getWirelessClientCountHistory.ts +++ b/sdk/nodejs/networks/getWirelessClientCountHistory.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessClientCountHistory(args: GetWirelessClientCountHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessClientCountHistory:getWirelessClientCountHistory", { "apTag": args.apTag, @@ -178,7 +177,20 @@ export interface GetWirelessClientCountHistoryResult { * ``` */ export function getWirelessClientCountHistoryOutput(args: GetWirelessClientCountHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessClientCountHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessClientCountHistory:getWirelessClientCountHistory", { + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessClientsConnectionStats.ts b/sdk/nodejs/networks/getWirelessClientsConnectionStats.ts index 5f8600c1..981bcb58 100644 --- a/sdk/nodejs/networks/getWirelessClientsConnectionStats.ts +++ b/sdk/nodejs/networks/getWirelessClientsConnectionStats.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessClientsConnectionStats(args: GetWirelessClientsConnectionStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessClientsConnectionStats:getWirelessClientsConnectionStats", { "apTag": args.apTag, @@ -153,7 +152,18 @@ export interface GetWirelessClientsConnectionStatsResult { * ``` */ export function getWirelessClientsConnectionStatsOutput(args: GetWirelessClientsConnectionStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessClientsConnectionStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessClientsConnectionStats:getWirelessClientsConnectionStats", { + "apTag": args.apTag, + "band": args.band, + "clientId": args.clientId, + "networkId": args.networkId, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessClientsLatencyStats.ts b/sdk/nodejs/networks/getWirelessClientsLatencyStats.ts index d272d92d..c587c952 100644 --- a/sdk/nodejs/networks/getWirelessClientsLatencyStats.ts +++ b/sdk/nodejs/networks/getWirelessClientsLatencyStats.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessClientsLatencyStats(args: GetWirelessClientsLatencyStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessClientsLatencyStats:getWirelessClientsLatencyStats", { "apTag": args.apTag, @@ -164,7 +163,19 @@ export interface GetWirelessClientsLatencyStatsResult { * ``` */ export function getWirelessClientsLatencyStatsOutput(args: GetWirelessClientsLatencyStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessClientsLatencyStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessClientsLatencyStats:getWirelessClientsLatencyStats", { + "apTag": args.apTag, + "band": args.band, + "clientId": args.clientId, + "fields": args.fields, + "networkId": args.networkId, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessConnectionStats.ts b/sdk/nodejs/networks/getWirelessConnectionStats.ts index 556c660a..f9d70239 100644 --- a/sdk/nodejs/networks/getWirelessConnectionStats.ts +++ b/sdk/nodejs/networks/getWirelessConnectionStats.ts @@ -27,7 +27,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessConnectionStats(args: GetWirelessConnectionStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessConnectionStats:getWirelessConnectionStats", { "apTag": args.apTag, @@ -142,7 +141,17 @@ export interface GetWirelessConnectionStatsResult { * ``` */ export function getWirelessConnectionStatsOutput(args: GetWirelessConnectionStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessConnectionStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessConnectionStats:getWirelessConnectionStats", { + "apTag": args.apTag, + "band": args.band, + "networkId": args.networkId, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessDataRateHistory.ts b/sdk/nodejs/networks/getWirelessDataRateHistory.ts index 8e826a6d..b194333e 100644 --- a/sdk/nodejs/networks/getWirelessDataRateHistory.ts +++ b/sdk/nodejs/networks/getWirelessDataRateHistory.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDataRateHistory(args: GetWirelessDataRateHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessDataRateHistory:getWirelessDataRateHistory", { "apTag": args.apTag, @@ -178,7 +177,20 @@ export interface GetWirelessDataRateHistoryResult { * ``` */ export function getWirelessDataRateHistoryOutput(args: GetWirelessDataRateHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDataRateHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessDataRateHistory:getWirelessDataRateHistory", { + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessDevicesConnectionStats.ts b/sdk/nodejs/networks/getWirelessDevicesConnectionStats.ts index 4cb6c6b0..52215555 100644 --- a/sdk/nodejs/networks/getWirelessDevicesConnectionStats.ts +++ b/sdk/nodejs/networks/getWirelessDevicesConnectionStats.ts @@ -27,7 +27,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesConnectionStats(args: GetWirelessDevicesConnectionStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessDevicesConnectionStats:getWirelessDevicesConnectionStats", { "apTag": args.apTag, @@ -145,7 +144,17 @@ export interface GetWirelessDevicesConnectionStatsResult { * ``` */ export function getWirelessDevicesConnectionStatsOutput(args: GetWirelessDevicesConnectionStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesConnectionStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessDevicesConnectionStats:getWirelessDevicesConnectionStats", { + "apTag": args.apTag, + "band": args.band, + "networkId": args.networkId, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessEthernetPortsProfiles.ts b/sdk/nodejs/networks/getWirelessEthernetPortsProfiles.ts index 701b7865..36bf1c01 100644 --- a/sdk/nodejs/networks/getWirelessEthernetPortsProfiles.ts +++ b/sdk/nodejs/networks/getWirelessEthernetPortsProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessEthernetPortsProfiles(args: GetWirelessEthernetPortsProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessEthernetPortsProfiles:getWirelessEthernetPortsProfiles", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessEthernetPortsProfilesResult { * ``` */ export function getWirelessEthernetPortsProfilesOutput(args: GetWirelessEthernetPortsProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessEthernetPortsProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessEthernetPortsProfiles:getWirelessEthernetPortsProfiles", { + "networkId": args.networkId, + "profileId": args.profileId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessFailedConnections.ts b/sdk/nodejs/networks/getWirelessFailedConnections.ts index abd89dcc..8e36f679 100644 --- a/sdk/nodejs/networks/getWirelessFailedConnections.ts +++ b/sdk/nodejs/networks/getWirelessFailedConnections.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessFailedConnections(args: GetWirelessFailedConnectionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessFailedConnections:getWirelessFailedConnections", { "apTag": args.apTag, @@ -167,7 +166,19 @@ export interface GetWirelessFailedConnectionsResult { * ``` */ export function getWirelessFailedConnectionsOutput(args: GetWirelessFailedConnectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessFailedConnections(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessFailedConnections:getWirelessFailedConnections", { + "apTag": args.apTag, + "band": args.band, + "clientId": args.clientId, + "networkId": args.networkId, + "serial": args.serial, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessLatencyHistory.ts b/sdk/nodejs/networks/getWirelessLatencyHistory.ts index c4c5deda..853092f4 100644 --- a/sdk/nodejs/networks/getWirelessLatencyHistory.ts +++ b/sdk/nodejs/networks/getWirelessLatencyHistory.ts @@ -31,7 +31,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessLatencyHistory(args: GetWirelessLatencyHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessLatencyHistory:getWirelessLatencyHistory", { "accessCategory": args.accessCategory, @@ -189,7 +188,21 @@ export interface GetWirelessLatencyHistoryResult { * ``` */ export function getWirelessLatencyHistoryOutput(args: GetWirelessLatencyHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessLatencyHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessLatencyHistory:getWirelessLatencyHistory", { + "accessCategory": args.accessCategory, + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessLatencyStats.ts b/sdk/nodejs/networks/getWirelessLatencyStats.ts index 1d4e3635..1cffd335 100644 --- a/sdk/nodejs/networks/getWirelessLatencyStats.ts +++ b/sdk/nodejs/networks/getWirelessLatencyStats.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessLatencyStats(args: GetWirelessLatencyStatsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessLatencyStats:getWirelessLatencyStats", { "apTag": args.apTag, @@ -153,7 +152,18 @@ export interface GetWirelessLatencyStatsResult { * ``` */ export function getWirelessLatencyStatsOutput(args: GetWirelessLatencyStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessLatencyStats(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessLatencyStats:getWirelessLatencyStats", { + "apTag": args.apTag, + "band": args.band, + "fields": args.fields, + "networkId": args.networkId, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "vlan": args.vlan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessMeshStatuses.ts b/sdk/nodejs/networks/getWirelessMeshStatuses.ts index 026964d4..7b3f3d61 100644 --- a/sdk/nodejs/networks/getWirelessMeshStatuses.ts +++ b/sdk/nodejs/networks/getWirelessMeshStatuses.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessMeshStatuses(args: GetWirelessMeshStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessMeshStatuses:getWirelessMeshStatuses", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetWirelessMeshStatusesResult { * ``` */ export function getWirelessMeshStatusesOutput(args: GetWirelessMeshStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessMeshStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessMeshStatuses:getWirelessMeshStatuses", { + "endingBefore": args.endingBefore, + "networkId": args.networkId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessRfProfiles.ts b/sdk/nodejs/networks/getWirelessRfProfiles.ts index a09fe39c..7d26bb40 100644 --- a/sdk/nodejs/networks/getWirelessRfProfiles.ts +++ b/sdk/nodejs/networks/getWirelessRfProfiles.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; */ export function getWirelessRfProfiles(args?: GetWirelessRfProfilesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessRfProfiles:getWirelessRfProfiles", { "includeTemplateProfiles": args.includeTemplateProfiles, @@ -86,7 +85,13 @@ export interface GetWirelessRfProfilesResult { * ``` */ export function getWirelessRfProfilesOutput(args?: GetWirelessRfProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessRfProfiles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessRfProfiles:getWirelessRfProfiles", { + "includeTemplateProfiles": args.includeTemplateProfiles, + "networkId": args.networkId, + "rfProfileId": args.rfProfileId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSettings.ts b/sdk/nodejs/networks/getWirelessSettings.ts index 09336e8c..e61d6f3d 100644 --- a/sdk/nodejs/networks/getWirelessSettings.ts +++ b/sdk/nodejs/networks/getWirelessSettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSettings(args: GetWirelessSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSettings:getWirelessSettings", { "networkId": args.networkId, @@ -65,7 +64,10 @@ export interface GetWirelessSettingsResult { * ``` */ export function getWirelessSettingsOutput(args: GetWirelessSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSettings:getWirelessSettings", { + "networkId": args.networkId, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSignalQualityHistory.ts b/sdk/nodejs/networks/getWirelessSignalQualityHistory.ts index 70d0f272..c6a60caa 100644 --- a/sdk/nodejs/networks/getWirelessSignalQualityHistory.ts +++ b/sdk/nodejs/networks/getWirelessSignalQualityHistory.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSignalQualityHistory(args: GetWirelessSignalQualityHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSignalQualityHistory:getWirelessSignalQualityHistory", { "apTag": args.apTag, @@ -178,7 +177,20 @@ export interface GetWirelessSignalQualityHistoryResult { * ``` */ export function getWirelessSignalQualityHistoryOutput(args: GetWirelessSignalQualityHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSignalQualityHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSignalQualityHistory:getWirelessSignalQualityHistory", { + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsids.ts b/sdk/nodejs/networks/getWirelessSsids.ts index 99f588f6..a6c3b60e 100644 --- a/sdk/nodejs/networks/getWirelessSsids.ts +++ b/sdk/nodejs/networks/getWirelessSsids.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getWirelessSsids(args?: GetWirelessSsidsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsids:getWirelessSsids", { "networkId": args.networkId, @@ -59,7 +58,12 @@ export interface GetWirelessSsidsResult { * ## Example Usage */ export function getWirelessSsidsOutput(args?: GetWirelessSsidsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsids(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsids:getWirelessSsids", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsBonjourForwarding.ts b/sdk/nodejs/networks/getWirelessSsidsBonjourForwarding.ts index 6c9281e5..f4ab64cc 100644 --- a/sdk/nodejs/networks/getWirelessSsidsBonjourForwarding.ts +++ b/sdk/nodejs/networks/getWirelessSsidsBonjourForwarding.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsBonjourForwarding(args: GetWirelessSsidsBonjourForwardingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsBonjourForwarding:getWirelessSsidsBonjourForwarding", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsBonjourForwardingResult { * ``` */ export function getWirelessSsidsBonjourForwardingOutput(args: GetWirelessSsidsBonjourForwardingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsBonjourForwarding(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsBonjourForwarding:getWirelessSsidsBonjourForwarding", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsDeviceTypeGroupPolicies.ts b/sdk/nodejs/networks/getWirelessSsidsDeviceTypeGroupPolicies.ts index 70578888..053f8c7e 100644 --- a/sdk/nodejs/networks/getWirelessSsidsDeviceTypeGroupPolicies.ts +++ b/sdk/nodejs/networks/getWirelessSsidsDeviceTypeGroupPolicies.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsDeviceTypeGroupPolicies(args: GetWirelessSsidsDeviceTypeGroupPoliciesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsDeviceTypeGroupPolicies:getWirelessSsidsDeviceTypeGroupPolicies", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsDeviceTypeGroupPoliciesResult { * ``` */ export function getWirelessSsidsDeviceTypeGroupPoliciesOutput(args: GetWirelessSsidsDeviceTypeGroupPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsDeviceTypeGroupPolicies(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsDeviceTypeGroupPolicies:getWirelessSsidsDeviceTypeGroupPolicies", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsEapOverride.ts b/sdk/nodejs/networks/getWirelessSsidsEapOverride.ts index 80645aa5..dd191692 100644 --- a/sdk/nodejs/networks/getWirelessSsidsEapOverride.ts +++ b/sdk/nodejs/networks/getWirelessSsidsEapOverride.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsEapOverride(args: GetWirelessSsidsEapOverrideArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsEapOverride:getWirelessSsidsEapOverride", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsEapOverrideResult { * ``` */ export function getWirelessSsidsEapOverrideOutput(args: GetWirelessSsidsEapOverrideOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsEapOverride(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsEapOverride:getWirelessSsidsEapOverride", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsFirewallL3FirewallRules.ts b/sdk/nodejs/networks/getWirelessSsidsFirewallL3FirewallRules.ts index c2d6f751..73774d92 100644 --- a/sdk/nodejs/networks/getWirelessSsidsFirewallL3FirewallRules.ts +++ b/sdk/nodejs/networks/getWirelessSsidsFirewallL3FirewallRules.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsFirewallL3FirewallRules(args: GetWirelessSsidsFirewallL3FirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsFirewallL3FirewallRules:getWirelessSsidsFirewallL3FirewallRules", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsFirewallL3FirewallRulesResult { * ``` */ export function getWirelessSsidsFirewallL3FirewallRulesOutput(args: GetWirelessSsidsFirewallL3FirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsFirewallL3FirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsFirewallL3FirewallRules:getWirelessSsidsFirewallL3FirewallRules", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsFirewallL7FirewallRules.ts b/sdk/nodejs/networks/getWirelessSsidsFirewallL7FirewallRules.ts index 33b36a01..5bdb6c47 100644 --- a/sdk/nodejs/networks/getWirelessSsidsFirewallL7FirewallRules.ts +++ b/sdk/nodejs/networks/getWirelessSsidsFirewallL7FirewallRules.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsFirewallL7FirewallRules(args: GetWirelessSsidsFirewallL7FirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsFirewallL7FirewallRules:getWirelessSsidsFirewallL7FirewallRules", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsFirewallL7FirewallRulesResult { * ``` */ export function getWirelessSsidsFirewallL7FirewallRulesOutput(args: GetWirelessSsidsFirewallL7FirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsFirewallL7FirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsFirewallL7FirewallRules:getWirelessSsidsFirewallL7FirewallRules", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsHotspot20.ts b/sdk/nodejs/networks/getWirelessSsidsHotspot20.ts index e63b2ad0..f4d92111 100644 --- a/sdk/nodejs/networks/getWirelessSsidsHotspot20.ts +++ b/sdk/nodejs/networks/getWirelessSsidsHotspot20.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsHotspot20(args: GetWirelessSsidsHotspot20Args, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsHotspot20:getWirelessSsidsHotspot20", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsHotspot20Result { * ``` */ export function getWirelessSsidsHotspot20Output(args: GetWirelessSsidsHotspot20OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsHotspot20(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsHotspot20:getWirelessSsidsHotspot20", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsIdentityPsks.ts b/sdk/nodejs/networks/getWirelessSsidsIdentityPsks.ts index 73c7cfc8..35dc8511 100644 --- a/sdk/nodejs/networks/getWirelessSsidsIdentityPsks.ts +++ b/sdk/nodejs/networks/getWirelessSsidsIdentityPsks.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getWirelessSsidsIdentityPsks(args?: GetWirelessSsidsIdentityPsksArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsIdentityPsks:getWirelessSsidsIdentityPsks", { "identityPskId": args.identityPskId, @@ -68,7 +67,13 @@ export interface GetWirelessSsidsIdentityPsksResult { * ## Example Usage */ export function getWirelessSsidsIdentityPsksOutput(args?: GetWirelessSsidsIdentityPsksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsIdentityPsks(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsIdentityPsks:getWirelessSsidsIdentityPsks", { + "identityPskId": args.identityPskId, + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsSchedules.ts b/sdk/nodejs/networks/getWirelessSsidsSchedules.ts index fb14eac8..db283e9a 100644 --- a/sdk/nodejs/networks/getWirelessSsidsSchedules.ts +++ b/sdk/nodejs/networks/getWirelessSsidsSchedules.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsSchedules(args: GetWirelessSsidsSchedulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsSchedules:getWirelessSsidsSchedules", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsSchedulesResult { * ``` */ export function getWirelessSsidsSchedulesOutput(args: GetWirelessSsidsSchedulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsSchedules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsSchedules:getWirelessSsidsSchedules", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsSplashSettings.ts b/sdk/nodejs/networks/getWirelessSsidsSplashSettings.ts index 8e6d0a7d..d52e5599 100644 --- a/sdk/nodejs/networks/getWirelessSsidsSplashSettings.ts +++ b/sdk/nodejs/networks/getWirelessSsidsSplashSettings.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsSplashSettings(args: GetWirelessSsidsSplashSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsSplashSettings:getWirelessSsidsSplashSettings", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsSplashSettingsResult { * ``` */ export function getWirelessSsidsSplashSettingsOutput(args: GetWirelessSsidsSplashSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsSplashSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsSplashSettings:getWirelessSsidsSplashSettings", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsTrafficShapingRules.ts b/sdk/nodejs/networks/getWirelessSsidsTrafficShapingRules.ts index 971da946..e7f20bbf 100644 --- a/sdk/nodejs/networks/getWirelessSsidsTrafficShapingRules.ts +++ b/sdk/nodejs/networks/getWirelessSsidsTrafficShapingRules.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsTrafficShapingRules(args: GetWirelessSsidsTrafficShapingRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsTrafficShapingRules:getWirelessSsidsTrafficShapingRules", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsTrafficShapingRulesResult { * ``` */ export function getWirelessSsidsTrafficShapingRulesOutput(args: GetWirelessSsidsTrafficShapingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsTrafficShapingRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsTrafficShapingRules:getWirelessSsidsTrafficShapingRules", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessSsidsVpn.ts b/sdk/nodejs/networks/getWirelessSsidsVpn.ts index 6708a4bb..0c539335 100644 --- a/sdk/nodejs/networks/getWirelessSsidsVpn.ts +++ b/sdk/nodejs/networks/getWirelessSsidsVpn.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessSsidsVpn(args: GetWirelessSsidsVpnArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessSsidsVpn:getWirelessSsidsVpn", { "networkId": args.networkId, @@ -76,7 +75,11 @@ export interface GetWirelessSsidsVpnResult { * ``` */ export function getWirelessSsidsVpnOutput(args: GetWirelessSsidsVpnOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessSsidsVpn(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessSsidsVpn:getWirelessSsidsVpn", { + "networkId": args.networkId, + "number": args.number, + }, opts); } /** diff --git a/sdk/nodejs/networks/getWirelessUsageHistory.ts b/sdk/nodejs/networks/getWirelessUsageHistory.ts index 50b9a037..eedd8b73 100644 --- a/sdk/nodejs/networks/getWirelessUsageHistory.ts +++ b/sdk/nodejs/networks/getWirelessUsageHistory.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessUsageHistory(args: GetWirelessUsageHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getWirelessUsageHistory:getWirelessUsageHistory", { "apTag": args.apTag, @@ -178,7 +177,20 @@ export interface GetWirelessUsageHistoryResult { * ``` */ export function getWirelessUsageHistoryOutput(args: GetWirelessUsageHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessUsageHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:networks/getWirelessUsageHistory:getWirelessUsageHistory", { + "apTag": args.apTag, + "autoResolution": args.autoResolution, + "band": args.band, + "clientId": args.clientId, + "deviceSerial": args.deviceSerial, + "networkId": args.networkId, + "resolution": args.resolution, + "ssid": args.ssid, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getActionBatches.ts b/sdk/nodejs/organizations/getActionBatches.ts index 1a4efa6a..fbaed47d 100644 --- a/sdk/nodejs/organizations/getActionBatches.ts +++ b/sdk/nodejs/organizations/getActionBatches.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getActionBatches(args?: GetActionBatchesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getActionBatches:getActionBatches", { "actionBatchId": args.actionBatchId, @@ -68,7 +67,13 @@ export interface GetActionBatchesResult { * ## Example Usage */ export function getActionBatchesOutput(args?: GetActionBatchesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getActionBatches(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getActionBatches:getActionBatches", { + "actionBatchId": args.actionBatchId, + "organizationId": args.organizationId, + "status": args.status, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdaptivePolicyAcls.ts b/sdk/nodejs/organizations/getAdaptivePolicyAcls.ts index d0a8be73..efc557cc 100644 --- a/sdk/nodejs/organizations/getAdaptivePolicyAcls.ts +++ b/sdk/nodejs/organizations/getAdaptivePolicyAcls.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getAdaptivePolicyAcls(args?: GetAdaptivePolicyAclsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdaptivePolicyAcls:getAdaptivePolicyAcls", { "aclId": args.aclId, @@ -59,7 +58,12 @@ export interface GetAdaptivePolicyAclsResult { * ## Example Usage */ export function getAdaptivePolicyAclsOutput(args?: GetAdaptivePolicyAclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdaptivePolicyAcls(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdaptivePolicyAcls:getAdaptivePolicyAcls", { + "aclId": args.aclId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdaptivePolicyGroups.ts b/sdk/nodejs/organizations/getAdaptivePolicyGroups.ts index 490ffc0f..6abf5c1d 100644 --- a/sdk/nodejs/organizations/getAdaptivePolicyGroups.ts +++ b/sdk/nodejs/organizations/getAdaptivePolicyGroups.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getAdaptivePolicyGroups(args?: GetAdaptivePolicyGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdaptivePolicyGroups:getAdaptivePolicyGroups", { "id": args.id, @@ -55,7 +54,12 @@ export interface GetAdaptivePolicyGroupsResult { * ## Example Usage */ export function getAdaptivePolicyGroupsOutput(args?: GetAdaptivePolicyGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdaptivePolicyGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdaptivePolicyGroups:getAdaptivePolicyGroups", { + "id": args.id, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdaptivePolicyOverview.ts b/sdk/nodejs/organizations/getAdaptivePolicyOverview.ts index 7bfb1265..41c81649 100644 --- a/sdk/nodejs/organizations/getAdaptivePolicyOverview.ts +++ b/sdk/nodejs/organizations/getAdaptivePolicyOverview.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAdaptivePolicyOverview(args: GetAdaptivePolicyOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdaptivePolicyOverview:getAdaptivePolicyOverview", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetAdaptivePolicyOverviewResult { * ``` */ export function getAdaptivePolicyOverviewOutput(args: GetAdaptivePolicyOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdaptivePolicyOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdaptivePolicyOverview:getAdaptivePolicyOverview", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdaptivePolicyPolicies.ts b/sdk/nodejs/organizations/getAdaptivePolicyPolicies.ts index 84949784..1d133012 100644 --- a/sdk/nodejs/organizations/getAdaptivePolicyPolicies.ts +++ b/sdk/nodejs/organizations/getAdaptivePolicyPolicies.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getAdaptivePolicyPolicies(args?: GetAdaptivePolicyPoliciesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdaptivePolicyPolicies:getAdaptivePolicyPolicies", { "id": args.id, @@ -55,7 +54,12 @@ export interface GetAdaptivePolicyPoliciesResult { * ## Example Usage */ export function getAdaptivePolicyPoliciesOutput(args?: GetAdaptivePolicyPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdaptivePolicyPolicies(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdaptivePolicyPolicies:getAdaptivePolicyPolicies", { + "id": args.id, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdaptivePolicySettings.ts b/sdk/nodejs/organizations/getAdaptivePolicySettings.ts index 903adbb3..87b72e2d 100644 --- a/sdk/nodejs/organizations/getAdaptivePolicySettings.ts +++ b/sdk/nodejs/organizations/getAdaptivePolicySettings.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAdaptivePolicySettings(args: GetAdaptivePolicySettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdaptivePolicySettings:getAdaptivePolicySettings", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetAdaptivePolicySettingsResult { * ``` */ export function getAdaptivePolicySettingsOutput(args: GetAdaptivePolicySettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdaptivePolicySettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdaptivePolicySettings:getAdaptivePolicySettings", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAdmins.ts b/sdk/nodejs/organizations/getAdmins.ts index a5b76ab0..487b1fde 100644 --- a/sdk/nodejs/organizations/getAdmins.ts +++ b/sdk/nodejs/organizations/getAdmins.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAdmins(args: GetAdminsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAdmins:getAdmins", { "organizationId": args.organizationId, @@ -68,7 +67,10 @@ export interface GetAdminsResult { * ``` */ export function getAdminsOutput(args: GetAdminsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAdmins(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAdmins:getAdmins", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getAlertsProfiles.ts b/sdk/nodejs/organizations/getAlertsProfiles.ts index c0cab55c..38190d5e 100644 --- a/sdk/nodejs/organizations/getAlertsProfiles.ts +++ b/sdk/nodejs/organizations/getAlertsProfiles.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getAlertsProfiles(args: GetAlertsProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getAlertsProfiles:getAlertsProfiles", { "organizationId": args.organizationId, @@ -68,7 +67,10 @@ export interface GetAlertsProfilesResult { * ``` */ export function getAlertsProfilesOutput(args: GetAlertsProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlertsProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getAlertsProfiles:getAlertsProfiles", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApiRequests.ts b/sdk/nodejs/organizations/getApiRequests.ts index 3f6b7690..853bc3da 100644 --- a/sdk/nodejs/organizations/getApiRequests.ts +++ b/sdk/nodejs/organizations/getApiRequests.ts @@ -34,7 +34,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApiRequests(args: GetApiRequestsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApiRequests:getApiRequests", { "adminId": args.adminId, @@ -222,7 +221,24 @@ export interface GetApiRequestsResult { * ``` */ export function getApiRequestsOutput(args: GetApiRequestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiRequests(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApiRequests:getApiRequests", { + "adminId": args.adminId, + "endingBefore": args.endingBefore, + "method": args.method, + "operationIds": args.operationIds, + "organizationId": args.organizationId, + "path": args.path, + "perPage": args.perPage, + "responseCode": args.responseCode, + "sourceIp": args.sourceIp, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "userAgent": args.userAgent, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApiRequestsOverview.ts b/sdk/nodejs/organizations/getApiRequestsOverview.ts index cbe92799..cb8b879b 100644 --- a/sdk/nodejs/organizations/getApiRequestsOverview.ts +++ b/sdk/nodejs/organizations/getApiRequestsOverview.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApiRequestsOverview(args: GetApiRequestsOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApiRequestsOverview:getApiRequestsOverview", { "organizationId": args.organizationId, @@ -98,7 +97,13 @@ export interface GetApiRequestsOverviewResult { * ``` */ export function getApiRequestsOverviewOutput(args: GetApiRequestsOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiRequestsOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApiRequestsOverview:getApiRequestsOverview", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApiRequestsOverviewResponseCodesByInterval.ts b/sdk/nodejs/organizations/getApiRequestsOverviewResponseCodesByInterval.ts index a1776b8e..ec30caaf 100644 --- a/sdk/nodejs/organizations/getApiRequestsOverviewResponseCodesByInterval.ts +++ b/sdk/nodejs/organizations/getApiRequestsOverviewResponseCodesByInterval.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApiRequestsOverviewResponseCodesByInterval(args: GetApiRequestsOverviewResponseCodesByIntervalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApiRequestsOverviewResponseCodesByInterval:getApiRequestsOverviewResponseCodesByInterval", { "adminIds": args.adminIds, @@ -167,7 +166,19 @@ export interface GetApiRequestsOverviewResponseCodesByIntervalResult { * ``` */ export function getApiRequestsOverviewResponseCodesByIntervalOutput(args: GetApiRequestsOverviewResponseCodesByIntervalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiRequestsOverviewResponseCodesByInterval(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApiRequestsOverviewResponseCodesByInterval:getApiRequestsOverviewResponseCodesByInterval", { + "adminIds": args.adminIds, + "interval": args.interval, + "operationIds": args.operationIds, + "organizationId": args.organizationId, + "sourceIps": args.sourceIps, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "userAgent": args.userAgent, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceSecurityIntrusion.ts b/sdk/nodejs/organizations/getApplianceSecurityIntrusion.ts index 4711fc31..3608598d 100644 --- a/sdk/nodejs/organizations/getApplianceSecurityIntrusion.ts +++ b/sdk/nodejs/organizations/getApplianceSecurityIntrusion.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceSecurityIntrusion(args: GetApplianceSecurityIntrusionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetApplianceSecurityIntrusionResult { * ``` */ export function getApplianceSecurityIntrusionOutput(args: GetApplianceSecurityIntrusionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceSecurityIntrusion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceSecurityIntrusion:getApplianceSecurityIntrusion", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.ts b/sdk/nodejs/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.ts index 59daa8e6..9479c45a 100644 --- a/sdk/nodejs/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.ts +++ b/sdk/nodejs/organizations/getApplianceTrafficShapingVpnExclusionsByNetwork.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceTrafficShapingVpnExclusionsByNetwork(args: GetApplianceTrafficShapingVpnExclusionsByNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceTrafficShapingVpnExclusionsByNetwork:getApplianceTrafficShapingVpnExclusionsByNetwork", { "endingBefore": args.endingBefore, @@ -109,7 +108,14 @@ export interface GetApplianceTrafficShapingVpnExclusionsByNetworkResult { * ``` */ export function getApplianceTrafficShapingVpnExclusionsByNetworkOutput(args: GetApplianceTrafficShapingVpnExclusionsByNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceTrafficShapingVpnExclusionsByNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceTrafficShapingVpnExclusionsByNetwork:getApplianceTrafficShapingVpnExclusionsByNetwork", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceUplinksStatusesOverview.ts b/sdk/nodejs/organizations/getApplianceUplinksStatusesOverview.ts index 230e516a..7d1a6235 100644 --- a/sdk/nodejs/organizations/getApplianceUplinksStatusesOverview.ts +++ b/sdk/nodejs/organizations/getApplianceUplinksStatusesOverview.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceUplinksStatusesOverview(args: GetApplianceUplinksStatusesOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceUplinksStatusesOverview:getApplianceUplinksStatusesOverview", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetApplianceUplinksStatusesOverviewResult { * ``` */ export function getApplianceUplinksStatusesOverviewOutput(args: GetApplianceUplinksStatusesOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceUplinksStatusesOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceUplinksStatusesOverview:getApplianceUplinksStatusesOverview", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceUplinksUsageByNetwork.ts b/sdk/nodejs/organizations/getApplianceUplinksUsageByNetwork.ts index 193debff..f9398f05 100644 --- a/sdk/nodejs/organizations/getApplianceUplinksUsageByNetwork.ts +++ b/sdk/nodejs/organizations/getApplianceUplinksUsageByNetwork.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceUplinksUsageByNetwork(args: GetApplianceUplinksUsageByNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceUplinksUsageByNetwork:getApplianceUplinksUsageByNetwork", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetApplianceUplinksUsageByNetworkResult { * ``` */ export function getApplianceUplinksUsageByNetworkOutput(args: GetApplianceUplinksUsageByNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceUplinksUsageByNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceUplinksUsageByNetwork:getApplianceUplinksUsageByNetwork", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceVpnThirdPartyVpnpeers.ts b/sdk/nodejs/organizations/getApplianceVpnThirdPartyVpnpeers.ts index 0677f612..cf667b2d 100644 --- a/sdk/nodejs/organizations/getApplianceVpnThirdPartyVpnpeers.ts +++ b/sdk/nodejs/organizations/getApplianceVpnThirdPartyVpnpeers.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceVpnThirdPartyVpnpeers(args: GetApplianceVpnThirdPartyVpnpeersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceVpnThirdPartyVpnpeers:getApplianceVpnThirdPartyVpnpeers", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetApplianceVpnThirdPartyVpnpeersResult { * ``` */ export function getApplianceVpnThirdPartyVpnpeersOutput(args: GetApplianceVpnThirdPartyVpnpeersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVpnThirdPartyVpnpeers(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceVpnThirdPartyVpnpeers:getApplianceVpnThirdPartyVpnpeers", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getApplianceVpnVpnFirewallRules.ts b/sdk/nodejs/organizations/getApplianceVpnVpnFirewallRules.ts index b411ce77..086d10c1 100644 --- a/sdk/nodejs/organizations/getApplianceVpnVpnFirewallRules.ts +++ b/sdk/nodejs/organizations/getApplianceVpnVpnFirewallRules.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getApplianceVpnVpnFirewallRules(args: GetApplianceVpnVpnFirewallRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getApplianceVpnVpnFirewallRules:getApplianceVpnVpnFirewallRules", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetApplianceVpnVpnFirewallRulesResult { * ``` */ export function getApplianceVpnVpnFirewallRulesOutput(args: GetApplianceVpnVpnFirewallRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplianceVpnVpnFirewallRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getApplianceVpnVpnFirewallRules:getApplianceVpnVpnFirewallRules", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getBrandingPolicies.ts b/sdk/nodejs/organizations/getBrandingPolicies.ts index 04cfcb6e..f11e4969 100644 --- a/sdk/nodejs/organizations/getBrandingPolicies.ts +++ b/sdk/nodejs/organizations/getBrandingPolicies.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getBrandingPolicies(args?: GetBrandingPoliciesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getBrandingPolicies:getBrandingPolicies", { "brandingPolicyId": args.brandingPolicyId, @@ -59,7 +58,12 @@ export interface GetBrandingPoliciesResult { * ## Example Usage */ export function getBrandingPoliciesOutput(args?: GetBrandingPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBrandingPolicies(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getBrandingPolicies:getBrandingPolicies", { + "brandingPolicyId": args.brandingPolicyId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getBrandingPoliciesPriorities.ts b/sdk/nodejs/organizations/getBrandingPoliciesPriorities.ts index 7cc404f7..61ed7bf7 100644 --- a/sdk/nodejs/organizations/getBrandingPoliciesPriorities.ts +++ b/sdk/nodejs/organizations/getBrandingPoliciesPriorities.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getBrandingPoliciesPriorities(args: GetBrandingPoliciesPrioritiesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getBrandingPoliciesPriorities:getBrandingPoliciesPriorities", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetBrandingPoliciesPrioritiesResult { * ``` */ export function getBrandingPoliciesPrioritiesOutput(args: GetBrandingPoliciesPrioritiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBrandingPoliciesPriorities(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getBrandingPoliciesPriorities:getBrandingPoliciesPriorities", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraBoundariesAreasByDevice.ts b/sdk/nodejs/organizations/getCameraBoundariesAreasByDevice.ts index 7aa10c65..56486349 100644 --- a/sdk/nodejs/organizations/getCameraBoundariesAreasByDevice.ts +++ b/sdk/nodejs/organizations/getCameraBoundariesAreasByDevice.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraBoundariesAreasByDevice(args: GetCameraBoundariesAreasByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraBoundariesAreasByDevice:getCameraBoundariesAreasByDevice", { "organizationId": args.organizationId, @@ -79,7 +78,11 @@ export interface GetCameraBoundariesAreasByDeviceResult { * ``` */ export function getCameraBoundariesAreasByDeviceOutput(args: GetCameraBoundariesAreasByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraBoundariesAreasByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraBoundariesAreasByDevice:getCameraBoundariesAreasByDevice", { + "organizationId": args.organizationId, + "serials": args.serials, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraBoundariesLinesByDevice.ts b/sdk/nodejs/organizations/getCameraBoundariesLinesByDevice.ts index 750b40fc..0c77819b 100644 --- a/sdk/nodejs/organizations/getCameraBoundariesLinesByDevice.ts +++ b/sdk/nodejs/organizations/getCameraBoundariesLinesByDevice.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraBoundariesLinesByDevice(args: GetCameraBoundariesLinesByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraBoundariesLinesByDevice:getCameraBoundariesLinesByDevice", { "organizationId": args.organizationId, @@ -79,7 +78,11 @@ export interface GetCameraBoundariesLinesByDeviceResult { * ``` */ export function getCameraBoundariesLinesByDeviceOutput(args: GetCameraBoundariesLinesByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraBoundariesLinesByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraBoundariesLinesByDevice:getCameraBoundariesLinesByDevice", { + "organizationId": args.organizationId, + "serials": args.serials, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraCustomAnalyticsArtifacts.ts b/sdk/nodejs/organizations/getCameraCustomAnalyticsArtifacts.ts index b02644a5..0762289d 100644 --- a/sdk/nodejs/organizations/getCameraCustomAnalyticsArtifacts.ts +++ b/sdk/nodejs/organizations/getCameraCustomAnalyticsArtifacts.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getCameraCustomAnalyticsArtifacts(args?: GetCameraCustomAnalyticsArtifactsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraCustomAnalyticsArtifacts:getCameraCustomAnalyticsArtifacts", { "artifactId": args.artifactId, @@ -59,7 +58,12 @@ export interface GetCameraCustomAnalyticsArtifactsResult { * ## Example Usage */ export function getCameraCustomAnalyticsArtifactsOutput(args?: GetCameraCustomAnalyticsArtifactsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraCustomAnalyticsArtifacts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraCustomAnalyticsArtifacts:getCameraCustomAnalyticsArtifacts", { + "artifactId": args.artifactId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraDetectionsHistoryByBoundaryByInterval.ts b/sdk/nodejs/organizations/getCameraDetectionsHistoryByBoundaryByInterval.ts index e5a3a3f5..de9ca3e5 100644 --- a/sdk/nodejs/organizations/getCameraDetectionsHistoryByBoundaryByInterval.ts +++ b/sdk/nodejs/organizations/getCameraDetectionsHistoryByBoundaryByInterval.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraDetectionsHistoryByBoundaryByInterval(args: GetCameraDetectionsHistoryByBoundaryByIntervalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraDetectionsHistoryByBoundaryByInterval:getCameraDetectionsHistoryByBoundaryByInterval", { "boundaryIds": args.boundaryIds, @@ -123,7 +122,15 @@ export interface GetCameraDetectionsHistoryByBoundaryByIntervalResult { * ``` */ export function getCameraDetectionsHistoryByBoundaryByIntervalOutput(args: GetCameraDetectionsHistoryByBoundaryByIntervalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraDetectionsHistoryByBoundaryByInterval(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraDetectionsHistoryByBoundaryByInterval:getCameraDetectionsHistoryByBoundaryByInterval", { + "boundaryIds": args.boundaryIds, + "boundaryTypes": args.boundaryTypes, + "duration": args.duration, + "organizationId": args.organizationId, + "perPage": args.perPage, + "ranges": args.ranges, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraPermissions.ts b/sdk/nodejs/organizations/getCameraPermissions.ts index a0ba300c..c0be87f8 100644 --- a/sdk/nodejs/organizations/getCameraPermissions.ts +++ b/sdk/nodejs/organizations/getCameraPermissions.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCameraPermissions(args: GetCameraPermissionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraPermissions:getCameraPermissions", { "organizationId": args.organizationId, @@ -76,7 +75,11 @@ export interface GetCameraPermissionsResult { * ``` */ export function getCameraPermissionsOutput(args: GetCameraPermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraPermissions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraPermissions:getCameraPermissions", { + "organizationId": args.organizationId, + "permissionScopeId": args.permissionScopeId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCameraRoles.ts b/sdk/nodejs/organizations/getCameraRoles.ts index 5c507af8..2f357444 100644 --- a/sdk/nodejs/organizations/getCameraRoles.ts +++ b/sdk/nodejs/organizations/getCameraRoles.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getCameraRoles(args?: GetCameraRolesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCameraRoles:getCameraRoles", { "organizationId": args.organizationId, @@ -59,7 +58,12 @@ export interface GetCameraRolesResult { * ## Example Usage */ export function getCameraRolesOutput(args?: GetCameraRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCameraRoles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCameraRoles:getCameraRoles", { + "organizationId": args.organizationId, + "roleId": args.roleId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getCellularGatewayUplinkStatuses.ts b/sdk/nodejs/organizations/getCellularGatewayUplinkStatuses.ts index faa04e72..1b4aaf1b 100644 --- a/sdk/nodejs/organizations/getCellularGatewayUplinkStatuses.ts +++ b/sdk/nodejs/organizations/getCellularGatewayUplinkStatuses.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getCellularGatewayUplinkStatuses(args: GetCellularGatewayUplinkStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getCellularGatewayUplinkStatuses:getCellularGatewayUplinkStatuses", { "endingBefore": args.endingBefore, @@ -134,7 +133,16 @@ export interface GetCellularGatewayUplinkStatusesResult { * ``` */ export function getCellularGatewayUplinkStatusesOutput(args: GetCellularGatewayUplinkStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCellularGatewayUplinkStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getCellularGatewayUplinkStatuses:getCellularGatewayUplinkStatuses", { + "endingBefore": args.endingBefore, + "iccids": args.iccids, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getClientsBandwidthUsageHistory.ts b/sdk/nodejs/organizations/getClientsBandwidthUsageHistory.ts index 0a59abb4..5a107846 100644 --- a/sdk/nodejs/organizations/getClientsBandwidthUsageHistory.ts +++ b/sdk/nodejs/organizations/getClientsBandwidthUsageHistory.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsBandwidthUsageHistory(args: GetClientsBandwidthUsageHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getClientsBandwidthUsageHistory:getClientsBandwidthUsageHistory", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetClientsBandwidthUsageHistoryResult { * ``` */ export function getClientsBandwidthUsageHistoryOutput(args: GetClientsBandwidthUsageHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsBandwidthUsageHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getClientsBandwidthUsageHistory:getClientsBandwidthUsageHistory", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getClientsOverview.ts b/sdk/nodejs/organizations/getClientsOverview.ts index 5ea64fbf..838a1bdd 100644 --- a/sdk/nodejs/organizations/getClientsOverview.ts +++ b/sdk/nodejs/organizations/getClientsOverview.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsOverview(args: GetClientsOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getClientsOverview:getClientsOverview", { "organizationId": args.organizationId, @@ -98,7 +97,13 @@ export interface GetClientsOverviewResult { * ``` */ export function getClientsOverviewOutput(args: GetClientsOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getClientsOverview:getClientsOverview", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getClientsSearch.ts b/sdk/nodejs/organizations/getClientsSearch.ts index 8730d38d..1801b5fb 100644 --- a/sdk/nodejs/organizations/getClientsSearch.ts +++ b/sdk/nodejs/organizations/getClientsSearch.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getClientsSearch(args: GetClientsSearchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getClientsSearch:getClientsSearch", { "endingBefore": args.endingBefore, @@ -109,7 +108,14 @@ export interface GetClientsSearchResult { * ``` */ export function getClientsSearchOutput(args: GetClientsSearchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientsSearch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getClientsSearch:getClientsSearch", { + "endingBefore": args.endingBefore, + "mac": args.mac, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getConfigTemplates.ts b/sdk/nodejs/organizations/getConfigTemplates.ts index fb734811..a563f846 100644 --- a/sdk/nodejs/organizations/getConfigTemplates.ts +++ b/sdk/nodejs/organizations/getConfigTemplates.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getConfigTemplates(args?: GetConfigTemplatesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getConfigTemplates:getConfigTemplates", { "configTemplateId": args.configTemplateId, @@ -59,7 +58,12 @@ export interface GetConfigTemplatesResult { * ## Example Usage */ export function getConfigTemplatesOutput(args?: GetConfigTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigTemplates(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getConfigTemplates:getConfigTemplates", { + "configTemplateId": args.configTemplateId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getConfigTemplatesSwitchProfiles.ts b/sdk/nodejs/organizations/getConfigTemplatesSwitchProfiles.ts index e6fedeb3..ab3bc483 100644 --- a/sdk/nodejs/organizations/getConfigTemplatesSwitchProfiles.ts +++ b/sdk/nodejs/organizations/getConfigTemplatesSwitchProfiles.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getConfigTemplatesSwitchProfiles(args: GetConfigTemplatesSwitchProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getConfigTemplatesSwitchProfiles:getConfigTemplatesSwitchProfiles", { "configTemplateId": args.configTemplateId, @@ -79,7 +78,11 @@ export interface GetConfigTemplatesSwitchProfilesResult { * ``` */ export function getConfigTemplatesSwitchProfilesOutput(args: GetConfigTemplatesSwitchProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigTemplatesSwitchProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getConfigTemplatesSwitchProfiles:getConfigTemplatesSwitchProfiles", { + "configTemplateId": args.configTemplateId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getConfigTemplatesSwitchProfilesPorts.ts b/sdk/nodejs/organizations/getConfigTemplatesSwitchProfilesPorts.ts index 86b47b00..f7a76d0c 100644 --- a/sdk/nodejs/organizations/getConfigTemplatesSwitchProfilesPorts.ts +++ b/sdk/nodejs/organizations/getConfigTemplatesSwitchProfilesPorts.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getConfigTemplatesSwitchProfilesPorts(args?: GetConfigTemplatesSwitchProfilesPortsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getConfigTemplatesSwitchProfilesPorts:getConfigTemplatesSwitchProfilesPorts", { "configTemplateId": args.configTemplateId, @@ -77,7 +76,14 @@ export interface GetConfigTemplatesSwitchProfilesPortsResult { * ## Example Usage */ export function getConfigTemplatesSwitchProfilesPortsOutput(args?: GetConfigTemplatesSwitchProfilesPortsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigTemplatesSwitchProfilesPorts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getConfigTemplatesSwitchProfilesPorts:getConfigTemplatesSwitchProfilesPorts", { + "configTemplateId": args.configTemplateId, + "organizationId": args.organizationId, + "portId": args.portId, + "profileId": args.profileId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevices.ts b/sdk/nodejs/organizations/getDevices.ts index 27902753..721a78d2 100644 --- a/sdk/nodejs/organizations/getDevices.ts +++ b/sdk/nodejs/organizations/getDevices.ts @@ -37,7 +37,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevices(args: GetDevicesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevices:getDevices", { "configurationUpdatedAfter": args.configurationUpdatedAfter, @@ -255,7 +254,27 @@ export interface GetDevicesResult { * ``` */ export function getDevicesOutput(args: GetDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevices(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevices:getDevices", { + "configurationUpdatedAfter": args.configurationUpdatedAfter, + "endingBefore": args.endingBefore, + "mac": args.mac, + "macs": args.macs, + "model": args.model, + "models": args.models, + "name": args.name, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "sensorAlertProfileIds": args.sensorAlertProfileIds, + "sensorMetrics": args.sensorMetrics, + "serial": args.serial, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesAvailabilities.ts b/sdk/nodejs/organizations/getDevicesAvailabilities.ts index 7ba4df01..314c8652 100644 --- a/sdk/nodejs/organizations/getDevicesAvailabilities.ts +++ b/sdk/nodejs/organizations/getDevicesAvailabilities.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesAvailabilities(args: GetDevicesAvailabilitiesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesAvailabilities:getDevicesAvailabilities", { "endingBefore": args.endingBefore, @@ -156,7 +155,18 @@ export interface GetDevicesAvailabilitiesResult { * ``` */ export function getDevicesAvailabilitiesOutput(args: GetDevicesAvailabilitiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesAvailabilities(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesAvailabilities:getDevicesAvailabilities", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesAvailabilitiesChangeHistory.ts b/sdk/nodejs/organizations/getDevicesAvailabilitiesChangeHistory.ts index aa7df517..7da8f7ec 100644 --- a/sdk/nodejs/organizations/getDevicesAvailabilitiesChangeHistory.ts +++ b/sdk/nodejs/organizations/getDevicesAvailabilitiesChangeHistory.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesAvailabilitiesChangeHistory(args: GetDevicesAvailabilitiesChangeHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesAvailabilitiesChangeHistory:getDevicesAvailabilitiesChangeHistory", { "endingBefore": args.endingBefore, @@ -178,7 +177,20 @@ export interface GetDevicesAvailabilitiesChangeHistoryResult { * ``` */ export function getDevicesAvailabilitiesChangeHistoryOutput(args: GetDevicesAvailabilitiesChangeHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesAvailabilitiesChangeHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesAvailabilitiesChangeHistory:getDevicesAvailabilitiesChangeHistory", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "statuses": args.statuses, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesBootsHistory.ts b/sdk/nodejs/organizations/getDevicesBootsHistory.ts index a62acf39..b93e9c03 100644 --- a/sdk/nodejs/organizations/getDevicesBootsHistory.ts +++ b/sdk/nodejs/organizations/getDevicesBootsHistory.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesBootsHistory(args: GetDevicesBootsHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesBootsHistory:getDevicesBootsHistory", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetDevicesBootsHistoryResult { * ``` */ export function getDevicesBootsHistoryOutput(args: GetDevicesBootsHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesBootsHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesBootsHistory:getDevicesBootsHistory", { + "endingBefore": args.endingBefore, + "mostRecentPerDevice": args.mostRecentPerDevice, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "sortOrder": args.sortOrder, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesPowerModulesStatusesByDevice.ts b/sdk/nodejs/organizations/getDevicesPowerModulesStatusesByDevice.ts index ecad366c..8bd7e021 100644 --- a/sdk/nodejs/organizations/getDevicesPowerModulesStatusesByDevice.ts +++ b/sdk/nodejs/organizations/getDevicesPowerModulesStatusesByDevice.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesPowerModulesStatusesByDevice(args: GetDevicesPowerModulesStatusesByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesPowerModulesStatusesByDevice:getDevicesPowerModulesStatusesByDevice", { "endingBefore": args.endingBefore, @@ -156,7 +155,18 @@ export interface GetDevicesPowerModulesStatusesByDeviceResult { * ``` */ export function getDevicesPowerModulesStatusesByDeviceOutput(args: GetDevicesPowerModulesStatusesByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesPowerModulesStatusesByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesPowerModulesStatusesByDevice:getDevicesPowerModulesStatusesByDevice", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesProvisioningStatuses.ts b/sdk/nodejs/organizations/getDevicesProvisioningStatuses.ts index 9d1d00c9..c45bcdd6 100644 --- a/sdk/nodejs/organizations/getDevicesProvisioningStatuses.ts +++ b/sdk/nodejs/organizations/getDevicesProvisioningStatuses.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesProvisioningStatuses(args: GetDevicesProvisioningStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesProvisioningStatuses:getDevicesProvisioningStatuses", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetDevicesProvisioningStatusesResult { * ``` */ export function getDevicesProvisioningStatusesOutput(args: GetDevicesProvisioningStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesProvisioningStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesProvisioningStatuses:getDevicesProvisioningStatuses", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "status": args.status, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesStatuses.ts b/sdk/nodejs/organizations/getDevicesStatuses.ts index dcd33251..3a29a65a 100644 --- a/sdk/nodejs/organizations/getDevicesStatuses.ts +++ b/sdk/nodejs/organizations/getDevicesStatuses.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesStatuses(args: GetDevicesStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesStatuses:getDevicesStatuses", { "endingBefore": args.endingBefore, @@ -178,7 +177,20 @@ export interface GetDevicesStatusesResult { * ``` */ export function getDevicesStatusesOutput(args: GetDevicesStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesStatuses:getDevicesStatuses", { + "endingBefore": args.endingBefore, + "models": args.models, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "statuses": args.statuses, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesStatusesOverview.ts b/sdk/nodejs/organizations/getDevicesStatusesOverview.ts index f20c611f..7c887434 100644 --- a/sdk/nodejs/organizations/getDevicesStatusesOverview.ts +++ b/sdk/nodejs/organizations/getDevicesStatusesOverview.ts @@ -22,7 +22,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesStatusesOverview(args: GetDevicesStatusesOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesStatusesOverview:getDevicesStatusesOverview", { "networkIds": args.networkIds, @@ -87,7 +86,12 @@ export interface GetDevicesStatusesOverviewResult { * ``` */ export function getDevicesStatusesOverviewOutput(args: GetDevicesStatusesOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesStatusesOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesStatusesOverview:getDevicesStatusesOverview", { + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "productTypes": args.productTypes, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesUplinksAddressesByDevice.ts b/sdk/nodejs/organizations/getDevicesUplinksAddressesByDevice.ts index c106a5cd..65db52ff 100644 --- a/sdk/nodejs/organizations/getDevicesUplinksAddressesByDevice.ts +++ b/sdk/nodejs/organizations/getDevicesUplinksAddressesByDevice.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesUplinksAddressesByDevice(args: GetDevicesUplinksAddressesByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesUplinksAddressesByDevice:getDevicesUplinksAddressesByDevice", { "endingBefore": args.endingBefore, @@ -156,7 +155,18 @@ export interface GetDevicesUplinksAddressesByDeviceResult { * ``` */ export function getDevicesUplinksAddressesByDeviceOutput(args: GetDevicesUplinksAddressesByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesUplinksAddressesByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesUplinksAddressesByDevice:getDevicesUplinksAddressesByDevice", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getDevicesUplinksLossAndLatency.ts b/sdk/nodejs/organizations/getDevicesUplinksLossAndLatency.ts index 35e2a0a2..711b144e 100644 --- a/sdk/nodejs/organizations/getDevicesUplinksLossAndLatency.ts +++ b/sdk/nodejs/organizations/getDevicesUplinksLossAndLatency.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getDevicesUplinksLossAndLatency(args: GetDevicesUplinksLossAndLatencyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getDevicesUplinksLossAndLatency:getDevicesUplinksLossAndLatency", { "ip": args.ip, @@ -123,7 +122,15 @@ export interface GetDevicesUplinksLossAndLatencyResult { * ``` */ export function getDevicesUplinksLossAndLatencyOutput(args: GetDevicesUplinksLossAndLatencyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicesUplinksLossAndLatency(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getDevicesUplinksLossAndLatency:getDevicesUplinksLossAndLatency", { + "ip": args.ip, + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "uplink": args.uplink, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getEarlyAccessFeatures.ts b/sdk/nodejs/organizations/getEarlyAccessFeatures.ts index dfc6e719..9e56f294 100644 --- a/sdk/nodejs/organizations/getEarlyAccessFeatures.ts +++ b/sdk/nodejs/organizations/getEarlyAccessFeatures.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getEarlyAccessFeatures(args: GetEarlyAccessFeaturesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getEarlyAccessFeatures:getEarlyAccessFeatures", { "organizationId": args.organizationId, @@ -68,7 +67,10 @@ export interface GetEarlyAccessFeaturesResult { * ``` */ export function getEarlyAccessFeaturesOutput(args: GetEarlyAccessFeaturesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEarlyAccessFeatures(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getEarlyAccessFeatures:getEarlyAccessFeatures", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getEarlyAccessFeaturesOptIns.ts b/sdk/nodejs/organizations/getEarlyAccessFeaturesOptIns.ts index dfea1fa0..72d66171 100644 --- a/sdk/nodejs/organizations/getEarlyAccessFeaturesOptIns.ts +++ b/sdk/nodejs/organizations/getEarlyAccessFeaturesOptIns.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; */ export function getEarlyAccessFeaturesOptIns(args?: GetEarlyAccessFeaturesOptInsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getEarlyAccessFeaturesOptIns:getEarlyAccessFeaturesOptIns", { "optInId": args.optInId, @@ -75,7 +74,12 @@ export interface GetEarlyAccessFeaturesOptInsResult { * ``` */ export function getEarlyAccessFeaturesOptInsOutput(args?: GetEarlyAccessFeaturesOptInsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEarlyAccessFeaturesOptIns(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getEarlyAccessFeaturesOptIns:getEarlyAccessFeaturesOptIns", { + "optInId": args.optInId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getFirmwareUpgrades.ts b/sdk/nodejs/organizations/getFirmwareUpgrades.ts index d3e0731f..146643c0 100644 --- a/sdk/nodejs/organizations/getFirmwareUpgrades.ts +++ b/sdk/nodejs/organizations/getFirmwareUpgrades.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getFirmwareUpgrades(args: GetFirmwareUpgradesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getFirmwareUpgrades:getFirmwareUpgrades", { "endingBefore": args.endingBefore, @@ -123,7 +122,15 @@ export interface GetFirmwareUpgradesResult { * ``` */ export function getFirmwareUpgradesOutput(args: GetFirmwareUpgradesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgrades(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getFirmwareUpgrades:getFirmwareUpgrades", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "startingAfter": args.startingAfter, + "statuses": args.statuses, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getFirmwareUpgradesByDevice.ts b/sdk/nodejs/organizations/getFirmwareUpgradesByDevice.ts index 4a38dcbd..c481c524 100644 --- a/sdk/nodejs/organizations/getFirmwareUpgradesByDevice.ts +++ b/sdk/nodejs/organizations/getFirmwareUpgradesByDevice.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * ``` */ export function getFirmwareUpgradesByDevice(args: GetFirmwareUpgradesByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getFirmwareUpgradesByDevice:getFirmwareUpgradesByDevice", { "endingBefore": args.endingBefore, @@ -156,7 +155,18 @@ export interface GetFirmwareUpgradesByDeviceResult { * ``` */ export function getFirmwareUpgradesByDeviceOutput(args: GetFirmwareUpgradesByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirmwareUpgradesByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getFirmwareUpgradesByDevice:getFirmwareUpgradesByDevice", { + "endingBefore": args.endingBefore, + "firmwareUpgradeBatchIds": args.firmwareUpgradeBatchIds, + "macs": args.macs, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "upgradestatuses": args.upgradestatuses, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getInsightApplications.ts b/sdk/nodejs/organizations/getInsightApplications.ts index 4ab8ba81..996bb8e9 100644 --- a/sdk/nodejs/organizations/getInsightApplications.ts +++ b/sdk/nodejs/organizations/getInsightApplications.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getInsightApplications(args: GetInsightApplicationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getInsightApplications:getInsightApplications", { "organizationId": args.organizationId, @@ -68,7 +67,10 @@ export interface GetInsightApplicationsResult { * ``` */ export function getInsightApplicationsOutput(args: GetInsightApplicationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInsightApplications(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getInsightApplications:getInsightApplications", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getInsightMonitoredMediaServers.ts b/sdk/nodejs/organizations/getInsightMonitoredMediaServers.ts index be445ad9..9f21771b 100644 --- a/sdk/nodejs/organizations/getInsightMonitoredMediaServers.ts +++ b/sdk/nodejs/organizations/getInsightMonitoredMediaServers.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getInsightMonitoredMediaServers(args?: GetInsightMonitoredMediaServersArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getInsightMonitoredMediaServers:getInsightMonitoredMediaServers", { "monitoredMediaServerId": args.monitoredMediaServerId, @@ -59,7 +58,12 @@ export interface GetInsightMonitoredMediaServersResult { * ## Example Usage */ export function getInsightMonitoredMediaServersOutput(args?: GetInsightMonitoredMediaServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInsightMonitoredMediaServers(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getInsightMonitoredMediaServers:getInsightMonitoredMediaServers", { + "monitoredMediaServerId": args.monitoredMediaServerId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getInventoryDevices.ts b/sdk/nodejs/organizations/getInventoryDevices.ts index 5f3a896b..186e075c 100644 --- a/sdk/nodejs/organizations/getInventoryDevices.ts +++ b/sdk/nodejs/organizations/getInventoryDevices.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getInventoryDevices(args?: GetInventoryDevicesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getInventoryDevices:getInventoryDevices", { "endingBefore": args.endingBefore, @@ -176,7 +175,25 @@ export interface GetInventoryDevicesResult { * ## Example Usage */ export function getInventoryDevicesOutput(args?: GetInventoryDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInventoryDevices(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getInventoryDevices:getInventoryDevices", { + "endingBefore": args.endingBefore, + "macs": args.macs, + "models": args.models, + "networkIds": args.networkIds, + "orderNumbers": args.orderNumbers, + "organizationId": args.organizationId, + "perPage": args.perPage, + "productTypes": args.productTypes, + "search": args.search, + "serial": args.serial, + "serials": args.serials, + "startingAfter": args.startingAfter, + "tags": args.tags, + "tagsFilterType": args.tagsFilterType, + "usedState": args.usedState, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringImports.ts b/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringImports.ts index 85fc16fd..1a4dab58 100644 --- a/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringImports.ts +++ b/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringImports.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getInventoryOnboardingCloudMonitoringImports(args: GetInventoryOnboardingCloudMonitoringImportsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getInventoryOnboardingCloudMonitoringImports:getInventoryOnboardingCloudMonitoringImports", { "importIds": args.importIds, @@ -79,7 +78,11 @@ export interface GetInventoryOnboardingCloudMonitoringImportsResult { * ``` */ export function getInventoryOnboardingCloudMonitoringImportsOutput(args: GetInventoryOnboardingCloudMonitoringImportsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInventoryOnboardingCloudMonitoringImports(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getInventoryOnboardingCloudMonitoringImports:getInventoryOnboardingCloudMonitoringImports", { + "importIds": args.importIds, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringNetworks.ts b/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringNetworks.ts index a9d57e2b..1676d910 100644 --- a/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringNetworks.ts +++ b/sdk/nodejs/organizations/getInventoryOnboardingCloudMonitoringNetworks.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getInventoryOnboardingCloudMonitoringNetworks(args: GetInventoryOnboardingCloudMonitoringNetworksArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getInventoryOnboardingCloudMonitoringNetworks:getInventoryOnboardingCloudMonitoringNetworks", { "deviceType": args.deviceType, @@ -123,7 +122,15 @@ export interface GetInventoryOnboardingCloudMonitoringNetworksResult { * ``` */ export function getInventoryOnboardingCloudMonitoringNetworksOutput(args: GetInventoryOnboardingCloudMonitoringNetworksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInventoryOnboardingCloudMonitoringNetworks(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getInventoryOnboardingCloudMonitoringNetworks:getInventoryOnboardingCloudMonitoringNetworks", { + "deviceType": args.deviceType, + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "search": args.search, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getLicenses.ts b/sdk/nodejs/organizations/getLicenses.ts index ab1ec853..90cf02e0 100644 --- a/sdk/nodejs/organizations/getLicenses.ts +++ b/sdk/nodejs/organizations/getLicenses.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLicenses(args: GetLicensesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getLicenses:getLicenses", { "licenseId": args.licenseId, @@ -76,7 +75,11 @@ export interface GetLicensesResult { * ``` */ export function getLicensesOutput(args: GetLicensesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicenses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getLicenses:getLicenses", { + "licenseId": args.licenseId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getLicensesOverview.ts b/sdk/nodejs/organizations/getLicensesOverview.ts index 7485d212..39d06926 100644 --- a/sdk/nodejs/organizations/getLicensesOverview.ts +++ b/sdk/nodejs/organizations/getLicensesOverview.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLicensesOverview(args: GetLicensesOverviewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getLicensesOverview:getLicensesOverview", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetLicensesOverviewResult { * ``` */ export function getLicensesOverviewOutput(args: GetLicensesOverviewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicensesOverview(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getLicensesOverview:getLicensesOverview", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getLicensingCotermLicenses.ts b/sdk/nodejs/organizations/getLicensingCotermLicenses.ts index 6c1668ed..4d732a0f 100644 --- a/sdk/nodejs/organizations/getLicensingCotermLicenses.ts +++ b/sdk/nodejs/organizations/getLicensingCotermLicenses.ts @@ -25,7 +25,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLicensingCotermLicenses(args: GetLicensingCotermLicensesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getLicensingCotermLicenses:getLicensingCotermLicenses", { "endingBefore": args.endingBefore, @@ -123,7 +122,15 @@ export interface GetLicensingCotermLicensesResult { * ``` */ export function getLicensingCotermLicensesOutput(args: GetLicensingCotermLicensesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicensingCotermLicenses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getLicensingCotermLicenses:getLicensingCotermLicenses", { + "endingBefore": args.endingBefore, + "expired": args.expired, + "invalidated": args.invalidated, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getLoginSecurity.ts b/sdk/nodejs/organizations/getLoginSecurity.ts index 35b84d74..39ee03db 100644 --- a/sdk/nodejs/organizations/getLoginSecurity.ts +++ b/sdk/nodejs/organizations/getLoginSecurity.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getLoginSecurity(args: GetLoginSecurityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getLoginSecurity:getLoginSecurity", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetLoginSecurityResult { * ``` */ export function getLoginSecurityOutput(args: GetLoginSecurityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoginSecurity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getLoginSecurity:getLoginSecurity", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getOpenapiSpec.ts b/sdk/nodejs/organizations/getOpenapiSpec.ts index 2fa39e10..7a7b281a 100644 --- a/sdk/nodejs/organizations/getOpenapiSpec.ts +++ b/sdk/nodejs/organizations/getOpenapiSpec.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getOpenapiSpec(args: GetOpenapiSpecArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getOpenapiSpec:getOpenapiSpec", { "organizationId": args.organizationId, @@ -76,7 +75,11 @@ export interface GetOpenapiSpecResult { * ``` */ export function getOpenapiSpecOutput(args: GetOpenapiSpecOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOpenapiSpec(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getOpenapiSpec:getOpenapiSpec", { + "organizationId": args.organizationId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getPolicyObjects.ts b/sdk/nodejs/organizations/getPolicyObjects.ts index e9f58a0c..510b3f16 100644 --- a/sdk/nodejs/organizations/getPolicyObjects.ts +++ b/sdk/nodejs/organizations/getPolicyObjects.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; */ export function getPolicyObjects(args?: GetPolicyObjectsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getPolicyObjects:getPolicyObjects", { "endingBefore": args.endingBefore, @@ -108,7 +107,15 @@ export interface GetPolicyObjectsResult { * ``` */ export function getPolicyObjectsOutput(args?: GetPolicyObjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyObjects(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getPolicyObjects:getPolicyObjects", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "policyObjectId": args.policyObjectId, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getPolicyObjectsGroups.ts b/sdk/nodejs/organizations/getPolicyObjectsGroups.ts index ceae6977..06676a88 100644 --- a/sdk/nodejs/organizations/getPolicyObjectsGroups.ts +++ b/sdk/nodejs/organizations/getPolicyObjectsGroups.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; */ export function getPolicyObjectsGroups(args?: GetPolicyObjectsGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getPolicyObjectsGroups:getPolicyObjectsGroups", { "endingBefore": args.endingBefore, @@ -108,7 +107,15 @@ export interface GetPolicyObjectsGroupsResult { * ``` */ export function getPolicyObjectsGroupsOutput(args?: GetPolicyObjectsGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyObjectsGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getPolicyObjectsGroups:getPolicyObjectsGroups", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "policyObjectGroupId": args.policyObjectGroupId, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSaml.ts b/sdk/nodejs/organizations/getSaml.ts index 18b4c7a1..d701d1e5 100644 --- a/sdk/nodejs/organizations/getSaml.ts +++ b/sdk/nodejs/organizations/getSaml.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSaml(args: GetSamlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSaml:getSaml", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetSamlResult { * ``` */ export function getSamlOutput(args: GetSamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSaml(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSaml:getSaml", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSamlIdps.ts b/sdk/nodejs/organizations/getSamlIdps.ts index 091fca69..10f6607e 100644 --- a/sdk/nodejs/organizations/getSamlIdps.ts +++ b/sdk/nodejs/organizations/getSamlIdps.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSamlIdps(args?: GetSamlIdpsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSamlIdps:getSamlIdps", { "idpId": args.idpId, @@ -59,7 +58,12 @@ export interface GetSamlIdpsResult { * ## Example Usage */ export function getSamlIdpsOutput(args?: GetSamlIdpsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSamlIdps(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSamlIdps:getSamlIdps", { + "idpId": args.idpId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSamlRoles.ts b/sdk/nodejs/organizations/getSamlRoles.ts index bf70b110..bafeb395 100644 --- a/sdk/nodejs/organizations/getSamlRoles.ts +++ b/sdk/nodejs/organizations/getSamlRoles.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSamlRoles(args?: GetSamlRolesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSamlRoles:getSamlRoles", { "organizationId": args.organizationId, @@ -59,7 +58,12 @@ export interface GetSamlRolesResult { * ## Example Usage */ export function getSamlRolesOutput(args?: GetSamlRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSamlRoles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSamlRoles:getSamlRoles", { + "organizationId": args.organizationId, + "samlRoleId": args.samlRoleId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSensorReadingsHistory.ts b/sdk/nodejs/organizations/getSensorReadingsHistory.ts index ab72c796..6226b4e5 100644 --- a/sdk/nodejs/organizations/getSensorReadingsHistory.ts +++ b/sdk/nodejs/organizations/getSensorReadingsHistory.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorReadingsHistory(args: GetSensorReadingsHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSensorReadingsHistory:getSensorReadingsHistory", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetSensorReadingsHistoryResult { * ``` */ export function getSensorReadingsHistoryOutput(args: GetSensorReadingsHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorReadingsHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSensorReadingsHistory:getSensorReadingsHistory", { + "endingBefore": args.endingBefore, + "metrics": args.metrics, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSensorReadingsLatest.ts b/sdk/nodejs/organizations/getSensorReadingsLatest.ts index 2388b951..77681a3d 100644 --- a/sdk/nodejs/organizations/getSensorReadingsLatest.ts +++ b/sdk/nodejs/organizations/getSensorReadingsLatest.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSensorReadingsLatest(args: GetSensorReadingsLatestArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSensorReadingsLatest:getSensorReadingsLatest", { "endingBefore": args.endingBefore, @@ -134,7 +133,16 @@ export interface GetSensorReadingsLatestResult { * ``` */ export function getSensorReadingsLatestOutput(args: GetSensorReadingsLatestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensorReadingsLatest(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSensorReadingsLatest:getSensorReadingsLatest", { + "endingBefore": args.endingBefore, + "metrics": args.metrics, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSmAdminsRoles.ts b/sdk/nodejs/organizations/getSmAdminsRoles.ts index c55203e1..959306fe 100644 --- a/sdk/nodejs/organizations/getSmAdminsRoles.ts +++ b/sdk/nodejs/organizations/getSmAdminsRoles.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; */ export function getSmAdminsRoles(args?: GetSmAdminsRolesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSmAdminsRoles:getSmAdminsRoles", { "endingBefore": args.endingBefore, @@ -108,7 +107,15 @@ export interface GetSmAdminsRolesResult { * ``` */ export function getSmAdminsRolesOutput(args?: GetSmAdminsRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmAdminsRoles(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSmAdminsRoles:getSmAdminsRoles", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "roleId": args.roleId, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSmApnsCert.ts b/sdk/nodejs/organizations/getSmApnsCert.ts index fac022b1..780aee24 100644 --- a/sdk/nodejs/organizations/getSmApnsCert.ts +++ b/sdk/nodejs/organizations/getSmApnsCert.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmApnsCert(args: GetSmApnsCertArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSmApnsCert:getSmApnsCert", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetSmApnsCertResult { * ``` */ export function getSmApnsCertOutput(args: GetSmApnsCertOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmApnsCert(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSmApnsCert:getSmApnsCert", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSmSentryPoliciesAssignmentsByNetwork.ts b/sdk/nodejs/organizations/getSmSentryPoliciesAssignmentsByNetwork.ts index 69e53a2a..b430b259 100644 --- a/sdk/nodejs/organizations/getSmSentryPoliciesAssignmentsByNetwork.ts +++ b/sdk/nodejs/organizations/getSmSentryPoliciesAssignmentsByNetwork.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSmSentryPoliciesAssignmentsByNetwork(args: GetSmSentryPoliciesAssignmentsByNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSmSentryPoliciesAssignmentsByNetwork:getSmSentryPoliciesAssignmentsByNetwork", { "endingBefore": args.endingBefore, @@ -112,7 +111,14 @@ export interface GetSmSentryPoliciesAssignmentsByNetworkResult { * ``` */ export function getSmSentryPoliciesAssignmentsByNetworkOutput(args: GetSmSentryPoliciesAssignmentsByNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmSentryPoliciesAssignmentsByNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSmSentryPoliciesAssignmentsByNetwork:getSmSentryPoliciesAssignmentsByNetwork", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSmVppAccounts.ts b/sdk/nodejs/organizations/getSmVppAccounts.ts index a86c7b87..3775f635 100644 --- a/sdk/nodejs/organizations/getSmVppAccounts.ts +++ b/sdk/nodejs/organizations/getSmVppAccounts.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; */ export function getSmVppAccounts(args?: GetSmVppAccountsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSmVppAccounts:getSmVppAccounts", { "organizationId": args.organizationId, @@ -59,7 +58,12 @@ export interface GetSmVppAccountsResult { * ## Example Usage */ export function getSmVppAccountsOutput(args?: GetSmVppAccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSmVppAccounts(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSmVppAccounts:getSmVppAccounts", { + "organizationId": args.organizationId, + "vppAccountId": args.vppAccountId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSnmp.ts b/sdk/nodejs/organizations/getSnmp.ts index 0cfe835e..bf4d77e5 100644 --- a/sdk/nodejs/organizations/getSnmp.ts +++ b/sdk/nodejs/organizations/getSnmp.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSnmp(args: GetSnmpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSnmp:getSnmp", { "organizationId": args.organizationId, @@ -65,7 +64,10 @@ export interface GetSnmpResult { * ``` */ export function getSnmpOutput(args: GetSnmpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSnmp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSnmp:getSnmp", { + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopAppliancesByUtilization.ts b/sdk/nodejs/organizations/getSummaryTopAppliancesByUtilization.ts index 5b0d7187..ca439eed 100644 --- a/sdk/nodejs/organizations/getSummaryTopAppliancesByUtilization.ts +++ b/sdk/nodejs/organizations/getSummaryTopAppliancesByUtilization.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopAppliancesByUtilization(args: GetSummaryTopAppliancesByUtilizationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopAppliancesByUtilization:getSummaryTopAppliancesByUtilization", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopAppliancesByUtilizationResult { * ``` */ export function getSummaryTopAppliancesByUtilizationOutput(args: GetSummaryTopAppliancesByUtilizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopAppliancesByUtilization(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopAppliancesByUtilization:getSummaryTopAppliancesByUtilization", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopClientsByUsage.ts b/sdk/nodejs/organizations/getSummaryTopClientsByUsage.ts index a8e602c4..4f1a7266 100644 --- a/sdk/nodejs/organizations/getSummaryTopClientsByUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopClientsByUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopClientsByUsage(args: GetSummaryTopClientsByUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopClientsByUsage:getSummaryTopClientsByUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopClientsByUsageResult { * ``` */ export function getSummaryTopClientsByUsageOutput(args: GetSummaryTopClientsByUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopClientsByUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopClientsByUsage:getSummaryTopClientsByUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopClientsManufacturersByUsage.ts b/sdk/nodejs/organizations/getSummaryTopClientsManufacturersByUsage.ts index 96360fd5..4306c213 100644 --- a/sdk/nodejs/organizations/getSummaryTopClientsManufacturersByUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopClientsManufacturersByUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopClientsManufacturersByUsage(args: GetSummaryTopClientsManufacturersByUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopClientsManufacturersByUsage:getSummaryTopClientsManufacturersByUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopClientsManufacturersByUsageResult { * ``` */ export function getSummaryTopClientsManufacturersByUsageOutput(args: GetSummaryTopClientsManufacturersByUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopClientsManufacturersByUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopClientsManufacturersByUsage:getSummaryTopClientsManufacturersByUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopDevicesByUsage.ts b/sdk/nodejs/organizations/getSummaryTopDevicesByUsage.ts index b69f1f3a..4cebec47 100644 --- a/sdk/nodejs/organizations/getSummaryTopDevicesByUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopDevicesByUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopDevicesByUsage(args: GetSummaryTopDevicesByUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopDevicesByUsage:getSummaryTopDevicesByUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopDevicesByUsageResult { * ``` */ export function getSummaryTopDevicesByUsageOutput(args: GetSummaryTopDevicesByUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopDevicesByUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopDevicesByUsage:getSummaryTopDevicesByUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopDevicesModelsByUsage.ts b/sdk/nodejs/organizations/getSummaryTopDevicesModelsByUsage.ts index 5502fe81..9fdeefbc 100644 --- a/sdk/nodejs/organizations/getSummaryTopDevicesModelsByUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopDevicesModelsByUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopDevicesModelsByUsage(args: GetSummaryTopDevicesModelsByUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopDevicesModelsByUsage:getSummaryTopDevicesModelsByUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopDevicesModelsByUsageResult { * ``` */ export function getSummaryTopDevicesModelsByUsageOutput(args: GetSummaryTopDevicesModelsByUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopDevicesModelsByUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopDevicesModelsByUsage:getSummaryTopDevicesModelsByUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopNetworksByStatus.ts b/sdk/nodejs/organizations/getSummaryTopNetworksByStatus.ts index 016f1137..eb772418 100644 --- a/sdk/nodejs/organizations/getSummaryTopNetworksByStatus.ts +++ b/sdk/nodejs/organizations/getSummaryTopNetworksByStatus.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopNetworksByStatus(args: GetSummaryTopNetworksByStatusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopNetworksByStatus:getSummaryTopNetworksByStatus", { "endingBefore": args.endingBefore, @@ -101,7 +100,13 @@ export interface GetSummaryTopNetworksByStatusResult { * ``` */ export function getSummaryTopNetworksByStatusOutput(args: GetSummaryTopNetworksByStatusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopNetworksByStatus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopNetworksByStatus:getSummaryTopNetworksByStatus", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopSsidsByUsage.ts b/sdk/nodejs/organizations/getSummaryTopSsidsByUsage.ts index 40d617e3..300557b2 100644 --- a/sdk/nodejs/organizations/getSummaryTopSsidsByUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopSsidsByUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopSsidsByUsage(args: GetSummaryTopSsidsByUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopSsidsByUsage:getSummaryTopSsidsByUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopSsidsByUsageResult { * ``` */ export function getSummaryTopSsidsByUsageOutput(args: GetSummaryTopSsidsByUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopSsidsByUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopSsidsByUsage:getSummaryTopSsidsByUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSummaryTopSwitchesByEnergyUsage.ts b/sdk/nodejs/organizations/getSummaryTopSwitchesByEnergyUsage.ts index f172ae23..03a7f9ab 100644 --- a/sdk/nodejs/organizations/getSummaryTopSwitchesByEnergyUsage.ts +++ b/sdk/nodejs/organizations/getSummaryTopSwitchesByEnergyUsage.ts @@ -23,7 +23,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSummaryTopSwitchesByEnergyUsage(args: GetSummaryTopSwitchesByEnergyUsageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSummaryTopSwitchesByEnergyUsage:getSummaryTopSwitchesByEnergyUsage", { "organizationId": args.organizationId, @@ -101,7 +100,13 @@ export interface GetSummaryTopSwitchesByEnergyUsageResult { * ``` */ export function getSummaryTopSwitchesByEnergyUsageOutput(args: GetSummaryTopSwitchesByEnergyUsageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSummaryTopSwitchesByEnergyUsage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSummaryTopSwitchesByEnergyUsage:getSummaryTopSwitchesByEnergyUsage", { + "organizationId": args.organizationId, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getSwitchPortsBySwitch.ts b/sdk/nodejs/organizations/getSwitchPortsBySwitch.ts index cfc3907d..a812ed83 100644 --- a/sdk/nodejs/organizations/getSwitchPortsBySwitch.ts +++ b/sdk/nodejs/organizations/getSwitchPortsBySwitch.ts @@ -31,7 +31,6 @@ import * as utilities from "../utilities"; * ``` */ export function getSwitchPortsBySwitch(args: GetSwitchPortsBySwitchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getSwitchPortsBySwitch:getSwitchPortsBySwitch", { "configurationUpdatedAfter": args.configurationUpdatedAfter, @@ -189,7 +188,21 @@ export interface GetSwitchPortsBySwitchResult { * ``` */ export function getSwitchPortsBySwitchOutput(args: GetSwitchPortsBySwitchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSwitchPortsBySwitch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getSwitchPortsBySwitch:getSwitchPortsBySwitch", { + "configurationUpdatedAfter": args.configurationUpdatedAfter, + "endingBefore": args.endingBefore, + "mac": args.mac, + "macs": args.macs, + "name": args.name, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "portProfileIds": args.portProfileIds, + "serial": args.serial, + "serials": args.serials, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getUplinksStatuses.ts b/sdk/nodejs/organizations/getUplinksStatuses.ts index 9c26d901..d5326031 100644 --- a/sdk/nodejs/organizations/getUplinksStatuses.ts +++ b/sdk/nodejs/organizations/getUplinksStatuses.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * ``` */ export function getUplinksStatuses(args: GetUplinksStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getUplinksStatuses:getUplinksStatuses", { "endingBefore": args.endingBefore, @@ -134,7 +133,16 @@ export interface GetUplinksStatusesResult { * ``` */ export function getUplinksStatusesOutput(args: GetUplinksStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUplinksStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getUplinksStatuses:getUplinksStatuses", { + "endingBefore": args.endingBefore, + "iccids": args.iccids, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWebhooksCallbacksStatuses.ts b/sdk/nodejs/organizations/getWebhooksCallbacksStatuses.ts index 418d45c5..ccdb19fe 100644 --- a/sdk/nodejs/organizations/getWebhooksCallbacksStatuses.ts +++ b/sdk/nodejs/organizations/getWebhooksCallbacksStatuses.ts @@ -21,7 +21,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWebhooksCallbacksStatuses(args: GetWebhooksCallbacksStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWebhooksCallbacksStatuses:getWebhooksCallbacksStatuses", { "callbackId": args.callbackId, @@ -76,7 +75,11 @@ export interface GetWebhooksCallbacksStatusesResult { * ``` */ export function getWebhooksCallbacksStatusesOutput(args: GetWebhooksCallbacksStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebhooksCallbacksStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWebhooksCallbacksStatuses:getWebhooksCallbacksStatuses", { + "callbackId": args.callbackId, + "organizationId": args.organizationId, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWebhooksLogs.ts b/sdk/nodejs/organizations/getWebhooksLogs.ts index 100b3bf3..b90ed62a 100644 --- a/sdk/nodejs/organizations/getWebhooksLogs.ts +++ b/sdk/nodejs/organizations/getWebhooksLogs.ts @@ -27,7 +27,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWebhooksLogs(args: GetWebhooksLogsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWebhooksLogs:getWebhooksLogs", { "endingBefore": args.endingBefore, @@ -145,7 +144,17 @@ export interface GetWebhooksLogsResult { * ``` */ export function getWebhooksLogsOutput(args: GetWebhooksLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebhooksLogs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWebhooksLogs:getWebhooksLogs", { + "endingBefore": args.endingBefore, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + "url": args.url, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByDevice.ts b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByDevice.ts index 96a9e76c..49b65005 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByDevice.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByDevice.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesChannelUtilizationByDevice(args: GetWirelessDevicesChannelUtilizationByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesChannelUtilizationByDevice:getWirelessDevicesChannelUtilizationByDevice", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetWirelessDevicesChannelUtilizationByDeviceResult { * ``` */ export function getWirelessDevicesChannelUtilizationByDeviceOutput(args: GetWirelessDevicesChannelUtilizationByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesChannelUtilizationByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesChannelUtilizationByDevice:getWirelessDevicesChannelUtilizationByDevice", { + "endingBefore": args.endingBefore, + "interval": args.interval, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByNetwork.ts b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByNetwork.ts index 6057e741..158152a8 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByNetwork.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationByNetwork.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesChannelUtilizationByNetwork(args: GetWirelessDevicesChannelUtilizationByNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesChannelUtilizationByNetwork:getWirelessDevicesChannelUtilizationByNetwork", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetWirelessDevicesChannelUtilizationByNetworkResult { * ``` */ export function getWirelessDevicesChannelUtilizationByNetworkOutput(args: GetWirelessDevicesChannelUtilizationByNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesChannelUtilizationByNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesChannelUtilizationByNetwork:getWirelessDevicesChannelUtilizationByNetwork", { + "endingBefore": args.endingBefore, + "interval": args.interval, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.ts b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.ts index c253de90..49030429 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval(args: GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval:getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalRe * ``` */ export function getWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalOutput(args: GetWirelessDevicesChannelUtilizationHistoryByDeviceByIntervalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval:getWirelessDevicesChannelUtilizationHistoryByDeviceByInterval", { + "endingBefore": args.endingBefore, + "interval": args.interval, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.ts b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.ts index fdb91a86..49eb9e1a 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval.ts @@ -29,7 +29,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval(args: GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval:getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval", { "endingBefore": args.endingBefore, @@ -167,7 +166,19 @@ export interface GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalR * ``` */ export function getWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalOutput(args: GetWirelessDevicesChannelUtilizationHistoryByNetworkByIntervalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval:getWirelessDevicesChannelUtilizationHistoryByNetworkByInterval", { + "endingBefore": args.endingBefore, + "interval": args.interval, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesEthernetStatuses.ts b/sdk/nodejs/organizations/getWirelessDevicesEthernetStatuses.ts index af937cbc..83cd690a 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesEthernetStatuses.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesEthernetStatuses.ts @@ -24,7 +24,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesEthernetStatuses(args: GetWirelessDevicesEthernetStatusesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesEthernetStatuses:getWirelessDevicesEthernetStatuses", { "endingBefore": args.endingBefore, @@ -112,7 +111,14 @@ export interface GetWirelessDevicesEthernetStatusesResult { * ``` */ export function getWirelessDevicesEthernetStatusesOutput(args: GetWirelessDevicesEthernetStatusesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesEthernetStatuses(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesEthernetStatuses:getWirelessDevicesEthernetStatuses", { + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "startingAfter": args.startingAfter, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByClient.ts b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByClient.ts index 1830b9f0..41fc57d5 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByClient.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByClient.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesPacketLossByClient(args: GetWirelessDevicesPacketLossByClientArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesPacketLossByClient:getWirelessDevicesPacketLossByClient", { "bands": args.bands, @@ -178,7 +177,20 @@ export interface GetWirelessDevicesPacketLossByClientResult { * ``` */ export function getWirelessDevicesPacketLossByClientOutput(args: GetWirelessDevicesPacketLossByClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesPacketLossByClient(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesPacketLossByClient:getWirelessDevicesPacketLossByClient", { + "bands": args.bands, + "endingBefore": args.endingBefore, + "macs": args.macs, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "ssids": args.ssids, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByDevice.ts b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByDevice.ts index e399c309..cf3a5aa9 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByDevice.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByDevice.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesPacketLossByDevice(args: GetWirelessDevicesPacketLossByDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesPacketLossByDevice:getWirelessDevicesPacketLossByDevice", { "bands": args.bands, @@ -178,7 +177,20 @@ export interface GetWirelessDevicesPacketLossByDeviceResult { * ``` */ export function getWirelessDevicesPacketLossByDeviceOutput(args: GetWirelessDevicesPacketLossByDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesPacketLossByDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesPacketLossByDevice:getWirelessDevicesPacketLossByDevice", { + "bands": args.bands, + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "ssids": args.ssids, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /** diff --git a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByNetwork.ts b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByNetwork.ts index ec1095fd..dc599e5f 100644 --- a/sdk/nodejs/organizations/getWirelessDevicesPacketLossByNetwork.ts +++ b/sdk/nodejs/organizations/getWirelessDevicesPacketLossByNetwork.ts @@ -30,7 +30,6 @@ import * as utilities from "../utilities"; * ``` */ export function getWirelessDevicesPacketLossByNetwork(args: GetWirelessDevicesPacketLossByNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:organizations/getWirelessDevicesPacketLossByNetwork:getWirelessDevicesPacketLossByNetwork", { "bands": args.bands, @@ -178,7 +177,20 @@ export interface GetWirelessDevicesPacketLossByNetworkResult { * ``` */ export function getWirelessDevicesPacketLossByNetworkOutput(args: GetWirelessDevicesPacketLossByNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevicesPacketLossByNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("meraki:organizations/getWirelessDevicesPacketLossByNetwork:getWirelessDevicesPacketLossByNetwork", { + "bands": args.bands, + "endingBefore": args.endingBefore, + "networkIds": args.networkIds, + "organizationId": args.organizationId, + "perPage": args.perPage, + "serials": args.serials, + "ssids": args.ssids, + "startingAfter": args.startingAfter, + "t0": args.t0, + "t1": args.t1, + "timespan": args.timespan, + }, opts); } /**